You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "toutane (via GitHub)" <gi...@apache.org> on 2026/04/29 13:20:52 UTC
[I] `cargo test -p iceberg-sqllogictest` fails to compile: missing tokio `rt-multi-thread` feature [iceberg-rust]
toutane opened a new issue, #2385:
URL: https://github.com/apache/iceberg-rust/issues/2385
### Apache Iceberg Rust version
None
### Describe the bug
Running `cargo test -p iceberg-sqllogictest` in isolation fails to compile with:
```bash
error[E0599]: no function or associated item named `new_multi_thread`
found for struct `tokio::runtime::Builder`
--> crates/sqllogictest/tests/sqllogictests.rs:28:39
```
`tests/sqllogictests.rs` calls `tokio::runtime::Builder::new_multi_thread()`, which requires the `tokio` `rt-multi-thread` feature. But `crates/sqllogictest/Cargo.toml` declares `tokio = { workspace = true }`, and the workspace root sets default-features = false with no features - so `rt-multi-thread` is never enabled for this crate.
### To Reproduce
```bash
git clone https://github.com/apache/iceberg-rust
cd iceberg-rust
cargo test -p iceberg-sqllogictest
```
### Expected behavior
The crate should compile and tests should run successfully when built in isolation.
Note: the bug is invisible with `make build` (`--all-features --workspace`) because `crates/examples` enables `tokio = { features = ["full"] }`, and Cargo features are additive across the workspace graph.
### Willingness to contribute
I can contribute a fix for this bug independently
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org
Re: [I] `cargo test -p iceberg-sqllogictest` fails to compile: missing tokio `rt-multi-thread` feature [iceberg-rust]
Posted by "CTTY (via GitHub)" <gi...@apache.org>.
CTTY closed issue #2385: `cargo test -p iceberg-sqllogictest` fails to compile: missing tokio `rt-multi-thread` feature
URL: https://github.com/apache/iceberg-rust/issues/2385
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org