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

rustup target add nvptx64-nvidia-cuda doesnt work #10

Open SavexG opened 3 years ago

SavexG commented 3 years ago

Hello I'm using Ubuntu 20.04 and I'm getting this error when i do cargo +nightly install --path . even though I have followed the tutorial on your github:

error: failed to run custom build command for tor-v3-vanity v0.1.0 (/home/save/tor-v3-vanity)

Caused by: process didn't exit successfully: /home/save/tor-v3-vanity/target/release/build/tor-v3-vanity-0625c36d0a668a85/build-script-build (exit status: 1) --- stdout cargo:rustc-link-search=native=/usr/local/cuda/lib64/

--- stderr [PTX] Unable to build a PTX crate! [PTX] warning: unused manifest key: build [PTX] Compiling rustacuda_core v0.1.2 [PTX] Compiling ed25519-compact v0.1.6 [PTX] Compiling byteorder v1.3.4 [PTX] Compiling syn v1.0.36 [PTX] error[E0463]: can't find crate for core [PTX] | [PTX] = note: the nvptx64-nvidia-cuda target may not be installed [PTX] = help: consider downloading the target with rustup target add nvptx64-nvidia-cuda [PTX] = help: consider building the standard library from source with cargo build -Zbuild-std [PTX] [PTX] error: aborting due to previous error [PTX] [PTX] For more information about this error, try rustc --explain E0463. [PTX] error: could not compile rustacuda_core [PTX] [PTX] warning: build failed, waiting for other jobs to finish... [PTX] error[E0463]: can't find crate for core [PTX] | [PTX] = note: the nvptx64-nvidia-cuda target may not be installed [PTX] = help: consider downloading the target with rustup target add nvptx64-nvidia-cuda [PTX] = help: consider building the standard library from source with cargo build -Zbuild-std [PTX] [PTX] error: aborting due to previous error [PTX] [PTX] For more information about this error, try rustc --explain E0463. [PTX] error[E0463]: can't find crate for core [PTX] | [PTX] = note: the nvptx64-nvidia-cuda target may not be installed [PTX] = help: consider downloading the target with rustup target add nvptx64-nvidia-cuda [PTX] = help: consider building the standard library from source with cargo build -Zbuild-std [PTX] [PTX] error: aborting due to previous error [PTX] [PTX] For more information about this error, try rustc --explain E0463. [PTX] error: build failed warning: build failed, waiting for other jobs to finish... error: failed to compile tor-v3-vanity v0.1.0 (/home/save/tor-v3-vanity), intermediate artifacts can be found at /home/save/tor-v3-vanity/target

Caused by: build failed

ianyp commented 1 year ago

I get this same issue, I think

PS C:\Users\user\documents\code\tor-v3-vanity> cargo +nightly install --path . Installing tor-v3-vanity v0.1.0 (C:\Users\user\documents\code\tor-v3-vanity) Updating crates.io index Compiling tor-v3-vanity v0.1.0 (C:\Users\user\documents\code\tor-v3-vanity) error: failed to run custom build command for tor-v3-vanity v0.1.0 (C:\Users\user\documents\code\tor-v3-vanity)

Caused by: process didn't exit successfully: C:\Users\user\documents\code\tor-v3-vanity\target\release\build\tor-v3-vanity-c37ffe75ca59efff\build-script-build (exit code: 1) --- stdout cargo:rustc-link-search=native=/usr/local/cuda/lib64/

--- stderr [PTX] Unable to build a PTX crate! [PTX] warning: unused manifest key: build [PTX] Compiling proc-macro2 v1.0.19 [PTX] Compiling unicode-xid v0.2.1 [PTX] Compiling syn v1.0.36 [PTX] Compiling byteorder v1.3.4 [PTX] Compiling rustacuda_core v0.1.2 [PTX] Compiling ed25519-compact v0.1.6 [PTX] error[E0463]: can't find crate for core [PTX] | [PTX] = note: the nvptx64-nvidia-cuda target may not be installed [PTX] = help: consider downloading the target with rustup target add nvptx64-nvidia-cuda [PTX] = help: consider building the standard library from source with cargo build -Zbuild-std [PTX] [PTX] error[E0463]: can't find crate for compiler_builtins [PTX] [PTX] error[E0463]: can't find crate for core [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:3:5 [PTX] | [PTX] 3 | use core::{ [PTX] | ^^^^ can't find crate [PTX] | [PTX] = note: the nvptx64-nvidia-cuda target may not be installed [PTX] = help: consider downloading the target with rustup target add nvptx64-nvidia-cuda [PTX] = help: consider building the standard library from source with cargo build -Zbuild-std [PTX] [PTX] error[E0463]: can't find crate for core [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\mod.rs:5:5 [PTX] | [PTX] 5 | use core::num::*; [PTX] | ^^^^ can't find crate [PTX] | [PTX] = note: the nvptx64-nvidia-cuda target may not be installed [PTX] = help: consider downloading the target with rustup target add nvptx64-nvidia-cuda [PTX] = help: consider building the standard library from source with cargo build -Zbuild-std [PTX] [PTX] error[E0463]: can't find crate for core [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\mod.rs:4:5 [PTX] | [PTX] 4 | use core::marker::PhantomData; [PTX] | ^^^^ can't find crate [PTX] | [PTX] = note: the nvptx64-nvidia-cuda target may not be installed [PTX] = help: consider downloading the target with rustup target add nvptx64-nvidia-cuda [PTX] = help: consider building the standard library from source with cargo build -Zbuild-std [PTX] [PTX] error[E0432]: unresolved imports crate::memory::DeviceCopy, core::marker::PhantomData [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\mod.rs:4:5 [PTX] | [PTX] 4 | use core::marker::PhantomData; [PTX] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [PTX] | [PTX] ::: C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:1:5 [PTX] | [PTX] 1 | use crate::memory::DeviceCopy; [PTX] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [PTX] [PTX] error[E0463]: can't find crate for core [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\curve25519.rs:4:5 [PTX] | [PTX] 4 | use core::cmp::{min, Eq, PartialEq}; [PTX] | ^^^^ can't find crate [PTX] | [PTX] = note: the nvptx64-nvidia-cuda target may not be installed [PTX] = help: consider downloading the target with rustup target add nvptx64-nvidia-cuda [PTX] = help: consider building the standard library from source with cargo build -Zbuild-std [PTX] [PTX] error[E0463]: can't find crate for core [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\curve25519.rs:5:5 [PTX] | [PTX] 5 | use core::ops::{Add, Mul, Sub}; [PTX] | ^^^^ can't find crate [PTX] | [PTX] = note: the nvptx64-nvidia-cuda target may not be installed [PTX] = help: consider downloading the target with rustup target add nvptx64-nvidia-cuda [PTX] = help: consider building the standard library from source with cargo build -Zbuild-std [PTX] [PTX] error[E0463]: can't find crate for core [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:4:5 [PTX] | [PTX] 4 | use core::ops::Deref; [PTX] | ^^^^ can't find crate [PTX] | [PTX] = note: the nvptx64-nvidia-cuda target may not be installed [PTX] = help: consider downloading the target with rustup target add nvptx64-nvidia-cuda [PTX] = help: consider building the standard library from source with cargo build -Zbuild-std [PTX] [PTX] error[E0463]: can't find crate for core [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\error.rs:1:5 [PTX] | [PTX] 1 | use core::fmt::{self, Display}; [PTX] | ^^^^ can't find crate [PTX] | [PTX] = note: the nvptx64-nvidia-cuda target may not be installed [PTX] = help: consider downloading the target with rustup target add nvptx64-nvidia-cuda [PTX] = help: consider building the standard library from source with cargo build -Zbuild-std [PTX] [PTX] error: cannot find attribute derive in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\sha512.rs:296:3 [PTX] | [PTX] 296 | #[derive(Copy, Clone)] [PTX] | ^^^^^^ [PTX] [PTX] error: cannot find attribute derive in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\sha512.rs:41:3 [PTX] | [PTX] 41 | #[derive(Copy, Clone)] [PTX] | ^^^^^^ [PTX] [PTX] error: cannot find macro write in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\error.rs:33:36 [PTX] | [PTX] 33 | Error::InvalidNoise => write!(f, "Invalid noise length"), [PTX] | ^^^^^ [PTX] [PTX] error: cannot find macro write in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\error.rs:32:35 [PTX] | [PTX] 32 | Error::InvalidSeed => write!(f, "Invalid seed length"), [PTX] | ^^^^^ [PTX] [PTX] error: cannot find macro write in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\error.rs:31:40 [PTX] | [PTX] 31 | Error::InvalidSignature => write!(f, "Invalid signature"), [PTX] | ^^^^^ [PTX] [PTX] error: cannot find macro write in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\error.rs:30:40 [PTX] | [PTX] 30 | Error::InvalidSecretKey => write!(f, "Invalid secret key"), [PTX] | ^^^^^ [PTX] [PTX] error: cannot find macro write in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\error.rs:29:40 [PTX] | [PTX] 29 | Error::InvalidPublicKey => write!(f, "Invalid public key"), [PTX] | ^^^^^ [PTX] [PTX] error: cannot find macro write in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\error.rs:28:37 [PTX] | [PTX] 28 | Error::WeakPublicKey => write!(f, "Weak public key"), [PTX] | ^^^^^ [PTX] [PTX] error: cannot find macro write in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\error.rs:27:41 [PTX] | [PTX] 27 | Error::SignatureMismatch => write!(f, "Signature doesn't verify"), [PTX] | ^^^^^ [PTX] [PTX] error: cannot find attribute derive in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\error.rs:3:3 [PTX] | [PTX] 3 | #[derive(Debug, Copy, Clone, Eq, PartialEq)] [PTX] | ^^^^^^ [PTX] [PTX] error: cannot find macro panic in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:332:13 [PTX] | [PTX] 332 | panic!("All-zero seed"); [PTX] | ^^^^^ [PTX] [PTX] error: cannot find attribute derive in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:89:3 [PTX] | [PTX] 89 | #[derive(Copy, Clone)] [PTX] | ^^^^^^ [PTX] [PTX] error: cannot find attribute derive in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:80:3 [PTX] | [PTX] 80 | #[derive(Copy, Clone)] [PTX] | ^^^^^^ [PTX] [PTX] error: cannot find attribute derive in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:40:3 [PTX] | [PTX] 40 | #[derive(Copy, Clone)] [PTX] | ^^^^^^ [PTX] [PTX] error: cannot find attribute derive in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:7:3 [PTX] | [PTX] 7 | #[derive(Copy, Clone, Debug, Eq, PartialEq)] [PTX] | ^^^^^^ [PTX] [PTX] error: cannot find attribute derive in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\curve25519.rs:647:3 [PTX] | [PTX] 647 | #[derive(Clone, Copy)] [PTX] | ^^^^^^ [PTX] [PTX] error: cannot find attribute derive in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\curve25519.rs:640:3 [PTX] | [PTX] 640 | #[derive(Clone, Copy)] [PTX] | ^^^^^^ [PTX] [PTX] error: cannot find attribute derive in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\curve25519.rs:632:3 [PTX] | [PTX] 632 | #[derive(Clone, Copy)] [PTX] | ^^^^^^ [PTX] [PTX] error: cannot find attribute derive in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\curve25519.rs:624:3 [PTX] | [PTX] 624 | #[derive(Clone, Copy)] [PTX] | ^^^^^^ [PTX] [PTX] error: cannot find attribute derive in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\curve25519.rs:617:3 [PTX] | [PTX] 617 | #[derive(Clone, Copy)] [PTX] | ^^^^^^ [PTX] [PTX] error: cannot find macro panic in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\curve25519.rs:502:13 [PTX] | [PTX] 502 | panic!("Invalid compressed length") [PTX] | ^^^^^ [PTX] [PTX] error: cannot find attribute derive in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\curve25519.rs:395:3 [PTX] | [PTX] 395 | #[derive(Clone, Default, Copy)] [PTX] | ^^^^^^ [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:12:18 [PTX] | [PTX] 12 | impl<T: ?Sized> Debug for $Ptr { [PTX] | ^^^^^ not found in this scope [PTX] ... [PTX] 57 | derive_traits!(DevicePointer UnifiedPointer); [PTX] | -------------------------------------------------- in this macro invocation [PTX] | [PTX] = note: this error originates in the macro derive_traits (in Nightly builds, run with -Z macro-backtrace for more info) [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:17:18 [PTX] | [PTX] 17 | impl<T: ?Sized> Pointer for $Ptr { [PTX] | ^^^^^ not found in this scope [PTX] ... [PTX] 57 | derive_traits!(DevicePointer UnifiedPointer); [PTX] | -------------------------------------------------- in this macro invocation [PTX] | [PTX] = note: this error originates in the macro derive_traits (in Nightly builds, run with -Z macro-backtrace for more info) [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:23:18 [PTX] | [PTX] 23 | impl<T: ?Sized> Hash for $Ptr { [PTX] | ^^^^^ not found in this scope [PTX] ... [PTX] 57 | derive_traits!(DevicePointer UnifiedPointer); [PTX] | -------------------------------------------------- in this macro invocation [PTX] | [PTX] = note: this error originates in the macro derive_traits (in Nightly builds, run with -Z macro-backtrace for more info) [PTX] [PTX] error[E0405]: cannot find trait PartialEq in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:29:25 [PTX] | [PTX] 29 | impl<T: ?Sized> PartialEq for $Ptr { [PTX] | ^^^^^^^^^ not found in this scope [PTX] ... [PTX] 57 | derive_traits!(DevicePointer UnifiedPointer); [PTX] | -------------------------------------------------- in this macro invocation [PTX] | [PTX] = note: this error originates in the macro derive_traits (in Nightly builds, run with -Z macro-backtrace for more info) [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:29:18 [PTX] | [PTX] 29 | impl<T: ?Sized> PartialEq for $Ptr { [PTX] | ^^^^^ not found in this scope [PTX] ... [PTX] 57 | derive_traits!(DevicePointer UnifiedPointer); [PTX] | -------------------------------------------------- in this macro invocation [PTX] | [PTX] = note: this error originates in the macro derive_traits (in Nightly builds, run with -Z macro-backtrace for more info) [PTX] [PTX] error[E0405]: cannot find trait Eq in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:35:25 [PTX] | [PTX] 35 | impl<T: ?Sized> Eq for $Ptr {} [PTX] | ^^ not found in this scope [PTX] ... [PTX] 57 | derive_traits!(DevicePointer UnifiedPointer); [PTX] | -------------------------------------------------- in this macro invocation [PTX] | [PTX] = note: this error originates in the macro derive_traits (in Nightly builds, run with -Z macro-backtrace for more info) [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:35:18 [PTX] | [PTX] 35 | impl<T: ?Sized> Eq for $Ptr {} [PTX] | ^^^^^ not found in this scope [PTX] ... [PTX] 57 | derive_traits!(DevicePointer UnifiedPointer); [PTX] | -------------------------------------------------- in this macro invocation [PTX] | [PTX] = note: this error originates in the macro derive_traits (in Nightly builds, run with -Z macro-backtrace for more info) [PTX] [PTX] error[E0405]: cannot find trait PartialOrd in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:37:25 [PTX] | [PTX] 37 | impl<T: ?Sized> PartialOrd for $Ptr { [PTX] | ^^^^^^^^^^ not found in this scope [PTX] ... [PTX] 57 | derive_traits!(DevicePointer UnifiedPointer); [PTX] | -------------------------------------------------- in this macro invocation [PTX] | [PTX] = note: this error originates in the macro derive_traits (in Nightly builds, run with -Z macro-backtrace for more info) [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:37:18 [PTX] | [PTX] 37 | impl<T: ?Sized> PartialOrd for $Ptr { [PTX] | ^^^^^ not found in this scope [PTX] ... [PTX] 57 | derive_traits!(DevicePointer UnifiedPointer); [PTX] | -------------------------------------------------- in this macro invocation [PTX] | [PTX] = note: this error originates in the macro derive_traits (in Nightly builds, run with -Z macro-backtrace for more info) [PTX] [PTX] error[E0412]: cannot find type Option in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:38:52 [PTX] | [PTX] 38 | fn partial_cmp(&self, other: &$Ptr) -> Option { [PTX] | ^^^^^^ not found in this scope [PTX] ... [PTX] 57 | derive_traits!(DevicePointer UnifiedPointer); [PTX] | -------------------------------------------------- in this macro invocation [PTX] | [PTX] = note: this error originates in the macro derive_traits (in Nightly builds, run with -Z macro-backtrace for more info) [PTX] [PTX] error[E0405]: cannot find trait Ord in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:43:25 [PTX] | [PTX] 43 | impl<T: ?Sized> Ord for $Ptr { [PTX] | ^^^ not found in this scope [PTX] ... [PTX] 57 | derive_traits!(DevicePointer UnifiedPointer); [PTX] | -------------------------------------------------- in this macro invocation [PTX] | [PTX] = note: this error originates in the macro derive_traits (in Nightly builds, run with -Z macro-backtrace for more info) [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:43:18 [PTX] | [PTX] 43 | impl<T: ?Sized> Ord for $Ptr { [PTX] | ^^^^^ not found in this scope [PTX] ... [PTX] 57 | derive_traits!(DevicePointer UnifiedPointer); [PTX] | -------------------------------------------------- in this macro invocation [PTX] | [PTX] = note: this error originates in the macro derive_traits (in Nightly builds, run with -Z macro-backtrace for more info) [PTX] [PTX] error[E0405]: cannot find trait Clone in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:49:25 [PTX] | [PTX] 49 | impl<T: ?Sized> Clone for $Ptr { [PTX] | ^^^^^ not found in this scope [PTX] ... [PTX] 57 | derive_traits!(DevicePointer UnifiedPointer); [PTX] | -------------------------------------------------- in this macro invocation [PTX] | [PTX] = note: this error originates in the macro derive_traits (in Nightly builds, run with -Z macro-backtrace for more info) [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:49:18 [PTX] | [PTX] 49 | impl<T: ?Sized> Clone for $Ptr { [PTX] | ^^^^^ not found in this scope [PTX] ... [PTX] 57 | derive_traits!(DevicePointer UnifiedPointer); [PTX] | -------------------------------------------------- in this macro invocation [PTX] | [PTX] = note: this error originates in the macro derive_traits (in Nightly builds, run with -Z macro-backtrace for more info) [PTX] [PTX] error[E0405]: cannot find trait Copy in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:54:25 [PTX] | [PTX] 54 | impl<T: ?Sized> Copy for $Ptr {} [PTX] | ^^^^ not found in this scope [PTX] ... [PTX] 57 | derive_traits!(DevicePointer UnifiedPointer); [PTX] | -------------------------------------------------- in this macro invocation [PTX] | [PTX] = note: this error originates in the macro derive_traits (in Nightly builds, run with -Z macro-backtrace for more info) [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:54:18 [PTX] | [PTX] 54 | impl<T: ?Sized> Copy for $Ptr {} [PTX] | ^^^^^ not found in this scope [PTX] ... [PTX] 57 | derive_traits!(DevicePointer UnifiedPointer); [PTX] | -------------------------------------------------- in this macro invocation [PTX] | [PTX] = note: this error originates in the macro derive_traits (in Nightly builds, run with -Z macro-backtrace for more info) [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:71:30 [PTX] | [PTX] 71 | pub struct DevicePointer<T: ?Sized>(mut T); [PTX] | ^^^^^ not found in this scope [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:73:17 [PTX] | [PTX] 73 | unsafe impl<T: ?Sized> DeviceCopy for DevicePointer {} [PTX] | ^^^^^ not found in this scope [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:75:10 [PTX] | [PTX] 75 | impl<T: ?Sized> DevicePointer { [PTX] | ^^^^^ not found in this scope [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:163:12 [PTX] | [PTX] 163 | T: Sized, [PTX] | ^^^^^ not found in this scope [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:203:12 [PTX] | [PTX] 203 | T: Sized, [PTX] | ^^^^^ not found in this scope [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:240:12 [PTX] | [PTX] 240 | T: Sized, [PTX] | ^^^^^ not found in this scope [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:281:12 [PTX] | [PTX] 281 | T: Sized, [PTX] | ^^^^^ not found in this scope [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:322:12 [PTX] | [PTX] 322 | T: Sized, [PTX] | ^^^^^ not found in this scope [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:354:12 [PTX] | [PTX] 354 | T: Sized, [PTX] | ^^^^^ not found in this scope [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:386:12 [PTX] | [PTX] 386 | T: Sized, [PTX] | ^^^^^ not found in this scope [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:403:31 [PTX] | [PTX] 403 | pub struct UnifiedPointer<T: ?Sized>(mut T); [PTX] | ^^^^^ not found in this scope [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:405:17 [PTX] | [PTX] 405 | unsafe impl<T: ?Sized + DeviceCopy> DeviceCopy for UnifiedPointer {} [PTX] | ^^^^^ not found in this scope [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:407:10 [PTX] | [PTX] 407 | impl<T: ?Sized> UnifiedPointer { [PTX] | ^^^^^ not found in this scope [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:495:12 [PTX] | [PTX] 495 | T: Sized, [PTX] | ^^^^^ not found in this scope [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:535:12 [PTX] | [PTX] 535 | T: Sized, [PTX] | ^^^^^ not found in this scope [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:572:12 [PTX] | [PTX] 572 | T: Sized, [PTX] | ^^^^^ not found in this scope [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:613:12 [PTX] | [PTX] 613 | T: Sized, [PTX] | ^^^^^ not found in this scope [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:654:12 [PTX] | [PTX] 654 | T: Sized, [PTX] | ^^^^^ not found in this scope [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:686:12 [PTX] | [PTX] 686 | T: Sized, [PTX] | ^^^^^ not found in this scope [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:718:12 [PTX] | [PTX] 718 | T: Sized, [PTX] | ^^^^^ not found in this scope [PTX] [PTX] error[E0412]: cannot find type NonZeroU8 in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\mod.rs:83:5 [PTX] | [PTX] 83 | NonZeroU8 NonZeroU16 NonZeroU32 NonZeroU64 NonZeroU128 [PTX] | ^^^^^^^^^ not found in this scope [PTX] [PTX] error[E0412]: cannot find type NonZeroU16 in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\mod.rs:83:15 [PTX] | [PTX] 83 | NonZeroU8 NonZeroU16 NonZeroU32 NonZeroU64 NonZeroU128 [PTX] | ^^^^^^^^^^ not found in this scope [PTX] [PTX] error[E0412]: cannot find type NonZeroU32 in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\mod.rs:83:26 [PTX] | [PTX] 83 | NonZeroU8 NonZeroU16 NonZeroU32 NonZeroU64 NonZeroU128 [PTX] | ^^^^^^^^^^ not found in this scope [PTX] [PTX] error[E0412]: cannot find type NonZeroU64 in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\mod.rs:83:37 [PTX] | [PTX] 83 | NonZeroU8 NonZeroU16 NonZeroU32 NonZeroU64 NonZeroU128 [PTX] | ^^^^^^^^^^ not found in this scope [PTX] [PTX] error[E0412]: cannot find type NonZeroU128 in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\mod.rs:83:48 [PTX] | [PTX] 83 | NonZeroU8 NonZeroU16 NonZeroU32 NonZeroU64 NonZeroU128 [PTX] | ^^^^^^^^^^^ not found in this scope [PTX] [PTX] error[E0412]: cannot find type Option in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\mod.rs:85:43 [PTX] | [PTX] 85 | unsafe impl DeviceCopy for Option {} [PTX] | ^^^^^^ not found in this scope [PTX] [PTX] error[E0412]: cannot find type Result in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\mod.rs:86:58 [PTX] | [PTX] 86 | unsafe impl<L: DeviceCopy, R: DeviceCopy> DeviceCopy for Result<L, R> {} [PTX] | ^^^^^^ not found in this scope [PTX] [PTX] error[E0405]: cannot find trait Sized in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\mod.rs:87:17 [PTX] | [PTX] 87 | unsafe impl<T: ?Sized + DeviceCopy> DeviceCopy for PhantomData {} [PTX] | ^^^^^ not found in this scope [PTX] [PTX] error[E0412]: cannot find type Wrapping in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\mod.rs:88:43 [PTX] | [PTX] 88 | unsafe impl DeviceCopy for Wrapping {} [PTX] | ^^^^^^^^ not found in this scope [PTX] [PTX] error[E0463]: can't find crate for core [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\sha512.rs:320:20 [PTX] | [PTX] 320 | let tc = ::core::cmp::min(n, av); [PTX] | ^^^^ can't find crate [PTX] | [PTX] = note: the nvptx64-nvidia-cuda target may not be installed [PTX] = help: consider downloading the target with rustup target add nvptx64-nvidia-cuda [PTX] = help: consider building the standard library from source with cargo build -Zbuild-std [PTX] [PTX] error[E0412]: cannot find type Option in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\curve25519.rs:802:55 [PTX] | [PTX] 802 | pub fn from_bytes_negate_vartime(s: &[u8; 32]) -> Option { [PTX] | ^^^^^^ not found in this scope [PTX] [PTX] error[E0425]: cannot find value None in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\curve25519.rs:819:24 [PTX] | [PTX] 819 | return None; [PTX] | ^^^^ not found in this scope [PTX] [PTX] error[E0412]: cannot find type Result in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:20:37 [PTX] | [PTX] 20 | pub fn from_slice(pk: &[u8]) -> Result<Self, Error> { [PTX] | ^^^^^^ not found in this scope [PTX] [PTX] error[E0412]: cannot find type Result in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:53:37 [PTX] | [PTX] 53 | pub fn from_slice(sk: &[u8]) -> Result<Self, Error> { [PTX] | ^^^^^^ not found in this scope [PTX] [PTX] error[E0412]: cannot find type Result in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:102:44 [PTX] | [PTX] 102 | pub fn from_slice(signature: &[u8]) -> Result<Self, Error> { [PTX] | ^^^^^^ not found in this scope [PTX] [PTX] error[E0412]: cannot find type Result in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:134:39 [PTX] | [PTX] 134 | pub fn from_slice(seed: &[u8]) -> Result<Self, Error> { [PTX] | ^^^^^^ not found in this scope [PTX] [PTX] error[E0412]: cannot find type Result in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:184:40 [PTX] | [PTX] 184 | pub fn from_slice(noise: &[u8]) -> Result<Self, Error> { [PTX] | ^^^^^^ not found in this scope [PTX] [PTX] error[E0405]: cannot find trait AsRef in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:223:40 [PTX] | [PTX] 223 | pub fn verify(&self, message: impl AsRef<[u8]>, signature: &Signature) -> Result<(), Error> { [PTX] | ^^^^^ not found in this scope [PTX] [PTX] error[E0412]: cannot find type Result in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:223:79 [PTX] | [PTX] 223 | pub fn verify(&self, message: impl AsRef<[u8]>, signature: &Signature) -> Result<(), Error> { [PTX] | ^^^^^^ not found in this scope [PTX] [PTX] error[E0531]: cannot find tuple struct or tuple variant Some in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:232:13 [PTX] | [PTX] 232 | Some(g) => g, [PTX] | ^^^^ not found in this scope [PTX] [PTX] error[E0405]: cannot find trait AsRef in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:263:38 [PTX] | [PTX] 263 | pub fn sign(&self, message: impl AsRef<[u8]>, noise: Option) -> Signature { [PTX] | ^^^^^ not found in this scope [PTX] [PTX] error[E0412]: cannot find type Option in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:263:58 [PTX] | [PTX] 263 | pub fn sign(&self, message: impl AsRef<[u8]>, noise: Option) -> Signature { [PTX] | ^^^^^^ not found in this scope [PTX] [PTX] error[E0531]: cannot find tuple struct or tuple variant Some in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:275:20 [PTX] | [PTX] 275 | if let Some(noise) = noise { [PTX] | ^^^^ not found in this scope [PTX] [PTX] error[E0412]: cannot find type Result in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:356:40 [PTX] | [PTX] 356 | pub fn fromslice(bytes: &[u8]) -> Result<Self, Error> { [PTX] | ^^^^^^ not found in this scope [PTX] [PTX] error[E0405]: cannot find trait AsRef in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\sha512.rs:315:22 [PTX] | [PTX] 315 | pub fn update<T: AsRef<[u8]>>(&mut self, input: T) { [PTX] | ^^^^^ not found in this scope [PTX] [PTX] error[E0405]: cannot find trait AsRef in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\sha512.rs:355:20 [PTX] | [PTX] 355 | pub fn hash<T: AsRef<[u8]>>(input: T) -> [u8; 64] { [PTX] | ^^^^^ not found in this scope [PTX] [PTX] error[E0405]: cannot find trait Default in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\sha512.rs:362:6 [PTX] | [PTX] 362 | impl Default for Hash { [PTX] | ^^^^^^^ not found in this scope [PTX] [PTX] error[E0425]: cannot find function, tuple struct or tuple variant Some in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\curve25519.rs:830:9 [PTX] | [PTX] 830 | Some(GeP3 { x, y, z, t }) [PTX] | ^^^^ not found in this scope [PTX] [PTX] error[E0425]: cannot find function, tuple struct or tuple variant Err in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:23:20 [PTX] | [PTX] 23 | return Err(Error::InvalidPublicKey); [PTX] | ^^^ not found in this scope [PTX] [PTX] error[E0425]: cannot find function, tuple struct or tuple variant Ok in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:26:9 [PTX] | [PTX] 26 | Ok(PublicKey::new(pk)) [PTX] | ^^ help: a local variable with a similar name exists: pk [PTX] [PTX] error[E0425]: cannot find function, tuple struct or tuple variant Err in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:56:20 [PTX] | [PTX] 56 | return Err(Error::InvalidSecretKey); [PTX] | ^^^ not found in this scope [PTX] [PTX] error[E0425]: cannot find function, tuple struct or tuple variant Ok in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:59:9 [PTX] | [PTX] 59 | Ok(SecretKey::new(sk)) [PTX] | ^^ help: a local variable with a similar name exists: sk [PTX] [PTX] error[E0425]: cannot find function, tuple struct or tuple variant Err in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:105:20 [PTX] | [PTX] 105 | return Err(Error::InvalidSignature); [PTX] | ^^^ not found in this scope [PTX] [PTX] error[E0425]: cannot find function, tuple struct or tuple variant Ok in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:108:9 [PTX] | [PTX] 108 | Ok(Signature::new(signature)) [PTX] | ^^ not found in this scope [PTX] [PTX] error[E0425]: cannot find function, tuple struct or tuple variant Err in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:137:20 [PTX] | [PTX] 137 | return Err(Error::InvalidSeed); [PTX] | ^^^ not found in this scope [PTX] [PTX] error[E0425]: cannot find function, tuple struct or tuple variant Ok in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:140:9 [PTX] | [PTX] 140 | Ok(Seed::new(seed)) [PTX] | ^^ not found in this scope [PTX] [PTX] error[E0425]: cannot find function, tuple struct or tuple variant Err in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:187:20 [PTX] | [PTX] 187 | return Err(Error::InvalidSeed); [PTX] | ^^^ not found in this scope [PTX] [PTX] error[E0425]: cannot find function, tuple struct or tuple variant Ok in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:190:9 [PTX] | [PTX] 190 | Ok(Noise::new(noise)) [PTX] | ^^ not found in this scope [PTX] [PTX] error[E0425]: cannot find function, tuple struct or tuple variant Err in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:226:20 [PTX] | [PTX] 226 | return Err(Error::InvalidSignature); [PTX] | ^^^ not found in this scope [PTX] [PTX] error[E0425]: cannot find function, tuple struct or tuple variant Err in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:229:20 [PTX] | [PTX] 229 | return Err(Error::WeakPublicKey); [PTX] | ^^^ not found in this scope [PTX] [PTX] error[E0425]: cannot find function, tuple struct or tuple variant Err in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:234:24 [PTX] | [PTX] 234 | return Err(Error::InvalidPublicKey); [PTX] | ^^^ not found in this scope [PTX] [PTX] error[E0425]: cannot find function, tuple struct or tuple variant Err in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:253:13 [PTX] | [PTX] 253 | Err(Error::SignatureMismatch) [PTX] | ^^^ not found in this scope [PTX] [PTX] error[E0425]: cannot find function, tuple struct or tuple variant Ok in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:255:13 [PTX] | [PTX] 255 | Ok(()) [PTX] | ^^ not found in this scope [PTX] [PTX] error[E0425]: cannot find function, tuple struct or tuple variant Ok in this scope [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\ed25519-compact-0.1.6\src\ed25519.rs:359:9 [PTX] | [PTX] 359 | Ok(KeyPair { pk, sk }) [PTX] | ^^ help: a local variable with a similar name exists: pk [PTX] [PTX] Some errors have detailed explanations: E0405, E0412, E0425, E0463, E0531. [PTX] For more information about an error, try rustc --explain E0405. [PTX] error: could not compile ed25519-compact (lib) due to 63 previous errors [PTX] [PTX] warning: build failed, waiting for other jobs to finish... [PTX] error[E0433]: failed to resolve: use of undeclared type PartialEq [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:31:17 [PTX] | [PTX] 31 | PartialEq::eq(&self.0, &other.0) [PTX] | ^^^^^^^^^ use of undeclared type PartialEq [PTX] ... [PTX] 57 | derive_traits!(DevicePointer UnifiedPointer); [PTX] | -------------------------------------------------- in this macro invocation [PTX] | [PTX] = note: this error originates in the macro derive_traits (in Nightly builds, run with -Z macro-backtrace for more info) [PTX] [PTX] error[E0433]: failed to resolve: use of undeclared type PartialOrd [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:39:17 [PTX] | [PTX] 39 | PartialOrd::partial_cmp(&self.0, &other.0) [PTX] | ^^^^^^^^^^ use of undeclared type PartialOrd [PTX] ... [PTX] 57 | derive_traits!(DevicePointer UnifiedPointer); [PTX] | -------------------------------------------------- in this macro invocation [PTX] | [PTX] = note: this error originates in the macro derive_traits (in Nightly builds, run with -Z macro-backtrace for more info) [PTX] [PTX] error[E0433]: failed to resolve: use of undeclared type Ord [PTX] --> C:\Users\user.cargo\registry\src\index.crates.io-6f17d22bba15001f\rustacuda_core-0.1.2\src\memory\pointer.rs:45:17 [PTX] | [PTX] 45 | Ord::cmp(&self.0, &other.0) [PTX] | ^^^ use of undeclared type Ord [PTX] ... [PTX] 57 | derive_traits!(DevicePointer UnifiedPointer); [PTX] | -------------------------------------------------- in this macro invocation [PTX] | [PTX] = note: this error originates in the macro derive_traits (in Nightly builds, run with -Z macro-backtrace for more info) [PTX] [PTX] Some errors have detailed explanations: E0405, E0412, E0432, E0433, E0463. [PTX] error: could not compile rustacuda_core (lib) due to 54 previous errors [PTX] error: failed to compile tor-v3-vanity v0.1.0 (C:\Users\user\documents\code\tor-v3-vanity), intermediate artifacts can be found at C:\Users\user\documents\code\tor-v3-vanity\target. To reuse those artifacts with a future compilation, set the environment variable CARGO_TARGET_DIR to that path. PS C:\Users\user\documents\code\tor-v3-vanity>