cat-in-136/ws2812-esp32-rmt-driver

Build failed on github workflow

Closed this issue · 0 comments

Errors raised on crossbeam-utils-0.8.8.

     Running `rustc --crate-name crossbeam_utils --edition=2018 /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-utils-0.8.8/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="lazy_static"' --cfg 'feature="std"' -C metadata=c8167e716887b639 -C extra-filename=-c8167e716887b639 --out-dir /home/runner/work/ws2812-esp32-rmt-driver/ws2812-esp32-rmt-driver/target/debug/deps -L dependency=/home/runner/work/ws2812-esp32-rmt-driver/ws2812-esp32-rmt-driver/target/debug/deps --extern cfg_if=/home/runner/work/ws2812-esp32-rmt-driver/ws2812-esp32-rmt-driver/target/debug/deps/libcfg_if-f54d7254a4f5c5f1.rmeta --extern lazy_static=/home/runner/work/ws2812-esp32-rmt-driver/ws2812-esp32-rmt-driver/target/debug/deps/liblazy_static-34247ca5ec35351b.rmeta --cap-lints allow`
error[E0460]: found possibly newer version of crate `std` which `lazy_static` depends on
  --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-utils-0.8.8/src/sync/sharded_lock.rs:13:5
   |
13 | use lazy_static::lazy_static;
   |     ^^^^^^^^^^^
   |
   = note: perhaps that crate needs to be recompiled?
   = note: the following crate versions were found:
           crate `std`: /home/runner/.rustup/toolchains/esp/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c5a44e5312f8d766.rlib
           crate `std`: /home/runner/.rustup/toolchains/esp/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-c5a44e5312f8d766.so
           crate `lazy_static`: /home/runner/work/ws2812-esp32-rmt-driver/ws2812-esp32-rmt-driver/target/debug/deps/liblazy_static-34247ca5ec35351b.rmeta

error: cannot find macro `lazy_static` in this scope
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-utils-0.8.8/src/sync/sharded_lock.rs:586:1
    |
586 | lazy_static! {
    | ^^^^^^^^^^^

error[E0425]: cannot find value `THREAD_INDICES` in this scope
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-utils-0.8.8/src/sync/sharded_lock.rs:604:27
    |
604 |         let mut indices = THREAD_INDICES.lock().unwrap();
    |                           ^^^^^^^^^^^^^^ not found in this scope

error[E0425]: cannot find value `THREAD_INDICES` in this scope
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-utils-0.8.8/src/sync/sharded_lock.rs:613:27
    |
613 |         let mut indices = THREAD_INDICES.lock().unwrap();
    |                           ^^^^^^^^^^^^^^ not found in this scope

For more information about this error, try `rustc --explain E0425`.
error: could not compile `crossbeam-utils` due to 4 previous errors

Caused by:
  process didn't exit successfully: `rustc --crate-name crossbeam_utils --edition=2018 /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/crossbeam-utils-0.8.8/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="lazy_static"' --cfg 'feature="std"' -C metadata=c8167e716887b639 -C extra-filename=-c8167e716887b639 --out-dir /home/runner/work/ws2812-esp32-rmt-driver/ws2812-esp32-rmt-driver/target/debug/deps -L dependency=/home/runner/work/ws2812-esp32-rmt-driver/ws2812-esp32-rmt-driver/target/debug/deps --extern cfg_if=/home/runner/work/ws2812-esp32-rmt-driver/ws2812-esp32-rmt-driver/target/debug/deps/libcfg_if-f54d7254a4f5c5f1.rmeta --extern lazy_static=/home/runner/work/ws2812-esp32-rmt-driver/ws2812-esp32-rmt-driver/target/debug/deps/liblazy_static-34247ca5ec35351b.rmeta --cap-lints allow` (exit status: 1)
warning: build failed, waiting for other jobs to finish...
error: build failed
Error: Process completed with exit code 101.