Skip to content
This repository has been archived by the owner on Nov 11, 2022. It is now read-only.

Re-enable clippy checks #389

Open
tomusdrw opened this issue Jan 3, 2022 · 0 comments
Open

Re-enable clippy checks #389

tomusdrw opened this issue Jan 3, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@tomusdrw
Copy link
Contributor

tomusdrw commented Jan 3, 2022

Currently clippy fails to compile some of Substrate dependencies with:

error: cannot find macro `asm` in this scope
  --> /home/builds/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/rsix-0.23.9/src/imp/linux_raw/arch/inline/x86_64.rs:57:5
   |
57 |     asm!(
   |     ^^^
   |
   = note: consider importing one of these items:
           std::arch::asm
           core::arch::asm

error: cannot find macro `asm` in this scope
  --> /home/builds/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/rsix-0.23.9/src/imp/linux_raw/arch/inline/x86_64.rs:12:5
   |
12 |     asm!(
   |     ^^^
   |
   = note: consider importing one of these items:
           std::arch::asm
           core::arch::asm

error: cannot find macro `asm` in this scope
  --> /home/builds/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/rsix-0.23.9/src/imp/linux_raw/arch/inline/x86_64.rs:26:5
   |
26 |     asm!(
   |     ^^^
   |
   = note: consider importing one of these items:
           std::arch::asm
           core::arch::asm

error: cannot find macro `asm` in this scope
  --> /home/builds/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/rsix-0.23.9/src/imp/linux_raw/arch/inline/x86_64.rs:44:5
   |
44 |     asm!(
   |     ^^^
   |
   = note: consider importing one of these items:
           std::arch::asm
           core::arch::asm

error: cannot find macro `asm` in this scope
  --> /home/builds/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/rsix-0.23.9/src/imp/linux_raw/arch/inline/x86_64.rs:73:5
   |
73 |     asm!(
   |     ^^^
   |
   = note: consider importing one of these items:
           std::arch::asm
           core::arch::asm

error: cannot find macro `asm` in this scope
  --> /home/builds/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/rsix-0.23.9/src/imp/linux_raw/arch/inline/x86_64.rs:93:5
   |
93 |     asm!(
   |     ^^^
   |
   = note: consider importing one of these items:
           std::arch::asm
           core::arch::asm

error: cannot find macro `asm` in this scope
   --> /home/builds/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/rsix-0.23.9/src/imp/linux_raw/arch/inline/x86_64.rs:114:5
    |
114 |     asm!(
    |     ^^^
    |
    = note: consider importing one of these items:
            std::arch::asm
            core::arch::asm

error: cannot find macro `asm` in this scope
   --> /home/builds/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/rsix-0.23.9/src/imp/linux_raw/arch/inline/x86_64.rs:136:5
    |
136 |     asm!(
    |     ^^^
    |
    = note: consider importing one of these items:
            std::arch::asm
            core::arch::asm

error: cannot find macro `asm` in this scope
   --> /home/builds/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/rsix-0.23.9/src/imp/linux_raw/arch/inline/x86_64.rs:159:5
    |
159 |     asm!(
    |     ^^^
    |
    = note: consider importing one of these items:
            std::arch::asm
            core::arch::asm

error: cannot find macro `asm` in this scope
   --> /home/builds/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/rsix-0.23.9/src/imp/linux_raw/arch/inline/x86_64.rs:183:5
    |
183 |     asm!(
    |     ^^^
    |
    = note: consider importing one of these items:
            std::arch::asm
            core::arch::asm

error: cannot find macro `asm` in this scope
   --> /home/builds/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/rsix-0.23.9/src/imp/linux_raw/arch/inline/x86_64.rs:208:5
    |
208 |     asm!(
    |     ^^^
    |
    = note: consider importing one of these items:
            std::arch::asm
            core::arch::asm

error: cannot find macro `asm` in this scope
   --> /home/builds/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/rsix-0.23.9/src/imp/linux_raw/arch/inline/x86_64.rs:234:5
    |
234 |     asm!(
    |     ^^^
    |
    = note: consider importing one of these items:
            std::arch::asm
            core::arch::asm

error: cannot find macro `asm` in this scope
   --> /home/builds/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/rsix-0.23.9/src/imp/linux_raw/arch/inline/x86_64.rs:261:5
    |
261 |     asm!(
    |     ^^^
    |
    = note: consider importing one of these items:
            std::arch::asm
            core::arch::asm

error: cannot find macro `asm` in this scope
   --> /home/builds/.cargo/registry/src/git.luolix.top-1ecc6299db9ec823/rsix-0.23.9/src/imp/linux_raw/arch/inline/x86_64.rs:289:5
    |
289 |     asm!(
    |     ^^^
    |
    = note: consider importing one of these items:
            std::arch::asm
            core::arch::asm

    Checking webpki-roots v0.21.0

The check was disabled in #388 and the issue is about adding clippy back to the build/check pipeline.

@tomusdrw tomusdrw added the bug Something isn't working label Jan 3, 2022
@tomusdrw tomusdrw added this to the Some Day Maybe milestone Jan 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant