Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CodeCov build failing #357

Closed
joepio opened this issue Mar 25, 2022 · 3 comments
Closed

CodeCov build failing #357

joepio opened this issue Mar 25, 2022 · 3 comments

Comments

@joepio
Copy link
Member

joepio commented Mar 25, 2022

https://github.com/joepio/atomic-data-rust/runs/5691867486?check_suite_focus=true#step:6:351

error: no rules expected the token `aarch64_apple`
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.16.20/src/cpu.rs:257:13
    |
165 |     macro_rules! features {
    |     --------------------- when calling this macro
...
257 |             aarch64_apple: true,
    |             ^^^^^^^^^^^^^ no rules expected this token in macro call

error[E0425]: cannot find value `AES` in module `cpu::arm`
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.16.20/src/aead/aes.rs:[381](https://github.com/joepio/atomic-data-rust/runs/5691867486?check_suite_focus=true#step:6:381):65
    |
381 |         if cpu::intel::AES.available(cpu_features) || cpu::arm::AES.available(cpu_features) {
    |                                                                 ^^^ not found in `cpu::arm`
    |
help: consider importing this constant
    |
15  | use crate::cpu::intel::AES;
    |

error[E0425]: cannot find value `PMULL` in module `cpu::arm`
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.16.20/src/aead/gcm.rs:315:26
    |
315 |             || cpu::arm::PMULL.available(cpu_features)
    |                          ^^^^^ not found in `cpu::arm`

error[E0425]: cannot find value `ARMCAP_STATIC` in this scope
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/ring-0.16.20/src/cpu.rs:235:41
    |
235 |             if self.mask == self.mask & ARMCAP_STATIC {
    |                                         ^^^^^^^^^^^^^ not found in this scope

For more information about this error, try `rustc --explain E0425`.
error: could not compile `ring` due to 4 previous errors
warning: build failed, waiting for other jobs to finish...
error: build failed
error: process didn't exit successfully: `cargo +nightly test --tests --workspace --manifest-path /home/runner/work/atomic-data-rust/atomic-data-rust/Cargo.toml --target-dir /home/runner/work/atomic-data-rust/atomic-data-rust/target/llvm-cov-target --all-features --color never` (exit status: 101)
Error: Process completed with exit code 1.
joepio added a commit that referenced this issue Mar 25, 2022
joepio added a commit that referenced this issue Mar 28, 2022
* #355 typo

* #354 clearer message for public mode

* #353 rename static folder to templates

* #351 remove config subcommand

* #352 preffered - preferred

* #349 typo default env

* #357 try --locked build
@joepio
Copy link
Member Author

joepio commented Mar 29, 2022

Seems like a rust compiler nightly issue, should be fixed now

briansmith/ring#1469

@joepio
Copy link
Member Author

joepio commented Mar 29, 2022

I can't say I like having a dependency on working nightly compiler in my CI, but that's a temporary thing: taiki-e/cargo-llvm-cov#2

@joepio
Copy link
Member Author

joepio commented Mar 29, 2022

It's working again

@joepio joepio closed this as completed Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant