Skip to content

Can't test or compile sub-model code after upgrade to arrow-rs 17.0.0 #2835

@liukun4515

Description

@liukun4515

Describe the bug
After upgrade to 17.0.0
I can't execute below command to build or test sub-model

cargo test  --manifest-path  arrow-datafusion/datafusion/common/Cargo.toml
   Compiling serde_json v1.0.78
error: expected item, found `"serde_json requires that either `std` (default) or `alloc` feature is enabled"`
 --> /Users/kliu3/.cargo/registry/src/mirrors.sjtug.sjtu.edu.cn-7a04d2510079875b/serde_json-1.0.78/src/features_check/error.rs:1:1
  |
1 | "serde_json requires that either `std` (default) or `alloc` feature is enabled"
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected item

I just want to test the sub-model.

I think this is caused by the arrow-rs with some changes for Cargo dependency apache/arrow-rs#1876

@martin-g

@alamb

To Reproduce
Steps to reproduce the behavior:

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions