You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/07/13 12:56:07 UTC

[GitHub] [arrow-datafusion] andygrove opened a new issue, #2896: serde_json requires that either `std` (default) or `alloc` feature is enabled

andygrove opened a new issue, #2896:
URL: https://github.com/apache/arrow-datafusion/issues/2896

   **Describe the bug**
   I have recently been running into the error `serde_json requires that either `std` (default) or `alloc` feature is enabled` in CLion when working on DataFusion, or on projects that depend on DataFusion. This happens when attempting to run unit tests.
   
   **To Reproduce**
   I don't know if this is something specific to my environment or a more general issue.
   
   **Expected behavior**
   Should not get this error.
   
   **Additional context**
   None.
   


-- 
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: github-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] andygrove commented on issue #2896: serde_json requires that either `std` (default) or `alloc` feature is enabled

Posted by GitBox <gi...@apache.org>.
andygrove commented on issue #2896:
URL: https://github.com/apache/arrow-datafusion/issues/2896#issuecomment-1183274934

   @alamb fyi


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] tustvold commented on issue #2896: serde_json requires that either `std` (default) or `alloc` feature is enabled

Posted by GitBox <gi...@apache.org>.
tustvold commented on issue #2896:
URL: https://github.com/apache/arrow-datafusion/issues/2896#issuecomment-1200933286

   This was caused for a while by a particular version of serde_json, running `cargo update` or deleting the lockfile should make it go away


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] jdye64 commented on issue #2896: serde_json requires that either `std` (default) or `alloc` feature is enabled

Posted by GitBox <gi...@apache.org>.
jdye64 commented on issue #2896:
URL: https://github.com/apache/arrow-datafusion/issues/2896#issuecomment-1183267356

   I am also experiencing this issue. I'm using VSCode and trying to run an individual test. Running `cargo test` from the CLI also gives me the same error.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] andygrove closed issue #2896: serde_json requires that either `std` (default) or `alloc` feature is enabled

Posted by GitBox <gi...@apache.org>.
andygrove closed issue #2896: serde_json requires that either `std` (default) or `alloc` feature is enabled
URL: https://github.com/apache/arrow-datafusion/issues/2896


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] andygrove commented on issue #2896: serde_json requires that either `std` (default) or `alloc` feature is enabled

Posted by GitBox <gi...@apache.org>.
andygrove commented on issue #2896:
URL: https://github.com/apache/arrow-datafusion/issues/2896#issuecomment-1183273233

   I think the root cause may be that `arrow-rs` imports `serde-json` with no default features, which means no `std` feature. Not sure why we are only just now seeing these errors though.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] alamb commented on issue #2896: serde_json requires that either `std` (default) or `alloc` feature is enabled

Posted by GitBox <gi...@apache.org>.
alamb commented on issue #2896:
URL: https://github.com/apache/arrow-datafusion/issues/2896#issuecomment-1183627767

   Weird... I don't see this but then I don't use CLion / VSCode (I use emacs and tend to run the tests via `cargo run`)
   
   Do we know what `cargo` command CLion is running underneath (aka can we reproduce this error outside of those IDEs?)


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] andygrove commented on issue #2896: serde_json requires that either `std` (default) or `alloc` feature is enabled

Posted by GitBox <gi...@apache.org>.
andygrove commented on issue #2896:
URL: https://github.com/apache/arrow-datafusion/issues/2896#issuecomment-1183274736

   My workaround locally is to add `serde_json = "1.0.82"` to `datafusion/common/Cargo.toml`


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org