[ https://issues.apache.org/jira/browse/ARROW-4189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17661213#comment-17661213 ]
Rok Mihevc commented on ARROW-4189: ----------------------------------- This issue has been migrated to [issue #20771|https://github.com/apache/arrow/issues/20771] on GitHub. Please see the [migration documentation|https://github.com/apache/arrow/issues/14542] for further details. > [CI] [Rust] Fix broken cargo coverage > ------------------------------------- > > Key: ARROW-4189 > URL: https://issues.apache.org/jira/browse/ARROW-4189 > Project: Apache Arrow > Issue Type: Test > Components: Rust > Reporter: Chao Sun > Assignee: Jorge Leitão > Priority: Major > Labels: pull-request-available > Fix For: 2.0.0 > > Time Spent: 9h 10m > Remaining Estimate: 0h > > The Rust {{cargo coverage}} is failing with the following error: > {code} > warning: unused manifest key: package.edition > warning: unused manifest key: package.edition > ... > error[E0432]: unresolved import `num` > --> arrow/src/array_ops.rs:22:5 > | > 22 | use num::Zero; > | ^^^ did you mean `std::num`? > error[E0432]: unresolved imports `self::csv_crate::StringRecord`, > `self::csv_crate::StringRecordsIntoIter` > --> arrow/src/csv/reader.rs:55:23 > | > 55 | use self::csv_crate::{StringRecord, StringRecordsIntoIter}; > | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ no > `StringRecordsIntoIter` in `csv` > | | > | no `StringRecord` in `csv` > error[E0432]: unresolved import `serde_derive` > --> arrow/src/datatypes.rs:29:5 > | > 29 | use serde_derive::{Deserialize, Serialize}; > | ^^^^^^^^^^^^ maybe a missing `extern crate serde_derive;`? > error[E0432]: unresolved import `serde_json` > --> arrow/src/datatypes.rs:30:5 > | > 30 | use serde_json::{json, Value}; > | ^^^^^^^^^^ maybe a missing `extern crate serde_json;`? > error[E0432]: unresolved import `libc` > --> arrow/src/memory.rs:18:5 > | > 18 | use libc; > | ^^^^ no `libc` in the root > error[E0432]: unresolved import `rand` > --> arrow/src/util/test_util.rs:18:5 > | > 18 | use rand::{thread_rng, Rng}; > | ^^^^ maybe a missing `extern crate rand;`? > ... > {code} > perhaps because it doesn't recognize Rust 2018 edition. -- This message was sent by Atlassian Jira (v8.20.10#820010)