Skip to content

internal compiler error: encountered incremental compilation error with predicates_of(6fb04e5bc1990793-47e006422773ad5b) #89035

Closed as not planned
@chotchki

Description

@chotchki

I received the following error running cargo test. As requested in the output I'm reporting before I run cargo clean.

The commit hash / link for this code is here: chotchki/feophant@558df4b

(Please note the unit tests fail since I'm in the middle of test driven development of this code).

Compiler Output

error: could not compile `feophant`

Caused by:
  could not execute process `rustc --crate-name feophantlib --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C split-debuginfo=unpacked -C debuginfo=2 -C metadata=e33cd8ebb9578e19 -C extra-filename=-e33cd8ebb9578e19 --out-dir /Users/chotchki/workspace/feophant/target/debug/deps -C incremental=/Users/chotchki/workspace/feophant/target/debug/incremental -L dependency=/Users/chotchki/workspace/feophant/target/debug/deps --extern async_stream=/Users/chotchki/workspace/feophant/target/debug/deps/libasync_stream-5f1b445c1918d368.rmeta --extern bitflags=/Users/chotchki/workspace/feophant/target/debug/deps/libbitflags-6d96a6a3f82c3a9f.rmeta --extern bytes=/Users/chotchki/workspace/feophant/target/debug/deps/libbytes-d438e20ec657c5ae.rmeta --extern futures=/Users/chotchki/workspace/feophant/target/debug/deps/libfutures-22ce26d22ff0c49f.rmeta --extern hex_literal=/Users/chotchki/workspace/feophant/target/debug/deps/libhex_literal-e9943b3bc424113d.dylib --extern log=/Users/chotchki/workspace/feophant/target/debug/deps/liblog-478be361101831ad.rmeta --extern lru=/Users/chotchki/workspace/feophant/target/debug/deps/liblru-9c7c1fca3e1facad.rmeta --extern nom=/Users/chotchki/workspace/feophant/target/debug/deps/libnom-dda3bc986b112412.rmeta --extern simplelog=/Users/chotchki/workspace/feophant/target/debug/deps/libsimplelog-5cdb454d0c6f4187.rmeta --extern thiserror=/Users/chotchki/workspace/feophant/target/debug/deps/libthiserror-f4e48f0ed1610b1e.rmeta --extern tokio=/Users/chotchki/workspace/feophant/target/debug/deps/libtokio-0bde47dd1b752259.rmeta --extern tokio_stream=/Users/chotchki/workspace/feophant/target/debug/deps/libtokio_stream-47911b6a2774c2db.rmeta --extern tokio_util=/Users/chotchki/workspace/feophant/target/debug/deps/libtokio_util-04082e7259ee4917.rmeta --extern uuid=/Users/chotchki/workspace/feophant/target/debug/deps/libuuid-64c10c19bda7598e.rmeta` (never executed)

Caused by:
  Too many open files in system (os error 23)
warning: build failed, waiting for other jobs to finish...
warning: unused import: `ItemIdData`
  --> src/engine/io/index_manager.rs:14:27
   |
14 | use super::page_formats::{ItemIdData, PageId, PageType};
   |                           ^^^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default

warning: unused import: `BufMut`
  --> src/engine/io/index_manager.rs:24:18
   |
24 | use bytes::{Buf, BufMut, BytesMut};
   |                  ^^^^^^

warning: unused import: `std::convert::TryFrom`
  --> src/engine/io/row_formats/item_pointer.rs:11:5
   |
11 | use std::convert::TryFrom;
   |     ^^^^^^^^^^^^^^^^^^^^^

error: internal compiler error: encountered incremental compilation error with predicates_of(6fb04e5bc1990793-47e006422773ad5b)
  |
  = help: This is a known issue with the compiler. Run `cargo clean -p feophantlib` or `cargo clean` to allow your project to compile
  = note: Please follow the instructions below to create a bug report with the provided information
  = note: See <https://github.com/rust-lang/rust/issues/84970> for more information

thread 'rustc' panicked at 'Found unstable fingerprints for predicates_of(6fb04e5bc1990793-47e006422773ad5b): GenericPredicates { parent: None, predicates: [(Binder(TraitPredicate(<Self as tokio_stream::Stream>), []), /Users/chotchki/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-stream-0.1.6/src/stream_ext.rs:92:22: 92:28 (#0)), (Binder(TraitPredicate(<Self as tokio_stream::StreamExt>), []), /Users/chotchki/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-stream-0.1.6/src/stream_ext.rs:92:1: 902:2 (#0))] }', /rustc/c8dfcfe046a7680554bf4eb612bad840e7631c4b/compiler/rustc_query_system/src/query/plumbing.rs:624:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

error: internal compiler error: unexpected panic

note: the compiler unexpectedly panicked. this is a bug.

note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

note: rustc 1.55.0 (c8dfcfe04 2021-09-06) running on aarch64-apple-darwin

note: compiler flags: -C embed-bitcode=no -C split-debuginfo=unpacked -C debuginfo=2 -C incremental

note: some of the compiler flags provided by cargo are hidden

query stack during panic:
#0 [predicates_of] computing predicates of `tokio_stream::StreamExt`
#1 [typeck] type-checking `engine::<impl at src/engine.rs:52:1: 109:2>::process_query`
end of query stack
warning: `feophant` (lib test) generated 3 warnings
error: build failed
The terminal process "cargo 'test'" terminated with exit code: 101.

Terminal will be reused by tasks, press any key to close it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.I-ICEIssue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions