Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--no-default-features is broken for parquet #733

Closed
alamb opened this issue Aug 31, 2021 · 0 comments · Fixed by #731
Closed

--no-default-features is broken for parquet #733

alamb opened this issue Aug 31, 2021 · 0 comments · Fixed by #731
Labels
bug parquet Changes to the parquet crate

Comments

@alamb
Copy link
Contributor

alamb commented Aug 31, 2021

Describe the bug
A clear and concise description of what the bug is.

To Reproduce

-*- mode: compilation; default-directory: "~/Software/arrow-rs/" -*-
Compilation started at Tue Aug 31 07:18:54

cd /Users/alamb/Software/arrow-rs && cargo test -p parquet --no-default-features
   Compiling cc v1.0.69
   Compiling parquet v6.0.0-SNAPSHOT (/Users/alamb/Software/arrow-rs/parquet)
error[E0433]: failed to resolve: use of undeclared crate or module `arrow`
   --> parquet/src/data_type.rs:591:9
    |
591 |     use arrow::util::bit_util::round_upto_power_of_2;
    |         ^^^^^ use of undeclared crate or module `arrow`

error[E0433]: failed to resolve: use of undeclared crate or module `arrow`
  --> parquet/src/util/test_common/file_util.rs:23:28
   |
23 |         PathBuf::from_str(&arrow::util::test_util::parquet_test_data()).unwrap();
   |                            ^^^^^ use of undeclared crate or module `arrow`

error[E0425]: cannot find function `round_upto_power_of_2` in this scope
   --> parquet/src/data_type.rs:677:36
    |
677 |                 let bytes_needed = round_upto_power_of_2(bytes_needed, 256);
    |                                    ^^^^^^^^^^^^^^^^^^^^^ not found in this scope

   Compiling lz4-sys v1.9.2
   Compiling lz4 v1.23.2
error: aborting due to 3 previous errors

Some errors have detailed explanations: E0425, E0433.
For more information about an error, try `rustc --explain E0425`.
error: could not compile `parquet`

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

Compilation exited abnormally with code 101 at Tue Aug 31 07:18:58

Expected behavior
The parquet crate should compile successfully

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug parquet Changes to the parquet crate
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant