dr-bonez / tor-v3-vanity

A TOR v3 vanity url generator designed to run on an NVIDIA GPU.
https://crates.io/crates/tor-v3-vanity
MIT License
133 stars 22 forks source link

Install fails on Ubuntu Focal (Pop_OS!) #4

Closed samip5 closed 3 years ago

samip5 commented 3 years ago

What OS does this work on?

$ cargo install --path .
  Installing tor-v3-vanity v0.1.0 (/home/sm/tor-v3-vanity)
    Updating crates.io index
   Compiling ed25519-compact v0.1.8
   Compiling libc v0.2.79
   Compiling miniz_oxide v0.4.3
   Compiling num-traits v0.2.12
   Compiling num-integer v0.1.43
   Compiling crossbeam-utils v0.7.2
   Compiling proc-macro2 v1.0.24
   Compiling syn v1.0.46
   Compiling generic-array v0.14.4
   Compiling typenum v1.12.0
   Compiling getrandom v0.1.15
   Compiling memchr v2.3.3
   Compiling failure_derive v0.1.8
   Compiling serde v1.0.117
   Compiling addr2line v0.13.0
   Compiling regex v0.2.11
   Compiling byteorder v1.3.4
   Compiling regex-syntax v0.5.6
   Compiling semver v0.9.0
   Compiling bitflags v1.2.1
   Compiling maybe-uninit v2.0.0
   Compiling cuda-sys v0.2.0
   Compiling textwrap v0.11.0
   Compiling ed25519 v1.0.3
error[E0432]: unresolved import `std`
 --> /home/sm/.cargo/registry/src/github.com-1ecc6299db9ec823/ed25519-compact-0.1.8/src/ed25519.rs:5:5
  |
5 | use std::fmt;
  |     ^^^ use of undeclared type or module `std`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0432`.
error: could not compile `ed25519-compact`.

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `tor-v3-vanity v0.1.0 (/home/sm/tor-v3-vanity)`, intermediate artifacts can be found at `/home/sm/tor-v3-vanity/target`

Caused by:
  build failed
dr-bonez commented 3 years ago

I have tested this in the past on ubuntu. it is possible that ed25519-compact released a patch version that broke the build for nostd.

dr-bonez commented 3 years ago

looks like the maintainer found and fixed the issue.