Skip to content

error: could not compile packed_simd_2 due to 3 previous errors #359

Description

@bo-hub

Error report

I git clone this repo and then run cargo test. And the error information came out.

$ cargo test
    Updating crates.io index
  Downloaded serde_derive v1.0.147
  Downloaded serde v1.0.147
  Downloaded serde_json v1.0.87
  Downloaded syn v1.0.103
  Downloaded libc v0.2.137
  Downloaded 5 crates (1.1 MB) in 10.09s
warning: invalid feature `yoloproofs` in required-features of target `r1cs`: `yoloproofs` is not present in [features] section
   Compiling proc-macro2 v1.0.47
   Compiling quote v1.0.21
   Compiling unicode-ident v1.0.5
   Compiling syn v1.0.103
   Compiling autocfg v1.1.0
   Compiling cfg-if v1.0.0
   Compiling libc v0.2.137
   Compiling serde_derive v1.0.147
   Compiling serde v1.0.147
   Compiling typenum v1.15.0
   Compiling crossbeam-utils v0.8.12
   Compiling getrandom v0.1.16
   Compiling memchr v2.5.0
   Compiling unicode-xid v0.2.4
   Compiling libm v0.1.4
   Compiling rayon-core v1.9.3
   Compiling byteorder v1.4.3
   Compiling scopeguard v1.1.0
   Compiling packed_simd_2 v0.3.8
   Compiling serde_json v1.0.87
   Compiling either v1.8.0
   Compiling byte-tools v0.3.1
   Compiling ryu v1.0.11
   Compiling cc v1.0.73
   Compiling unicode-width v0.1.10
   Compiling itoa v1.0.4
   Compiling ppv-lite86 v0.2.16
   Compiling keccak v0.1.2
   Compiling regex-automata v0.1.10
   Compiling plotters-backend v0.3.4
   Compiling thiserror v1.0.37
   Compiling lazy_static v1.4.0
   Compiling same-file v1.0.6
   Compiling subtle v2.4.1
   Compiling bitflags v1.3.2
   Compiling opaque-debug v0.2.3
   Compiling cast v0.3.0
   Compiling itoa v0.4.8
   Compiling half v1.8.2
   Compiling regex-syntax v0.6.27
   Compiling oorandom v11.1.3
   Compiling hex v0.3.2
   Compiling memoffset v0.6.5
   Compiling crossbeam-epoch v0.9.11
   Compiling num-traits v0.2.15
   Compiling rayon v1.5.3
   Compiling block-padding v0.1.5
   Compiling itertools v0.10.5
   Compiling textwrap v0.11.0
   Compiling walkdir v2.3.2
   Compiling plotters-svg v0.3.3
   Compiling clap v2.34.0
   Compiling crossbeam-channel v0.5.6
   Compiling num_cpus v1.13.1
   Compiling atty v0.2.14
   Compiling regex v1.6.0
   Compiling clear_on_drop v0.2.5
   Compiling csv-core v0.1.10
   Compiling generic-array v0.12.4
   Compiling rand_core v0.5.1
   Compiling criterion-plot v0.4.5
   Compiling plotters v0.3.4
   Compiling crossbeam-deque v0.8.2
   Compiling rand_chacha v0.2.2
   Compiling digest v0.8.1
   Compiling block-buffer v0.7.3
error[E0554]: `#![feature]` may not be used on the stable release channel
 --> /home/tours/.cargo/registry/src/github.com-1ecc6299db9ec823/clear_on_drop-0.2.5/src/lib.rs:2:34
  |
2 | #![cfg_attr(feature = "nightly", feature(min_specialization))]
  |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0554`.
error: could not compile `clear_on_drop` due to previous error
warning: build failed, waiting for other jobs to finish...
error[E0554]: `#![feature]` may not be used on the stable release channel
   --> /home/tours/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd_2-0.3.8/src/lib.rs:214:1
    |
214 | / #![feature(
215 | |     adt_const_params,
216 | |     repr_simd,
217 | |     rustc_attrs,
...   |
224 | |     custom_inner_attributes,
225 | | )]
    | |__^

error[E0554]: `#![feature]` may not be used on the stable release channel
   --> /home/tours/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd_2-0.3.8/src/lib.rs:219:5
    |
219 |     stdsimd,
    |     ^^^^^^^

error[E0554]: `#![feature]` may not be used on the stable release channel
   --> /home/tours/.cargo/registry/src/github.com-1ecc6299db9ec823/packed_simd_2-0.3.8/src/lib.rs:222:5
    |
222 |     core_intrinsics,
    |     ^^^^^^^^^^^^^^^

error: could not compile `packed_simd_2` due to 3 previous errors

Is there anything I should noticed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions