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

Code coverage is failing #1221

Closed
fmassot opened this issue Mar 26, 2022 · 2 comments · Fixed by #1250 or #1252
Closed

Code coverage is failing #1221

fmassot opened this issue Mar 26, 2022 · 2 comments · Fixed by #1250 or #1252
Labels
backlog bug Something isn't working

Comments

@fmassot
Copy link
Contributor

fmassot commented Mar 26, 2022

See https://github.com/quickwit-oss/quickwit/runs/5670210584?check_suite_focus=true

Here is the cryptic error:

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: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
@fmassot fmassot added the bug Something isn't working label Mar 26, 2022
@fulmicoton
Copy link
Contributor

rust-lang/rust#95267

@fulmicoton
Copy link
Contributor

The fix seems merged in rustic but it is not published yet.

fulmicoton added a commit that referenced this issue Mar 29, 2022
Due to compilation being broken on nightly as described in #1221
fulmicoton added a commit that referenced this issue Mar 29, 2022
Due to compilation being broken on nightly as described in #1221
fulmicoton added a commit that referenced this issue Apr 4, 2022
fulmicoton added a commit that referenced this issue Apr 4, 2022
fulmicoton added a commit that referenced this issue Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants