error: symbol `init___rust_ctor___ctor` is already defined
--> datafusion/optimizer/src/scalar_subquery_to_join.rs:311:5
|
311 | #[ctor::ctor]
| ^^^^^^^^^^^^^
|
= note: this error originates in the attribute macro `ctor::ctor` (in Nightly builds, run with -Z macro-backtrace for more info)
error: could not compile `datafusion-optimizer` due to previous error
Updating ctor v0.2.0 -> v0.2.1
Describe the bug
https://github.com/apache/arrow-datafusion/actions/runs/5125505760/jobs/9218772590
Fails with
To Reproduce
If you run
cargo updateThen the link error will happen
It appears this crate was released about the same time as our CI started failing: https://crates.io/crates/ctor/0.2.1
Expected behavior
No response
Additional context
No response