You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "alamb (via GitHub)" <gi...@apache.org> on 2023/08/07 19:10:34 UTC

[GitHub] [arrow-datafusion] alamb opened a new issue, #7221: CI fails on main with `no `U32` in the root`

alamb opened a new issue, #7221:
URL: https://github.com/apache/arrow-datafusion/issues/7221

   ### Describe the bug
   
   https://github.com/apache/arrow-datafusion/actions/runs/5787613438/job/15684911180
   ```
   error[E0432]: unresolved import `zerocopy::U32`
     --> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/apache-avro-0.15.0/src/duration.rs:19:5
      |
   19 | use zerocopy::U32;
      |     ^^^^^^^^^^^^^ no `U32` in the root
      |
   help: consider importing one of these items instead
      |
   19 | use digest::consts::U32;
      |     ~~~~~~~~~~~~~~~~~~~
   19 | use rand::seq::index::IndexVec::U32;
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   19 | use rand::seq::index::IndexVecIntoIter::U32;
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   19 | use rand::seq::index::IndexVecIter::U32;
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        and 1 other candidate
   ```
   
   
   
   ### To Reproduce
   
   This worked fine for me locally until I did
   
   ```
   (arrow_dev) alamb@MacBook-Pro-8 arrow-datafusion2 % cargo update
   cargo update
       Updating crates.io index
       Updating axum v0.6.19 -> v0.6.20
       Updating cc v1.0.79 -> v1.0.82
       Updating errno v0.3.1 -> v0.3.2
       Updating linux-raw-sys v0.4.3 -> v0.4.5
       Updating matchit v0.7.0 -> v0.7.2
       Updating pin-project v1.1.2 -> v1.1.3
       Updating pin-project-internal v1.1.2 -> v1.1.3
       Updating pin-project-lite v0.2.10 -> v0.2.11
       Updating pyo3 v0.19.1 -> v0.19.2
       Updating pyo3-build-config v0.19.1 -> v0.19.2
       Updating pyo3-ffi v0.19.1 -> v0.19.2
       Updating pyo3-macros v0.19.1 -> v0.19.2
       Updating pyo3-macros-backend v0.19.1 -> v0.19.2
       Updating regex v1.9.1 -> v1.9.3
       Updating regex-automata v0.3.3 -> v0.3.6
       Updating rust_decimal v1.30.0 -> v1.31.0
       Updating rustix v0.38.4 -> v0.38.7
       Updating rustls v0.21.5 -> v0.21.6
       Updating rustls-webpki v0.101.1 -> v0.101.2
       Updating serde v1.0.175 -> v1.0.183
       Updating serde_derive v1.0.175 -> v1.0.183
       Updating serde_json v1.0.103 -> v1.0.104
       Updating sqllogictest v0.15.1 -> v0.15.2
       Updating strum_macros v0.25.1 -> v0.25.2
       Updating substrait v0.12.3 -> v0.12.4
       Updating syn v2.0.27 -> v2.0.28
       Updating target-lexicon v0.12.10 -> v0.12.11
       Updating tempfile v3.7.0 -> v3.7.1
       Updating zerocopy v0.6.1 -> v0.6.2
       Updating zerocopy-derive v0.3.2 -> v0.6.2
   (arrow_dev) alamb@MacBook-Pro-8 arrow-datafusion2 % git status
   
   ```
   
   ### Expected behavior
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] alamb closed issue #7221: CI fails on main with `no `U32` in the root`

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb closed issue #7221: CI fails on main with `no `U32` in the root`
URL: https://github.com/apache/arrow-datafusion/issues/7221


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] alamb commented on issue #7221: CI fails on main with `no `U32` in the root`

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #7221:
URL: https://github.com/apache/arrow-datafusion/issues/7221#issuecomment-1668478295

   https://crates.io/crates/zerocopy/0.6.2 has been yanked, so I think our CI should now work again. I will retrigger


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] alamb commented on issue #7221: CI fails on main with `no `U32` in the root`

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #7221:
URL: https://github.com/apache/arrow-datafusion/issues/7221#issuecomment-1688202903

   We fix


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] alamb commented on issue #7221: CI fails on main with `no `U32` in the root`

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #7221:
URL: https://github.com/apache/arrow-datafusion/issues/7221#issuecomment-1668442880

   
   
   The fact that 
   ```
       Updating zerocopy v0.6.1 -> v0.6.2
       Updating zerocopy-derive v0.3.2 -> v0.6.2
   ```
   
   Makes me believe that something about the update of the zero copy crate broke existing crates
   
   This fixes the issue:
   
   ```diff
   diff --git a/datafusion/core/Cargo.toml b/datafusion/core/Cargo.toml
   index e641fc97a5..def2dc7410 100644
   --- a/datafusion/core/Cargo.toml
   +++ b/datafusion/core/Cargo.toml
   @@ -94,6 +94,8 @@ url = "2.2"
    uuid = { version = "1.0", features = ["v4"] }
    xz2 = { version = "0.1", optional = true }
    zstd = { version = "0.12", optional = true, default-features = false }
   +# workaround https://github.com/apache/arrow-datafusion/issues/7221
   +zerocopy = "=0.6.1"
   ```
   
   I will submit a PR to DataFusion and then file a ticket upstream


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] alamb commented on issue #7221: CI fails on main with `no `U32` in the root`

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on issue #7221:
URL: https://github.com/apache/arrow-datafusion/issues/7221#issuecomment-1668459435

   Filed https://github.com/google/zerocopy/issues/228 upstream


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org