Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-7563

[Rust] failed to select a version for `byteorder`

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Not A Problem
    • 0.14.1
    • 0.16.0
    • Rust - DataFusion
    • OS: Windows 10 home x64
      Rust: rustc 1.40.0 (73528e339 2019-12-16)
      tool-chain: stable-x86_64-pc-windows-gnu

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              andygrove Andy Grove
              huangkaibo Huang Kaibo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: