You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Chao Sun (JIRA)" <ji...@apache.org> on 2019/01/08 07:45:00 UTC
[jira] [Created] (ARROW-4189) [Rust] Fix broken cargo coverage
Chao Sun created ARROW-4189:
-------------------------------
Summary: [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
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
(v7.6.3#76005)