CLSAG icon indicating copy to clipboard operation
CLSAG copied to clipboard

Does it really work?

Open lfrickel opened this issue 6 years ago • 2 comments

Does it really work? Two different people on two different computers (Windows and Ubuntu) tried to compile this. Both get the same error (see below). Searching for a solution on the Internet did not give a result.

leo@leo-mint:~/CLSAG$ cargo build
    Updating crates.io index
  Downloaded rand v0.6.5
  Downloaded sha2 v0.8.0
  Downloaded curve25519-dalek v1.2.3
  Downloaded rand_hc v0.1.0
  Downloaded rand_chacha v0.1.1
  Downloaded rand_isaac v0.1.1
  Downloaded rand_jitter v0.1.4
  Downloaded rand_pcg v0.1.2
  Downloaded rand_os v0.1.3
  Downloaded rand_core v0.4.2
  Downloaded rand_xorshift v0.1.1
  Downloaded libc v0.2.66
  Downloaded autocfg v0.1.7
  Downloaded clear_on_drop v0.2.3
  Downloaded merlin v1.3.0
  Downloaded serde v1.0.103
  Downloaded byteorder v1.3.2
  Downloaded subtle v2.2.2
  Downloaded rand_core v0.3.1
  Downloaded fake-simd v0.1.2
  Downloaded block-buffer v0.7.3
  Downloaded digest v0.8.1
  Downloaded opaque-debug v0.2.3
  Downloaded block-padding v0.1.5
  Downloaded zeroize v1.1.0
  Downloaded keccak v0.1.0
  Downloaded generic-array v0.12.3
  Downloaded typenum v1.11.2
  Downloaded byte-tools v0.3.1
  Downloaded cc v1.0.48
  Downloaded zeroize_derive v1.0.0
  Downloaded proc-macro2 v1.0.6
  Downloaded synstructure v0.12.3
  Downloaded quote v1.0.2
  Downloaded unicode-xid v0.2.0
  Downloaded syn v1.0.11
   Compiling proc-macro2 v1.0.6
   Compiling unicode-xid v0.2.0
   Compiling typenum v1.11.2
   Compiling syn v1.0.11
   Compiling cc v1.0.48
   Compiling serde v1.0.103
   Compiling byteorder v1.3.2
   Compiling rand_core v0.4.2
   Compiling libc v0.2.66
   Compiling autocfg v0.1.7
   Compiling byte-tools v0.3.1
   Compiling subtle v2.2.2
   Compiling fake-simd v0.1.2
   Compiling opaque-debug v0.2.3
   Compiling keccak v0.1.0
   Compiling clear_on_drop v0.2.3
   Compiling rand_core v0.3.1
   Compiling rand_jitter v0.1.4
   Compiling rand_pcg v0.1.2
   Compiling rand_chacha v0.1.1
   Compiling rand v0.6.5
   Compiling block-padding v0.1.5
   Compiling rand_xorshift v0.1.1
   Compiling rand_isaac v0.1.1
   Compiling rand_hc v0.1.0
   Compiling quote v1.0.2
   Compiling generic-array v0.12.3
   Compiling rand_os v0.1.3
   Compiling digest v0.8.1
   Compiling block-buffer v0.7.3
   Compiling synstructure v0.12.3
   Compiling curve25519-dalek v1.2.3
   Compiling sha2 v0.8.0
   Compiling zeroize_derive v1.0.0
   Compiling zeroize v1.1.0
   Compiling merlin v1.3.0
   Compiling clsag v0.1.2 (/home/leo/CLSAG)
error[E0554]: #![feature] may not be used on the stable release channel
 --> src/lib.rs:1:1
  |
1 | #![feature(test)]
  | ^^^^^^^^^^^^^^^^^

error: aborting due to previous error

For more information about this error, try `rustc --explain E0554`.
error: Could not compile `clsag`.

To learn more, run the command again with --verbose.

lfrickel avatar Dec 06 '19 10:12 lfrickel

Hi, sorry for the late reply, not sure how I missed it.

That error is Rust specific, you need to compile on nightly. I believe this was for benchmarks; I used it because Criterion testing times were very large.

kevaundray avatar Mar 08 '20 10:03 kevaundray

I have updated the readme to include the rust channel needed:

You can find more information on this stackoverflow:

https://stackoverflow.com/questions/53136717/errore0554-feature-may-not-be-used-on-the-stable-release-channel-couldnt

kevaundray avatar Mar 08 '20 10:03 kevaundray