You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Krisztian Szucs (Jira)" <ji...@apache.org> on 2020/09/22 13:02:00 UTC

[jira] [Resolved] (ARROW-4189) [CI] [Rust] Fix broken cargo coverage

     [ https://issues.apache.org/jira/browse/ARROW-4189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Krisztian Szucs resolved ARROW-4189.
------------------------------------
    Fix Version/s: 2.0.0
       Resolution: Fixed

Issue resolved by pull request 7797
[https://github.com/apache/arrow/pull/7797]

> [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
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 2.0.0
>
>          Time Spent: 8h 40m
>  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.3.4#803005)