As you can see from the above, futures_macro is built right before futures-util, but the compiler still can't find it.
Running cargo update, cargo clean, updating rust doesn't help.
Cannot reproduce. If I run cargo new foo, replace the contents of the Cargo.toml with that shown here, and run cargo build, the build is successful. I'm using Rust 1.86 on an Intel MacBook Pro.
Thanks! This didn't help.
I downgraded rustc to 1.69 and that changed the error text to the following.
error: /lib64/libc.so.6: version `GLIBC_2.33' not found (required by /tmp/a/target/debug/deps/libfutures_macro-13a70127e927243e.so)
--> /home/maximb/wd/.cargo/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.31/src/async_await/stream_select_mod.rs:5:9
|
5 | pub use futures_macro::stream_select_internal;
So I guess this is the reason.
Wondering if overriding LD_LIBRARY_PATH is the solution here.