Comments (7)
fixed after cargo clean
from rust.
It's great that you managed to get your own workflow going by running cargo clean
, but that papers over the problem. Crashes like this are not acceptable compiler behavior. I added this assertion in order to more clearly detect a bug if there was one, and clearly there is.
from rust.
this panic happens after I fix an out-of-disk problem
from rust.
Ooooo I thought I fixed all of the out-of-disk problems in 1.77. I'll take a look again.
from rust.
this panic happens after I fix an out-of-disk problem
Ah I see you edited your message. What do you mean by "fix" here? Did you run out of disk during a build, then free up some space, then try to compile again and get this crash?
from rust.
this panic happens after I fix an out-of-disk problem
Ah I see you edited your message. What do you mean by "fix" here? Did you run out of disk during a build, then free up some space, then try to compile again and get this crash?
IIRC, this is the case
I'm working on a proxmox virtual machine
I notice proxmox's io-error
(a yellow symbol) when I was using rust-analyzer in vscode,
then cleanup disk, with a lot of reboots
then compile, then panic
from rust.
I've just hit the same assertion after recompiling after a power failure.
I think we may need to call fsync
/ File::sync_all
on the dep-graph.part.bin
file before renaming it to dep-graph.bin
, otherwise data might get lost.
backtrace
thread 'rustc' panicked at /rustc/efd9d2df12b5e17fac0b4d0fb89f612ecd79f259/compiler/rustc_query_system/src/dep_graph/serialized.rs:190:9:
assertion `left == right` failed
left: 30725197
right: 32962287060911799
stack backtrace:
0: rust_begin_unwind
at /rustc/efd9d2df12b5e17fac0b4d0fb89f612ecd79f259/library/std/src/panicking.rs:645:5
1: core::panicking::panic_fmt
at /rustc/efd9d2df12b5e17fac0b4d0fb89f612ecd79f259/library/core/src/panicking.rs:72:14
2: core::panicking::assert_failed_inner
at /rustc/efd9d2df12b5e17fac0b4d0fb89f612ecd79f259/library/core/src/panicking.rs:343:17
3: core::panicking::assert_failed::<usize, usize>
4: rustc_incremental::persist::load::setup_dep_graph
5: <rustc_interface::queries::Queries>::global_ctxt
6: rustc_interface::interface::run_compiler::<core::result::Result<(), rustc_span::ErrorGuaranteed>, rustc_driver_impl::run_compiler::{closure#0}>::{closure#0}
from rust.
Related Issues (20)
- impl FnOnce hidden type captures more than the closure itself HOT 1
- ICE: solver coherence: 'called `Result::unwrap()` on an `Err` value: Sorts(ExpectedFound { expected: u32, found: u16 })' HOT 5
- ICE: 'only `variances_of` returns `&[ty::Variance]`'
- ICE: `!base.layout().is_sized()` HOT 1
- Associated function from super traits not accessible via sub traits HOT 3
- ICE: `error performing ParamEnvAnd { ... }` possibly related to (lack of) HRTBs in closures HOT 1
- regression: conflicting implementations between `#[fundamental]` generic type and `FnPtr` HOT 5
- cargo check --all --all-targets --all-features fails on project (cleaning target dir fixes it)
- Add a more precise niche information to BorroweFd OwnedFd in regards to ffi arguments HOT 2
- Compilation failed when emitting mir HOT 1
- Unable to statically link a native library if there a dynamic library in the same directory. HOT 7
- ICE: `write_immediate_to_mplace: invalid Scalar layout: TyAndLayout` HOT 1
- tests/ui/attributes/unix_sigpipe/unix_sigpipe-inherit.rs no longer passes locally HOT 6
- A thread can stop execution without dropping its packet HOT 1
- A thread closure's destructor can panic in `std::thread::spawn` on Windows HOT 7
- rustc panic! after refactoring a const variable using find HOT 12
- Confusing mismatched types error with the same expected/found types when universes are involved HOT 1
- Universe errors involving an opaque type results in hallucinations and unused bound vars HOT 7
- Higher ranked types in trait bounds result in confusing diagnostics
- `offset_of` returns a temporary HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust.