Huang Kaibo created ARROW-7563:
----------------------------------

             Summary: [Rust] Dependence of `thrift v0.12.0` is not found on 
crate.io 
                 Key: ARROW-7563
                 URL: https://issues.apache.org/jira/browse/ARROW-7563
             Project: Apache Arrow
          Issue Type: Bug
          Components: Rust - DataFusion
    Affects Versions: 0.14.1
         Environment: OS: Windows 10 home x64
Rust: rustc 1.40.0 (73528e339 2019-12-16)
tool-chain: stable-x86_64-pc-windows-gnu
            Reporter: Huang Kaibo


*Description*
builds is required by package `thrift v0.12.0` is not found on crate.io, 
supported version are: 1.2.7, 1.2.6, 1.2.5, 1.2.4, 1.2.3, 1.2.2, 1.2.1.

*Error Message*
C:\...\decision_tree>cargo build
    Updating git repository `https://github.com/apache/arrow`
    Updating crates.io index
error: failed to select a version for `byteorder`.
    ... required by package `thrift v0.12.0`
    ... which is depended on by `parquet v1.0.0-SNAPSHOT 
(https://github.com/apache/arrow#469e9cbc)`
    ... which is depended on by `datafusion v1.0.0-SNAPSHOT 
(https://github.com/apache/arrow#469e9cbc)`
    ... which is depended on by `decision_tree v0.1.0 (C:\...\decision_tree)`
versions that meet the requirements `~1.2.1` are: 1.2.7, 1.2.6, 1.2.5, 1.2.4, 
1.2.3, 1.2.2, 1.2.1

all possible versions conflict with previously selected packages.

  previously selected package `byteorder v1.3.2`
    ... which is depended on by `base64 v0.10.1`
    ... which is depended on by `rust-argon2 v0.5.1`
    ... which is depended on by `redox_users v0.3.1`
    ... which is depended on by `dirs v1.0.5`
    ... which is depended on by `rustyline v4.1.0`
    ... which is depended on by `datafusion v1.0.0-SNAPSHOT 
(https://github.com/apache/arrow#469e9cbc)`
    ... which is depended on by `decision_tree v0.1.0 (C:\...\decision_tree)`

failed to select a version for `byteorder` which could resolve this conflict

Repo steps
1. added `datafusion = { git = "https://github.com/apache/arrow"; }` to 
`[dependences]` section;
2. in the console, run `cargo build`.

*Relative issue*
https://issues.apache.org/jira/browse/ARROW-7562



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to