From 49a111ba870d644986f8562f4372fa41eb4c80a7 Mon Sep 17 00:00:00 2001 From: John Lewis Date: Fri, 16 Feb 2024 13:58:42 -0600 Subject: [PATCH] I battled the type system and left with my head --- Cargo.lock | 17 ++ Cargo.toml | 7 +- crates/artifact/Cargo.toml | 1 + crates/artifact/src/lib.rs | 258 +++++++++--------- crates/auth/Cargo.toml | 4 +- crates/auth/src/lib.rs | 64 ++--- crates/bl/Cargo.toml | 1 + crates/bl/src/lib.rs | 97 ++++--- crates/core_types/Cargo.toml | 12 + crates/core_types/src/artifact.rs | 53 ++++ crates/core_types/src/auth.rs | 66 +++++ crates/core_types/src/conv.rs | 66 +++++ crates/core_types/src/lib.rs | 20 +- crates/core_types/src/photo.rs | 70 +++++ crates/site-app/src/components/gallery.rs | 31 ++- .../site-app/src/components/photo_upload.rs | 22 +- crates/site-app/src/pages/auth/login_page.rs | 2 +- crates/site-app/src/pages/dashboard/mod.rs | 1 + crates/site-app/src/utils.rs | 2 +- crates/site-server/src/main.rs | 4 +- .../migrations/definitions/_initial.json | 2 +- migrations/schemas/user.surrealql | 2 +- rustc-ice-2024-02-16T17_21_29-27814.txt | 188 +++++++++++++ rustc-ice-2024-02-16T17_21_29-27815.txt | 188 +++++++++++++ rustc-ice-2024-02-16T17_21_31-27848.txt | 188 +++++++++++++ rustc-ice-2024-02-16T17_28_50-28682.txt | 188 +++++++++++++ rustc-ice-2024-02-16T17_28_50-28683.txt | 188 +++++++++++++ rustc-ice-2024-02-16T17_28_53-29043.txt | 188 +++++++++++++ rustc-ice-2024-02-16T17_29_23-29256.txt | 188 +++++++++++++ rustc-ice-2024-02-16T17_29_23-29257.txt | 188 +++++++++++++ rustc-ice-2024-02-16T17_29_26-29619.txt | 188 +++++++++++++ rustc-ice-2024-02-16T17_29_42-29797.txt | 188 +++++++++++++ rustc-ice-2024-02-16T17_29_42-29798.txt | 188 +++++++++++++ rustc-ice-2024-02-16T17_29_45-30155.txt | 188 +++++++++++++ 34 files changed, 2798 insertions(+), 260 deletions(-) create mode 100644 crates/core_types/src/artifact.rs create mode 100644 crates/core_types/src/auth.rs create mode 100644 crates/core_types/src/conv.rs create mode 100644 crates/core_types/src/photo.rs create mode 100644 rustc-ice-2024-02-16T17_21_29-27814.txt create mode 100644 rustc-ice-2024-02-16T17_21_29-27815.txt create mode 100644 rustc-ice-2024-02-16T17_21_31-27848.txt create mode 100644 rustc-ice-2024-02-16T17_28_50-28682.txt create mode 100644 rustc-ice-2024-02-16T17_28_50-28683.txt create mode 100644 rustc-ice-2024-02-16T17_28_53-29043.txt create mode 100644 rustc-ice-2024-02-16T17_29_23-29256.txt create mode 100644 rustc-ice-2024-02-16T17_29_23-29257.txt create mode 100644 rustc-ice-2024-02-16T17_29_26-29619.txt create mode 100644 rustc-ice-2024-02-16T17_29_42-29797.txt create mode 100644 rustc-ice-2024-02-16T17_29_42-29798.txt create mode 100644 rustc-ice-2024-02-16T17_29_45-30155.txt diff --git a/Cargo.lock b/Cargo.lock index ccb12ff..23f7dd6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -140,6 +140,7 @@ dependencies = [ "bytes", "clients", "color-eyre", + "core_types", "object_store 0.9.0", "serde", "surrealdb", @@ -504,6 +505,7 @@ dependencies = [ "bytes", "clients", "color-eyre", + "core_types", "image", "serde", "surrealdb", @@ -966,7 +968,12 @@ checksum = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" name = "core_types" version = "0.1.0" dependencies = [ + "axum-login", + "bytes", "serde", + "surreal-id", + "surrealdb", + "ulid", ] [[package]] @@ -4360,6 +4367,16 @@ version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" +[[package]] +name = "surreal-id" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ba35159bfefbbd3a7b989ea22eb0db4a69f5bc4891abc5b86fba0b2834fe12f4" +dependencies = [ + "surrealdb", + "thiserror", +] + [[package]] name = "surrealdb" version = "1.1.1" diff --git a/Cargo.toml b/Cargo.toml index a33e790..57ba758 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,6 +12,7 @@ codegen-units = 1 [workspace.dependencies] axum = { version = "0.7.4", features = ["macros"] } +axum-login = "0.13" bytes = "1.5.0" cfg-if = "1" color-eyre = "0.6" @@ -26,14 +27,12 @@ server_fn = { version = "0.6", features = ["multipart"] } log = "0.4" serde = { version = "1", features = ["derive"] } simple_logger = "4.2.0" -surrealdb = "1" +surrealdb = { version = "1" } thiserror = "1" tokio = { version = "1", features = ["full"] } tower = { version = "0.4", features = ["full"] } tower-http = { version = "0.5", features = ["full"] } -tracing = "0.1" -tracing-subscriber = "0.3" -ulid = "1.1.2" +ulid = { version = "1.1", features = [ "serde" ] } wasm-bindgen = "=0.2.89" [[workspace.metadata.leptos]] diff --git a/crates/artifact/Cargo.toml b/crates/artifact/Cargo.toml index fc5bda0..5816116 100644 --- a/crates/artifact/Cargo.toml +++ b/crates/artifact/Cargo.toml @@ -15,4 +15,5 @@ color-eyre.workspace = true surrealdb.workspace = true ulid.workspace = true +core_types = { path = "../core_types", features = [ "ssr" ] } clients = { path = "../clients" } diff --git a/crates/artifact/src/lib.rs b/crates/artifact/src/lib.rs index 365a60a..4661586 100644 --- a/crates/artifact/src/lib.rs +++ b/crates/artifact/src/lib.rs @@ -1,105 +1,82 @@ use std::future::Future; use color_eyre::eyre::{OptionExt, Result, WrapErr}; -use serde::{Deserialize, Serialize}; -use surrealdb::sql::{Id, Thing}; +use core_types::{NewId, PrivateArtifact, PublicArtifact}; -const ARTIFACT_PRIVATE_TABLE: &str = "private-artifact"; -const ARTIFACT_PUBLIC_TABLE: &str = "public-artifact"; const ARTIFACT_PRIVATE_LTS_BUCKET: &str = "picturepro-artifact-private-lts"; const ARTIFACT_PUBLIC_LTS_BUCKET: &str = "picturepro-artifact-public-lts"; -#[derive(Debug, Clone, Deserialize, Serialize)] -pub struct PrivateArtifact { - id: Thing, - #[serde(skip)] - contents: Option, -} - -#[derive(Debug, Clone, Deserialize, Serialize)] -pub struct PublicArtifact { - id: Thing, - url: String, - #[serde(skip)] - contents: Option, -} - pub trait Artifact { + type Id: core_types::NewId; + fn new(contents: Option) -> Self; + fn new_with_id(id: Self::Id, contents: Option) -> Self; + fn download(&mut self) -> impl Future> + Send; + fn upload(&self) -> impl Future> + Send; fn upload_and_push(&self) -> impl Future> + Send; - fn id(&self) -> Thing; - fn has_contents(&self) -> bool; - fn contents(&self) -> Option<&bytes::Bytes>; - fn contents_mut(&mut self) -> Option<&mut bytes::Bytes>; - fn set_contents(&mut self, contents: bytes::Bytes); - + fn push_to_surreal(&self) -> impl Future> + Send; + fn pull_from_surreal( + id: Self::Id, + ) -> impl Future>> + Send; fn object_store(&self) -> Result>; +} + +impl Artifact for PublicArtifact { + type Id = core_types::PublicArtifactRecordId; + + fn new(contents: Option) -> Self { + let id = core_types::PublicArtifactRecordId(ulid::Ulid::new()); + Self::new_with_id(id, contents) + } + + fn new_with_id(id: Self::Id, contents: Option) -> Self { + Self { + id: id.clone(), + contents, + url: format!( + "s3.{}.amazonaws.com/{}/{}", + std::env::var("AWS_DEFAULT_REGION").unwrap(), + ARTIFACT_PUBLIC_LTS_BUCKET, + id.0 + ), + } + } - /// Downloads the artifact contents from the object store - #[allow(async_fn_in_trait)] async fn download(&mut self) -> Result<()> { let object_store = self.object_store()?; - let path = object_store::path::Path::from(self.id().id.to_string()); + let path = object_store::path::Path::from(self.id.0.to_string()); - let object = object_store + let contents = object_store .get(&path) .await .wrap_err("Failed to download artifact")?; - self.set_contents( - object + self.contents = Some( + contents .bytes() .await - .wrap_err("Failed to read object contents")?, + .wrap_err("Failed to read bytes of downloaded artifact")?, ); Ok(()) } - /// Uploads the artifact contents to the object store - #[allow(async_fn_in_trait)] async fn upload(&self) -> Result<()> { let object_store = self.object_store()?; - let path = object_store::path::Path::from(self.id().id.to_string()); + let path = object_store::path::Path::from(self.id.0.to_string()); - let _object = object_store + object_store .put( &path, - self - .contents() - .ok_or_eyre("Artifact has no contents")? - .clone(), + self.contents.clone().ok_or_eyre("No contents to upload")?, ) .await .wrap_err("Failed to upload artifact")?; Ok(()) } - fn push_to_surreal(&self) -> impl Future> + Send; - fn pull_from_surreal( - id: Thing, - ) -> impl Future>> + Send; -} - -impl Artifact for PublicArtifact { - fn new(contents: Option) -> Self { - let id = Thing { - tb: ARTIFACT_PUBLIC_TABLE.to_string(), - id: Id::String(ulid::Ulid::new().to_string()), - }; - Self { - id: id.clone(), - contents, - url: format!( - "s3.{}.amazonaws.com/{}/{}", - std::env::var("AWS_DEFAULT_REGION").unwrap(), - ARTIFACT_PUBLIC_LTS_BUCKET, - id.id - ), - } - } async fn upload_and_push(&self) -> Result<()> { self.upload().await.wrap_err("Failed to upload artifact")?; @@ -111,30 +88,6 @@ impl Artifact for PublicArtifact { Ok(()) } - fn id(&self) -> Thing { self.id.clone() } - fn has_contents(&self) -> bool { self.contents.is_some() } - fn contents(&self) -> Option<&bytes::Bytes> { self.contents.as_ref() } - fn contents_mut(&mut self) -> Option<&mut bytes::Bytes> { - self.contents.as_mut() - } - fn set_contents(&mut self, contents: bytes::Bytes) { - self.contents = Some(contents) - } - - fn object_store(&self) -> Result> { - let object_store = object_store::aws::AmazonS3Builder::from_env() - .with_region( - std::env::var("AWS_DEFAULT_REGION") - .wrap_err("Failed to get AWS region from environment") - .unwrap(), - ) - .with_bucket_name(ARTIFACT_PUBLIC_LTS_BUCKET) - .build() - .wrap_err("Failed to create object store")?; - - Ok(Box::new(object_store)) - } - async fn push_to_surreal(&self) -> Result<()> { let client = clients::surreal::SurrealRootClient::new() .await @@ -142,26 +95,27 @@ impl Artifact for PublicArtifact { client.use_ns("main").use_db("main").await?; - let pushed_artifact: Option = client - .create(self.id()) + let pushed_artifact: Vec = client + .create(Self::Id::TABLE) .content(self.clone()) .await .wrap_err("Failed to create artifact in surreal")?; - let _pushed_artifact = - pushed_artifact.ok_or_eyre("Failed to create artifact in surreal")?; + let _pushed_artifact = pushed_artifact + .first() + .ok_or_eyre("Failed to create artifact in surreal")?; Ok(()) } - async fn pull_from_surreal(id: Thing) -> Result> { + async fn pull_from_surreal(id: Self::Id) -> Result> { let client = clients::surreal::SurrealRootClient::new() .await .wrap_err("Failed to create surreal client")?; client.use_ns("main").use_db("main").await?; let artifact: Option = client - .select(&id) + .select((Self::Id::TABLE, id.id_with_brackets())) .await .wrap_err("Failed to get artifact from surreal")?; @@ -169,51 +123,76 @@ impl Artifact for PublicArtifact { Ok(Box::new(artifact)) } + + fn object_store(&self) -> Result> { + let object_store = object_store::aws::AmazonS3Builder::from_env() + .with_region( + std::env::var("AWS_DEFAULT_REGION") + .wrap_err("Failed to get AWS region from environment") + .unwrap(), + ) + .with_bucket_name(ARTIFACT_PUBLIC_LTS_BUCKET) + .build() + .wrap_err("Failed to create object store")?; + + Ok(Box::new(object_store)) + } } impl Artifact for PrivateArtifact { + type Id = core_types::PrivateArtifactRecordId; + fn new(contents: Option) -> Self { - Self { - id: Thing { - tb: ARTIFACT_PRIVATE_TABLE.to_string(), - id: Id::String(ulid::Ulid::new().to_string()), - }, - contents, - } + let id = core_types::PrivateArtifactRecordId(ulid::Ulid::new()); + Self::new_with_id(id, contents) } - async fn upload_and_push(&self) -> Result<()> { - self.upload().await.wrap_err("Failed to upload artifact")?; - self - .push_to_surreal() + fn new_with_id(id: Self::Id, contents: Option) -> Self { + Self { id, contents } + } + + async fn download(&mut self) -> Result<()> { + let object_store = self.object_store()?; + let path = object_store::path::Path::from(self.id.0.to_string()); + + let contents = object_store + .get(&path) .await - .wrap_err("Failed to push to surreal")?; + .wrap_err("Failed to download artifact")?; + + self.contents = Some( + contents + .bytes() + .await + .wrap_err("Failed to read bytes of downloaded artifact")?, + ); Ok(()) } - fn id(&self) -> Thing { self.id.clone() } - fn has_contents(&self) -> bool { self.contents.is_some() } - fn contents(&self) -> Option<&bytes::Bytes> { self.contents.as_ref() } - fn contents_mut(&mut self) -> Option<&mut bytes::Bytes> { - self.contents.as_mut() - } - fn set_contents(&mut self, contents: bytes::Bytes) { - self.contents = Some(contents) - } + async fn upload(&self) -> Result<()> { + let object_store = self.object_store()?; + let path = object_store::path::Path::from(self.id.0.to_string()); - fn object_store(&self) -> Result> { - let object_store = object_store::aws::AmazonS3Builder::from_env() - .with_region( - std::env::var("AWS_DEFAULT_REGION") - .wrap_err("Failed to get AWS region from environment") - .unwrap(), + object_store + .put( + &path, + self.contents.clone().ok_or_eyre("No contents to upload")?, ) - .with_bucket_name(ARTIFACT_PRIVATE_LTS_BUCKET) - .build() - .wrap_err("Failed to create object store")?; + .await + .wrap_err("Failed to upload artifact")?; - Ok(Box::new(object_store)) + Ok(()) + } + + async fn upload_and_push(&self) -> Result<()> { + self.upload().await.wrap_err("Failed to upload artifact")?; + self + .push_to_surreal() + .await + .wrap_err("Failed to push to surreal")?; + + Ok(()) } async fn push_to_surreal(&self) -> Result<()> { @@ -223,35 +202,46 @@ impl Artifact for PrivateArtifact { client.use_ns("main").use_db("main").await?; - let pushed_artifact: Option = client - .create(self.id()) + let pushed_artifact: Vec = client + .create(Self::Id::TABLE) .content(self.clone()) .await .wrap_err("Failed to create artifact in surreal")?; - let _pushed_artifact = - pushed_artifact.ok_or_eyre("Failed to create artifact in surreal")?; + let _pushed_artifact = pushed_artifact + .first() + .ok_or_eyre("Failed to create artifact in surreal")?; Ok(()) } - async fn pull_from_surreal(id: Thing) -> Result> { + async fn pull_from_surreal(id: Self::Id) -> Result> { let client = clients::surreal::SurrealRootClient::new() .await .wrap_err("Failed to create surreal client")?; client.use_ns("main").use_db("main").await?; let artifact: Option = client - .select(id) + .select((Self::Id::TABLE, id.id_with_brackets())) .await .wrap_err("Failed to get artifact from surreal")?; let artifact = artifact.ok_or_eyre("Artifact does not exist in surreal")?; - let artifact = PrivateArtifact { - id: artifact.id, - contents: None, - }; Ok(Box::new(artifact)) } + + fn object_store(&self) -> Result> { + let object_store = object_store::aws::AmazonS3Builder::from_env() + .with_region( + std::env::var("AWS_DEFAULT_REGION") + .wrap_err("Failed to get AWS region from environment") + .unwrap(), + ) + .with_bucket_name(ARTIFACT_PRIVATE_LTS_BUCKET) + .build() + .wrap_err("Failed to create object store")?; + + Ok(Box::new(object_store)) + } } diff --git a/crates/auth/Cargo.toml b/crates/auth/Cargo.toml index 85848c4..e2b0a19 100644 --- a/crates/auth/Cargo.toml +++ b/crates/auth/Cargo.toml @@ -6,16 +6,16 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -axum-login = "0.13.1" async-trait = "0.1.77" redact = { version = "0.1.8", features = [ "serde" ] } tower-sessions = { version = "0.10" } tower-sessions-surrealdb-store = { version = "0.3" } +axum-login.workspace = true serde.workspace = true color-eyre.workspace = true thiserror.workspace = true surrealdb.workspace = true clients = { path = "../clients" } -core_types = { path = "../core_types" } +core_types = { path = "../core_types", features = [ "ssr", "auth" ] } diff --git a/crates/auth/src/lib.rs b/crates/auth/src/lib.rs index 64b50ed..2f73188 100644 --- a/crates/auth/src/lib.rs +++ b/crates/auth/src/lib.rs @@ -1,34 +1,10 @@ use axum_login::{ - AuthManagerLayer, AuthManagerLayerBuilder, AuthUser, AuthnBackend, UserId, + AuthManagerLayer, AuthManagerLayerBuilder, AuthnBackend, UserId, }; -use color_eyre::eyre::{eyre, Context, Result}; +use color_eyre::eyre::{eyre, Context, OptionExt, Result}; +use core_types::NewId; use serde::{Deserialize, Serialize}; -use surrealdb::{engine::remote::ws::Client, sql::Thing}; - -#[derive(Clone, Debug, Serialize, Deserialize)] -pub struct AuthenticatedUser { - pub id: Thing, - pub name: String, - pub email: String, - pub password: String, -} - -impl From for core_types::User { - fn from(u: AuthenticatedUser) -> core_types::User { - core_types::User { - id: u.id.to_string(), - name: u.name, - email: u.email, - } - } -} - -impl AuthUser for AuthenticatedUser { - type Id = Thing; - - fn id(&self) -> Self::Id { self.id.clone() } - fn session_auth_hash(&self) -> &[u8] { self.password.as_bytes() } -} +use surrealdb::engine::remote::ws::Client; #[derive(Clone, Debug, Serialize, Deserialize)] pub struct Credentials { @@ -53,11 +29,11 @@ impl Backend { name: String, email: String, password: String, - ) -> Result { + ) -> Result { (*self.surreal_client).use_ns("main").use_db("main").await?; // check whether a user with the given email already exists - let user: Option = (*self.surreal_client) + let user: Option = (*self.surreal_client) .query("SELECT * FROM users WHERE email = $email") .bind(("email", &email)) .await? @@ -69,26 +45,30 @@ impl Backend { } // create a new user - let user: Option = (*self.surreal_client) + let user: Option = (*self.surreal_client) .query( - "CREATE user SET name = $name, email = $email, password = \ - crypto::argon2::generate($password)", + "CREATE user SET name = $name, email = $email, pw_hash = \ + crypto::argon2::generate($password), id = $id", ) .bind(("name", &name)) .bind(("email", &email)) .bind(("password", &password)) + .bind(( + "id", + core_types::UserRecordId(core_types::Ulid::new()).id_without_brackets(), + )) .await .wrap_err("Failed to create user in SurrealDB")? .take(0) .wrap_err("Failed to insert user into SurrealDB")?; - user.ok_or_else(|| eyre!("Failed to create user")) + user.ok_or_eyre("Failed to create user") } } #[async_trait::async_trait] impl AuthnBackend for Backend { - type User = AuthenticatedUser; + type User = core_types::User; type Credentials = Credentials; type Error = surrealdb::Error; @@ -98,10 +78,10 @@ impl AuthnBackend for Backend { ) -> Result, Self::Error> { (*self.surreal_client).use_ns("main").use_db("main").await?; - let user: Option = (*self.surreal_client) + let user: Option = (*self.surreal_client) .query( "SELECT * FROM user WHERE email = $email AND \ - crypto::argon2::compare(password, $password)", + crypto::argon2::compare(pw_hash, $password)", ) .bind(("email", &credentials.email)) .bind(("password", &credentials.password)) @@ -117,8 +97,14 @@ impl AuthnBackend for Backend { ) -> Result, Self::Error> { (*self.surreal_client).use_ns("main").use_db("main").await?; - let user: Option = - (*self.surreal_client).select(user_id).await?; + let user: Option = (*self.surreal_client) + .select(( + core_types::UserRecordId::TABLE, + core_types::UserRecordId::new(user_id.to_string()) + .unwrap() + .id_without_brackets(), + )) + .await?; Ok(user) } } diff --git a/crates/bl/Cargo.toml b/crates/bl/Cargo.toml index 17c34e4..3e4b71f 100644 --- a/crates/bl/Cargo.toml +++ b/crates/bl/Cargo.toml @@ -6,6 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] +core_types = { path = "../core_types", features = [ "ssr" ] } clients = { path = "../clients" } artifact = { path = "../artifact" } diff --git a/crates/bl/src/lib.rs b/crates/bl/src/lib.rs index c665c56..d6d094d 100644 --- a/crates/bl/src/lib.rs +++ b/crates/bl/src/lib.rs @@ -1,38 +1,12 @@ -use artifact::{Artifact, PrivateArtifact, PublicArtifact}; +use artifact::Artifact; use bytes::Bytes; use clients::surreal::SurrealRootClient; -use color_eyre::eyre::Result; +use color_eyre::eyre::{Context, Result}; +use core_types::{ + AsThing, NewId, Photo, PhotoArtifacts, PhotoGroup, PhotoGroupUploadMeta, + PrivateArtifact, PublicArtifact, +}; use serde::{Deserialize, Serialize}; -use surrealdb::sql::{Id, Thing}; - -const PHOTO_TABLE: &str = "photo"; -const PHOTO_GROUP_TABLE: &str = "photo_group"; - -#[derive(Clone, Debug, Deserialize, Serialize)] -pub struct Photo { - pub id: Thing, - pub photographer: Thing, - pub owner: Thing, - pub artifacts: PhotoArtifacts, -} - -#[derive(Clone, Debug, Deserialize, Serialize)] -pub struct PhotoArtifacts { - pub original: PrivateArtifact, - pub thumbnail: PublicArtifact, -} - -#[derive(Clone, Debug, Deserialize, Serialize)] -pub struct PhotoGroup { - pub id: Thing, - pub photos: Vec, - pub public: bool, -} - -#[derive(Clone, Debug, Default, Deserialize, Serialize)] -pub struct PhotoGroupUploadMeta { - pub public: bool, -} #[derive(Clone, Debug, Deserialize, Serialize, thiserror::Error)] pub enum PhotoUploadError { @@ -53,7 +27,7 @@ fn thumbnail_size(aspect_ratio: f32) -> (u32, u32) { } pub async fn upload_single_photo( - user_id: Thing, + user_id: core_types::UserRecordId, original_bytes: Bytes, group_meta: PhotoGroupUploadMeta, ) -> Result { @@ -93,12 +67,9 @@ pub async fn upload_single_photo( // create a photo and upload it to surreal let photo = Photo { - id: Thing { - tb: PHOTO_TABLE.to_string(), - id: Id::String(ulid::Ulid::new().to_string()), - }, + id: core_types::PhotoRecordId(ulid::Ulid::new()), photographer: user_id.clone(), - owner: user_id, + owner: user_id.clone(), artifacts: PhotoArtifacts { original: original_artifact, thumbnail: thumbnail_artifact, @@ -114,8 +85,8 @@ pub async fn upload_single_photo( )) })?; - let photo: Option = client - .create(photo.id.clone()) + let photo: Vec = client + .create(core_types::PhotoRecordId::TABLE) .content(photo) .await .map_err(|e| { @@ -124,22 +95,20 @@ pub async fn upload_single_photo( )) })?; - let photo = photo.ok_or_else(|| { + let photo = photo.first().ok_or_else(|| { PhotoUploadError::DBError("Failed to create photo in surreal".to_string()) })?; // create a photo group and upload it to surreal let group = PhotoGroup { - id: Thing { - tb: PHOTO_GROUP_TABLE.to_string(), - id: Id::String(ulid::Ulid::new().to_string()), - }, - photos: vec![photo.id], + id: core_types::PhotoGroupRecordId(ulid::Ulid::new()), + owner: user_id.clone(), + photos: vec![photo.id.clone()], public: group_meta.public, }; - let group: Option = client - .create(group.id.clone()) + let group: Vec = client + .create(core_types::PhotoGroupRecordId::TABLE) .content(group.clone()) .await .map_err(|e| { @@ -148,11 +117,39 @@ pub async fn upload_single_photo( )) })?; - let group = group.ok_or_else(|| { + let group = group.first().ok_or_else(|| { PhotoUploadError::DBError( "Failed to create photo group in surreal".to_string(), ) })?; - Ok(group) + Ok(group.clone()) +} + +pub async fn get_user_photo_groups( + user_id: core_types::UserRecordId, +) -> Result> { + let client = SurrealRootClient::new() + .await + .wrap_err("Failed to create surreal client")?; + client + .use_ns("main") + .use_db("main") + .await + .wrap_err("Failed to use surreal namespace/database")?; + + let mut result = client + .query(format!( + "SELECT * FROM {} WHERE owner = $user_id", + core_types::PhotoGroupRecordId::TABLE + )) + .bind(("user_id", user_id.0.to_string())) + .await + .wrap_err("Failed to query photo groups")?; + + let groups: Vec = result + .take(0) + .wrap_err("Failed to take result of photo groups query")?; + + Ok(groups) } diff --git a/crates/core_types/Cargo.toml b/crates/core_types/Cargo.toml index efdde87..dabcf81 100644 --- a/crates/core_types/Cargo.toml +++ b/crates/core_types/Cargo.toml @@ -6,4 +6,16 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] +bytes.workspace = true serde.workspace = true +ulid.workspace = true + +surreal-id = { version = "0.2", optional = true } + +axum-login = { workspace = true, optional = true } +surrealdb = { workspace = true, optional = true } + +[features] +default = [] +auth = [ "dep:axum-login" ] +ssr = [ "dep:surreal-id", "dep:surrealdb" ] diff --git a/crates/core_types/src/artifact.rs b/crates/core_types/src/artifact.rs new file mode 100644 index 0000000..397468b --- /dev/null +++ b/crates/core_types/src/artifact.rs @@ -0,0 +1,53 @@ +use serde::{Deserialize, Serialize}; + +pub const PRIVATE_ARTIFACT_TABLE: &str = "private_artifact"; +pub const PUBLIC_ARTIFACT_TABLE: &str = "public_artifact"; + +#[derive(Clone, Debug, Deserialize, Serialize)] +#[cfg_attr(feature = "ssr", serde(from = "crate::conv::UlidOrThing"))] +pub struct PrivateArtifactRecordId(pub ulid::Ulid); + +#[derive(Debug, Clone, Deserialize, Serialize)] +pub struct PrivateArtifact { + pub id: PrivateArtifactRecordId, + #[serde(skip)] + pub contents: Option, +} + +#[derive(Clone, Debug, Deserialize, Serialize)] +#[cfg_attr(feature = "ssr", serde(from = "crate::conv::UlidOrThing"))] +pub struct PublicArtifactRecordId(pub ulid::Ulid); + +#[derive(Debug, Clone, Deserialize, Serialize)] +pub struct PublicArtifact { + pub id: PublicArtifactRecordId, + pub url: String, + #[serde(skip)] + pub contents: Option, +} + +#[cfg(feature = "ssr")] +mod ssr { + use surreal_id::NewId; + use surrealdb::sql::Id; + + use super::*; + + impl NewId for PrivateArtifactRecordId { + const TABLE: &'static str = PRIVATE_ARTIFACT_TABLE; + + fn from_inner_id>(inner_id: T) -> Self { + Self(inner_id.into().to_string().parse().unwrap()) + } + fn get_inner_string(&self) -> String { self.0.to_string() } + } + + impl NewId for PublicArtifactRecordId { + const TABLE: &'static str = PUBLIC_ARTIFACT_TABLE; + + fn from_inner_id>(inner_id: T) -> Self { + Self(inner_id.into().to_string().parse().unwrap()) + } + fn get_inner_string(&self) -> String { self.0.to_string() } + } +} diff --git a/crates/core_types/src/auth.rs b/crates/core_types/src/auth.rs new file mode 100644 index 0000000..8c55e9f --- /dev/null +++ b/crates/core_types/src/auth.rs @@ -0,0 +1,66 @@ +use serde::{Deserialize, Serialize}; + +pub const USER_TABLE: &str = "user"; + +#[derive(Serialize, Deserialize, Debug, Clone)] +#[cfg_attr(feature = "ssr", serde(from = "crate::conv::UlidOrThing"))] +pub struct UserRecordId(pub ulid::Ulid); + +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct User { + pub id: UserRecordId, + pub name: String, + pub email: String, + pub pw_hash: String, +} + +#[derive(Serialize, Deserialize, Debug, Clone)] +pub struct PublicUser { + pub id: UserRecordId, + pub name: String, + pub email: String, +} + +impl From for PublicUser { + fn from(u: User) -> PublicUser { + PublicUser { + id: u.id, + name: u.name, + email: u.email, + } + } +} + +#[derive(Clone, Debug)] +pub struct LoggedInUser(pub Option); + +#[cfg(feature = "ssr")] +mod ssr { + use surreal_id::NewId; + use surrealdb::sql::Id; + + use super::*; + + impl NewId for UserRecordId { + const TABLE: &'static str = USER_TABLE; + + fn from_inner_id>(inner_id: T) -> Self { + Self(inner_id.into().to_string().parse().unwrap()) + } + fn get_inner_string(&self) -> String { self.0.to_string() } + } +} + +#[cfg(feature = "auth")] +mod auth { + use axum_login::AuthUser; + + use super::*; + + impl AuthUser for User { + type Id = ulid::Ulid; + + fn id(&self) -> Self::Id { self.id.0 } + fn session_auth_hash(&self) -> &[u8] { self.pw_hash.as_bytes() } + } +} diff --git a/crates/core_types/src/conv.rs b/crates/core_types/src/conv.rs new file mode 100644 index 0000000..cf6ff86 --- /dev/null +++ b/crates/core_types/src/conv.rs @@ -0,0 +1,66 @@ +use serde::Deserialize; +use surreal_id::NewId; +use surrealdb::sql::{Id, Thing}; + +use crate::{ + PhotoGroupRecordId, PhotoRecordId, PrivateArtifactRecordId, + PublicArtifactRecordId, UserRecordId, +}; + +#[derive(Deserialize, Debug, Clone)] +#[serde(untagged)] +pub enum UlidOrThing { + Ulid(ulid::Ulid), + Thing(Thing), +} + +impl From for ulid::Ulid { + fn from(u: UlidOrThing) -> ulid::Ulid { + match u { + UlidOrThing::Ulid(u) => u, + UlidOrThing::Thing(t) => t.id.to_string().parse().unwrap(), + } + } +} + +impl From for UserRecordId { + fn from(u: UlidOrThing) -> UserRecordId { UserRecordId(ulid::Ulid::from(u)) } +} + +impl From for PhotoRecordId { + fn from(u: UlidOrThing) -> PhotoRecordId { + PhotoRecordId(ulid::Ulid::from(u)) + } +} + +impl From for PhotoGroupRecordId { + fn from(u: UlidOrThing) -> PhotoGroupRecordId { + PhotoGroupRecordId(ulid::Ulid::from(u)) + } +} + +impl From for PrivateArtifactRecordId { + fn from(u: UlidOrThing) -> PrivateArtifactRecordId { + PrivateArtifactRecordId(ulid::Ulid::from(u)) + } +} + +impl From for PublicArtifactRecordId { + fn from(u: UlidOrThing) -> PublicArtifactRecordId { + PublicArtifactRecordId(ulid::Ulid::from(u)) + } +} + +pub trait AsThing { + fn as_thing(&self) -> Thing; +} + +impl AsThing for T { + fn as_thing(&self) -> Thing { + println!("converting to thing: {:?}", self.get_inner_string()); + Thing { + tb: T::TABLE.to_string(), + id: Id::String(self.get_inner_string()), + } + } +} diff --git a/crates/core_types/src/lib.rs b/crates/core_types/src/lib.rs index 6fbe1cd..6cb329d 100644 --- a/crates/core_types/src/lib.rs +++ b/crates/core_types/src/lib.rs @@ -1,11 +1,13 @@ -use serde::{Deserialize, Serialize}; +mod artifact; +mod auth; +#[cfg(feature = "ssr")] +pub(crate) mod conv; +mod photo; -#[derive(Serialize, Deserialize, Debug, Clone)] -pub struct User { - pub id: String, - pub name: String, - pub email: String, -} +#[cfg(feature = "ssr")] +pub use surreal_id::NewId; +pub use ulid::Ulid; -#[derive(Clone, Debug)] -pub struct LoggedInUser(pub Option); +#[cfg(feature = "ssr")] +pub use self::conv::AsThing; +pub use self::{artifact::*, auth::*, photo::*}; diff --git a/crates/core_types/src/photo.rs b/crates/core_types/src/photo.rs new file mode 100644 index 0000000..18f6dad --- /dev/null +++ b/crates/core_types/src/photo.rs @@ -0,0 +1,70 @@ +use serde::{Deserialize, Serialize}; + +pub const PHOTO_TABLE: &str = "photo"; +pub const PHOTO_GROUP_TABLE: &str = "photo_group"; + +use crate::{ + artifact::{PrivateArtifact, PublicArtifact}, + auth::UserRecordId, +}; + +#[derive(Clone, Debug, Deserialize, Serialize)] +#[cfg_attr(feature = "ssr", serde(from = "crate::conv::UlidOrThing"))] +pub struct PhotoRecordId(pub ulid::Ulid); + +#[derive(Clone, Debug, Deserialize, Serialize)] +pub struct Photo { + pub id: PhotoRecordId, + pub photographer: UserRecordId, + pub owner: UserRecordId, + pub artifacts: PhotoArtifacts, +} + +#[derive(Clone, Debug, Deserialize, Serialize)] +pub struct PhotoArtifacts { + pub original: PrivateArtifact, + pub thumbnail: PublicArtifact, +} + +#[derive(Clone, Debug, Deserialize, Serialize)] +#[cfg_attr(feature = "ssr", serde(from = "crate::conv::UlidOrThing"))] +pub struct PhotoGroupRecordId(pub ulid::Ulid); + +#[derive(Clone, Debug, Deserialize, Serialize)] +pub struct PhotoGroup { + pub id: PhotoGroupRecordId, + pub owner: UserRecordId, + pub photos: Vec, + pub public: bool, +} + +#[derive(Clone, Debug, Default, Deserialize, Serialize)] +pub struct PhotoGroupUploadMeta { + pub public: bool, +} + +#[cfg(feature = "ssr")] +mod ssr { + use surreal_id::NewId; + use surrealdb::sql::Id; + + use super::*; + + impl NewId for PhotoRecordId { + const TABLE: &'static str = PHOTO_TABLE; + + fn from_inner_id>(inner_id: T) -> Self { + Self(inner_id.into().to_string().parse().unwrap()) + } + fn get_inner_string(&self) -> String { self.0.to_string() } + } + + impl NewId for PhotoGroupRecordId { + const TABLE: &'static str = PHOTO_GROUP_TABLE; + + fn from_inner_id>(inner_id: T) -> Self { + Self(inner_id.into().to_string().parse().unwrap()) + } + fn get_inner_string(&self) -> String { self.0.to_string() } + } +} diff --git a/crates/site-app/src/components/gallery.rs b/crates/site-app/src/components/gallery.rs index 920637b..078980b 100644 --- a/crates/site-app/src/components/gallery.rs +++ b/crates/site-app/src/components/gallery.rs @@ -2,14 +2,37 @@ use leptos::*; #[component] pub fn Gallery() -> impl IntoView { - let user = crate::authenticated_user(); - - let Some(user) = user else { + let Some(user) = crate::authenticated_user() else { return view! {

