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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to