[
https://issues.apache.org/jira/browse/ARROW-9628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17169936#comment-17169936
]
Andrew Lamb commented on ARROW-9628:
------------------------------------
I looked into the build failure and also couldn't reproduce it or really
understand it yet.
What is really strange is that the standard output of the failure,
https://github.com/apache/arrow/runs/937976656, reports that prost-derive
v.0.6.1 was actually downloaded a few lines prior to the error that
prost_derive can't be found:
```
...
Downloaded prost-derive v0.6.1
Downloaded net2 v0.2.34
Downloaded memchr v2.3.3
Downloaded futures-task v0.3.5
Downloaded num-complex v0.3.0
Downloaded multimap v0.8.1
Downloaded http v0.2.1
Downloaded futures-channel v0.3.5
Downloaded bytes v0.5.6
Downloaded autocfg v1.0.0
Downloaded heck v0.3.1
Downloaded aho-corasick v0.7.13
Downloaded fnv v1.0.7
Downloaded futures-io v0.3.5
Downloaded base64 v0.11.0
Downloaded dirs v1.0.5
error[E0463]: can't find crate for `prost_derive` which `tonic_build` depends on
--> arrow-flight/build.rs:36:9
|
36 | tonic_build::compile_protos("../../format/Flight.proto")?;
| ^^^^^^^^^^^ can't find crate
error: aborting due to previous error
```
I couldn't quite figure out where
https://github.com/apache/arrow/runs/938082881 actually ran Clippy.
My next step will be to try and reproduce the error via CI
> [Rust][DataFusion] Clippy PR test failing intermittently on Rust / AMD64
> MacOS
> -------------------------------------------------------------------------------
>
> Key: ARROW-9628
> URL: https://issues.apache.org/jira/browse/ARROW-9628
> Project: Apache Arrow
> Issue Type: Bug
> Reporter: Andrew Lamb
> Assignee: Andrew Lamb
> Priority: Major
>
> As reported by [~jorgecarleitao], on
> https://github.com/apache/arrow/commit/aa6889a74c57d6faea0d27ea8013d9b0c7ef809a#commitcomment-41124305
> " I believe that this is somehow interacting with the caching system and
> sometimes failing the build of clippy. E.g. this build is failing for Mac OS,
> and it hits the cache: https://github.com/apache/arrow/runs/937976656
> {code}
> Downloaded heck v0.3.1
> Downloaded aho-corasick v0.7.13
> Downloaded fnv v1.0.7
> Downloaded futures-io v0.3.5
> Downloaded base64 v0.11.0
> Downloaded dirs v1.0.5
> Downloaded async-stream-impl v0.2.1
> Downloaded async-stream v0.2.1
> Downloaded anyhow v1.0.32
> Downloaded atty v0.2.14
> Downloaded num-integer v0.1.43
> Compiling arrow-flight v2.0.0-SNAPSHOT
> (/Users/runner/work/arrow/arrow/rust/arrow-flight)
> error[E0463]: can't find crate for `prost_derive` which `tonic_build` depends
> on
> --> arrow-flight/build.rs:36:9
> |
> 36 | tonic_build::compile_protos("../../format/Flight.proto")?;
> | ^^^^^^^^^^^ can't find crate
> error: aborting due to previous error
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)