"Not Authenticated"

} .into_view(); }; - view! {}.into_view() + let photo_groups = create_resource( + move || (), + move |_| get_user_photo_groups(user.id.clone()), + ); + + view! { + "Loading..."

}> + { move || photo_groups.map(|groups| view! { +
+          
+            {format!("Photo Groups: {:#?}", groups)}
+          
+        
+ })} +
+ } + .into_view() +} + +#[server] +pub async fn get_user_photo_groups( + user_id: core_types::UserRecordId, +) -> Result, ServerFnError> { + bl::get_user_photo_groups(user_id).await.map_err(|e| { + ServerFnError::new(format!("Failed to get user photo groups: {e}")) + }) } diff --git a/crates/site-app/src/components/photo_upload.rs b/crates/site-app/src/components/photo_upload.rs index 8d5eeb1..736b1e3 100644 --- a/crates/site-app/src/components/photo_upload.rs +++ b/crates/site-app/src/components/photo_upload.rs @@ -42,7 +42,7 @@ pub fn PhotoUpload() -> impl IntoView { #[server(input = MultipartFormData)] pub async fn photo_upload( data: MultipartData, -) -> Result { +) -> Result { // get the user, and abort if not logged in let user = crate::authenticated_user() .ok_or_else(|| ServerFnError::new("Not logged in"))?; @@ -80,16 +80,14 @@ pub async fn photo_upload( public.ok_or_else(|| ServerFnError::new("Missing public field"))?; let photo = photo.ok_or_else(|| ServerFnError::new("Missing photo field"))?; - let photo_group = bl::upload_single_photo( - user - .id - .parse() - .map_err(|_| ServerFnError::new(format!("Failed to parse user ID")))?, - photo, - bl::PhotoGroupUploadMeta { public }, - ) - .await - .map_err(|e| ServerFnError::new(format!("Failed to upload photo: {}", e)))?; + let photo_group = + bl::upload_single_photo(user.id, photo, core_types::PhotoGroupUploadMeta { + public, + }) + .await + .map_err(|e| { + ServerFnError::new(format!("Failed to upload photo: {}", e)) + })?; - Ok(photo_group.id.to_string()) + Ok(photo_group.id) } diff --git a/crates/site-app/src/pages/auth/login_page.rs b/crates/site-app/src/pages/auth/login_page.rs index afca955..eff093b 100644 --- a/crates/site-app/src/pages/auth/login_page.rs +++ b/crates/site-app/src/pages/auth/login_page.rs @@ -107,7 +107,7 @@ pub async fn login(params: LoginParams) -> Result { .await .map_err(|e| ServerFnError::new(format!("Failed to log in: {e}")))?; - log!("logged in user: {} ({})", user.name, user.id); + log!("logged in user: {} ({})", user.name, user.id.0); leptos_axum::redirect("/"); Ok(true) diff --git a/crates/site-app/src/pages/dashboard/mod.rs b/crates/site-app/src/pages/dashboard/mod.rs index da237c4..d348584 100644 --- a/crates/site-app/src/pages/dashboard/mod.rs +++ b/crates/site-app/src/pages/dashboard/mod.rs @@ -21,6 +21,7 @@ pub fn DashboardPage() -> impl IntoView {

"Dashboard Page"

+
} } diff --git a/crates/site-app/src/utils.rs b/crates/site-app/src/utils.rs index 3f1fd70..51a4251 100644 --- a/crates/site-app/src/utils.rs +++ b/crates/site-app/src/utils.rs @@ -1,5 +1,5 @@ use leptos::*; -pub fn authenticated_user() -> Option { +pub fn authenticated_user() -> Option { use_context::().and_then(|u| u.0) } diff --git a/crates/site-server/src/main.rs b/crates/site-server/src/main.rs index f30a765..e5a6331 100644 --- a/crates/site-server/src/main.rs +++ b/crates/site-server/src/main.rs @@ -33,7 +33,7 @@ async fn server_fn_handler( move || { provide_context(auth_session.clone()); provide_context(core_types::LoggedInUser( - auth_session.user.clone().map(core_types::User::from), + auth_session.user.clone().map(core_types::PublicUser::from), )) }, request, @@ -52,7 +52,7 @@ async fn leptos_routes_handler( move || { // provide_context(auth_session.clone()); provide_context(core_types::LoggedInUser( - auth_session.user.clone().map(core_types::User::from), + auth_session.user.clone().map(core_types::PublicUser::from), )) }, site_app::App, diff --git a/migrations/migrations/definitions/_initial.json b/migrations/migrations/definitions/_initial.json index 18d2c67..4821b6f 100644 --- a/migrations/migrations/definitions/_initial.json +++ b/migrations/migrations/definitions/_initial.json @@ -1 +1 @@ -{"schemas":"DEFINE TABLE script_migration SCHEMAFULL\n PERMISSIONS\n FOR select FULL\n FOR create, update, delete NONE;\n\nDEFINE FIELD script_name ON script_migration TYPE string;\nDEFINE FIELD executed_at ON script_migration TYPE datetime DEFAULT time::now();\nDEFINE TABLE user SCHEMALESS;\n\nDEFINE FIELD name ON user TYPE string;\nDEFINE FIELD email ON user TYPE string;\nDEFINE FIELD password ON user TYPE string;\n\nDEFINE INDEX unique_email ON user COLUMNS email UNIQUE;\n","events":""} \ No newline at end of file +{"schemas":"DEFINE TABLE script_migration SCHEMAFULL\n PERMISSIONS\n FOR select FULL\n FOR create, update, delete NONE;\n\nDEFINE FIELD script_name ON script_migration TYPE string;\nDEFINE FIELD executed_at ON script_migration TYPE datetime DEFAULT time::now();\nDEFINE TABLE user SCHEMALESS;\n\nDEFINE FIELD name ON user TYPE string;\nDEFINE FIELD email ON user TYPE string;\nDEFINE FIELD pw_hash ON user TYPE string;\n\nDEFINE INDEX unique_email ON user COLUMNS email UNIQUE;\n","events":""} \ No newline at end of file diff --git a/migrations/schemas/user.surrealql b/migrations/schemas/user.surrealql index b8671e2..4b75e7d 100644 --- a/migrations/schemas/user.surrealql +++ b/migrations/schemas/user.surrealql @@ -2,6 +2,6 @@ DEFINE TABLE user SCHEMALESS; DEFINE FIELD name ON user TYPE string; DEFINE FIELD email ON user TYPE string; -DEFINE FIELD password ON user TYPE string; +DEFINE FIELD pw_hash ON user TYPE string; DEFINE INDEX unique_email ON user COLUMNS email UNIQUE; diff --git a/rustc-ice-2024-02-16T17_21_29-27814.txt b/rustc-ice-2024-02-16T17_21_29-27814.txt new file mode 100644 index 0000000..a0db2b1 --- /dev/null +++ b/rustc-ice-2024-02-16T17_21_29-27814.txt @@ -0,0 +1,188 @@ +thread 'rustc' panicked at compiler/rustc_metadata/src/rmeta/def_path_hash_map.rs:23:54: +called `Option::unwrap()` on a `None` value +stack backtrace: + 0: 0xffff26c0cd78 - std::backtrace_rs::backtrace::libunwind::trace::hfe54b43f8fadab45 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: 0xffff26c0cd78 - std::backtrace_rs::backtrace::trace_unsynchronized::he52e9df88882b9d4 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: 0xffff26c0cd78 - std::backtrace::Backtrace::create::hbc9f6b0752a7c221 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: 0xffff277fab24 - as core[838b3e1bdd7b2528]::ops::function::Fn<(&dyn for<'a, 'b> core[838b3e1bdd7b2528]::ops::function::Fn<(&'a core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[838b3e1bdd7b2528]::marker::Sync + core[838b3e1bdd7b2528]::marker::Send, &core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo)>>::call + 4: 0xffff26c26410 - as core::ops::function::Fn>::call::hf1ccbfb04528fac9 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2029:9 + 5: 0xffff26c26410 - std::panicking::rust_panic_with_hook::hbca97872facfc88d + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:785:13 + 6: 0xffff26c26160 - std::panicking::begin_panic_handler::{{closure}}::h651cba5bb6be54e1 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:651:13 + 7: 0xffff26c23960 - std::sys_common::backtrace::__rust_end_short_backtrace::h231c1dfaced37ebc + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys_common/backtrace.rs:171:18 + 8: 0xffff26c25f2c - rust_begin_unwind + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:647:5 + 9: 0xffff26bf13ec - core::panicking::panic_fmt::hc818833dc02386fb + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:72:14 + 10: 0xffff26bf146c - core::panicking::panic::h6674719cbc283852 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:144:5 + 11: 0xffff26bf1378 - core::option::unwrap_failed::he0621fe73dbdbba0 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/option.rs:1978:5 + 12: 0xffff2c13c008 - ::def_path_hash_to_def_id + 13: 0xffff2c4edafc - ::def_path_hash_to_def_id + 14: 0xffff2c6526d4 - ::extract_def_id + 15: 0xffff2b6b4cc4 - ::{closure#0} as core[838b3e1bdd7b2528]::ops::function::FnOnce<(rustc_middle[46473b2da0c7b084]::ty::context::TyCtxt, rustc_query_system[76fb595000f686e]::dep_graph::dep_node::DepNode)>>::call_once + 16: 0xffff2b88d048 - >::try_mark_previous_green:: + 17: 0xffff2b88d090 - >::try_mark_previous_green:: + 18: 0xffff2b88d090 - >::try_mark_previous_green:: + 19: 0xffff2b88d090 - >::try_mark_previous_green:: + 20: 0xffff2b88ce08 - >::try_mark_green:: + 21: 0xffff2b9293e4 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, rustc_middle[46473b2da0c7b084]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 22: 0xffff2b851458 - rustc_query_impl[5822bec21749cdb9]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 23: 0xffff2bc522bc - ::evaluate_obligation + 24: 0xffff2bc52660 - ::evaluate_obligation_no_overflow + 25: 0xffff2bafd7d4 - ::process_trait_obligation + 26: 0xffff2bafca0c - ::process_obligation + 27: 0xffff2bc533f0 - >::process_obligations:: + 28: 0xffff2baf9514 - ::select_where_possible + 29: 0xffff2bbdc56c - ::select_all_or_error + 30: 0xffff2b57c9b4 - ::commit_if_ok::<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed, rustc_trait_selection[5526cd3ad699b104]::traits::query::type_op::custom::scrape_region_constraints::fully_perform::{closure#0}>::{closure#0}> + 31: 0xffff2b598780 - rustc_trait_selection[5526cd3ad699b104]::traits::query::type_op::custom::scrape_region_constraints::::fully_perform::{closure#0}> + 32: 0xffff2b464728 - ::fully_perform + 33: 0xffff2b45e8b8 - ::register_obligations + 34: 0xffff2b527098 - >::relate_opaques + 35: 0xffff2b528c0c - as rustc_middle[46473b2da0c7b084]::ty::relate::TypeRelation>::tys + 36: 0xffff2b4680b4 - ::relate_types + 37: 0xffff2b46bdc4 - ::typeck_mir + 38: 0xffff2b45f338 - rustc_borrowck[fb9f3ed348722c98]::type_check::type_check + 39: 0xffff2b4a01e0 - rustc_borrowck[fb9f3ed348722c98]::nll::compute_regions + 40: 0xffff2b3f889c - rustc_borrowck[fb9f3ed348722c98]::do_mir_borrowck + 41: 0xffff2b3ef9f0 - rustc_borrowck[fb9f3ed348722c98]::mir_borrowck + 42: 0xffff2b6d071c - rustc_query_impl[5822bec21749cdb9]::plumbing::__rust_begin_short_backtrace::> + 43: 0xffff2b6ef8d0 - >::call_once + 44: 0xffff2b9885a8 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 45: 0xffff2b8df4d4 - rustc_query_system[76fb595000f686e]::query::plumbing::force_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt> + 46: 0xffff2b6a8418 - ::{closure#0} as core[838b3e1bdd7b2528]::ops::function::FnOnce<(rustc_middle[46473b2da0c7b084]::ty::context::TyCtxt, rustc_query_system[76fb595000f686e]::dep_graph::dep_node::DepNode)>>::call_once + 47: 0xffff2b88d048 - >::try_mark_previous_green:: + 48: 0xffff2b88d090 - >::try_mark_previous_green:: + 49: 0xffff2b88d090 - >::try_mark_previous_green:: + 50: 0xffff2b88d090 - >::try_mark_previous_green:: + 51: 0xffff2b88ce08 - >::try_mark_green:: + 52: 0xffff2b8e22c0 - rustc_query_system[76fb595000f686e]::query::plumbing::ensure_must_run::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt> + 53: 0xffff2b7ddcf4 - rustc_query_impl[5822bec21749cdb9]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 54: 0xffff2aadcb04 - ::run::, rustc_data_structures[6659498bf83f984f]::sync::parallel::enabled::try_par_for_each_in<&[rustc_hir[28f30fc36fbe2dd]::hir_id::OwnerId], rustc_span[110ecd566fac8533]::ErrorGuaranteed, ::try_par_for_each_module::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 55: 0xffff2aa33344 - rustc_hir_analysis[ffabaf230e32c0df]::check_crate + 56: 0xffff279751f8 - rustc_interface[c6d09d2df6052683]::passes::analysis + 57: 0xffff2b6d5be8 - rustc_query_impl[5822bec21749cdb9]::plumbing::__rust_begin_short_backtrace::> + 58: 0xffff2b76c2e0 - >::call_once + 59: 0xffff2b903594 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 60: 0xffff2b808374 - rustc_query_impl[5822bec21749cdb9]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 61: 0xffff277e4e58 - ::enter::> + 62: 0xffff27830e48 - ::enter::, rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 63: 0xffff277ce34c - rustc_span[110ecd566fac8533]::set_source_map::, rustc_interface[c6d09d2df6052683]::interface::run_compiler, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 64: 0xffff277cf6a4 - rustc_span[110ecd566fac8533]::create_session_globals_then::, rustc_interface[c6d09d2df6052683]::util::run_in_thread_pool_with_globals, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}> + 65: 0xffff2780c41c - std[1d40ebb4f03b22f]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 66: 0xffff2780ea94 - <::spawn_unchecked_, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#1} as core[838b3e1bdd7b2528]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 67: 0xffff26c2edec - as core::ops::function::FnOnce>::call_once::h1f7775aec6307416 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 68: 0xffff26c2edec - as core::ops::function::FnOnce>::call_once::h8daafd2ebd74fb9c + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 69: 0xffff26c2edec - std::sys::pal::unix::thread::Thread::new::thread_start::h48ec715059e6bb79 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 70: 0xffff26a738a0 - start_thread + 71: 0xffff26add04c - thread_start + 72: 0x0 - + + +rustc version: 1.77.0-nightly (635124704 2024-01-27) +platform: aarch64-unknown-linux-gnu + +query stack during panic: +#0 [evaluate_obligation] evaluating trait selection obligation `{coroutine witness@axum_login::session::AuthSession::logout::{closure#0}::{closure#0}::{closure#0}}: core::marker::Send` +#1 [mir_borrowck] borrow-checking `::run_body` +#2 [analysis] running analysis passes on this crate +end of query stack +delayed span bug: {OpaqueTypeKey { def_id: DefId(0:1283 ~ site_app[690c]::{impl#21}::run_body::{opaque#0}), args: [] }: OpaqueTypeDecl { hidden_type: OpaqueHiddenType { span: crates/site-app/src/lib.rs:101:1: 101:18 (#559), ty: Coroutine(DefId(0:1025 ~ site_app[690c]::{impl#21}::run_body::{closure#0}), [std::future::ResumeTy, (), std::result::Result<(), leptos::ServerFnError>, CoroutineWitness(DefId(0:1025 ~ site_app[690c]::{impl#21}::run_body::{closure#0}), []), ()]) } }} + 0: std::backtrace_rs::backtrace::libunwind::trace + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: std::backtrace_rs::backtrace::trace_unsynchronized + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: std::backtrace::Backtrace::create + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: ::emit_diagnostic + 4: ::emit_diagnostic + 5: ::emit_producing_error_guaranteed + 6: ::drop + 7: core::ptr::drop_in_place:: + 8: rustc_borrowck::mir_borrowck + 9: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 10: >::call_once + 11: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 12: rustc_query_system::query::plumbing::force_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + 13: ::{closure#0} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_query_system::dep_graph::dep_node::DepNode)>>::call_once + 14: >::try_mark_previous_green:: + 15: >::try_mark_previous_green:: + 16: >::try_mark_previous_green:: + 17: >::try_mark_previous_green:: + 18: >::try_mark_green:: + 19: rustc_query_system::query::plumbing::ensure_must_run::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + 20: rustc_query_impl::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 21: ::run::, rustc_data_structures::sync::parallel::enabled::try_par_for_each_in<&[rustc_hir::hir_id::OwnerId], rustc_span::ErrorGuaranteed, ::try_par_for_each_module::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 22: rustc_hir_analysis::check_crate + 23: rustc_interface::passes::analysis + 24: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 25: >::call_once + 26: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 27: rustc_query_impl::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 28: ::enter::> + 29: ::enter::, rustc_span::ErrorGuaranteed>> + 30: rustc_span::set_source_map::, rustc_interface::interface::run_compiler, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 31: rustc_span::create_session_globals_then::, rustc_interface::util::run_in_thread_pool_with_globals, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}> + 32: std::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>> + 33: <::spawn_unchecked_, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 34: as core::ops::function::FnOnce>::call_once + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 35: as core::ops::function::FnOnce>::call_once + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 36: std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 37: start_thread + 38: thread_start + +thread 'rustc' panicked at library/core/src/panicking.rs:163:5: +panic in a destructor during cleanup +stack backtrace: + 0: 0xffff26c0cd78 - std::backtrace_rs::backtrace::libunwind::trace::hfe54b43f8fadab45 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: 0xffff26c0cd78 - std::backtrace_rs::backtrace::trace_unsynchronized::he52e9df88882b9d4 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: 0xffff26c0cd78 - std::backtrace::Backtrace::create::hbc9f6b0752a7c221 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: 0xffff277fab24 - as core[838b3e1bdd7b2528]::ops::function::Fn<(&dyn for<'a, 'b> core[838b3e1bdd7b2528]::ops::function::Fn<(&'a core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[838b3e1bdd7b2528]::marker::Sync + core[838b3e1bdd7b2528]::marker::Send, &core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo)>>::call + 4: 0xffff26c26410 - as core::ops::function::Fn>::call::hf1ccbfb04528fac9 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2029:9 + 5: 0xffff26c26410 - std::panicking::rust_panic_with_hook::hbca97872facfc88d + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:785:13 + 6: 0xffff26c26160 - std::panicking::begin_panic_handler::{{closure}}::h651cba5bb6be54e1 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:651:13 + 7: 0xffff26c23960 - std::sys_common::backtrace::__rust_end_short_backtrace::h231c1dfaced37ebc + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys_common/backtrace.rs:171:18 + 8: 0xffff26c25f2c - rust_begin_unwind + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:647:5 + 9: 0xffff26bf1430 - core::panicking::panic_nounwind_fmt::runtime::h82b5902b3f5a0545 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:110:18 + 10: 0xffff26bf1430 - core::panicking::panic_nounwind_fmt::h2c5b3e91a1eede6e + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:122:9 + 11: 0xffff26bf14e4 - core::panicking::panic_nounwind_nobacktrace::hf7b0b502cc2352bd + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:163:5 + 12: 0xffff26bf1628 - core::panicking::panic_in_cleanup::h9f28fecec255aaae + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:256:5 + 13: 0xffff277ce75c - rustc_span[110ecd566fac8533]::set_source_map::, rustc_interface[c6d09d2df6052683]::interface::run_compiler, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 14: 0xffff277cf6a4 - rustc_span[110ecd566fac8533]::create_session_globals_then::, rustc_interface[c6d09d2df6052683]::util::run_in_thread_pool_with_globals, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}> + 15: 0xffff2780c41c - std[1d40ebb4f03b22f]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 16: 0xffff2780ea94 - <::spawn_unchecked_, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#1} as core[838b3e1bdd7b2528]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 17: 0xffff26c2edec - as core::ops::function::FnOnce>::call_once::h1f7775aec6307416 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 18: 0xffff26c2edec - as core::ops::function::FnOnce>::call_once::h8daafd2ebd74fb9c + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 19: 0xffff26c2edec - std::sys::pal::unix::thread::Thread::new::thread_start::h48ec715059e6bb79 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 20: 0xffff26a738a0 - start_thread + 21: 0xffff26add04c - thread_start + 22: 0x0 - diff --git a/rustc-ice-2024-02-16T17_21_29-27815.txt b/rustc-ice-2024-02-16T17_21_29-27815.txt new file mode 100644 index 0000000..5cf1aa7 --- /dev/null +++ b/rustc-ice-2024-02-16T17_21_29-27815.txt @@ -0,0 +1,188 @@ +thread 'rustc' panicked at compiler/rustc_metadata/src/rmeta/def_path_hash_map.rs:23:54: +called `Option::unwrap()` on a `None` value +stack backtrace: + 0: 0xffffadb7cd78 - std::backtrace_rs::backtrace::libunwind::trace::hfe54b43f8fadab45 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: 0xffffadb7cd78 - std::backtrace_rs::backtrace::trace_unsynchronized::he52e9df88882b9d4 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: 0xffffadb7cd78 - std::backtrace::Backtrace::create::hbc9f6b0752a7c221 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: 0xffffae76ab24 - as core[838b3e1bdd7b2528]::ops::function::Fn<(&dyn for<'a, 'b> core[838b3e1bdd7b2528]::ops::function::Fn<(&'a core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[838b3e1bdd7b2528]::marker::Sync + core[838b3e1bdd7b2528]::marker::Send, &core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo)>>::call + 4: 0xffffadb96410 - as core::ops::function::Fn>::call::hf1ccbfb04528fac9 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2029:9 + 5: 0xffffadb96410 - std::panicking::rust_panic_with_hook::hbca97872facfc88d + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:785:13 + 6: 0xffffadb96160 - std::panicking::begin_panic_handler::{{closure}}::h651cba5bb6be54e1 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:651:13 + 7: 0xffffadb93960 - std::sys_common::backtrace::__rust_end_short_backtrace::h231c1dfaced37ebc + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys_common/backtrace.rs:171:18 + 8: 0xffffadb95f2c - rust_begin_unwind + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:647:5 + 9: 0xffffadb613ec - core::panicking::panic_fmt::hc818833dc02386fb + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:72:14 + 10: 0xffffadb6146c - core::panicking::panic::h6674719cbc283852 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:144:5 + 11: 0xffffadb61378 - core::option::unwrap_failed::he0621fe73dbdbba0 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/option.rs:1978:5 + 12: 0xffffb30ac008 - ::def_path_hash_to_def_id + 13: 0xffffb345dafc - ::def_path_hash_to_def_id + 14: 0xffffb35c26d4 - ::extract_def_id + 15: 0xffffb2624cc4 - ::{closure#0} as core[838b3e1bdd7b2528]::ops::function::FnOnce<(rustc_middle[46473b2da0c7b084]::ty::context::TyCtxt, rustc_query_system[76fb595000f686e]::dep_graph::dep_node::DepNode)>>::call_once + 16: 0xffffb27fd048 - >::try_mark_previous_green:: + 17: 0xffffb27fd090 - >::try_mark_previous_green:: + 18: 0xffffb27fd090 - >::try_mark_previous_green:: + 19: 0xffffb27fd090 - >::try_mark_previous_green:: + 20: 0xffffb27fce08 - >::try_mark_green:: + 21: 0xffffb28993e4 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, rustc_middle[46473b2da0c7b084]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 22: 0xffffb27c1458 - rustc_query_impl[5822bec21749cdb9]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 23: 0xffffb2bc22bc - ::evaluate_obligation + 24: 0xffffb2bc2660 - ::evaluate_obligation_no_overflow + 25: 0xffffb2a6d7d4 - ::process_trait_obligation + 26: 0xffffb2a6ca0c - ::process_obligation + 27: 0xffffb2bc33f0 - >::process_obligations:: + 28: 0xffffb2a69514 - ::select_where_possible + 29: 0xffffb2b4c56c - ::select_all_or_error + 30: 0xffffb24ec9b4 - ::commit_if_ok::<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed, rustc_trait_selection[5526cd3ad699b104]::traits::query::type_op::custom::scrape_region_constraints::fully_perform::{closure#0}>::{closure#0}> + 31: 0xffffb2508780 - rustc_trait_selection[5526cd3ad699b104]::traits::query::type_op::custom::scrape_region_constraints::::fully_perform::{closure#0}> + 32: 0xffffb23d4728 - ::fully_perform + 33: 0xffffb23ce8b8 - ::register_obligations + 34: 0xffffb2497098 - >::relate_opaques + 35: 0xffffb2498c0c - as rustc_middle[46473b2da0c7b084]::ty::relate::TypeRelation>::tys + 36: 0xffffb23d80b4 - ::relate_types + 37: 0xffffb23dbdc4 - ::typeck_mir + 38: 0xffffb23cf338 - rustc_borrowck[fb9f3ed348722c98]::type_check::type_check + 39: 0xffffb24101e0 - rustc_borrowck[fb9f3ed348722c98]::nll::compute_regions + 40: 0xffffb236889c - rustc_borrowck[fb9f3ed348722c98]::do_mir_borrowck + 41: 0xffffb235f9f0 - rustc_borrowck[fb9f3ed348722c98]::mir_borrowck + 42: 0xffffb264071c - rustc_query_impl[5822bec21749cdb9]::plumbing::__rust_begin_short_backtrace::> + 43: 0xffffb265f8d0 - >::call_once + 44: 0xffffb28f85a8 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 45: 0xffffb284f4d4 - rustc_query_system[76fb595000f686e]::query::plumbing::force_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt> + 46: 0xffffb2618418 - ::{closure#0} as core[838b3e1bdd7b2528]::ops::function::FnOnce<(rustc_middle[46473b2da0c7b084]::ty::context::TyCtxt, rustc_query_system[76fb595000f686e]::dep_graph::dep_node::DepNode)>>::call_once + 47: 0xffffb27fd048 - >::try_mark_previous_green:: + 48: 0xffffb27fd090 - >::try_mark_previous_green:: + 49: 0xffffb27fd090 - >::try_mark_previous_green:: + 50: 0xffffb27fd090 - >::try_mark_previous_green:: + 51: 0xffffb27fce08 - >::try_mark_green:: + 52: 0xffffb28522c0 - rustc_query_system[76fb595000f686e]::query::plumbing::ensure_must_run::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt> + 53: 0xffffb274dcf4 - rustc_query_impl[5822bec21749cdb9]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 54: 0xffffb1a4cb04 - ::run::, rustc_data_structures[6659498bf83f984f]::sync::parallel::enabled::try_par_for_each_in<&[rustc_hir[28f30fc36fbe2dd]::hir_id::OwnerId], rustc_span[110ecd566fac8533]::ErrorGuaranteed, ::try_par_for_each_module::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 55: 0xffffb19a3344 - rustc_hir_analysis[ffabaf230e32c0df]::check_crate + 56: 0xffffae8e51f8 - rustc_interface[c6d09d2df6052683]::passes::analysis + 57: 0xffffb2645be8 - rustc_query_impl[5822bec21749cdb9]::plumbing::__rust_begin_short_backtrace::> + 58: 0xffffb26dc2e0 - >::call_once + 59: 0xffffb2873594 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 60: 0xffffb2778374 - rustc_query_impl[5822bec21749cdb9]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 61: 0xffffae754e58 - ::enter::> + 62: 0xffffae7a0e48 - ::enter::, rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 63: 0xffffae73e34c - rustc_span[110ecd566fac8533]::set_source_map::, rustc_interface[c6d09d2df6052683]::interface::run_compiler, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 64: 0xffffae73f6a4 - rustc_span[110ecd566fac8533]::create_session_globals_then::, rustc_interface[c6d09d2df6052683]::util::run_in_thread_pool_with_globals, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}> + 65: 0xffffae77c41c - std[1d40ebb4f03b22f]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 66: 0xffffae77ea94 - <::spawn_unchecked_, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#1} as core[838b3e1bdd7b2528]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 67: 0xffffadb9edec - as core::ops::function::FnOnce>::call_once::h1f7775aec6307416 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 68: 0xffffadb9edec - as core::ops::function::FnOnce>::call_once::h8daafd2ebd74fb9c + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 69: 0xffffadb9edec - std::sys::pal::unix::thread::Thread::new::thread_start::h48ec715059e6bb79 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 70: 0xffffad9e38a0 - start_thread + 71: 0xffffada4d04c - thread_start + 72: 0x0 - + + +rustc version: 1.77.0-nightly (635124704 2024-01-27) +platform: aarch64-unknown-linux-gnu + +query stack during panic: +#0 [evaluate_obligation] evaluating trait selection obligation `{coroutine witness@axum_login::session::AuthSession::logout::{closure#0}::{closure#0}::{closure#0}}: core::marker::Send` +#1 [mir_borrowck] borrow-checking `::run_body` +#2 [analysis] running analysis passes on this crate +end of query stack +delayed span bug: {OpaqueTypeKey { def_id: DefId(0:1281 ~ site_app[3e41]::{impl#21}::run_body::{opaque#0}), args: [] }: OpaqueTypeDecl { hidden_type: OpaqueHiddenType { span: crates/site-app/src/lib.rs:101:1: 101:18 (#559), ty: Coroutine(DefId(0:1025 ~ site_app[3e41]::{impl#21}::run_body::{closure#0}), [std::future::ResumeTy, (), std::result::Result<(), leptos::ServerFnError>, CoroutineWitness(DefId(0:1025 ~ site_app[3e41]::{impl#21}::run_body::{closure#0}), []), ()]) } }} + 0: std::backtrace_rs::backtrace::libunwind::trace + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: std::backtrace_rs::backtrace::trace_unsynchronized + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: std::backtrace::Backtrace::create + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: ::emit_diagnostic + 4: ::emit_diagnostic + 5: ::emit_producing_error_guaranteed + 6: ::drop + 7: core::ptr::drop_in_place:: + 8: rustc_borrowck::mir_borrowck + 9: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 10: >::call_once + 11: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 12: rustc_query_system::query::plumbing::force_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + 13: ::{closure#0} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_query_system::dep_graph::dep_node::DepNode)>>::call_once + 14: >::try_mark_previous_green:: + 15: >::try_mark_previous_green:: + 16: >::try_mark_previous_green:: + 17: >::try_mark_previous_green:: + 18: >::try_mark_green:: + 19: rustc_query_system::query::plumbing::ensure_must_run::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + 20: rustc_query_impl::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 21: ::run::, rustc_data_structures::sync::parallel::enabled::try_par_for_each_in<&[rustc_hir::hir_id::OwnerId], rustc_span::ErrorGuaranteed, ::try_par_for_each_module::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 22: rustc_hir_analysis::check_crate + 23: rustc_interface::passes::analysis + 24: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 25: >::call_once + 26: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 27: rustc_query_impl::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 28: ::enter::> + 29: ::enter::, rustc_span::ErrorGuaranteed>> + 30: rustc_span::set_source_map::, rustc_interface::interface::run_compiler, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 31: rustc_span::create_session_globals_then::, rustc_interface::util::run_in_thread_pool_with_globals, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}> + 32: std::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>> + 33: <::spawn_unchecked_, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 34: as core::ops::function::FnOnce>::call_once + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 35: as core::ops::function::FnOnce>::call_once + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 36: std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 37: start_thread + 38: thread_start + +thread 'rustc' panicked at library/core/src/panicking.rs:163:5: +panic in a destructor during cleanup +stack backtrace: + 0: 0xffffadb7cd78 - std::backtrace_rs::backtrace::libunwind::trace::hfe54b43f8fadab45 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: 0xffffadb7cd78 - std::backtrace_rs::backtrace::trace_unsynchronized::he52e9df88882b9d4 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: 0xffffadb7cd78 - std::backtrace::Backtrace::create::hbc9f6b0752a7c221 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: 0xffffae76ab24 - as core[838b3e1bdd7b2528]::ops::function::Fn<(&dyn for<'a, 'b> core[838b3e1bdd7b2528]::ops::function::Fn<(&'a core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[838b3e1bdd7b2528]::marker::Sync + core[838b3e1bdd7b2528]::marker::Send, &core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo)>>::call + 4: 0xffffadb96410 - as core::ops::function::Fn>::call::hf1ccbfb04528fac9 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2029:9 + 5: 0xffffadb96410 - std::panicking::rust_panic_with_hook::hbca97872facfc88d + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:785:13 + 6: 0xffffadb96160 - std::panicking::begin_panic_handler::{{closure}}::h651cba5bb6be54e1 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:651:13 + 7: 0xffffadb93960 - std::sys_common::backtrace::__rust_end_short_backtrace::h231c1dfaced37ebc + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys_common/backtrace.rs:171:18 + 8: 0xffffadb95f2c - rust_begin_unwind + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:647:5 + 9: 0xffffadb61430 - core::panicking::panic_nounwind_fmt::runtime::h82b5902b3f5a0545 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:110:18 + 10: 0xffffadb61430 - core::panicking::panic_nounwind_fmt::h2c5b3e91a1eede6e + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:122:9 + 11: 0xffffadb614e4 - core::panicking::panic_nounwind_nobacktrace::hf7b0b502cc2352bd + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:163:5 + 12: 0xffffadb61628 - core::panicking::panic_in_cleanup::h9f28fecec255aaae + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:256:5 + 13: 0xffffae73e75c - rustc_span[110ecd566fac8533]::set_source_map::, rustc_interface[c6d09d2df6052683]::interface::run_compiler, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 14: 0xffffae73f6a4 - rustc_span[110ecd566fac8533]::create_session_globals_then::, rustc_interface[c6d09d2df6052683]::util::run_in_thread_pool_with_globals, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}> + 15: 0xffffae77c41c - std[1d40ebb4f03b22f]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 16: 0xffffae77ea94 - <::spawn_unchecked_, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#1} as core[838b3e1bdd7b2528]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 17: 0xffffadb9edec - as core::ops::function::FnOnce>::call_once::h1f7775aec6307416 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 18: 0xffffadb9edec - as core::ops::function::FnOnce>::call_once::h8daafd2ebd74fb9c + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 19: 0xffffadb9edec - std::sys::pal::unix::thread::Thread::new::thread_start::h48ec715059e6bb79 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 20: 0xffffad9e38a0 - start_thread + 21: 0xffffada4d04c - thread_start + 22: 0x0 - diff --git a/rustc-ice-2024-02-16T17_21_31-27848.txt b/rustc-ice-2024-02-16T17_21_31-27848.txt new file mode 100644 index 0000000..490ea7c --- /dev/null +++ b/rustc-ice-2024-02-16T17_21_31-27848.txt @@ -0,0 +1,188 @@ +thread 'rustc' panicked at compiler/rustc_metadata/src/rmeta/def_path_hash_map.rs:23:54: +called `Option::unwrap()` on a `None` value +stack backtrace: + 0: 0xffff09b7cd78 - std::backtrace_rs::backtrace::libunwind::trace::hfe54b43f8fadab45 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: 0xffff09b7cd78 - std::backtrace_rs::backtrace::trace_unsynchronized::he52e9df88882b9d4 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: 0xffff09b7cd78 - std::backtrace::Backtrace::create::hbc9f6b0752a7c221 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: 0xffff0a76ab24 - as core[838b3e1bdd7b2528]::ops::function::Fn<(&dyn for<'a, 'b> core[838b3e1bdd7b2528]::ops::function::Fn<(&'a core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[838b3e1bdd7b2528]::marker::Sync + core[838b3e1bdd7b2528]::marker::Send, &core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo)>>::call + 4: 0xffff09b96410 - as core::ops::function::Fn>::call::hf1ccbfb04528fac9 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2029:9 + 5: 0xffff09b96410 - std::panicking::rust_panic_with_hook::hbca97872facfc88d + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:785:13 + 6: 0xffff09b96160 - std::panicking::begin_panic_handler::{{closure}}::h651cba5bb6be54e1 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:651:13 + 7: 0xffff09b93960 - std::sys_common::backtrace::__rust_end_short_backtrace::h231c1dfaced37ebc + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys_common/backtrace.rs:171:18 + 8: 0xffff09b95f2c - rust_begin_unwind + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:647:5 + 9: 0xffff09b613ec - core::panicking::panic_fmt::hc818833dc02386fb + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:72:14 + 10: 0xffff09b6146c - core::panicking::panic::h6674719cbc283852 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:144:5 + 11: 0xffff09b61378 - core::option::unwrap_failed::he0621fe73dbdbba0 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/option.rs:1978:5 + 12: 0xffff0f0ac008 - ::def_path_hash_to_def_id + 13: 0xffff0f45dafc - ::def_path_hash_to_def_id + 14: 0xffff0f5c26d4 - ::extract_def_id + 15: 0xffff0e624cc4 - ::{closure#0} as core[838b3e1bdd7b2528]::ops::function::FnOnce<(rustc_middle[46473b2da0c7b084]::ty::context::TyCtxt, rustc_query_system[76fb595000f686e]::dep_graph::dep_node::DepNode)>>::call_once + 16: 0xffff0e7fd048 - >::try_mark_previous_green:: + 17: 0xffff0e7fd090 - >::try_mark_previous_green:: + 18: 0xffff0e7fd090 - >::try_mark_previous_green:: + 19: 0xffff0e7fd090 - >::try_mark_previous_green:: + 20: 0xffff0e7fce08 - >::try_mark_green:: + 21: 0xffff0e8993e4 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, rustc_middle[46473b2da0c7b084]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 22: 0xffff0e7c1458 - rustc_query_impl[5822bec21749cdb9]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 23: 0xffff0ebc22bc - ::evaluate_obligation + 24: 0xffff0ebc2660 - ::evaluate_obligation_no_overflow + 25: 0xffff0ea6d7d4 - ::process_trait_obligation + 26: 0xffff0ea6ca0c - ::process_obligation + 27: 0xffff0ebc33f0 - >::process_obligations:: + 28: 0xffff0ea69514 - ::select_where_possible + 29: 0xffff0eb4c56c - ::select_all_or_error + 30: 0xffff0e4ec9b4 - ::commit_if_ok::<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed, rustc_trait_selection[5526cd3ad699b104]::traits::query::type_op::custom::scrape_region_constraints::fully_perform::{closure#0}>::{closure#0}> + 31: 0xffff0e508780 - rustc_trait_selection[5526cd3ad699b104]::traits::query::type_op::custom::scrape_region_constraints::::fully_perform::{closure#0}> + 32: 0xffff0e3d4728 - ::fully_perform + 33: 0xffff0e3ce8b8 - ::register_obligations + 34: 0xffff0e497098 - >::relate_opaques + 35: 0xffff0e498c0c - as rustc_middle[46473b2da0c7b084]::ty::relate::TypeRelation>::tys + 36: 0xffff0e3d80b4 - ::relate_types + 37: 0xffff0e3dbdc4 - ::typeck_mir + 38: 0xffff0e3cf338 - rustc_borrowck[fb9f3ed348722c98]::type_check::type_check + 39: 0xffff0e4101e0 - rustc_borrowck[fb9f3ed348722c98]::nll::compute_regions + 40: 0xffff0e36889c - rustc_borrowck[fb9f3ed348722c98]::do_mir_borrowck + 41: 0xffff0e35f9f0 - rustc_borrowck[fb9f3ed348722c98]::mir_borrowck + 42: 0xffff0e64071c - rustc_query_impl[5822bec21749cdb9]::plumbing::__rust_begin_short_backtrace::> + 43: 0xffff0e65f8d0 - >::call_once + 44: 0xffff0e8f85a8 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 45: 0xffff0e84f4d4 - rustc_query_system[76fb595000f686e]::query::plumbing::force_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt> + 46: 0xffff0e618418 - ::{closure#0} as core[838b3e1bdd7b2528]::ops::function::FnOnce<(rustc_middle[46473b2da0c7b084]::ty::context::TyCtxt, rustc_query_system[76fb595000f686e]::dep_graph::dep_node::DepNode)>>::call_once + 47: 0xffff0e7fd048 - >::try_mark_previous_green:: + 48: 0xffff0e7fd090 - >::try_mark_previous_green:: + 49: 0xffff0e7fd090 - >::try_mark_previous_green:: + 50: 0xffff0e7fd090 - >::try_mark_previous_green:: + 51: 0xffff0e7fce08 - >::try_mark_green:: + 52: 0xffff0e8522c0 - rustc_query_system[76fb595000f686e]::query::plumbing::ensure_must_run::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt> + 53: 0xffff0e74dcf4 - rustc_query_impl[5822bec21749cdb9]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 54: 0xffff0da4cb04 - ::run::, rustc_data_structures[6659498bf83f984f]::sync::parallel::enabled::try_par_for_each_in<&[rustc_hir[28f30fc36fbe2dd]::hir_id::OwnerId], rustc_span[110ecd566fac8533]::ErrorGuaranteed, ::try_par_for_each_module::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 55: 0xffff0d9a3344 - rustc_hir_analysis[ffabaf230e32c0df]::check_crate + 56: 0xffff0a8e51f8 - rustc_interface[c6d09d2df6052683]::passes::analysis + 57: 0xffff0e645be8 - rustc_query_impl[5822bec21749cdb9]::plumbing::__rust_begin_short_backtrace::> + 58: 0xffff0e6dc2e0 - >::call_once + 59: 0xffff0e873594 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 60: 0xffff0e778374 - rustc_query_impl[5822bec21749cdb9]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 61: 0xffff0a754e58 - ::enter::> + 62: 0xffff0a7a0e48 - ::enter::, rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 63: 0xffff0a73e34c - rustc_span[110ecd566fac8533]::set_source_map::, rustc_interface[c6d09d2df6052683]::interface::run_compiler, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 64: 0xffff0a73f6a4 - rustc_span[110ecd566fac8533]::create_session_globals_then::, rustc_interface[c6d09d2df6052683]::util::run_in_thread_pool_with_globals, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}> + 65: 0xffff0a77c41c - std[1d40ebb4f03b22f]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 66: 0xffff0a77ea94 - <::spawn_unchecked_, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#1} as core[838b3e1bdd7b2528]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 67: 0xffff09b9edec - as core::ops::function::FnOnce>::call_once::h1f7775aec6307416 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 68: 0xffff09b9edec - as core::ops::function::FnOnce>::call_once::h8daafd2ebd74fb9c + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 69: 0xffff09b9edec - std::sys::pal::unix::thread::Thread::new::thread_start::h48ec715059e6bb79 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 70: 0xffff099e38a0 - start_thread + 71: 0xffff09a4d04c - thread_start + 72: 0x0 - + + +rustc version: 1.77.0-nightly (635124704 2024-01-27) +platform: aarch64-unknown-linux-gnu + +query stack during panic: +#0 [evaluate_obligation] evaluating trait selection obligation `{coroutine witness@axum_login::session::AuthSession::logout::{closure#0}::{closure#0}::{closure#0}}: core::marker::Send` +#1 [mir_borrowck] borrow-checking `::run_body` +#2 [analysis] running analysis passes on this crate +end of query stack +delayed span bug: {OpaqueTypeKey { def_id: DefId(0:1332 ~ site_app[e129]::{impl#21}::run_body::{opaque#0}), args: [] }: OpaqueTypeDecl { hidden_type: OpaqueHiddenType { span: crates/site-app/src/lib.rs:101:1: 101:18 (#722), ty: Coroutine(DefId(0:1076 ~ site_app[e129]::{impl#21}::run_body::{closure#0}), [std::future::ResumeTy, (), std::result::Result<(), leptos::ServerFnError>, CoroutineWitness(DefId(0:1076 ~ site_app[e129]::{impl#21}::run_body::{closure#0}), []), ()]) } }} + 0: std::backtrace_rs::backtrace::libunwind::trace + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: std::backtrace_rs::backtrace::trace_unsynchronized + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: std::backtrace::Backtrace::create + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: ::emit_diagnostic + 4: ::emit_diagnostic + 5: ::emit_producing_error_guaranteed + 6: ::drop + 7: core::ptr::drop_in_place:: + 8: rustc_borrowck::mir_borrowck + 9: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 10: >::call_once + 11: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 12: rustc_query_system::query::plumbing::force_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + 13: ::{closure#0} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_query_system::dep_graph::dep_node::DepNode)>>::call_once + 14: >::try_mark_previous_green:: + 15: >::try_mark_previous_green:: + 16: >::try_mark_previous_green:: + 17: >::try_mark_previous_green:: + 18: >::try_mark_green:: + 19: rustc_query_system::query::plumbing::ensure_must_run::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + 20: rustc_query_impl::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 21: ::run::, rustc_data_structures::sync::parallel::enabled::try_par_for_each_in<&[rustc_hir::hir_id::OwnerId], rustc_span::ErrorGuaranteed, ::try_par_for_each_module::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 22: rustc_hir_analysis::check_crate + 23: rustc_interface::passes::analysis + 24: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 25: >::call_once + 26: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 27: rustc_query_impl::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 28: ::enter::> + 29: ::enter::, rustc_span::ErrorGuaranteed>> + 30: rustc_span::set_source_map::, rustc_interface::interface::run_compiler, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 31: rustc_span::create_session_globals_then::, rustc_interface::util::run_in_thread_pool_with_globals, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}> + 32: std::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>> + 33: <::spawn_unchecked_, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 34: as core::ops::function::FnOnce>::call_once + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 35: as core::ops::function::FnOnce>::call_once + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 36: std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 37: start_thread + 38: thread_start + +thread 'rustc' panicked at library/core/src/panicking.rs:163:5: +panic in a destructor during cleanup +stack backtrace: + 0: 0xffff09b7cd78 - std::backtrace_rs::backtrace::libunwind::trace::hfe54b43f8fadab45 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: 0xffff09b7cd78 - std::backtrace_rs::backtrace::trace_unsynchronized::he52e9df88882b9d4 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: 0xffff09b7cd78 - std::backtrace::Backtrace::create::hbc9f6b0752a7c221 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: 0xffff0a76ab24 - as core[838b3e1bdd7b2528]::ops::function::Fn<(&dyn for<'a, 'b> core[838b3e1bdd7b2528]::ops::function::Fn<(&'a core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[838b3e1bdd7b2528]::marker::Sync + core[838b3e1bdd7b2528]::marker::Send, &core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo)>>::call + 4: 0xffff09b96410 - as core::ops::function::Fn>::call::hf1ccbfb04528fac9 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2029:9 + 5: 0xffff09b96410 - std::panicking::rust_panic_with_hook::hbca97872facfc88d + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:785:13 + 6: 0xffff09b96160 - std::panicking::begin_panic_handler::{{closure}}::h651cba5bb6be54e1 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:651:13 + 7: 0xffff09b93960 - std::sys_common::backtrace::__rust_end_short_backtrace::h231c1dfaced37ebc + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys_common/backtrace.rs:171:18 + 8: 0xffff09b95f2c - rust_begin_unwind + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:647:5 + 9: 0xffff09b61430 - core::panicking::panic_nounwind_fmt::runtime::h82b5902b3f5a0545 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:110:18 + 10: 0xffff09b61430 - core::panicking::panic_nounwind_fmt::h2c5b3e91a1eede6e + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:122:9 + 11: 0xffff09b614e4 - core::panicking::panic_nounwind_nobacktrace::hf7b0b502cc2352bd + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:163:5 + 12: 0xffff09b61628 - core::panicking::panic_in_cleanup::h9f28fecec255aaae + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:256:5 + 13: 0xffff0a73e75c - rustc_span[110ecd566fac8533]::set_source_map::, rustc_interface[c6d09d2df6052683]::interface::run_compiler, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 14: 0xffff0a73f6a4 - rustc_span[110ecd566fac8533]::create_session_globals_then::, rustc_interface[c6d09d2df6052683]::util::run_in_thread_pool_with_globals, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}> + 15: 0xffff0a77c41c - std[1d40ebb4f03b22f]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 16: 0xffff0a77ea94 - <::spawn_unchecked_, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#1} as core[838b3e1bdd7b2528]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 17: 0xffff09b9edec - as core::ops::function::FnOnce>::call_once::h1f7775aec6307416 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 18: 0xffff09b9edec - as core::ops::function::FnOnce>::call_once::h8daafd2ebd74fb9c + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 19: 0xffff09b9edec - std::sys::pal::unix::thread::Thread::new::thread_start::h48ec715059e6bb79 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 20: 0xffff099e38a0 - start_thread + 21: 0xffff09a4d04c - thread_start + 22: 0x0 - diff --git a/rustc-ice-2024-02-16T17_28_50-28682.txt b/rustc-ice-2024-02-16T17_28_50-28682.txt new file mode 100644 index 0000000..dab785f --- /dev/null +++ b/rustc-ice-2024-02-16T17_28_50-28682.txt @@ -0,0 +1,188 @@ +thread 'rustc' panicked at compiler/rustc_metadata/src/rmeta/def_path_hash_map.rs:23:54: +called `Option::unwrap()` on a `None` value +stack backtrace: + 0: 0xfffecc2ccd78 - std::backtrace_rs::backtrace::libunwind::trace::hfe54b43f8fadab45 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: 0xfffecc2ccd78 - std::backtrace_rs::backtrace::trace_unsynchronized::he52e9df88882b9d4 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: 0xfffecc2ccd78 - std::backtrace::Backtrace::create::hbc9f6b0752a7c221 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: 0xfffeccebab24 - as core[838b3e1bdd7b2528]::ops::function::Fn<(&dyn for<'a, 'b> core[838b3e1bdd7b2528]::ops::function::Fn<(&'a core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[838b3e1bdd7b2528]::marker::Sync + core[838b3e1bdd7b2528]::marker::Send, &core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo)>>::call + 4: 0xfffecc2e6410 - as core::ops::function::Fn>::call::hf1ccbfb04528fac9 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2029:9 + 5: 0xfffecc2e6410 - std::panicking::rust_panic_with_hook::hbca97872facfc88d + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:785:13 + 6: 0xfffecc2e6160 - std::panicking::begin_panic_handler::{{closure}}::h651cba5bb6be54e1 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:651:13 + 7: 0xfffecc2e3960 - std::sys_common::backtrace::__rust_end_short_backtrace::h231c1dfaced37ebc + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys_common/backtrace.rs:171:18 + 8: 0xfffecc2e5f2c - rust_begin_unwind + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:647:5 + 9: 0xfffecc2b13ec - core::panicking::panic_fmt::hc818833dc02386fb + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:72:14 + 10: 0xfffecc2b146c - core::panicking::panic::h6674719cbc283852 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:144:5 + 11: 0xfffecc2b1378 - core::option::unwrap_failed::he0621fe73dbdbba0 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/option.rs:1978:5 + 12: 0xfffed17fc008 - ::def_path_hash_to_def_id + 13: 0xfffed1badafc - ::def_path_hash_to_def_id + 14: 0xfffed1d126d4 - ::extract_def_id + 15: 0xfffed0d74cc4 - ::{closure#0} as core[838b3e1bdd7b2528]::ops::function::FnOnce<(rustc_middle[46473b2da0c7b084]::ty::context::TyCtxt, rustc_query_system[76fb595000f686e]::dep_graph::dep_node::DepNode)>>::call_once + 16: 0xfffed0f4d048 - >::try_mark_previous_green:: + 17: 0xfffed0f4d090 - >::try_mark_previous_green:: + 18: 0xfffed0f4d090 - >::try_mark_previous_green:: + 19: 0xfffed0f4d090 - >::try_mark_previous_green:: + 20: 0xfffed0f4ce08 - >::try_mark_green:: + 21: 0xfffed0fe93e4 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, rustc_middle[46473b2da0c7b084]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 22: 0xfffed0f11458 - rustc_query_impl[5822bec21749cdb9]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 23: 0xfffed13122bc - ::evaluate_obligation + 24: 0xfffed1312660 - ::evaluate_obligation_no_overflow + 25: 0xfffed11bd7d4 - ::process_trait_obligation + 26: 0xfffed11bca0c - ::process_obligation + 27: 0xfffed13133f0 - >::process_obligations:: + 28: 0xfffed11b9514 - ::select_where_possible + 29: 0xfffed129c56c - ::select_all_or_error + 30: 0xfffed0c3c9b4 - ::commit_if_ok::<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed, rustc_trait_selection[5526cd3ad699b104]::traits::query::type_op::custom::scrape_region_constraints::fully_perform::{closure#0}>::{closure#0}> + 31: 0xfffed0c58780 - rustc_trait_selection[5526cd3ad699b104]::traits::query::type_op::custom::scrape_region_constraints::::fully_perform::{closure#0}> + 32: 0xfffed0b24728 - ::fully_perform + 33: 0xfffed0b1e8b8 - ::register_obligations + 34: 0xfffed0be7098 - >::relate_opaques + 35: 0xfffed0be8c0c - as rustc_middle[46473b2da0c7b084]::ty::relate::TypeRelation>::tys + 36: 0xfffed0b280b4 - ::relate_types + 37: 0xfffed0b2bdc4 - ::typeck_mir + 38: 0xfffed0b1f338 - rustc_borrowck[fb9f3ed348722c98]::type_check::type_check + 39: 0xfffed0b601e0 - rustc_borrowck[fb9f3ed348722c98]::nll::compute_regions + 40: 0xfffed0ab889c - rustc_borrowck[fb9f3ed348722c98]::do_mir_borrowck + 41: 0xfffed0aaf9f0 - rustc_borrowck[fb9f3ed348722c98]::mir_borrowck + 42: 0xfffed0d9071c - rustc_query_impl[5822bec21749cdb9]::plumbing::__rust_begin_short_backtrace::> + 43: 0xfffed0daf8d0 - >::call_once + 44: 0xfffed10485a8 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 45: 0xfffed0f9f4d4 - rustc_query_system[76fb595000f686e]::query::plumbing::force_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt> + 46: 0xfffed0d68418 - ::{closure#0} as core[838b3e1bdd7b2528]::ops::function::FnOnce<(rustc_middle[46473b2da0c7b084]::ty::context::TyCtxt, rustc_query_system[76fb595000f686e]::dep_graph::dep_node::DepNode)>>::call_once + 47: 0xfffed0f4d048 - >::try_mark_previous_green:: + 48: 0xfffed0f4d090 - >::try_mark_previous_green:: + 49: 0xfffed0f4d090 - >::try_mark_previous_green:: + 50: 0xfffed0f4d090 - >::try_mark_previous_green:: + 51: 0xfffed0f4ce08 - >::try_mark_green:: + 52: 0xfffed0fa22c0 - rustc_query_system[76fb595000f686e]::query::plumbing::ensure_must_run::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt> + 53: 0xfffed0e9dcf4 - rustc_query_impl[5822bec21749cdb9]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 54: 0xfffed019cb04 - ::run::, rustc_data_structures[6659498bf83f984f]::sync::parallel::enabled::try_par_for_each_in<&[rustc_hir[28f30fc36fbe2dd]::hir_id::OwnerId], rustc_span[110ecd566fac8533]::ErrorGuaranteed, ::try_par_for_each_module::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 55: 0xfffed00f3344 - rustc_hir_analysis[ffabaf230e32c0df]::check_crate + 56: 0xfffecd0351f8 - rustc_interface[c6d09d2df6052683]::passes::analysis + 57: 0xfffed0d95be8 - rustc_query_impl[5822bec21749cdb9]::plumbing::__rust_begin_short_backtrace::> + 58: 0xfffed0e2c2e0 - >::call_once + 59: 0xfffed0fc3594 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 60: 0xfffed0ec8374 - rustc_query_impl[5822bec21749cdb9]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 61: 0xfffeccea4e58 - ::enter::> + 62: 0xfffeccef0e48 - ::enter::, rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 63: 0xfffecce8e34c - rustc_span[110ecd566fac8533]::set_source_map::, rustc_interface[c6d09d2df6052683]::interface::run_compiler, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 64: 0xfffecce8f6a4 - rustc_span[110ecd566fac8533]::create_session_globals_then::, rustc_interface[c6d09d2df6052683]::util::run_in_thread_pool_with_globals, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}> + 65: 0xfffeccecc41c - std[1d40ebb4f03b22f]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 66: 0xfffeccecea94 - <::spawn_unchecked_, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#1} as core[838b3e1bdd7b2528]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 67: 0xfffecc2eedec - as core::ops::function::FnOnce>::call_once::h1f7775aec6307416 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 68: 0xfffecc2eedec - as core::ops::function::FnOnce>::call_once::h8daafd2ebd74fb9c + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 69: 0xfffecc2eedec - std::sys::pal::unix::thread::Thread::new::thread_start::h48ec715059e6bb79 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 70: 0xfffecc1338a0 - start_thread + 71: 0xfffecc19d04c - thread_start + 72: 0x0 - + + +rustc version: 1.77.0-nightly (635124704 2024-01-27) +platform: aarch64-unknown-linux-gnu + +query stack during panic: +#0 [evaluate_obligation] evaluating trait selection obligation `{coroutine witness@axum_login::session::AuthSession::logout::{closure#0}::{closure#0}::{closure#0}}: core::marker::Send` +#1 [mir_borrowck] borrow-checking `::run_body` +#2 [analysis] running analysis passes on this crate +end of query stack +delayed span bug: {OpaqueTypeKey { def_id: DefId(0:1283 ~ site_app[690c]::{impl#21}::run_body::{opaque#0}), args: [] }: OpaqueTypeDecl { hidden_type: OpaqueHiddenType { span: crates/site-app/src/lib.rs:101:1: 101:18 (#559), ty: Coroutine(DefId(0:1025 ~ site_app[690c]::{impl#21}::run_body::{closure#0}), [std::future::ResumeTy, (), std::result::Result<(), leptos::ServerFnError>, CoroutineWitness(DefId(0:1025 ~ site_app[690c]::{impl#21}::run_body::{closure#0}), []), ()]) } }} + 0: std::backtrace_rs::backtrace::libunwind::trace + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: std::backtrace_rs::backtrace::trace_unsynchronized + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: std::backtrace::Backtrace::create + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: ::emit_diagnostic + 4: ::emit_diagnostic + 5: ::emit_producing_error_guaranteed + 6: ::drop + 7: core::ptr::drop_in_place:: + 8: rustc_borrowck::mir_borrowck + 9: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 10: >::call_once + 11: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 12: rustc_query_system::query::plumbing::force_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + 13: ::{closure#0} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_query_system::dep_graph::dep_node::DepNode)>>::call_once + 14: >::try_mark_previous_green:: + 15: >::try_mark_previous_green:: + 16: >::try_mark_previous_green:: + 17: >::try_mark_previous_green:: + 18: >::try_mark_green:: + 19: rustc_query_system::query::plumbing::ensure_must_run::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + 20: rustc_query_impl::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 21: ::run::, rustc_data_structures::sync::parallel::enabled::try_par_for_each_in<&[rustc_hir::hir_id::OwnerId], rustc_span::ErrorGuaranteed, ::try_par_for_each_module::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 22: rustc_hir_analysis::check_crate + 23: rustc_interface::passes::analysis + 24: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 25: >::call_once + 26: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 27: rustc_query_impl::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 28: ::enter::> + 29: ::enter::, rustc_span::ErrorGuaranteed>> + 30: rustc_span::set_source_map::, rustc_interface::interface::run_compiler, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 31: rustc_span::create_session_globals_then::, rustc_interface::util::run_in_thread_pool_with_globals, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}> + 32: std::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>> + 33: <::spawn_unchecked_, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 34: as core::ops::function::FnOnce>::call_once + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 35: as core::ops::function::FnOnce>::call_once + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 36: std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 37: start_thread + 38: thread_start + +thread 'rustc' panicked at library/core/src/panicking.rs:163:5: +panic in a destructor during cleanup +stack backtrace: + 0: 0xfffecc2ccd78 - std::backtrace_rs::backtrace::libunwind::trace::hfe54b43f8fadab45 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: 0xfffecc2ccd78 - std::backtrace_rs::backtrace::trace_unsynchronized::he52e9df88882b9d4 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: 0xfffecc2ccd78 - std::backtrace::Backtrace::create::hbc9f6b0752a7c221 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: 0xfffeccebab24 - as core[838b3e1bdd7b2528]::ops::function::Fn<(&dyn for<'a, 'b> core[838b3e1bdd7b2528]::ops::function::Fn<(&'a core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[838b3e1bdd7b2528]::marker::Sync + core[838b3e1bdd7b2528]::marker::Send, &core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo)>>::call + 4: 0xfffecc2e6410 - as core::ops::function::Fn>::call::hf1ccbfb04528fac9 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2029:9 + 5: 0xfffecc2e6410 - std::panicking::rust_panic_with_hook::hbca97872facfc88d + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:785:13 + 6: 0xfffecc2e6160 - std::panicking::begin_panic_handler::{{closure}}::h651cba5bb6be54e1 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:651:13 + 7: 0xfffecc2e3960 - std::sys_common::backtrace::__rust_end_short_backtrace::h231c1dfaced37ebc + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys_common/backtrace.rs:171:18 + 8: 0xfffecc2e5f2c - rust_begin_unwind + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:647:5 + 9: 0xfffecc2b1430 - core::panicking::panic_nounwind_fmt::runtime::h82b5902b3f5a0545 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:110:18 + 10: 0xfffecc2b1430 - core::panicking::panic_nounwind_fmt::h2c5b3e91a1eede6e + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:122:9 + 11: 0xfffecc2b14e4 - core::panicking::panic_nounwind_nobacktrace::hf7b0b502cc2352bd + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:163:5 + 12: 0xfffecc2b1628 - core::panicking::panic_in_cleanup::h9f28fecec255aaae + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:256:5 + 13: 0xfffecce8e75c - rustc_span[110ecd566fac8533]::set_source_map::, rustc_interface[c6d09d2df6052683]::interface::run_compiler, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 14: 0xfffecce8f6a4 - rustc_span[110ecd566fac8533]::create_session_globals_then::, rustc_interface[c6d09d2df6052683]::util::run_in_thread_pool_with_globals, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}> + 15: 0xfffeccecc41c - std[1d40ebb4f03b22f]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 16: 0xfffeccecea94 - <::spawn_unchecked_, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#1} as core[838b3e1bdd7b2528]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 17: 0xfffecc2eedec - as core::ops::function::FnOnce>::call_once::h1f7775aec6307416 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 18: 0xfffecc2eedec - as core::ops::function::FnOnce>::call_once::h8daafd2ebd74fb9c + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 19: 0xfffecc2eedec - std::sys::pal::unix::thread::Thread::new::thread_start::h48ec715059e6bb79 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 20: 0xfffecc1338a0 - start_thread + 21: 0xfffecc19d04c - thread_start + 22: 0x0 - diff --git a/rustc-ice-2024-02-16T17_28_50-28683.txt b/rustc-ice-2024-02-16T17_28_50-28683.txt new file mode 100644 index 0000000..5ec82dd --- /dev/null +++ b/rustc-ice-2024-02-16T17_28_50-28683.txt @@ -0,0 +1,188 @@ +thread 'rustc' panicked at compiler/rustc_metadata/src/rmeta/def_path_hash_map.rs:23:54: +called `Option::unwrap()` on a `None` value +stack backtrace: + 0: 0xffff595ecd78 - std::backtrace_rs::backtrace::libunwind::trace::hfe54b43f8fadab45 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: 0xffff595ecd78 - std::backtrace_rs::backtrace::trace_unsynchronized::he52e9df88882b9d4 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: 0xffff595ecd78 - std::backtrace::Backtrace::create::hbc9f6b0752a7c221 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: 0xffff5a1dab24 - as core[838b3e1bdd7b2528]::ops::function::Fn<(&dyn for<'a, 'b> core[838b3e1bdd7b2528]::ops::function::Fn<(&'a core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[838b3e1bdd7b2528]::marker::Sync + core[838b3e1bdd7b2528]::marker::Send, &core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo)>>::call + 4: 0xffff59606410 - as core::ops::function::Fn>::call::hf1ccbfb04528fac9 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2029:9 + 5: 0xffff59606410 - std::panicking::rust_panic_with_hook::hbca97872facfc88d + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:785:13 + 6: 0xffff59606160 - std::panicking::begin_panic_handler::{{closure}}::h651cba5bb6be54e1 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:651:13 + 7: 0xffff59603960 - std::sys_common::backtrace::__rust_end_short_backtrace::h231c1dfaced37ebc + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys_common/backtrace.rs:171:18 + 8: 0xffff59605f2c - rust_begin_unwind + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:647:5 + 9: 0xffff595d13ec - core::panicking::panic_fmt::hc818833dc02386fb + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:72:14 + 10: 0xffff595d146c - core::panicking::panic::h6674719cbc283852 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:144:5 + 11: 0xffff595d1378 - core::option::unwrap_failed::he0621fe73dbdbba0 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/option.rs:1978:5 + 12: 0xffff5eb1c008 - ::def_path_hash_to_def_id + 13: 0xffff5eecdafc - ::def_path_hash_to_def_id + 14: 0xffff5f0326d4 - ::extract_def_id + 15: 0xffff5e094cc4 - ::{closure#0} as core[838b3e1bdd7b2528]::ops::function::FnOnce<(rustc_middle[46473b2da0c7b084]::ty::context::TyCtxt, rustc_query_system[76fb595000f686e]::dep_graph::dep_node::DepNode)>>::call_once + 16: 0xffff5e26d048 - >::try_mark_previous_green:: + 17: 0xffff5e26d090 - >::try_mark_previous_green:: + 18: 0xffff5e26d090 - >::try_mark_previous_green:: + 19: 0xffff5e26d090 - >::try_mark_previous_green:: + 20: 0xffff5e26ce08 - >::try_mark_green:: + 21: 0xffff5e3093e4 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, rustc_middle[46473b2da0c7b084]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 22: 0xffff5e231458 - rustc_query_impl[5822bec21749cdb9]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 23: 0xffff5e6322bc - ::evaluate_obligation + 24: 0xffff5e632660 - ::evaluate_obligation_no_overflow + 25: 0xffff5e4dd7d4 - ::process_trait_obligation + 26: 0xffff5e4dca0c - ::process_obligation + 27: 0xffff5e6333f0 - >::process_obligations:: + 28: 0xffff5e4d9514 - ::select_where_possible + 29: 0xffff5e5bc56c - ::select_all_or_error + 30: 0xffff5df5c9b4 - ::commit_if_ok::<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed, rustc_trait_selection[5526cd3ad699b104]::traits::query::type_op::custom::scrape_region_constraints::fully_perform::{closure#0}>::{closure#0}> + 31: 0xffff5df78780 - rustc_trait_selection[5526cd3ad699b104]::traits::query::type_op::custom::scrape_region_constraints::::fully_perform::{closure#0}> + 32: 0xffff5de44728 - ::fully_perform + 33: 0xffff5de3e8b8 - ::register_obligations + 34: 0xffff5df07098 - >::relate_opaques + 35: 0xffff5df08c0c - as rustc_middle[46473b2da0c7b084]::ty::relate::TypeRelation>::tys + 36: 0xffff5de480b4 - ::relate_types + 37: 0xffff5de4bdc4 - ::typeck_mir + 38: 0xffff5de3f338 - rustc_borrowck[fb9f3ed348722c98]::type_check::type_check + 39: 0xffff5de801e0 - rustc_borrowck[fb9f3ed348722c98]::nll::compute_regions + 40: 0xffff5ddd889c - rustc_borrowck[fb9f3ed348722c98]::do_mir_borrowck + 41: 0xffff5ddcf9f0 - rustc_borrowck[fb9f3ed348722c98]::mir_borrowck + 42: 0xffff5e0b071c - rustc_query_impl[5822bec21749cdb9]::plumbing::__rust_begin_short_backtrace::> + 43: 0xffff5e0cf8d0 - >::call_once + 44: 0xffff5e3685a8 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 45: 0xffff5e2bf4d4 - rustc_query_system[76fb595000f686e]::query::plumbing::force_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt> + 46: 0xffff5e088418 - ::{closure#0} as core[838b3e1bdd7b2528]::ops::function::FnOnce<(rustc_middle[46473b2da0c7b084]::ty::context::TyCtxt, rustc_query_system[76fb595000f686e]::dep_graph::dep_node::DepNode)>>::call_once + 47: 0xffff5e26d048 - >::try_mark_previous_green:: + 48: 0xffff5e26d090 - >::try_mark_previous_green:: + 49: 0xffff5e26d090 - >::try_mark_previous_green:: + 50: 0xffff5e26d090 - >::try_mark_previous_green:: + 51: 0xffff5e26ce08 - >::try_mark_green:: + 52: 0xffff5e2c22c0 - rustc_query_system[76fb595000f686e]::query::plumbing::ensure_must_run::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt> + 53: 0xffff5e1bdcf4 - rustc_query_impl[5822bec21749cdb9]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 54: 0xffff5d4bcb04 - ::run::, rustc_data_structures[6659498bf83f984f]::sync::parallel::enabled::try_par_for_each_in<&[rustc_hir[28f30fc36fbe2dd]::hir_id::OwnerId], rustc_span[110ecd566fac8533]::ErrorGuaranteed, ::try_par_for_each_module::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 55: 0xffff5d413344 - rustc_hir_analysis[ffabaf230e32c0df]::check_crate + 56: 0xffff5a3551f8 - rustc_interface[c6d09d2df6052683]::passes::analysis + 57: 0xffff5e0b5be8 - rustc_query_impl[5822bec21749cdb9]::plumbing::__rust_begin_short_backtrace::> + 58: 0xffff5e14c2e0 - >::call_once + 59: 0xffff5e2e3594 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 60: 0xffff5e1e8374 - rustc_query_impl[5822bec21749cdb9]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 61: 0xffff5a1c4e58 - ::enter::> + 62: 0xffff5a210e48 - ::enter::, rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 63: 0xffff5a1ae34c - rustc_span[110ecd566fac8533]::set_source_map::, rustc_interface[c6d09d2df6052683]::interface::run_compiler, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 64: 0xffff5a1af6a4 - rustc_span[110ecd566fac8533]::create_session_globals_then::, rustc_interface[c6d09d2df6052683]::util::run_in_thread_pool_with_globals, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}> + 65: 0xffff5a1ec41c - std[1d40ebb4f03b22f]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 66: 0xffff5a1eea94 - <::spawn_unchecked_, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#1} as core[838b3e1bdd7b2528]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 67: 0xffff5960edec - as core::ops::function::FnOnce>::call_once::h1f7775aec6307416 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 68: 0xffff5960edec - as core::ops::function::FnOnce>::call_once::h8daafd2ebd74fb9c + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 69: 0xffff5960edec - std::sys::pal::unix::thread::Thread::new::thread_start::h48ec715059e6bb79 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 70: 0xffff594538a0 - start_thread + 71: 0xffff594bd04c - thread_start + 72: 0x0 - + + +rustc version: 1.77.0-nightly (635124704 2024-01-27) +platform: aarch64-unknown-linux-gnu + +query stack during panic: +#0 [evaluate_obligation] evaluating trait selection obligation `{coroutine witness@axum_login::session::AuthSession::logout::{closure#0}::{closure#0}::{closure#0}}: core::marker::Send` +#1 [mir_borrowck] borrow-checking `::run_body` +#2 [analysis] running analysis passes on this crate +end of query stack +delayed span bug: {OpaqueTypeKey { def_id: DefId(0:1281 ~ site_app[3e41]::{impl#21}::run_body::{opaque#0}), args: [] }: OpaqueTypeDecl { hidden_type: OpaqueHiddenType { span: crates/site-app/src/lib.rs:101:1: 101:18 (#559), ty: Coroutine(DefId(0:1025 ~ site_app[3e41]::{impl#21}::run_body::{closure#0}), [std::future::ResumeTy, (), std::result::Result<(), leptos::ServerFnError>, CoroutineWitness(DefId(0:1025 ~ site_app[3e41]::{impl#21}::run_body::{closure#0}), []), ()]) } }} + 0: std::backtrace_rs::backtrace::libunwind::trace + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: std::backtrace_rs::backtrace::trace_unsynchronized + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: std::backtrace::Backtrace::create + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: ::emit_diagnostic + 4: ::emit_diagnostic + 5: ::emit_producing_error_guaranteed + 6: ::drop + 7: core::ptr::drop_in_place:: + 8: rustc_borrowck::mir_borrowck + 9: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 10: >::call_once + 11: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 12: rustc_query_system::query::plumbing::force_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + 13: ::{closure#0} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_query_system::dep_graph::dep_node::DepNode)>>::call_once + 14: >::try_mark_previous_green:: + 15: >::try_mark_previous_green:: + 16: >::try_mark_previous_green:: + 17: >::try_mark_previous_green:: + 18: >::try_mark_green:: + 19: rustc_query_system::query::plumbing::ensure_must_run::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + 20: rustc_query_impl::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 21: ::run::, rustc_data_structures::sync::parallel::enabled::try_par_for_each_in<&[rustc_hir::hir_id::OwnerId], rustc_span::ErrorGuaranteed, ::try_par_for_each_module::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 22: rustc_hir_analysis::check_crate + 23: rustc_interface::passes::analysis + 24: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 25: >::call_once + 26: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 27: rustc_query_impl::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 28: ::enter::> + 29: ::enter::, rustc_span::ErrorGuaranteed>> + 30: rustc_span::set_source_map::, rustc_interface::interface::run_compiler, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 31: rustc_span::create_session_globals_then::, rustc_interface::util::run_in_thread_pool_with_globals, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}> + 32: std::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>> + 33: <::spawn_unchecked_, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 34: as core::ops::function::FnOnce>::call_once + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 35: as core::ops::function::FnOnce>::call_once + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 36: std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 37: start_thread + 38: thread_start + +thread 'rustc' panicked at library/core/src/panicking.rs:163:5: +panic in a destructor during cleanup +stack backtrace: + 0: 0xffff595ecd78 - std::backtrace_rs::backtrace::libunwind::trace::hfe54b43f8fadab45 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: 0xffff595ecd78 - std::backtrace_rs::backtrace::trace_unsynchronized::he52e9df88882b9d4 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: 0xffff595ecd78 - std::backtrace::Backtrace::create::hbc9f6b0752a7c221 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: 0xffff5a1dab24 - as core[838b3e1bdd7b2528]::ops::function::Fn<(&dyn for<'a, 'b> core[838b3e1bdd7b2528]::ops::function::Fn<(&'a core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[838b3e1bdd7b2528]::marker::Sync + core[838b3e1bdd7b2528]::marker::Send, &core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo)>>::call + 4: 0xffff59606410 - as core::ops::function::Fn>::call::hf1ccbfb04528fac9 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2029:9 + 5: 0xffff59606410 - std::panicking::rust_panic_with_hook::hbca97872facfc88d + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:785:13 + 6: 0xffff59606160 - std::panicking::begin_panic_handler::{{closure}}::h651cba5bb6be54e1 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:651:13 + 7: 0xffff59603960 - std::sys_common::backtrace::__rust_end_short_backtrace::h231c1dfaced37ebc + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys_common/backtrace.rs:171:18 + 8: 0xffff59605f2c - rust_begin_unwind + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:647:5 + 9: 0xffff595d1430 - core::panicking::panic_nounwind_fmt::runtime::h82b5902b3f5a0545 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:110:18 + 10: 0xffff595d1430 - core::panicking::panic_nounwind_fmt::h2c5b3e91a1eede6e + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:122:9 + 11: 0xffff595d14e4 - core::panicking::panic_nounwind_nobacktrace::hf7b0b502cc2352bd + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:163:5 + 12: 0xffff595d1628 - core::panicking::panic_in_cleanup::h9f28fecec255aaae + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:256:5 + 13: 0xffff5a1ae75c - rustc_span[110ecd566fac8533]::set_source_map::, rustc_interface[c6d09d2df6052683]::interface::run_compiler, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 14: 0xffff5a1af6a4 - rustc_span[110ecd566fac8533]::create_session_globals_then::, rustc_interface[c6d09d2df6052683]::util::run_in_thread_pool_with_globals, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}> + 15: 0xffff5a1ec41c - std[1d40ebb4f03b22f]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 16: 0xffff5a1eea94 - <::spawn_unchecked_, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#1} as core[838b3e1bdd7b2528]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 17: 0xffff5960edec - as core::ops::function::FnOnce>::call_once::h1f7775aec6307416 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 18: 0xffff5960edec - as core::ops::function::FnOnce>::call_once::h8daafd2ebd74fb9c + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 19: 0xffff5960edec - std::sys::pal::unix::thread::Thread::new::thread_start::h48ec715059e6bb79 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 20: 0xffff594538a0 - start_thread + 21: 0xffff594bd04c - thread_start + 22: 0x0 - diff --git a/rustc-ice-2024-02-16T17_28_53-29043.txt b/rustc-ice-2024-02-16T17_28_53-29043.txt new file mode 100644 index 0000000..8edc832 --- /dev/null +++ b/rustc-ice-2024-02-16T17_28_53-29043.txt @@ -0,0 +1,188 @@ +thread 'rustc' panicked at compiler/rustc_metadata/src/rmeta/def_path_hash_map.rs:23:54: +called `Option::unwrap()` on a `None` value +stack backtrace: + 0: 0xffff0ec2cd78 - std::backtrace_rs::backtrace::libunwind::trace::hfe54b43f8fadab45 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: 0xffff0ec2cd78 - std::backtrace_rs::backtrace::trace_unsynchronized::he52e9df88882b9d4 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: 0xffff0ec2cd78 - std::backtrace::Backtrace::create::hbc9f6b0752a7c221 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: 0xffff0f81ab24 - as core[838b3e1bdd7b2528]::ops::function::Fn<(&dyn for<'a, 'b> core[838b3e1bdd7b2528]::ops::function::Fn<(&'a core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[838b3e1bdd7b2528]::marker::Sync + core[838b3e1bdd7b2528]::marker::Send, &core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo)>>::call + 4: 0xffff0ec46410 - as core::ops::function::Fn>::call::hf1ccbfb04528fac9 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2029:9 + 5: 0xffff0ec46410 - std::panicking::rust_panic_with_hook::hbca97872facfc88d + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:785:13 + 6: 0xffff0ec46160 - std::panicking::begin_panic_handler::{{closure}}::h651cba5bb6be54e1 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:651:13 + 7: 0xffff0ec43960 - std::sys_common::backtrace::__rust_end_short_backtrace::h231c1dfaced37ebc + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys_common/backtrace.rs:171:18 + 8: 0xffff0ec45f2c - rust_begin_unwind + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:647:5 + 9: 0xffff0ec113ec - core::panicking::panic_fmt::hc818833dc02386fb + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:72:14 + 10: 0xffff0ec1146c - core::panicking::panic::h6674719cbc283852 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:144:5 + 11: 0xffff0ec11378 - core::option::unwrap_failed::he0621fe73dbdbba0 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/option.rs:1978:5 + 12: 0xffff1415c008 - ::def_path_hash_to_def_id + 13: 0xffff1450dafc - ::def_path_hash_to_def_id + 14: 0xffff146726d4 - ::extract_def_id + 15: 0xffff136d4cc4 - ::{closure#0} as core[838b3e1bdd7b2528]::ops::function::FnOnce<(rustc_middle[46473b2da0c7b084]::ty::context::TyCtxt, rustc_query_system[76fb595000f686e]::dep_graph::dep_node::DepNode)>>::call_once + 16: 0xffff138ad048 - >::try_mark_previous_green:: + 17: 0xffff138ad090 - >::try_mark_previous_green:: + 18: 0xffff138ad090 - >::try_mark_previous_green:: + 19: 0xffff138ad090 - >::try_mark_previous_green:: + 20: 0xffff138ace08 - >::try_mark_green:: + 21: 0xffff139493e4 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, rustc_middle[46473b2da0c7b084]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 22: 0xffff13871458 - rustc_query_impl[5822bec21749cdb9]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 23: 0xffff13c722bc - ::evaluate_obligation + 24: 0xffff13c72660 - ::evaluate_obligation_no_overflow + 25: 0xffff13b1d7d4 - ::process_trait_obligation + 26: 0xffff13b1ca0c - ::process_obligation + 27: 0xffff13c733f0 - >::process_obligations:: + 28: 0xffff13b19514 - ::select_where_possible + 29: 0xffff13bfc56c - ::select_all_or_error + 30: 0xffff1359c9b4 - ::commit_if_ok::<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed, rustc_trait_selection[5526cd3ad699b104]::traits::query::type_op::custom::scrape_region_constraints::fully_perform::{closure#0}>::{closure#0}> + 31: 0xffff135b8780 - rustc_trait_selection[5526cd3ad699b104]::traits::query::type_op::custom::scrape_region_constraints::::fully_perform::{closure#0}> + 32: 0xffff13484728 - ::fully_perform + 33: 0xffff1347e8b8 - ::register_obligations + 34: 0xffff13547098 - >::relate_opaques + 35: 0xffff13548c0c - as rustc_middle[46473b2da0c7b084]::ty::relate::TypeRelation>::tys + 36: 0xffff134880b4 - ::relate_types + 37: 0xffff1348bdc4 - ::typeck_mir + 38: 0xffff1347f338 - rustc_borrowck[fb9f3ed348722c98]::type_check::type_check + 39: 0xffff134c01e0 - rustc_borrowck[fb9f3ed348722c98]::nll::compute_regions + 40: 0xffff1341889c - rustc_borrowck[fb9f3ed348722c98]::do_mir_borrowck + 41: 0xffff1340f9f0 - rustc_borrowck[fb9f3ed348722c98]::mir_borrowck + 42: 0xffff136f071c - rustc_query_impl[5822bec21749cdb9]::plumbing::__rust_begin_short_backtrace::> + 43: 0xffff1370f8d0 - >::call_once + 44: 0xffff139a85a8 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 45: 0xffff138ff4d4 - rustc_query_system[76fb595000f686e]::query::plumbing::force_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt> + 46: 0xffff136c8418 - ::{closure#0} as core[838b3e1bdd7b2528]::ops::function::FnOnce<(rustc_middle[46473b2da0c7b084]::ty::context::TyCtxt, rustc_query_system[76fb595000f686e]::dep_graph::dep_node::DepNode)>>::call_once + 47: 0xffff138ad048 - >::try_mark_previous_green:: + 48: 0xffff138ad090 - >::try_mark_previous_green:: + 49: 0xffff138ad090 - >::try_mark_previous_green:: + 50: 0xffff138ad090 - >::try_mark_previous_green:: + 51: 0xffff138ace08 - >::try_mark_green:: + 52: 0xffff139022c0 - rustc_query_system[76fb595000f686e]::query::plumbing::ensure_must_run::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt> + 53: 0xffff137fdcf4 - rustc_query_impl[5822bec21749cdb9]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 54: 0xffff12afcb04 - ::run::, rustc_data_structures[6659498bf83f984f]::sync::parallel::enabled::try_par_for_each_in<&[rustc_hir[28f30fc36fbe2dd]::hir_id::OwnerId], rustc_span[110ecd566fac8533]::ErrorGuaranteed, ::try_par_for_each_module::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 55: 0xffff12a53344 - rustc_hir_analysis[ffabaf230e32c0df]::check_crate + 56: 0xffff0f9951f8 - rustc_interface[c6d09d2df6052683]::passes::analysis + 57: 0xffff136f5be8 - rustc_query_impl[5822bec21749cdb9]::plumbing::__rust_begin_short_backtrace::> + 58: 0xffff1378c2e0 - >::call_once + 59: 0xffff13923594 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 60: 0xffff13828374 - rustc_query_impl[5822bec21749cdb9]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 61: 0xffff0f804e58 - ::enter::> + 62: 0xffff0f850e48 - ::enter::, rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 63: 0xffff0f7ee34c - rustc_span[110ecd566fac8533]::set_source_map::, rustc_interface[c6d09d2df6052683]::interface::run_compiler, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 64: 0xffff0f7ef6a4 - rustc_span[110ecd566fac8533]::create_session_globals_then::, rustc_interface[c6d09d2df6052683]::util::run_in_thread_pool_with_globals, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}> + 65: 0xffff0f82c41c - std[1d40ebb4f03b22f]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 66: 0xffff0f82ea94 - <::spawn_unchecked_, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#1} as core[838b3e1bdd7b2528]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 67: 0xffff0ec4edec - as core::ops::function::FnOnce>::call_once::h1f7775aec6307416 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 68: 0xffff0ec4edec - as core::ops::function::FnOnce>::call_once::h8daafd2ebd74fb9c + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 69: 0xffff0ec4edec - std::sys::pal::unix::thread::Thread::new::thread_start::h48ec715059e6bb79 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 70: 0xffff0ea938a0 - start_thread + 71: 0xffff0eafd04c - thread_start + 72: 0x0 - + + +rustc version: 1.77.0-nightly (635124704 2024-01-27) +platform: aarch64-unknown-linux-gnu + +query stack during panic: +#0 [evaluate_obligation] evaluating trait selection obligation `{coroutine witness@axum_login::session::AuthSession::logout::{closure#0}::{closure#0}::{closure#0}}: core::marker::Send` +#1 [mir_borrowck] borrow-checking `::run_body` +#2 [analysis] running analysis passes on this crate +end of query stack +delayed span bug: {OpaqueTypeKey { def_id: DefId(0:1332 ~ site_app[e129]::{impl#21}::run_body::{opaque#0}), args: [] }: OpaqueTypeDecl { hidden_type: OpaqueHiddenType { span: crates/site-app/src/lib.rs:101:1: 101:18 (#722), ty: Coroutine(DefId(0:1076 ~ site_app[e129]::{impl#21}::run_body::{closure#0}), [std::future::ResumeTy, (), std::result::Result<(), leptos::ServerFnError>, CoroutineWitness(DefId(0:1076 ~ site_app[e129]::{impl#21}::run_body::{closure#0}), []), ()]) } }} + 0: std::backtrace_rs::backtrace::libunwind::trace + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: std::backtrace_rs::backtrace::trace_unsynchronized + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: std::backtrace::Backtrace::create + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: ::emit_diagnostic + 4: ::emit_diagnostic + 5: ::emit_producing_error_guaranteed + 6: ::drop + 7: core::ptr::drop_in_place:: + 8: rustc_borrowck::mir_borrowck + 9: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 10: >::call_once + 11: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 12: rustc_query_system::query::plumbing::force_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + 13: ::{closure#0} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_query_system::dep_graph::dep_node::DepNode)>>::call_once + 14: >::try_mark_previous_green:: + 15: >::try_mark_previous_green:: + 16: >::try_mark_previous_green:: + 17: >::try_mark_previous_green:: + 18: >::try_mark_green:: + 19: rustc_query_system::query::plumbing::ensure_must_run::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + 20: rustc_query_impl::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 21: ::run::, rustc_data_structures::sync::parallel::enabled::try_par_for_each_in<&[rustc_hir::hir_id::OwnerId], rustc_span::ErrorGuaranteed, ::try_par_for_each_module::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 22: rustc_hir_analysis::check_crate + 23: rustc_interface::passes::analysis + 24: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 25: >::call_once + 26: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 27: rustc_query_impl::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 28: ::enter::> + 29: ::enter::, rustc_span::ErrorGuaranteed>> + 30: rustc_span::set_source_map::, rustc_interface::interface::run_compiler, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 31: rustc_span::create_session_globals_then::, rustc_interface::util::run_in_thread_pool_with_globals, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}> + 32: std::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>> + 33: <::spawn_unchecked_, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 34: as core::ops::function::FnOnce>::call_once + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 35: as core::ops::function::FnOnce>::call_once + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 36: std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 37: start_thread + 38: thread_start + +thread 'rustc' panicked at library/core/src/panicking.rs:163:5: +panic in a destructor during cleanup +stack backtrace: + 0: 0xffff0ec2cd78 - std::backtrace_rs::backtrace::libunwind::trace::hfe54b43f8fadab45 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: 0xffff0ec2cd78 - std::backtrace_rs::backtrace::trace_unsynchronized::he52e9df88882b9d4 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: 0xffff0ec2cd78 - std::backtrace::Backtrace::create::hbc9f6b0752a7c221 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: 0xffff0f81ab24 - as core[838b3e1bdd7b2528]::ops::function::Fn<(&dyn for<'a, 'b> core[838b3e1bdd7b2528]::ops::function::Fn<(&'a core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[838b3e1bdd7b2528]::marker::Sync + core[838b3e1bdd7b2528]::marker::Send, &core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo)>>::call + 4: 0xffff0ec46410 - as core::ops::function::Fn>::call::hf1ccbfb04528fac9 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2029:9 + 5: 0xffff0ec46410 - std::panicking::rust_panic_with_hook::hbca97872facfc88d + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:785:13 + 6: 0xffff0ec46160 - std::panicking::begin_panic_handler::{{closure}}::h651cba5bb6be54e1 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:651:13 + 7: 0xffff0ec43960 - std::sys_common::backtrace::__rust_end_short_backtrace::h231c1dfaced37ebc + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys_common/backtrace.rs:171:18 + 8: 0xffff0ec45f2c - rust_begin_unwind + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:647:5 + 9: 0xffff0ec11430 - core::panicking::panic_nounwind_fmt::runtime::h82b5902b3f5a0545 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:110:18 + 10: 0xffff0ec11430 - core::panicking::panic_nounwind_fmt::h2c5b3e91a1eede6e + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:122:9 + 11: 0xffff0ec114e4 - core::panicking::panic_nounwind_nobacktrace::hf7b0b502cc2352bd + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:163:5 + 12: 0xffff0ec11628 - core::panicking::panic_in_cleanup::h9f28fecec255aaae + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:256:5 + 13: 0xffff0f7ee75c - rustc_span[110ecd566fac8533]::set_source_map::, rustc_interface[c6d09d2df6052683]::interface::run_compiler, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 14: 0xffff0f7ef6a4 - rustc_span[110ecd566fac8533]::create_session_globals_then::, rustc_interface[c6d09d2df6052683]::util::run_in_thread_pool_with_globals, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}> + 15: 0xffff0f82c41c - std[1d40ebb4f03b22f]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 16: 0xffff0f82ea94 - <::spawn_unchecked_, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#1} as core[838b3e1bdd7b2528]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 17: 0xffff0ec4edec - as core::ops::function::FnOnce>::call_once::h1f7775aec6307416 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 18: 0xffff0ec4edec - as core::ops::function::FnOnce>::call_once::h8daafd2ebd74fb9c + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 19: 0xffff0ec4edec - std::sys::pal::unix::thread::Thread::new::thread_start::h48ec715059e6bb79 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 20: 0xffff0ea938a0 - start_thread + 21: 0xffff0eafd04c - thread_start + 22: 0x0 - diff --git a/rustc-ice-2024-02-16T17_29_23-29256.txt b/rustc-ice-2024-02-16T17_29_23-29256.txt new file mode 100644 index 0000000..188c0b0 --- /dev/null +++ b/rustc-ice-2024-02-16T17_29_23-29256.txt @@ -0,0 +1,188 @@ +thread 'rustc' panicked at compiler/rustc_metadata/src/rmeta/def_path_hash_map.rs:23:54: +called `Option::unwrap()` on a `None` value +stack backtrace: + 0: 0xfffeb7a8cd78 - std::backtrace_rs::backtrace::libunwind::trace::hfe54b43f8fadab45 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: 0xfffeb7a8cd78 - std::backtrace_rs::backtrace::trace_unsynchronized::he52e9df88882b9d4 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: 0xfffeb7a8cd78 - std::backtrace::Backtrace::create::hbc9f6b0752a7c221 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: 0xfffeb867ab24 - as core[838b3e1bdd7b2528]::ops::function::Fn<(&dyn for<'a, 'b> core[838b3e1bdd7b2528]::ops::function::Fn<(&'a core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[838b3e1bdd7b2528]::marker::Sync + core[838b3e1bdd7b2528]::marker::Send, &core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo)>>::call + 4: 0xfffeb7aa6410 - as core::ops::function::Fn>::call::hf1ccbfb04528fac9 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2029:9 + 5: 0xfffeb7aa6410 - std::panicking::rust_panic_with_hook::hbca97872facfc88d + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:785:13 + 6: 0xfffeb7aa6160 - std::panicking::begin_panic_handler::{{closure}}::h651cba5bb6be54e1 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:651:13 + 7: 0xfffeb7aa3960 - std::sys_common::backtrace::__rust_end_short_backtrace::h231c1dfaced37ebc + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys_common/backtrace.rs:171:18 + 8: 0xfffeb7aa5f2c - rust_begin_unwind + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:647:5 + 9: 0xfffeb7a713ec - core::panicking::panic_fmt::hc818833dc02386fb + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:72:14 + 10: 0xfffeb7a7146c - core::panicking::panic::h6674719cbc283852 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:144:5 + 11: 0xfffeb7a71378 - core::option::unwrap_failed::he0621fe73dbdbba0 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/option.rs:1978:5 + 12: 0xfffebcfbc008 - ::def_path_hash_to_def_id + 13: 0xfffebd36dafc - ::def_path_hash_to_def_id + 14: 0xfffebd4d26d4 - ::extract_def_id + 15: 0xfffebc534cc4 - ::{closure#0} as core[838b3e1bdd7b2528]::ops::function::FnOnce<(rustc_middle[46473b2da0c7b084]::ty::context::TyCtxt, rustc_query_system[76fb595000f686e]::dep_graph::dep_node::DepNode)>>::call_once + 16: 0xfffebc70d048 - >::try_mark_previous_green:: + 17: 0xfffebc70d090 - >::try_mark_previous_green:: + 18: 0xfffebc70d090 - >::try_mark_previous_green:: + 19: 0xfffebc70d090 - >::try_mark_previous_green:: + 20: 0xfffebc70ce08 - >::try_mark_green:: + 21: 0xfffebc7a93e4 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, rustc_middle[46473b2da0c7b084]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 22: 0xfffebc6d1458 - rustc_query_impl[5822bec21749cdb9]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 23: 0xfffebcad22bc - ::evaluate_obligation + 24: 0xfffebcad2660 - ::evaluate_obligation_no_overflow + 25: 0xfffebc97d7d4 - ::process_trait_obligation + 26: 0xfffebc97ca0c - ::process_obligation + 27: 0xfffebcad33f0 - >::process_obligations:: + 28: 0xfffebc979514 - ::select_where_possible + 29: 0xfffebca5c56c - ::select_all_or_error + 30: 0xfffebc3fc9b4 - ::commit_if_ok::<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed, rustc_trait_selection[5526cd3ad699b104]::traits::query::type_op::custom::scrape_region_constraints::fully_perform::{closure#0}>::{closure#0}> + 31: 0xfffebc418780 - rustc_trait_selection[5526cd3ad699b104]::traits::query::type_op::custom::scrape_region_constraints::::fully_perform::{closure#0}> + 32: 0xfffebc2e4728 - ::fully_perform + 33: 0xfffebc2de8b8 - ::register_obligations + 34: 0xfffebc3a7098 - >::relate_opaques + 35: 0xfffebc3a8c0c - as rustc_middle[46473b2da0c7b084]::ty::relate::TypeRelation>::tys + 36: 0xfffebc2e80b4 - ::relate_types + 37: 0xfffebc2ebdc4 - ::typeck_mir + 38: 0xfffebc2df338 - rustc_borrowck[fb9f3ed348722c98]::type_check::type_check + 39: 0xfffebc3201e0 - rustc_borrowck[fb9f3ed348722c98]::nll::compute_regions + 40: 0xfffebc27889c - rustc_borrowck[fb9f3ed348722c98]::do_mir_borrowck + 41: 0xfffebc26f9f0 - rustc_borrowck[fb9f3ed348722c98]::mir_borrowck + 42: 0xfffebc55071c - rustc_query_impl[5822bec21749cdb9]::plumbing::__rust_begin_short_backtrace::> + 43: 0xfffebc56f8d0 - >::call_once + 44: 0xfffebc8085a8 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 45: 0xfffebc75f4d4 - rustc_query_system[76fb595000f686e]::query::plumbing::force_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt> + 46: 0xfffebc528418 - ::{closure#0} as core[838b3e1bdd7b2528]::ops::function::FnOnce<(rustc_middle[46473b2da0c7b084]::ty::context::TyCtxt, rustc_query_system[76fb595000f686e]::dep_graph::dep_node::DepNode)>>::call_once + 47: 0xfffebc70d048 - >::try_mark_previous_green:: + 48: 0xfffebc70d090 - >::try_mark_previous_green:: + 49: 0xfffebc70d090 - >::try_mark_previous_green:: + 50: 0xfffebc70d090 - >::try_mark_previous_green:: + 51: 0xfffebc70ce08 - >::try_mark_green:: + 52: 0xfffebc7622c0 - rustc_query_system[76fb595000f686e]::query::plumbing::ensure_must_run::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt> + 53: 0xfffebc65dcf4 - rustc_query_impl[5822bec21749cdb9]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 54: 0xfffebb95cb04 - ::run::, rustc_data_structures[6659498bf83f984f]::sync::parallel::enabled::try_par_for_each_in<&[rustc_hir[28f30fc36fbe2dd]::hir_id::OwnerId], rustc_span[110ecd566fac8533]::ErrorGuaranteed, ::try_par_for_each_module::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 55: 0xfffebb8b3344 - rustc_hir_analysis[ffabaf230e32c0df]::check_crate + 56: 0xfffeb87f51f8 - rustc_interface[c6d09d2df6052683]::passes::analysis + 57: 0xfffebc555be8 - rustc_query_impl[5822bec21749cdb9]::plumbing::__rust_begin_short_backtrace::> + 58: 0xfffebc5ec2e0 - >::call_once + 59: 0xfffebc783594 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 60: 0xfffebc688374 - rustc_query_impl[5822bec21749cdb9]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 61: 0xfffeb8664e58 - ::enter::> + 62: 0xfffeb86b0e48 - ::enter::, rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 63: 0xfffeb864e34c - rustc_span[110ecd566fac8533]::set_source_map::, rustc_interface[c6d09d2df6052683]::interface::run_compiler, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 64: 0xfffeb864f6a4 - rustc_span[110ecd566fac8533]::create_session_globals_then::, rustc_interface[c6d09d2df6052683]::util::run_in_thread_pool_with_globals, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}> + 65: 0xfffeb868c41c - std[1d40ebb4f03b22f]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 66: 0xfffeb868ea94 - <::spawn_unchecked_, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#1} as core[838b3e1bdd7b2528]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 67: 0xfffeb7aaedec - as core::ops::function::FnOnce>::call_once::h1f7775aec6307416 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 68: 0xfffeb7aaedec - as core::ops::function::FnOnce>::call_once::h8daafd2ebd74fb9c + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 69: 0xfffeb7aaedec - std::sys::pal::unix::thread::Thread::new::thread_start::h48ec715059e6bb79 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 70: 0xfffeb78f38a0 - start_thread + 71: 0xfffeb795d04c - thread_start + 72: 0x0 - + + +rustc version: 1.77.0-nightly (635124704 2024-01-27) +platform: aarch64-unknown-linux-gnu + +query stack during panic: +#0 [evaluate_obligation] evaluating trait selection obligation `{coroutine witness@axum_login::session::AuthSession::logout::{closure#0}::{closure#0}::{closure#0}}: core::marker::Send` +#1 [mir_borrowck] borrow-checking `::run_body` +#2 [analysis] running analysis passes on this crate +end of query stack +delayed span bug: {OpaqueTypeKey { def_id: DefId(0:1281 ~ site_app[3e41]::{impl#21}::run_body::{opaque#0}), args: [] }: OpaqueTypeDecl { hidden_type: OpaqueHiddenType { span: crates/site-app/src/lib.rs:101:1: 101:18 (#559), ty: Coroutine(DefId(0:1025 ~ site_app[3e41]::{impl#21}::run_body::{closure#0}), [std::future::ResumeTy, (), std::result::Result<(), leptos::ServerFnError>, CoroutineWitness(DefId(0:1025 ~ site_app[3e41]::{impl#21}::run_body::{closure#0}), []), ()]) } }} + 0: std::backtrace_rs::backtrace::libunwind::trace + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: std::backtrace_rs::backtrace::trace_unsynchronized + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: std::backtrace::Backtrace::create + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: ::emit_diagnostic + 4: ::emit_diagnostic + 5: ::emit_producing_error_guaranteed + 6: ::drop + 7: core::ptr::drop_in_place:: + 8: rustc_borrowck::mir_borrowck + 9: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 10: >::call_once + 11: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 12: rustc_query_system::query::plumbing::force_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + 13: ::{closure#0} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_query_system::dep_graph::dep_node::DepNode)>>::call_once + 14: >::try_mark_previous_green:: + 15: >::try_mark_previous_green:: + 16: >::try_mark_previous_green:: + 17: >::try_mark_previous_green:: + 18: >::try_mark_green:: + 19: rustc_query_system::query::plumbing::ensure_must_run::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + 20: rustc_query_impl::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 21: ::run::, rustc_data_structures::sync::parallel::enabled::try_par_for_each_in<&[rustc_hir::hir_id::OwnerId], rustc_span::ErrorGuaranteed, ::try_par_for_each_module::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 22: rustc_hir_analysis::check_crate + 23: rustc_interface::passes::analysis + 24: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 25: >::call_once + 26: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 27: rustc_query_impl::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 28: ::enter::> + 29: ::enter::, rustc_span::ErrorGuaranteed>> + 30: rustc_span::set_source_map::, rustc_interface::interface::run_compiler, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 31: rustc_span::create_session_globals_then::, rustc_interface::util::run_in_thread_pool_with_globals, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}> + 32: std::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>> + 33: <::spawn_unchecked_, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 34: as core::ops::function::FnOnce>::call_once + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 35: as core::ops::function::FnOnce>::call_once + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 36: std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 37: start_thread + 38: thread_start + +thread 'rustc' panicked at library/core/src/panicking.rs:163:5: +panic in a destructor during cleanup +stack backtrace: + 0: 0xfffeb7a8cd78 - std::backtrace_rs::backtrace::libunwind::trace::hfe54b43f8fadab45 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: 0xfffeb7a8cd78 - std::backtrace_rs::backtrace::trace_unsynchronized::he52e9df88882b9d4 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: 0xfffeb7a8cd78 - std::backtrace::Backtrace::create::hbc9f6b0752a7c221 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: 0xfffeb867ab24 - as core[838b3e1bdd7b2528]::ops::function::Fn<(&dyn for<'a, 'b> core[838b3e1bdd7b2528]::ops::function::Fn<(&'a core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[838b3e1bdd7b2528]::marker::Sync + core[838b3e1bdd7b2528]::marker::Send, &core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo)>>::call + 4: 0xfffeb7aa6410 - as core::ops::function::Fn>::call::hf1ccbfb04528fac9 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2029:9 + 5: 0xfffeb7aa6410 - std::panicking::rust_panic_with_hook::hbca97872facfc88d + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:785:13 + 6: 0xfffeb7aa6160 - std::panicking::begin_panic_handler::{{closure}}::h651cba5bb6be54e1 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:651:13 + 7: 0xfffeb7aa3960 - std::sys_common::backtrace::__rust_end_short_backtrace::h231c1dfaced37ebc + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys_common/backtrace.rs:171:18 + 8: 0xfffeb7aa5f2c - rust_begin_unwind + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:647:5 + 9: 0xfffeb7a71430 - core::panicking::panic_nounwind_fmt::runtime::h82b5902b3f5a0545 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:110:18 + 10: 0xfffeb7a71430 - core::panicking::panic_nounwind_fmt::h2c5b3e91a1eede6e + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:122:9 + 11: 0xfffeb7a714e4 - core::panicking::panic_nounwind_nobacktrace::hf7b0b502cc2352bd + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:163:5 + 12: 0xfffeb7a71628 - core::panicking::panic_in_cleanup::h9f28fecec255aaae + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:256:5 + 13: 0xfffeb864e75c - rustc_span[110ecd566fac8533]::set_source_map::, rustc_interface[c6d09d2df6052683]::interface::run_compiler, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 14: 0xfffeb864f6a4 - rustc_span[110ecd566fac8533]::create_session_globals_then::, rustc_interface[c6d09d2df6052683]::util::run_in_thread_pool_with_globals, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}> + 15: 0xfffeb868c41c - std[1d40ebb4f03b22f]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 16: 0xfffeb868ea94 - <::spawn_unchecked_, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#1} as core[838b3e1bdd7b2528]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 17: 0xfffeb7aaedec - as core::ops::function::FnOnce>::call_once::h1f7775aec6307416 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 18: 0xfffeb7aaedec - as core::ops::function::FnOnce>::call_once::h8daafd2ebd74fb9c + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 19: 0xfffeb7aaedec - std::sys::pal::unix::thread::Thread::new::thread_start::h48ec715059e6bb79 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 20: 0xfffeb78f38a0 - start_thread + 21: 0xfffeb795d04c - thread_start + 22: 0x0 - diff --git a/rustc-ice-2024-02-16T17_29_23-29257.txt b/rustc-ice-2024-02-16T17_29_23-29257.txt new file mode 100644 index 0000000..f085e8b --- /dev/null +++ b/rustc-ice-2024-02-16T17_29_23-29257.txt @@ -0,0 +1,188 @@ +thread 'rustc' panicked at compiler/rustc_metadata/src/rmeta/def_path_hash_map.rs:23:54: +called `Option::unwrap()` on a `None` value +stack backtrace: + 0: 0xffff8e71cd78 - std::backtrace_rs::backtrace::libunwind::trace::hfe54b43f8fadab45 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: 0xffff8e71cd78 - std::backtrace_rs::backtrace::trace_unsynchronized::he52e9df88882b9d4 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: 0xffff8e71cd78 - std::backtrace::Backtrace::create::hbc9f6b0752a7c221 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: 0xffff8f30ab24 - as core[838b3e1bdd7b2528]::ops::function::Fn<(&dyn for<'a, 'b> core[838b3e1bdd7b2528]::ops::function::Fn<(&'a core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[838b3e1bdd7b2528]::marker::Sync + core[838b3e1bdd7b2528]::marker::Send, &core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo)>>::call + 4: 0xffff8e736410 - as core::ops::function::Fn>::call::hf1ccbfb04528fac9 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2029:9 + 5: 0xffff8e736410 - std::panicking::rust_panic_with_hook::hbca97872facfc88d + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:785:13 + 6: 0xffff8e736160 - std::panicking::begin_panic_handler::{{closure}}::h651cba5bb6be54e1 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:651:13 + 7: 0xffff8e733960 - std::sys_common::backtrace::__rust_end_short_backtrace::h231c1dfaced37ebc + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys_common/backtrace.rs:171:18 + 8: 0xffff8e735f2c - rust_begin_unwind + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:647:5 + 9: 0xffff8e7013ec - core::panicking::panic_fmt::hc818833dc02386fb + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:72:14 + 10: 0xffff8e70146c - core::panicking::panic::h6674719cbc283852 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:144:5 + 11: 0xffff8e701378 - core::option::unwrap_failed::he0621fe73dbdbba0 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/option.rs:1978:5 + 12: 0xffff93c4c008 - ::def_path_hash_to_def_id + 13: 0xffff93ffdafc - ::def_path_hash_to_def_id + 14: 0xffff941626d4 - ::extract_def_id + 15: 0xffff931c4cc4 - ::{closure#0} as core[838b3e1bdd7b2528]::ops::function::FnOnce<(rustc_middle[46473b2da0c7b084]::ty::context::TyCtxt, rustc_query_system[76fb595000f686e]::dep_graph::dep_node::DepNode)>>::call_once + 16: 0xffff9339d048 - >::try_mark_previous_green:: + 17: 0xffff9339d090 - >::try_mark_previous_green:: + 18: 0xffff9339d090 - >::try_mark_previous_green:: + 19: 0xffff9339d090 - >::try_mark_previous_green:: + 20: 0xffff9339ce08 - >::try_mark_green:: + 21: 0xffff934393e4 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, rustc_middle[46473b2da0c7b084]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 22: 0xffff93361458 - rustc_query_impl[5822bec21749cdb9]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 23: 0xffff937622bc - ::evaluate_obligation + 24: 0xffff93762660 - ::evaluate_obligation_no_overflow + 25: 0xffff9360d7d4 - ::process_trait_obligation + 26: 0xffff9360ca0c - ::process_obligation + 27: 0xffff937633f0 - >::process_obligations:: + 28: 0xffff93609514 - ::select_where_possible + 29: 0xffff936ec56c - ::select_all_or_error + 30: 0xffff9308c9b4 - ::commit_if_ok::<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed, rustc_trait_selection[5526cd3ad699b104]::traits::query::type_op::custom::scrape_region_constraints::fully_perform::{closure#0}>::{closure#0}> + 31: 0xffff930a8780 - rustc_trait_selection[5526cd3ad699b104]::traits::query::type_op::custom::scrape_region_constraints::::fully_perform::{closure#0}> + 32: 0xffff92f74728 - ::fully_perform + 33: 0xffff92f6e8b8 - ::register_obligations + 34: 0xffff93037098 - >::relate_opaques + 35: 0xffff93038c0c - as rustc_middle[46473b2da0c7b084]::ty::relate::TypeRelation>::tys + 36: 0xffff92f780b4 - ::relate_types + 37: 0xffff92f7bdc4 - ::typeck_mir + 38: 0xffff92f6f338 - rustc_borrowck[fb9f3ed348722c98]::type_check::type_check + 39: 0xffff92fb01e0 - rustc_borrowck[fb9f3ed348722c98]::nll::compute_regions + 40: 0xffff92f0889c - rustc_borrowck[fb9f3ed348722c98]::do_mir_borrowck + 41: 0xffff92eff9f0 - rustc_borrowck[fb9f3ed348722c98]::mir_borrowck + 42: 0xffff931e071c - rustc_query_impl[5822bec21749cdb9]::plumbing::__rust_begin_short_backtrace::> + 43: 0xffff931ff8d0 - >::call_once + 44: 0xffff934985a8 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 45: 0xffff933ef4d4 - rustc_query_system[76fb595000f686e]::query::plumbing::force_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt> + 46: 0xffff931b8418 - ::{closure#0} as core[838b3e1bdd7b2528]::ops::function::FnOnce<(rustc_middle[46473b2da0c7b084]::ty::context::TyCtxt, rustc_query_system[76fb595000f686e]::dep_graph::dep_node::DepNode)>>::call_once + 47: 0xffff9339d048 - >::try_mark_previous_green:: + 48: 0xffff9339d090 - >::try_mark_previous_green:: + 49: 0xffff9339d090 - >::try_mark_previous_green:: + 50: 0xffff9339d090 - >::try_mark_previous_green:: + 51: 0xffff9339ce08 - >::try_mark_green:: + 52: 0xffff933f22c0 - rustc_query_system[76fb595000f686e]::query::plumbing::ensure_must_run::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt> + 53: 0xffff932edcf4 - rustc_query_impl[5822bec21749cdb9]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 54: 0xffff925ecb04 - ::run::, rustc_data_structures[6659498bf83f984f]::sync::parallel::enabled::try_par_for_each_in<&[rustc_hir[28f30fc36fbe2dd]::hir_id::OwnerId], rustc_span[110ecd566fac8533]::ErrorGuaranteed, ::try_par_for_each_module::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 55: 0xffff92543344 - rustc_hir_analysis[ffabaf230e32c0df]::check_crate + 56: 0xffff8f4851f8 - rustc_interface[c6d09d2df6052683]::passes::analysis + 57: 0xffff931e5be8 - rustc_query_impl[5822bec21749cdb9]::plumbing::__rust_begin_short_backtrace::> + 58: 0xffff9327c2e0 - >::call_once + 59: 0xffff93413594 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 60: 0xffff93318374 - rustc_query_impl[5822bec21749cdb9]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 61: 0xffff8f2f4e58 - ::enter::> + 62: 0xffff8f340e48 - ::enter::, rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 63: 0xffff8f2de34c - rustc_span[110ecd566fac8533]::set_source_map::, rustc_interface[c6d09d2df6052683]::interface::run_compiler, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 64: 0xffff8f2df6a4 - rustc_span[110ecd566fac8533]::create_session_globals_then::, rustc_interface[c6d09d2df6052683]::util::run_in_thread_pool_with_globals, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}> + 65: 0xffff8f31c41c - std[1d40ebb4f03b22f]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 66: 0xffff8f31ea94 - <::spawn_unchecked_, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#1} as core[838b3e1bdd7b2528]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 67: 0xffff8e73edec - as core::ops::function::FnOnce>::call_once::h1f7775aec6307416 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 68: 0xffff8e73edec - as core::ops::function::FnOnce>::call_once::h8daafd2ebd74fb9c + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 69: 0xffff8e73edec - std::sys::pal::unix::thread::Thread::new::thread_start::h48ec715059e6bb79 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 70: 0xffff8e5838a0 - start_thread + 71: 0xffff8e5ed04c - thread_start + 72: 0x0 - + + +rustc version: 1.77.0-nightly (635124704 2024-01-27) +platform: aarch64-unknown-linux-gnu + +query stack during panic: +#0 [evaluate_obligation] evaluating trait selection obligation `{coroutine witness@axum_login::session::AuthSession::logout::{closure#0}::{closure#0}::{closure#0}}: core::marker::Send` +#1 [mir_borrowck] borrow-checking `::run_body` +#2 [analysis] running analysis passes on this crate +end of query stack +delayed span bug: {OpaqueTypeKey { def_id: DefId(0:1283 ~ site_app[690c]::{impl#21}::run_body::{opaque#0}), args: [] }: OpaqueTypeDecl { hidden_type: OpaqueHiddenType { span: crates/site-app/src/lib.rs:101:1: 101:18 (#559), ty: Coroutine(DefId(0:1025 ~ site_app[690c]::{impl#21}::run_body::{closure#0}), [std::future::ResumeTy, (), std::result::Result<(), leptos::ServerFnError>, CoroutineWitness(DefId(0:1025 ~ site_app[690c]::{impl#21}::run_body::{closure#0}), []), ()]) } }} + 0: std::backtrace_rs::backtrace::libunwind::trace + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: std::backtrace_rs::backtrace::trace_unsynchronized + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: std::backtrace::Backtrace::create + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: ::emit_diagnostic + 4: ::emit_diagnostic + 5: ::emit_producing_error_guaranteed + 6: ::drop + 7: core::ptr::drop_in_place:: + 8: rustc_borrowck::mir_borrowck + 9: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 10: >::call_once + 11: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 12: rustc_query_system::query::plumbing::force_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + 13: ::{closure#0} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_query_system::dep_graph::dep_node::DepNode)>>::call_once + 14: >::try_mark_previous_green:: + 15: >::try_mark_previous_green:: + 16: >::try_mark_previous_green:: + 17: >::try_mark_previous_green:: + 18: >::try_mark_green:: + 19: rustc_query_system::query::plumbing::ensure_must_run::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + 20: rustc_query_impl::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 21: ::run::, rustc_data_structures::sync::parallel::enabled::try_par_for_each_in<&[rustc_hir::hir_id::OwnerId], rustc_span::ErrorGuaranteed, ::try_par_for_each_module::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 22: rustc_hir_analysis::check_crate + 23: rustc_interface::passes::analysis + 24: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 25: >::call_once + 26: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 27: rustc_query_impl::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 28: ::enter::> + 29: ::enter::, rustc_span::ErrorGuaranteed>> + 30: rustc_span::set_source_map::, rustc_interface::interface::run_compiler, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 31: rustc_span::create_session_globals_then::, rustc_interface::util::run_in_thread_pool_with_globals, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}> + 32: std::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>> + 33: <::spawn_unchecked_, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 34: as core::ops::function::FnOnce>::call_once + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 35: as core::ops::function::FnOnce>::call_once + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 36: std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 37: start_thread + 38: thread_start + +thread 'rustc' panicked at library/core/src/panicking.rs:163:5: +panic in a destructor during cleanup +stack backtrace: + 0: 0xffff8e71cd78 - std::backtrace_rs::backtrace::libunwind::trace::hfe54b43f8fadab45 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: 0xffff8e71cd78 - std::backtrace_rs::backtrace::trace_unsynchronized::he52e9df88882b9d4 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: 0xffff8e71cd78 - std::backtrace::Backtrace::create::hbc9f6b0752a7c221 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: 0xffff8f30ab24 - as core[838b3e1bdd7b2528]::ops::function::Fn<(&dyn for<'a, 'b> core[838b3e1bdd7b2528]::ops::function::Fn<(&'a core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[838b3e1bdd7b2528]::marker::Sync + core[838b3e1bdd7b2528]::marker::Send, &core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo)>>::call + 4: 0xffff8e736410 - as core::ops::function::Fn>::call::hf1ccbfb04528fac9 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2029:9 + 5: 0xffff8e736410 - std::panicking::rust_panic_with_hook::hbca97872facfc88d + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:785:13 + 6: 0xffff8e736160 - std::panicking::begin_panic_handler::{{closure}}::h651cba5bb6be54e1 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:651:13 + 7: 0xffff8e733960 - std::sys_common::backtrace::__rust_end_short_backtrace::h231c1dfaced37ebc + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys_common/backtrace.rs:171:18 + 8: 0xffff8e735f2c - rust_begin_unwind + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:647:5 + 9: 0xffff8e701430 - core::panicking::panic_nounwind_fmt::runtime::h82b5902b3f5a0545 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:110:18 + 10: 0xffff8e701430 - core::panicking::panic_nounwind_fmt::h2c5b3e91a1eede6e + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:122:9 + 11: 0xffff8e7014e4 - core::panicking::panic_nounwind_nobacktrace::hf7b0b502cc2352bd + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:163:5 + 12: 0xffff8e701628 - core::panicking::panic_in_cleanup::h9f28fecec255aaae + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:256:5 + 13: 0xffff8f2de75c - rustc_span[110ecd566fac8533]::set_source_map::, rustc_interface[c6d09d2df6052683]::interface::run_compiler, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 14: 0xffff8f2df6a4 - rustc_span[110ecd566fac8533]::create_session_globals_then::, rustc_interface[c6d09d2df6052683]::util::run_in_thread_pool_with_globals, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}> + 15: 0xffff8f31c41c - std[1d40ebb4f03b22f]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 16: 0xffff8f31ea94 - <::spawn_unchecked_, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#1} as core[838b3e1bdd7b2528]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 17: 0xffff8e73edec - as core::ops::function::FnOnce>::call_once::h1f7775aec6307416 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 18: 0xffff8e73edec - as core::ops::function::FnOnce>::call_once::h8daafd2ebd74fb9c + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 19: 0xffff8e73edec - std::sys::pal::unix::thread::Thread::new::thread_start::h48ec715059e6bb79 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 20: 0xffff8e5838a0 - start_thread + 21: 0xffff8e5ed04c - thread_start + 22: 0x0 - diff --git a/rustc-ice-2024-02-16T17_29_26-29619.txt b/rustc-ice-2024-02-16T17_29_26-29619.txt new file mode 100644 index 0000000..aaa9701 --- /dev/null +++ b/rustc-ice-2024-02-16T17_29_26-29619.txt @@ -0,0 +1,188 @@ +thread 'rustc' panicked at compiler/rustc_metadata/src/rmeta/def_path_hash_map.rs:23:54: +called `Option::unwrap()` on a `None` value +stack backtrace: + 0: 0xfffeb8b0cd78 - std::backtrace_rs::backtrace::libunwind::trace::hfe54b43f8fadab45 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: 0xfffeb8b0cd78 - std::backtrace_rs::backtrace::trace_unsynchronized::he52e9df88882b9d4 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: 0xfffeb8b0cd78 - std::backtrace::Backtrace::create::hbc9f6b0752a7c221 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: 0xfffeb96fab24 - as core[838b3e1bdd7b2528]::ops::function::Fn<(&dyn for<'a, 'b> core[838b3e1bdd7b2528]::ops::function::Fn<(&'a core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[838b3e1bdd7b2528]::marker::Sync + core[838b3e1bdd7b2528]::marker::Send, &core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo)>>::call + 4: 0xfffeb8b26410 - as core::ops::function::Fn>::call::hf1ccbfb04528fac9 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2029:9 + 5: 0xfffeb8b26410 - std::panicking::rust_panic_with_hook::hbca97872facfc88d + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:785:13 + 6: 0xfffeb8b26160 - std::panicking::begin_panic_handler::{{closure}}::h651cba5bb6be54e1 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:651:13 + 7: 0xfffeb8b23960 - std::sys_common::backtrace::__rust_end_short_backtrace::h231c1dfaced37ebc + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys_common/backtrace.rs:171:18 + 8: 0xfffeb8b25f2c - rust_begin_unwind + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:647:5 + 9: 0xfffeb8af13ec - core::panicking::panic_fmt::hc818833dc02386fb + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:72:14 + 10: 0xfffeb8af146c - core::panicking::panic::h6674719cbc283852 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:144:5 + 11: 0xfffeb8af1378 - core::option::unwrap_failed::he0621fe73dbdbba0 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/option.rs:1978:5 + 12: 0xfffebe03c008 - ::def_path_hash_to_def_id + 13: 0xfffebe3edafc - ::def_path_hash_to_def_id + 14: 0xfffebe5526d4 - ::extract_def_id + 15: 0xfffebd5b4cc4 - ::{closure#0} as core[838b3e1bdd7b2528]::ops::function::FnOnce<(rustc_middle[46473b2da0c7b084]::ty::context::TyCtxt, rustc_query_system[76fb595000f686e]::dep_graph::dep_node::DepNode)>>::call_once + 16: 0xfffebd78d048 - >::try_mark_previous_green:: + 17: 0xfffebd78d090 - >::try_mark_previous_green:: + 18: 0xfffebd78d090 - >::try_mark_previous_green:: + 19: 0xfffebd78d090 - >::try_mark_previous_green:: + 20: 0xfffebd78ce08 - >::try_mark_green:: + 21: 0xfffebd8293e4 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, rustc_middle[46473b2da0c7b084]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 22: 0xfffebd751458 - rustc_query_impl[5822bec21749cdb9]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 23: 0xfffebdb522bc - ::evaluate_obligation + 24: 0xfffebdb52660 - ::evaluate_obligation_no_overflow + 25: 0xfffebd9fd7d4 - ::process_trait_obligation + 26: 0xfffebd9fca0c - ::process_obligation + 27: 0xfffebdb533f0 - >::process_obligations:: + 28: 0xfffebd9f9514 - ::select_where_possible + 29: 0xfffebdadc56c - ::select_all_or_error + 30: 0xfffebd47c9b4 - ::commit_if_ok::<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed, rustc_trait_selection[5526cd3ad699b104]::traits::query::type_op::custom::scrape_region_constraints::fully_perform::{closure#0}>::{closure#0}> + 31: 0xfffebd498780 - rustc_trait_selection[5526cd3ad699b104]::traits::query::type_op::custom::scrape_region_constraints::::fully_perform::{closure#0}> + 32: 0xfffebd364728 - ::fully_perform + 33: 0xfffebd35e8b8 - ::register_obligations + 34: 0xfffebd427098 - >::relate_opaques + 35: 0xfffebd428c0c - as rustc_middle[46473b2da0c7b084]::ty::relate::TypeRelation>::tys + 36: 0xfffebd3680b4 - ::relate_types + 37: 0xfffebd36bdc4 - ::typeck_mir + 38: 0xfffebd35f338 - rustc_borrowck[fb9f3ed348722c98]::type_check::type_check + 39: 0xfffebd3a01e0 - rustc_borrowck[fb9f3ed348722c98]::nll::compute_regions + 40: 0xfffebd2f889c - rustc_borrowck[fb9f3ed348722c98]::do_mir_borrowck + 41: 0xfffebd2ef9f0 - rustc_borrowck[fb9f3ed348722c98]::mir_borrowck + 42: 0xfffebd5d071c - rustc_query_impl[5822bec21749cdb9]::plumbing::__rust_begin_short_backtrace::> + 43: 0xfffebd5ef8d0 - >::call_once + 44: 0xfffebd8885a8 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 45: 0xfffebd7df4d4 - rustc_query_system[76fb595000f686e]::query::plumbing::force_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt> + 46: 0xfffebd5a8418 - ::{closure#0} as core[838b3e1bdd7b2528]::ops::function::FnOnce<(rustc_middle[46473b2da0c7b084]::ty::context::TyCtxt, rustc_query_system[76fb595000f686e]::dep_graph::dep_node::DepNode)>>::call_once + 47: 0xfffebd78d048 - >::try_mark_previous_green:: + 48: 0xfffebd78d090 - >::try_mark_previous_green:: + 49: 0xfffebd78d090 - >::try_mark_previous_green:: + 50: 0xfffebd78d090 - >::try_mark_previous_green:: + 51: 0xfffebd78ce08 - >::try_mark_green:: + 52: 0xfffebd7e22c0 - rustc_query_system[76fb595000f686e]::query::plumbing::ensure_must_run::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt> + 53: 0xfffebd6ddcf4 - rustc_query_impl[5822bec21749cdb9]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 54: 0xfffebc9dcb04 - ::run::, rustc_data_structures[6659498bf83f984f]::sync::parallel::enabled::try_par_for_each_in<&[rustc_hir[28f30fc36fbe2dd]::hir_id::OwnerId], rustc_span[110ecd566fac8533]::ErrorGuaranteed, ::try_par_for_each_module::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 55: 0xfffebc933344 - rustc_hir_analysis[ffabaf230e32c0df]::check_crate + 56: 0xfffeb98751f8 - rustc_interface[c6d09d2df6052683]::passes::analysis + 57: 0xfffebd5d5be8 - rustc_query_impl[5822bec21749cdb9]::plumbing::__rust_begin_short_backtrace::> + 58: 0xfffebd66c2e0 - >::call_once + 59: 0xfffebd803594 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 60: 0xfffebd708374 - rustc_query_impl[5822bec21749cdb9]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 61: 0xfffeb96e4e58 - ::enter::> + 62: 0xfffeb9730e48 - ::enter::, rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 63: 0xfffeb96ce34c - rustc_span[110ecd566fac8533]::set_source_map::, rustc_interface[c6d09d2df6052683]::interface::run_compiler, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 64: 0xfffeb96cf6a4 - rustc_span[110ecd566fac8533]::create_session_globals_then::, rustc_interface[c6d09d2df6052683]::util::run_in_thread_pool_with_globals, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}> + 65: 0xfffeb970c41c - std[1d40ebb4f03b22f]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 66: 0xfffeb970ea94 - <::spawn_unchecked_, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#1} as core[838b3e1bdd7b2528]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 67: 0xfffeb8b2edec - as core::ops::function::FnOnce>::call_once::h1f7775aec6307416 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 68: 0xfffeb8b2edec - as core::ops::function::FnOnce>::call_once::h8daafd2ebd74fb9c + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 69: 0xfffeb8b2edec - std::sys::pal::unix::thread::Thread::new::thread_start::h48ec715059e6bb79 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 70: 0xfffeb89738a0 - start_thread + 71: 0xfffeb89dd04c - thread_start + 72: 0x0 - + + +rustc version: 1.77.0-nightly (635124704 2024-01-27) +platform: aarch64-unknown-linux-gnu + +query stack during panic: +#0 [evaluate_obligation] evaluating trait selection obligation `{coroutine witness@axum_login::session::AuthSession::logout::{closure#0}::{closure#0}::{closure#0}}: core::marker::Send` +#1 [mir_borrowck] borrow-checking `::run_body` +#2 [analysis] running analysis passes on this crate +end of query stack +delayed span bug: {OpaqueTypeKey { def_id: DefId(0:1332 ~ site_app[e129]::{impl#21}::run_body::{opaque#0}), args: [] }: OpaqueTypeDecl { hidden_type: OpaqueHiddenType { span: crates/site-app/src/lib.rs:101:1: 101:18 (#722), ty: Coroutine(DefId(0:1076 ~ site_app[e129]::{impl#21}::run_body::{closure#0}), [std::future::ResumeTy, (), std::result::Result<(), leptos::ServerFnError>, CoroutineWitness(DefId(0:1076 ~ site_app[e129]::{impl#21}::run_body::{closure#0}), []), ()]) } }} + 0: std::backtrace_rs::backtrace::libunwind::trace + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: std::backtrace_rs::backtrace::trace_unsynchronized + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: std::backtrace::Backtrace::create + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: ::emit_diagnostic + 4: ::emit_diagnostic + 5: ::emit_producing_error_guaranteed + 6: ::drop + 7: core::ptr::drop_in_place:: + 8: rustc_borrowck::mir_borrowck + 9: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 10: >::call_once + 11: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 12: rustc_query_system::query::plumbing::force_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + 13: ::{closure#0} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_query_system::dep_graph::dep_node::DepNode)>>::call_once + 14: >::try_mark_previous_green:: + 15: >::try_mark_previous_green:: + 16: >::try_mark_previous_green:: + 17: >::try_mark_previous_green:: + 18: >::try_mark_green:: + 19: rustc_query_system::query::plumbing::ensure_must_run::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + 20: rustc_query_impl::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 21: ::run::, rustc_data_structures::sync::parallel::enabled::try_par_for_each_in<&[rustc_hir::hir_id::OwnerId], rustc_span::ErrorGuaranteed, ::try_par_for_each_module::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 22: rustc_hir_analysis::check_crate + 23: rustc_interface::passes::analysis + 24: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 25: >::call_once + 26: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 27: rustc_query_impl::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 28: ::enter::> + 29: ::enter::, rustc_span::ErrorGuaranteed>> + 30: rustc_span::set_source_map::, rustc_interface::interface::run_compiler, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 31: rustc_span::create_session_globals_then::, rustc_interface::util::run_in_thread_pool_with_globals, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}> + 32: std::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>> + 33: <::spawn_unchecked_, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 34: as core::ops::function::FnOnce>::call_once + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 35: as core::ops::function::FnOnce>::call_once + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 36: std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 37: start_thread + 38: thread_start + +thread 'rustc' panicked at library/core/src/panicking.rs:163:5: +panic in a destructor during cleanup +stack backtrace: + 0: 0xfffeb8b0cd78 - std::backtrace_rs::backtrace::libunwind::trace::hfe54b43f8fadab45 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: 0xfffeb8b0cd78 - std::backtrace_rs::backtrace::trace_unsynchronized::he52e9df88882b9d4 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: 0xfffeb8b0cd78 - std::backtrace::Backtrace::create::hbc9f6b0752a7c221 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: 0xfffeb96fab24 - as core[838b3e1bdd7b2528]::ops::function::Fn<(&dyn for<'a, 'b> core[838b3e1bdd7b2528]::ops::function::Fn<(&'a core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[838b3e1bdd7b2528]::marker::Sync + core[838b3e1bdd7b2528]::marker::Send, &core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo)>>::call + 4: 0xfffeb8b26410 - as core::ops::function::Fn>::call::hf1ccbfb04528fac9 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2029:9 + 5: 0xfffeb8b26410 - std::panicking::rust_panic_with_hook::hbca97872facfc88d + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:785:13 + 6: 0xfffeb8b26160 - std::panicking::begin_panic_handler::{{closure}}::h651cba5bb6be54e1 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:651:13 + 7: 0xfffeb8b23960 - std::sys_common::backtrace::__rust_end_short_backtrace::h231c1dfaced37ebc + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys_common/backtrace.rs:171:18 + 8: 0xfffeb8b25f2c - rust_begin_unwind + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:647:5 + 9: 0xfffeb8af1430 - core::panicking::panic_nounwind_fmt::runtime::h82b5902b3f5a0545 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:110:18 + 10: 0xfffeb8af1430 - core::panicking::panic_nounwind_fmt::h2c5b3e91a1eede6e + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:122:9 + 11: 0xfffeb8af14e4 - core::panicking::panic_nounwind_nobacktrace::hf7b0b502cc2352bd + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:163:5 + 12: 0xfffeb8af1628 - core::panicking::panic_in_cleanup::h9f28fecec255aaae + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:256:5 + 13: 0xfffeb96ce75c - rustc_span[110ecd566fac8533]::set_source_map::, rustc_interface[c6d09d2df6052683]::interface::run_compiler, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 14: 0xfffeb96cf6a4 - rustc_span[110ecd566fac8533]::create_session_globals_then::, rustc_interface[c6d09d2df6052683]::util::run_in_thread_pool_with_globals, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}> + 15: 0xfffeb970c41c - std[1d40ebb4f03b22f]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 16: 0xfffeb970ea94 - <::spawn_unchecked_, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#1} as core[838b3e1bdd7b2528]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 17: 0xfffeb8b2edec - as core::ops::function::FnOnce>::call_once::h1f7775aec6307416 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 18: 0xfffeb8b2edec - as core::ops::function::FnOnce>::call_once::h8daafd2ebd74fb9c + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 19: 0xfffeb8b2edec - std::sys::pal::unix::thread::Thread::new::thread_start::h48ec715059e6bb79 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 20: 0xfffeb89738a0 - start_thread + 21: 0xfffeb89dd04c - thread_start + 22: 0x0 - diff --git a/rustc-ice-2024-02-16T17_29_42-29797.txt b/rustc-ice-2024-02-16T17_29_42-29797.txt new file mode 100644 index 0000000..366f31a --- /dev/null +++ b/rustc-ice-2024-02-16T17_29_42-29797.txt @@ -0,0 +1,188 @@ +thread 'rustc' panicked at compiler/rustc_metadata/src/rmeta/def_path_hash_map.rs:23:54: +called `Option::unwrap()` on a `None` value +stack backtrace: + 0: 0xffff4908cd78 - std::backtrace_rs::backtrace::libunwind::trace::hfe54b43f8fadab45 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: 0xffff4908cd78 - std::backtrace_rs::backtrace::trace_unsynchronized::he52e9df88882b9d4 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: 0xffff4908cd78 - std::backtrace::Backtrace::create::hbc9f6b0752a7c221 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: 0xffff49c7ab24 - as core[838b3e1bdd7b2528]::ops::function::Fn<(&dyn for<'a, 'b> core[838b3e1bdd7b2528]::ops::function::Fn<(&'a core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[838b3e1bdd7b2528]::marker::Sync + core[838b3e1bdd7b2528]::marker::Send, &core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo)>>::call + 4: 0xffff490a6410 - as core::ops::function::Fn>::call::hf1ccbfb04528fac9 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2029:9 + 5: 0xffff490a6410 - std::panicking::rust_panic_with_hook::hbca97872facfc88d + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:785:13 + 6: 0xffff490a6160 - std::panicking::begin_panic_handler::{{closure}}::h651cba5bb6be54e1 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:651:13 + 7: 0xffff490a3960 - std::sys_common::backtrace::__rust_end_short_backtrace::h231c1dfaced37ebc + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys_common/backtrace.rs:171:18 + 8: 0xffff490a5f2c - rust_begin_unwind + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:647:5 + 9: 0xffff490713ec - core::panicking::panic_fmt::hc818833dc02386fb + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:72:14 + 10: 0xffff4907146c - core::panicking::panic::h6674719cbc283852 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:144:5 + 11: 0xffff49071378 - core::option::unwrap_failed::he0621fe73dbdbba0 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/option.rs:1978:5 + 12: 0xffff4e5bc008 - ::def_path_hash_to_def_id + 13: 0xffff4e96dafc - ::def_path_hash_to_def_id + 14: 0xffff4ead26d4 - ::extract_def_id + 15: 0xffff4db34cc4 - ::{closure#0} as core[838b3e1bdd7b2528]::ops::function::FnOnce<(rustc_middle[46473b2da0c7b084]::ty::context::TyCtxt, rustc_query_system[76fb595000f686e]::dep_graph::dep_node::DepNode)>>::call_once + 16: 0xffff4dd0d048 - >::try_mark_previous_green:: + 17: 0xffff4dd0d090 - >::try_mark_previous_green:: + 18: 0xffff4dd0d090 - >::try_mark_previous_green:: + 19: 0xffff4dd0d090 - >::try_mark_previous_green:: + 20: 0xffff4dd0ce08 - >::try_mark_green:: + 21: 0xffff4dda93e4 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, rustc_middle[46473b2da0c7b084]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 22: 0xffff4dcd1458 - rustc_query_impl[5822bec21749cdb9]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 23: 0xffff4e0d22bc - ::evaluate_obligation + 24: 0xffff4e0d2660 - ::evaluate_obligation_no_overflow + 25: 0xffff4df7d7d4 - ::process_trait_obligation + 26: 0xffff4df7ca0c - ::process_obligation + 27: 0xffff4e0d33f0 - >::process_obligations:: + 28: 0xffff4df79514 - ::select_where_possible + 29: 0xffff4e05c56c - ::select_all_or_error + 30: 0xffff4d9fc9b4 - ::commit_if_ok::<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed, rustc_trait_selection[5526cd3ad699b104]::traits::query::type_op::custom::scrape_region_constraints::fully_perform::{closure#0}>::{closure#0}> + 31: 0xffff4da18780 - rustc_trait_selection[5526cd3ad699b104]::traits::query::type_op::custom::scrape_region_constraints::::fully_perform::{closure#0}> + 32: 0xffff4d8e4728 - ::fully_perform + 33: 0xffff4d8de8b8 - ::register_obligations + 34: 0xffff4d9a7098 - >::relate_opaques + 35: 0xffff4d9a8c0c - as rustc_middle[46473b2da0c7b084]::ty::relate::TypeRelation>::tys + 36: 0xffff4d8e80b4 - ::relate_types + 37: 0xffff4d8ebdc4 - ::typeck_mir + 38: 0xffff4d8df338 - rustc_borrowck[fb9f3ed348722c98]::type_check::type_check + 39: 0xffff4d9201e0 - rustc_borrowck[fb9f3ed348722c98]::nll::compute_regions + 40: 0xffff4d87889c - rustc_borrowck[fb9f3ed348722c98]::do_mir_borrowck + 41: 0xffff4d86f9f0 - rustc_borrowck[fb9f3ed348722c98]::mir_borrowck + 42: 0xffff4db5071c - rustc_query_impl[5822bec21749cdb9]::plumbing::__rust_begin_short_backtrace::> + 43: 0xffff4db6f8d0 - >::call_once + 44: 0xffff4de085a8 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 45: 0xffff4dd5f4d4 - rustc_query_system[76fb595000f686e]::query::plumbing::force_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt> + 46: 0xffff4db28418 - ::{closure#0} as core[838b3e1bdd7b2528]::ops::function::FnOnce<(rustc_middle[46473b2da0c7b084]::ty::context::TyCtxt, rustc_query_system[76fb595000f686e]::dep_graph::dep_node::DepNode)>>::call_once + 47: 0xffff4dd0d048 - >::try_mark_previous_green:: + 48: 0xffff4dd0d090 - >::try_mark_previous_green:: + 49: 0xffff4dd0d090 - >::try_mark_previous_green:: + 50: 0xffff4dd0d090 - >::try_mark_previous_green:: + 51: 0xffff4dd0ce08 - >::try_mark_green:: + 52: 0xffff4dd622c0 - rustc_query_system[76fb595000f686e]::query::plumbing::ensure_must_run::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt> + 53: 0xffff4dc5dcf4 - rustc_query_impl[5822bec21749cdb9]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 54: 0xffff4cf5cb04 - ::run::, rustc_data_structures[6659498bf83f984f]::sync::parallel::enabled::try_par_for_each_in<&[rustc_hir[28f30fc36fbe2dd]::hir_id::OwnerId], rustc_span[110ecd566fac8533]::ErrorGuaranteed, ::try_par_for_each_module::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 55: 0xffff4ceb3344 - rustc_hir_analysis[ffabaf230e32c0df]::check_crate + 56: 0xffff49df51f8 - rustc_interface[c6d09d2df6052683]::passes::analysis + 57: 0xffff4db55be8 - rustc_query_impl[5822bec21749cdb9]::plumbing::__rust_begin_short_backtrace::> + 58: 0xffff4dbec2e0 - >::call_once + 59: 0xffff4dd83594 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 60: 0xffff4dc88374 - rustc_query_impl[5822bec21749cdb9]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 61: 0xffff49c64e58 - ::enter::> + 62: 0xffff49cb0e48 - ::enter::, rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 63: 0xffff49c4e34c - rustc_span[110ecd566fac8533]::set_source_map::, rustc_interface[c6d09d2df6052683]::interface::run_compiler, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 64: 0xffff49c4f6a4 - rustc_span[110ecd566fac8533]::create_session_globals_then::, rustc_interface[c6d09d2df6052683]::util::run_in_thread_pool_with_globals, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}> + 65: 0xffff49c8c41c - std[1d40ebb4f03b22f]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 66: 0xffff49c8ea94 - <::spawn_unchecked_, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#1} as core[838b3e1bdd7b2528]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 67: 0xffff490aedec - as core::ops::function::FnOnce>::call_once::h1f7775aec6307416 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 68: 0xffff490aedec - as core::ops::function::FnOnce>::call_once::h8daafd2ebd74fb9c + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 69: 0xffff490aedec - std::sys::pal::unix::thread::Thread::new::thread_start::h48ec715059e6bb79 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 70: 0xffff48ef38a0 - start_thread + 71: 0xffff48f5d04c - thread_start + 72: 0x0 - + + +rustc version: 1.77.0-nightly (635124704 2024-01-27) +platform: aarch64-unknown-linux-gnu + +query stack during panic: +#0 [evaluate_obligation] evaluating trait selection obligation `{coroutine witness@axum_login::session::AuthSession::logout::{closure#0}::{closure#0}::{closure#0}}: core::marker::Send` +#1 [mir_borrowck] borrow-checking `::run_body` +#2 [analysis] running analysis passes on this crate +end of query stack +delayed span bug: {OpaqueTypeKey { def_id: DefId(0:1283 ~ site_app[690c]::{impl#21}::run_body::{opaque#0}), args: [] }: OpaqueTypeDecl { hidden_type: OpaqueHiddenType { span: crates/site-app/src/lib.rs:101:1: 101:18 (#559), ty: Coroutine(DefId(0:1025 ~ site_app[690c]::{impl#21}::run_body::{closure#0}), [std::future::ResumeTy, (), std::result::Result<(), leptos::ServerFnError>, CoroutineWitness(DefId(0:1025 ~ site_app[690c]::{impl#21}::run_body::{closure#0}), []), ()]) } }} + 0: std::backtrace_rs::backtrace::libunwind::trace + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: std::backtrace_rs::backtrace::trace_unsynchronized + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: std::backtrace::Backtrace::create + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: ::emit_diagnostic + 4: ::emit_diagnostic + 5: ::emit_producing_error_guaranteed + 6: ::drop + 7: core::ptr::drop_in_place:: + 8: rustc_borrowck::mir_borrowck + 9: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 10: >::call_once + 11: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 12: rustc_query_system::query::plumbing::force_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + 13: ::{closure#0} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_query_system::dep_graph::dep_node::DepNode)>>::call_once + 14: >::try_mark_previous_green:: + 15: >::try_mark_previous_green:: + 16: >::try_mark_previous_green:: + 17: >::try_mark_previous_green:: + 18: >::try_mark_green:: + 19: rustc_query_system::query::plumbing::ensure_must_run::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + 20: rustc_query_impl::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 21: ::run::, rustc_data_structures::sync::parallel::enabled::try_par_for_each_in<&[rustc_hir::hir_id::OwnerId], rustc_span::ErrorGuaranteed, ::try_par_for_each_module::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 22: rustc_hir_analysis::check_crate + 23: rustc_interface::passes::analysis + 24: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 25: >::call_once + 26: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 27: rustc_query_impl::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 28: ::enter::> + 29: ::enter::, rustc_span::ErrorGuaranteed>> + 30: rustc_span::set_source_map::, rustc_interface::interface::run_compiler, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 31: rustc_span::create_session_globals_then::, rustc_interface::util::run_in_thread_pool_with_globals, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}> + 32: std::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>> + 33: <::spawn_unchecked_, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 34: as core::ops::function::FnOnce>::call_once + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 35: as core::ops::function::FnOnce>::call_once + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 36: std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 37: start_thread + 38: thread_start + +thread 'rustc' panicked at library/core/src/panicking.rs:163:5: +panic in a destructor during cleanup +stack backtrace: + 0: 0xffff4908cd78 - std::backtrace_rs::backtrace::libunwind::trace::hfe54b43f8fadab45 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: 0xffff4908cd78 - std::backtrace_rs::backtrace::trace_unsynchronized::he52e9df88882b9d4 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: 0xffff4908cd78 - std::backtrace::Backtrace::create::hbc9f6b0752a7c221 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: 0xffff49c7ab24 - as core[838b3e1bdd7b2528]::ops::function::Fn<(&dyn for<'a, 'b> core[838b3e1bdd7b2528]::ops::function::Fn<(&'a core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[838b3e1bdd7b2528]::marker::Sync + core[838b3e1bdd7b2528]::marker::Send, &core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo)>>::call + 4: 0xffff490a6410 - as core::ops::function::Fn>::call::hf1ccbfb04528fac9 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2029:9 + 5: 0xffff490a6410 - std::panicking::rust_panic_with_hook::hbca97872facfc88d + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:785:13 + 6: 0xffff490a6160 - std::panicking::begin_panic_handler::{{closure}}::h651cba5bb6be54e1 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:651:13 + 7: 0xffff490a3960 - std::sys_common::backtrace::__rust_end_short_backtrace::h231c1dfaced37ebc + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys_common/backtrace.rs:171:18 + 8: 0xffff490a5f2c - rust_begin_unwind + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:647:5 + 9: 0xffff49071430 - core::panicking::panic_nounwind_fmt::runtime::h82b5902b3f5a0545 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:110:18 + 10: 0xffff49071430 - core::panicking::panic_nounwind_fmt::h2c5b3e91a1eede6e + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:122:9 + 11: 0xffff490714e4 - core::panicking::panic_nounwind_nobacktrace::hf7b0b502cc2352bd + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:163:5 + 12: 0xffff49071628 - core::panicking::panic_in_cleanup::h9f28fecec255aaae + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:256:5 + 13: 0xffff49c4e75c - rustc_span[110ecd566fac8533]::set_source_map::, rustc_interface[c6d09d2df6052683]::interface::run_compiler, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 14: 0xffff49c4f6a4 - rustc_span[110ecd566fac8533]::create_session_globals_then::, rustc_interface[c6d09d2df6052683]::util::run_in_thread_pool_with_globals, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}> + 15: 0xffff49c8c41c - std[1d40ebb4f03b22f]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 16: 0xffff49c8ea94 - <::spawn_unchecked_, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#1} as core[838b3e1bdd7b2528]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 17: 0xffff490aedec - as core::ops::function::FnOnce>::call_once::h1f7775aec6307416 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 18: 0xffff490aedec - as core::ops::function::FnOnce>::call_once::h8daafd2ebd74fb9c + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 19: 0xffff490aedec - std::sys::pal::unix::thread::Thread::new::thread_start::h48ec715059e6bb79 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 20: 0xffff48ef38a0 - start_thread + 21: 0xffff48f5d04c - thread_start + 22: 0x0 - diff --git a/rustc-ice-2024-02-16T17_29_42-29798.txt b/rustc-ice-2024-02-16T17_29_42-29798.txt new file mode 100644 index 0000000..d551f09 --- /dev/null +++ b/rustc-ice-2024-02-16T17_29_42-29798.txt @@ -0,0 +1,188 @@ +thread 'rustc' panicked at compiler/rustc_metadata/src/rmeta/def_path_hash_map.rs:23:54: +called `Option::unwrap()` on a `None` value +stack backtrace: + 0: 0xffff094dcd78 - std::backtrace_rs::backtrace::libunwind::trace::hfe54b43f8fadab45 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: 0xffff094dcd78 - std::backtrace_rs::backtrace::trace_unsynchronized::he52e9df88882b9d4 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: 0xffff094dcd78 - std::backtrace::Backtrace::create::hbc9f6b0752a7c221 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: 0xffff0a0cab24 - as core[838b3e1bdd7b2528]::ops::function::Fn<(&dyn for<'a, 'b> core[838b3e1bdd7b2528]::ops::function::Fn<(&'a core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[838b3e1bdd7b2528]::marker::Sync + core[838b3e1bdd7b2528]::marker::Send, &core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo)>>::call + 4: 0xffff094f6410 - as core::ops::function::Fn>::call::hf1ccbfb04528fac9 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2029:9 + 5: 0xffff094f6410 - std::panicking::rust_panic_with_hook::hbca97872facfc88d + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:785:13 + 6: 0xffff094f6160 - std::panicking::begin_panic_handler::{{closure}}::h651cba5bb6be54e1 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:651:13 + 7: 0xffff094f3960 - std::sys_common::backtrace::__rust_end_short_backtrace::h231c1dfaced37ebc + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys_common/backtrace.rs:171:18 + 8: 0xffff094f5f2c - rust_begin_unwind + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:647:5 + 9: 0xffff094c13ec - core::panicking::panic_fmt::hc818833dc02386fb + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:72:14 + 10: 0xffff094c146c - core::panicking::panic::h6674719cbc283852 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:144:5 + 11: 0xffff094c1378 - core::option::unwrap_failed::he0621fe73dbdbba0 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/option.rs:1978:5 + 12: 0xffff0ea0c008 - ::def_path_hash_to_def_id + 13: 0xffff0edbdafc - ::def_path_hash_to_def_id + 14: 0xffff0ef226d4 - ::extract_def_id + 15: 0xffff0df84cc4 - ::{closure#0} as core[838b3e1bdd7b2528]::ops::function::FnOnce<(rustc_middle[46473b2da0c7b084]::ty::context::TyCtxt, rustc_query_system[76fb595000f686e]::dep_graph::dep_node::DepNode)>>::call_once + 16: 0xffff0e15d048 - >::try_mark_previous_green:: + 17: 0xffff0e15d090 - >::try_mark_previous_green:: + 18: 0xffff0e15d090 - >::try_mark_previous_green:: + 19: 0xffff0e15d090 - >::try_mark_previous_green:: + 20: 0xffff0e15ce08 - >::try_mark_green:: + 21: 0xffff0e1f93e4 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, rustc_middle[46473b2da0c7b084]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 22: 0xffff0e121458 - rustc_query_impl[5822bec21749cdb9]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 23: 0xffff0e5222bc - ::evaluate_obligation + 24: 0xffff0e522660 - ::evaluate_obligation_no_overflow + 25: 0xffff0e3cd7d4 - ::process_trait_obligation + 26: 0xffff0e3cca0c - ::process_obligation + 27: 0xffff0e5233f0 - >::process_obligations:: + 28: 0xffff0e3c9514 - ::select_where_possible + 29: 0xffff0e4ac56c - ::select_all_or_error + 30: 0xffff0de4c9b4 - ::commit_if_ok::<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed, rustc_trait_selection[5526cd3ad699b104]::traits::query::type_op::custom::scrape_region_constraints::fully_perform::{closure#0}>::{closure#0}> + 31: 0xffff0de68780 - rustc_trait_selection[5526cd3ad699b104]::traits::query::type_op::custom::scrape_region_constraints::::fully_perform::{closure#0}> + 32: 0xffff0dd34728 - ::fully_perform + 33: 0xffff0dd2e8b8 - ::register_obligations + 34: 0xffff0ddf7098 - >::relate_opaques + 35: 0xffff0ddf8c0c - as rustc_middle[46473b2da0c7b084]::ty::relate::TypeRelation>::tys + 36: 0xffff0dd380b4 - ::relate_types + 37: 0xffff0dd3bdc4 - ::typeck_mir + 38: 0xffff0dd2f338 - rustc_borrowck[fb9f3ed348722c98]::type_check::type_check + 39: 0xffff0dd701e0 - rustc_borrowck[fb9f3ed348722c98]::nll::compute_regions + 40: 0xffff0dcc889c - rustc_borrowck[fb9f3ed348722c98]::do_mir_borrowck + 41: 0xffff0dcbf9f0 - rustc_borrowck[fb9f3ed348722c98]::mir_borrowck + 42: 0xffff0dfa071c - rustc_query_impl[5822bec21749cdb9]::plumbing::__rust_begin_short_backtrace::> + 43: 0xffff0dfbf8d0 - >::call_once + 44: 0xffff0e2585a8 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 45: 0xffff0e1af4d4 - rustc_query_system[76fb595000f686e]::query::plumbing::force_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt> + 46: 0xffff0df78418 - ::{closure#0} as core[838b3e1bdd7b2528]::ops::function::FnOnce<(rustc_middle[46473b2da0c7b084]::ty::context::TyCtxt, rustc_query_system[76fb595000f686e]::dep_graph::dep_node::DepNode)>>::call_once + 47: 0xffff0e15d048 - >::try_mark_previous_green:: + 48: 0xffff0e15d090 - >::try_mark_previous_green:: + 49: 0xffff0e15d090 - >::try_mark_previous_green:: + 50: 0xffff0e15d090 - >::try_mark_previous_green:: + 51: 0xffff0e15ce08 - >::try_mark_green:: + 52: 0xffff0e1b22c0 - rustc_query_system[76fb595000f686e]::query::plumbing::ensure_must_run::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt> + 53: 0xffff0e0adcf4 - rustc_query_impl[5822bec21749cdb9]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 54: 0xffff0d3acb04 - ::run::, rustc_data_structures[6659498bf83f984f]::sync::parallel::enabled::try_par_for_each_in<&[rustc_hir[28f30fc36fbe2dd]::hir_id::OwnerId], rustc_span[110ecd566fac8533]::ErrorGuaranteed, ::try_par_for_each_module::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 55: 0xffff0d303344 - rustc_hir_analysis[ffabaf230e32c0df]::check_crate + 56: 0xffff0a2451f8 - rustc_interface[c6d09d2df6052683]::passes::analysis + 57: 0xffff0dfa5be8 - rustc_query_impl[5822bec21749cdb9]::plumbing::__rust_begin_short_backtrace::> + 58: 0xffff0e03c2e0 - >::call_once + 59: 0xffff0e1d3594 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 60: 0xffff0e0d8374 - rustc_query_impl[5822bec21749cdb9]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 61: 0xffff0a0b4e58 - ::enter::> + 62: 0xffff0a100e48 - ::enter::, rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 63: 0xffff0a09e34c - rustc_span[110ecd566fac8533]::set_source_map::, rustc_interface[c6d09d2df6052683]::interface::run_compiler, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 64: 0xffff0a09f6a4 - rustc_span[110ecd566fac8533]::create_session_globals_then::, rustc_interface[c6d09d2df6052683]::util::run_in_thread_pool_with_globals, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}> + 65: 0xffff0a0dc41c - std[1d40ebb4f03b22f]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 66: 0xffff0a0dea94 - <::spawn_unchecked_, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#1} as core[838b3e1bdd7b2528]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 67: 0xffff094fedec - as core::ops::function::FnOnce>::call_once::h1f7775aec6307416 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 68: 0xffff094fedec - as core::ops::function::FnOnce>::call_once::h8daafd2ebd74fb9c + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 69: 0xffff094fedec - std::sys::pal::unix::thread::Thread::new::thread_start::h48ec715059e6bb79 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 70: 0xffff093438a0 - start_thread + 71: 0xffff093ad04c - thread_start + 72: 0x0 - + + +rustc version: 1.77.0-nightly (635124704 2024-01-27) +platform: aarch64-unknown-linux-gnu + +query stack during panic: +#0 [evaluate_obligation] evaluating trait selection obligation `{coroutine witness@axum_login::session::AuthSession::logout::{closure#0}::{closure#0}::{closure#0}}: core::marker::Send` +#1 [mir_borrowck] borrow-checking `::run_body` +#2 [analysis] running analysis passes on this crate +end of query stack +delayed span bug: {OpaqueTypeKey { def_id: DefId(0:1281 ~ site_app[3e41]::{impl#21}::run_body::{opaque#0}), args: [] }: OpaqueTypeDecl { hidden_type: OpaqueHiddenType { span: crates/site-app/src/lib.rs:101:1: 101:18 (#559), ty: Coroutine(DefId(0:1025 ~ site_app[3e41]::{impl#21}::run_body::{closure#0}), [std::future::ResumeTy, (), std::result::Result<(), leptos::ServerFnError>, CoroutineWitness(DefId(0:1025 ~ site_app[3e41]::{impl#21}::run_body::{closure#0}), []), ()]) } }} + 0: std::backtrace_rs::backtrace::libunwind::trace + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: std::backtrace_rs::backtrace::trace_unsynchronized + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: std::backtrace::Backtrace::create + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: ::emit_diagnostic + 4: ::emit_diagnostic + 5: ::emit_producing_error_guaranteed + 6: ::drop + 7: core::ptr::drop_in_place:: + 8: rustc_borrowck::mir_borrowck + 9: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 10: >::call_once + 11: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 12: rustc_query_system::query::plumbing::force_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + 13: ::{closure#0} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_query_system::dep_graph::dep_node::DepNode)>>::call_once + 14: >::try_mark_previous_green:: + 15: >::try_mark_previous_green:: + 16: >::try_mark_previous_green:: + 17: >::try_mark_previous_green:: + 18: >::try_mark_green:: + 19: rustc_query_system::query::plumbing::ensure_must_run::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + 20: rustc_query_impl::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 21: ::run::, rustc_data_structures::sync::parallel::enabled::try_par_for_each_in<&[rustc_hir::hir_id::OwnerId], rustc_span::ErrorGuaranteed, ::try_par_for_each_module::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 22: rustc_hir_analysis::check_crate + 23: rustc_interface::passes::analysis + 24: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 25: >::call_once + 26: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 27: rustc_query_impl::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 28: ::enter::> + 29: ::enter::, rustc_span::ErrorGuaranteed>> + 30: rustc_span::set_source_map::, rustc_interface::interface::run_compiler, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 31: rustc_span::create_session_globals_then::, rustc_interface::util::run_in_thread_pool_with_globals, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}> + 32: std::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>> + 33: <::spawn_unchecked_, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 34: as core::ops::function::FnOnce>::call_once + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 35: as core::ops::function::FnOnce>::call_once + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 36: std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 37: start_thread + 38: thread_start + +thread 'rustc' panicked at library/core/src/panicking.rs:163:5: +panic in a destructor during cleanup +stack backtrace: + 0: 0xffff094dcd78 - std::backtrace_rs::backtrace::libunwind::trace::hfe54b43f8fadab45 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: 0xffff094dcd78 - std::backtrace_rs::backtrace::trace_unsynchronized::he52e9df88882b9d4 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: 0xffff094dcd78 - std::backtrace::Backtrace::create::hbc9f6b0752a7c221 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: 0xffff0a0cab24 - as core[838b3e1bdd7b2528]::ops::function::Fn<(&dyn for<'a, 'b> core[838b3e1bdd7b2528]::ops::function::Fn<(&'a core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[838b3e1bdd7b2528]::marker::Sync + core[838b3e1bdd7b2528]::marker::Send, &core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo)>>::call + 4: 0xffff094f6410 - as core::ops::function::Fn>::call::hf1ccbfb04528fac9 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2029:9 + 5: 0xffff094f6410 - std::panicking::rust_panic_with_hook::hbca97872facfc88d + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:785:13 + 6: 0xffff094f6160 - std::panicking::begin_panic_handler::{{closure}}::h651cba5bb6be54e1 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:651:13 + 7: 0xffff094f3960 - std::sys_common::backtrace::__rust_end_short_backtrace::h231c1dfaced37ebc + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys_common/backtrace.rs:171:18 + 8: 0xffff094f5f2c - rust_begin_unwind + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:647:5 + 9: 0xffff094c1430 - core::panicking::panic_nounwind_fmt::runtime::h82b5902b3f5a0545 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:110:18 + 10: 0xffff094c1430 - core::panicking::panic_nounwind_fmt::h2c5b3e91a1eede6e + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:122:9 + 11: 0xffff094c14e4 - core::panicking::panic_nounwind_nobacktrace::hf7b0b502cc2352bd + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:163:5 + 12: 0xffff094c1628 - core::panicking::panic_in_cleanup::h9f28fecec255aaae + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:256:5 + 13: 0xffff0a09e75c - rustc_span[110ecd566fac8533]::set_source_map::, rustc_interface[c6d09d2df6052683]::interface::run_compiler, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 14: 0xffff0a09f6a4 - rustc_span[110ecd566fac8533]::create_session_globals_then::, rustc_interface[c6d09d2df6052683]::util::run_in_thread_pool_with_globals, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}> + 15: 0xffff0a0dc41c - std[1d40ebb4f03b22f]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 16: 0xffff0a0dea94 - <::spawn_unchecked_, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#1} as core[838b3e1bdd7b2528]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 17: 0xffff094fedec - as core::ops::function::FnOnce>::call_once::h1f7775aec6307416 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 18: 0xffff094fedec - as core::ops::function::FnOnce>::call_once::h8daafd2ebd74fb9c + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 19: 0xffff094fedec - std::sys::pal::unix::thread::Thread::new::thread_start::h48ec715059e6bb79 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 20: 0xffff093438a0 - start_thread + 21: 0xffff093ad04c - thread_start + 22: 0x0 - diff --git a/rustc-ice-2024-02-16T17_29_45-30155.txt b/rustc-ice-2024-02-16T17_29_45-30155.txt new file mode 100644 index 0000000..3b87383 --- /dev/null +++ b/rustc-ice-2024-02-16T17_29_45-30155.txt @@ -0,0 +1,188 @@ +thread 'rustc' panicked at compiler/rustc_metadata/src/rmeta/def_path_hash_map.rs:23:54: +called `Option::unwrap()` on a `None` value +stack backtrace: + 0: 0xffff47a3cd78 - std::backtrace_rs::backtrace::libunwind::trace::hfe54b43f8fadab45 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: 0xffff47a3cd78 - std::backtrace_rs::backtrace::trace_unsynchronized::he52e9df88882b9d4 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: 0xffff47a3cd78 - std::backtrace::Backtrace::create::hbc9f6b0752a7c221 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: 0xffff4862ab24 - as core[838b3e1bdd7b2528]::ops::function::Fn<(&dyn for<'a, 'b> core[838b3e1bdd7b2528]::ops::function::Fn<(&'a core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[838b3e1bdd7b2528]::marker::Sync + core[838b3e1bdd7b2528]::marker::Send, &core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo)>>::call + 4: 0xffff47a56410 - as core::ops::function::Fn>::call::hf1ccbfb04528fac9 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2029:9 + 5: 0xffff47a56410 - std::panicking::rust_panic_with_hook::hbca97872facfc88d + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:785:13 + 6: 0xffff47a56160 - std::panicking::begin_panic_handler::{{closure}}::h651cba5bb6be54e1 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:651:13 + 7: 0xffff47a53960 - std::sys_common::backtrace::__rust_end_short_backtrace::h231c1dfaced37ebc + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys_common/backtrace.rs:171:18 + 8: 0xffff47a55f2c - rust_begin_unwind + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:647:5 + 9: 0xffff47a213ec - core::panicking::panic_fmt::hc818833dc02386fb + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:72:14 + 10: 0xffff47a2146c - core::panicking::panic::h6674719cbc283852 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:144:5 + 11: 0xffff47a21378 - core::option::unwrap_failed::he0621fe73dbdbba0 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/option.rs:1978:5 + 12: 0xffff4cf6c008 - ::def_path_hash_to_def_id + 13: 0xffff4d31dafc - ::def_path_hash_to_def_id + 14: 0xffff4d4826d4 - ::extract_def_id + 15: 0xffff4c4e4cc4 - ::{closure#0} as core[838b3e1bdd7b2528]::ops::function::FnOnce<(rustc_middle[46473b2da0c7b084]::ty::context::TyCtxt, rustc_query_system[76fb595000f686e]::dep_graph::dep_node::DepNode)>>::call_once + 16: 0xffff4c6bd048 - >::try_mark_previous_green:: + 17: 0xffff4c6bd090 - >::try_mark_previous_green:: + 18: 0xffff4c6bd090 - >::try_mark_previous_green:: + 19: 0xffff4c6bd090 - >::try_mark_previous_green:: + 20: 0xffff4c6bce08 - >::try_mark_green:: + 21: 0xffff4c7593e4 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, rustc_middle[46473b2da0c7b084]::query::erase::Erased<[u8; 2usize]>>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 22: 0xffff4c681458 - rustc_query_impl[5822bec21749cdb9]::query_impl::evaluate_obligation::get_query_incr::__rust_end_short_backtrace + 23: 0xffff4ca822bc - ::evaluate_obligation + 24: 0xffff4ca82660 - ::evaluate_obligation_no_overflow + 25: 0xffff4c92d7d4 - ::process_trait_obligation + 26: 0xffff4c92ca0c - ::process_obligation + 27: 0xffff4ca833f0 - >::process_obligations:: + 28: 0xffff4c929514 - ::select_where_possible + 29: 0xffff4ca0c56c - ::select_all_or_error + 30: 0xffff4c3ac9b4 - ::commit_if_ok::<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed, rustc_trait_selection[5526cd3ad699b104]::traits::query::type_op::custom::scrape_region_constraints::fully_perform::{closure#0}>::{closure#0}> + 31: 0xffff4c3c8780 - rustc_trait_selection[5526cd3ad699b104]::traits::query::type_op::custom::scrape_region_constraints::::fully_perform::{closure#0}> + 32: 0xffff4c294728 - ::fully_perform + 33: 0xffff4c28e8b8 - ::register_obligations + 34: 0xffff4c357098 - >::relate_opaques + 35: 0xffff4c358c0c - as rustc_middle[46473b2da0c7b084]::ty::relate::TypeRelation>::tys + 36: 0xffff4c2980b4 - ::relate_types + 37: 0xffff4c29bdc4 - ::typeck_mir + 38: 0xffff4c28f338 - rustc_borrowck[fb9f3ed348722c98]::type_check::type_check + 39: 0xffff4c2d01e0 - rustc_borrowck[fb9f3ed348722c98]::nll::compute_regions + 40: 0xffff4c22889c - rustc_borrowck[fb9f3ed348722c98]::do_mir_borrowck + 41: 0xffff4c21f9f0 - rustc_borrowck[fb9f3ed348722c98]::mir_borrowck + 42: 0xffff4c50071c - rustc_query_impl[5822bec21749cdb9]::plumbing::__rust_begin_short_backtrace::> + 43: 0xffff4c51f8d0 - >::call_once + 44: 0xffff4c7b85a8 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 45: 0xffff4c70f4d4 - rustc_query_system[76fb595000f686e]::query::plumbing::force_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt> + 46: 0xffff4c4d8418 - ::{closure#0} as core[838b3e1bdd7b2528]::ops::function::FnOnce<(rustc_middle[46473b2da0c7b084]::ty::context::TyCtxt, rustc_query_system[76fb595000f686e]::dep_graph::dep_node::DepNode)>>::call_once + 47: 0xffff4c6bd048 - >::try_mark_previous_green:: + 48: 0xffff4c6bd090 - >::try_mark_previous_green:: + 49: 0xffff4c6bd090 - >::try_mark_previous_green:: + 50: 0xffff4c6bd090 - >::try_mark_previous_green:: + 51: 0xffff4c6bce08 - >::try_mark_green:: + 52: 0xffff4c7122c0 - rustc_query_system[76fb595000f686e]::query::plumbing::ensure_must_run::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt> + 53: 0xffff4c60dcf4 - rustc_query_impl[5822bec21749cdb9]::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 54: 0xffff4b90cb04 - ::run::, rustc_data_structures[6659498bf83f984f]::sync::parallel::enabled::try_par_for_each_in<&[rustc_hir[28f30fc36fbe2dd]::hir_id::OwnerId], rustc_span[110ecd566fac8533]::ErrorGuaranteed, ::try_par_for_each_module::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 55: 0xffff4b863344 - rustc_hir_analysis[ffabaf230e32c0df]::check_crate + 56: 0xffff487a51f8 - rustc_interface[c6d09d2df6052683]::passes::analysis + 57: 0xffff4c505be8 - rustc_query_impl[5822bec21749cdb9]::plumbing::__rust_begin_short_backtrace::> + 58: 0xffff4c59c2e0 - >::call_once + 59: 0xffff4c733594 - rustc_query_system[76fb595000f686e]::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl[5822bec21749cdb9]::plumbing::QueryCtxt, true> + 60: 0xffff4c638374 - rustc_query_impl[5822bec21749cdb9]::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 61: 0xffff48614e58 - ::enter::> + 62: 0xffff48660e48 - ::enter::, rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 63: 0xffff485fe34c - rustc_span[110ecd566fac8533]::set_source_map::, rustc_interface[c6d09d2df6052683]::interface::run_compiler, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 64: 0xffff485ff6a4 - rustc_span[110ecd566fac8533]::create_session_globals_then::, rustc_interface[c6d09d2df6052683]::util::run_in_thread_pool_with_globals, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}> + 65: 0xffff4863c41c - std[1d40ebb4f03b22f]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 66: 0xffff4863ea94 - <::spawn_unchecked_, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#1} as core[838b3e1bdd7b2528]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 67: 0xffff47a5edec - as core::ops::function::FnOnce>::call_once::h1f7775aec6307416 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 68: 0xffff47a5edec - as core::ops::function::FnOnce>::call_once::h8daafd2ebd74fb9c + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 69: 0xffff47a5edec - std::sys::pal::unix::thread::Thread::new::thread_start::h48ec715059e6bb79 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 70: 0xffff478a38a0 - start_thread + 71: 0xffff4790d04c - thread_start + 72: 0x0 - + + +rustc version: 1.77.0-nightly (635124704 2024-01-27) +platform: aarch64-unknown-linux-gnu + +query stack during panic: +#0 [evaluate_obligation] evaluating trait selection obligation `{coroutine witness@axum_login::session::AuthSession::logout::{closure#0}::{closure#0}::{closure#0}}: core::marker::Send` +#1 [mir_borrowck] borrow-checking `::run_body` +#2 [analysis] running analysis passes on this crate +end of query stack +delayed span bug: {OpaqueTypeKey { def_id: DefId(0:1332 ~ site_app[e129]::{impl#21}::run_body::{opaque#0}), args: [] }: OpaqueTypeDecl { hidden_type: OpaqueHiddenType { span: crates/site-app/src/lib.rs:101:1: 101:18 (#722), ty: Coroutine(DefId(0:1076 ~ site_app[e129]::{impl#21}::run_body::{closure#0}), [std::future::ResumeTy, (), std::result::Result<(), leptos::ServerFnError>, CoroutineWitness(DefId(0:1076 ~ site_app[e129]::{impl#21}::run_body::{closure#0}), []), ()]) } }} + 0: std::backtrace_rs::backtrace::libunwind::trace + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: std::backtrace_rs::backtrace::trace_unsynchronized + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: std::backtrace::Backtrace::create + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: ::emit_diagnostic + 4: ::emit_diagnostic + 5: ::emit_producing_error_guaranteed + 6: ::drop + 7: core::ptr::drop_in_place:: + 8: rustc_borrowck::mir_borrowck + 9: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 10: >::call_once + 11: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 12: rustc_query_system::query::plumbing::force_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + 13: ::{closure#0} as core::ops::function::FnOnce<(rustc_middle::ty::context::TyCtxt, rustc_query_system::dep_graph::dep_node::DepNode)>>::call_once + 14: >::try_mark_previous_green:: + 15: >::try_mark_previous_green:: + 16: >::try_mark_previous_green:: + 17: >::try_mark_previous_green:: + 18: >::try_mark_green:: + 19: rustc_query_system::query::plumbing::ensure_must_run::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt> + 20: rustc_query_impl::query_impl::check_mod_type_wf::get_query_incr::__rust_end_short_backtrace + 21: ::run::, rustc_data_structures::sync::parallel::enabled::try_par_for_each_in<&[rustc_hir::hir_id::OwnerId], rustc_span::ErrorGuaranteed, ::try_par_for_each_module::{closure#0}>::{closure#0}::{closure#0}::{closure#0}> + 22: rustc_hir_analysis::check_crate + 23: rustc_interface::passes::analysis + 24: rustc_query_impl::plumbing::__rust_begin_short_backtrace::> + 25: >::call_once + 26: rustc_query_system::query::plumbing::try_execute_query::>, false, false, false>, rustc_query_impl::plumbing::QueryCtxt, true> + 27: rustc_query_impl::query_impl::analysis::get_query_incr::__rust_end_short_backtrace + 28: ::enter::> + 29: ::enter::, rustc_span::ErrorGuaranteed>> + 30: rustc_span::set_source_map::, rustc_interface::interface::run_compiler, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 31: rustc_span::create_session_globals_then::, rustc_interface::util::run_in_thread_pool_with_globals, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}> + 32: std::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>> + 33: <::spawn_unchecked_, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#0}::{closure#0}, core::result::Result<(), rustc_span::ErrorGuaranteed>>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 34: as core::ops::function::FnOnce>::call_once + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 35: as core::ops::function::FnOnce>::call_once + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 36: std::sys::pal::unix::thread::Thread::new::thread_start + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 37: start_thread + 38: thread_start + +thread 'rustc' panicked at library/core/src/panicking.rs:163:5: +panic in a destructor during cleanup +stack backtrace: + 0: 0xffff47a3cd78 - std::backtrace_rs::backtrace::libunwind::trace::hfe54b43f8fadab45 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/libunwind.rs:104:5 + 1: 0xffff47a3cd78 - std::backtrace_rs::backtrace::trace_unsynchronized::he52e9df88882b9d4 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 + 2: 0xffff47a3cd78 - std::backtrace::Backtrace::create::hbc9f6b0752a7c221 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/backtrace.rs:331:13 + 3: 0xffff4862ab24 - as core[838b3e1bdd7b2528]::ops::function::Fn<(&dyn for<'a, 'b> core[838b3e1bdd7b2528]::ops::function::Fn<(&'a core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo<'b>,), Output = ()> + core[838b3e1bdd7b2528]::marker::Sync + core[838b3e1bdd7b2528]::marker::Send, &core[838b3e1bdd7b2528]::panic::panic_info::PanicInfo)>>::call + 4: 0xffff47a56410 - as core::ops::function::Fn>::call::hf1ccbfb04528fac9 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2029:9 + 5: 0xffff47a56410 - std::panicking::rust_panic_with_hook::hbca97872facfc88d + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:785:13 + 6: 0xffff47a56160 - std::panicking::begin_panic_handler::{{closure}}::h651cba5bb6be54e1 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:651:13 + 7: 0xffff47a53960 - std::sys_common::backtrace::__rust_end_short_backtrace::h231c1dfaced37ebc + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys_common/backtrace.rs:171:18 + 8: 0xffff47a55f2c - rust_begin_unwind + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/panicking.rs:647:5 + 9: 0xffff47a21430 - core::panicking::panic_nounwind_fmt::runtime::h82b5902b3f5a0545 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:110:18 + 10: 0xffff47a21430 - core::panicking::panic_nounwind_fmt::h2c5b3e91a1eede6e + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:122:9 + 11: 0xffff47a214e4 - core::panicking::panic_nounwind_nobacktrace::hf7b0b502cc2352bd + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:163:5 + 12: 0xffff47a21628 - core::panicking::panic_in_cleanup::h9f28fecec255aaae + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/core/src/panicking.rs:256:5 + 13: 0xffff485fe75c - rustc_span[110ecd566fac8533]::set_source_map::, rustc_interface[c6d09d2df6052683]::interface::run_compiler, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}::{closure#0}> + 14: 0xffff485ff6a4 - rustc_span[110ecd566fac8533]::create_session_globals_then::, rustc_interface[c6d09d2df6052683]::util::run_in_thread_pool_with_globals, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}> + 15: 0xffff4863c41c - std[1d40ebb4f03b22f]::sys_common::backtrace::__rust_begin_short_backtrace::, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>> + 16: 0xffff4863ea94 - <::spawn_unchecked_, rustc_driver_impl[edadd7b1a6953e1b]::run_compiler::{closure#0}>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#0}::{closure#0}, core[838b3e1bdd7b2528]::result::Result<(), rustc_span[110ecd566fac8533]::ErrorGuaranteed>>::{closure#1} as core[838b3e1bdd7b2528]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} + 17: 0xffff47a5edec - as core::ops::function::FnOnce>::call_once::h1f7775aec6307416 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 18: 0xffff47a5edec - as core::ops::function::FnOnce>::call_once::h8daafd2ebd74fb9c + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/alloc/src/boxed.rs:2015:9 + 19: 0xffff47a5edec - std::sys::pal::unix::thread::Thread::new::thread_start::h48ec715059e6bb79 + at /rustc/635124704849eeead4e3a7bb6e663c5351571d93/library/std/src/sys/pal/unix/thread.rs:108:17 + 20: 0xffff478a38a0 - start_thread + 21: 0xffff4790d04c - thread_start + 22: 0x0 -