[INFO] fetching crate solana_libra_crypto 0.0.1-sol5... [INFO] checking solana_libra_crypto-0.0.1-sol5 against try#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477 [INFO] extracting crate solana_libra_crypto 0.0.1-sol5 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate solana_libra_crypto 0.0.1-sol5 on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate solana_libra_crypto 0.0.1-sol5 [INFO] finished tweaking crates.io crate solana_libra_crypto 0.0.1-sol5 [INFO] tweaked toml for crates.io crate solana_libra_crypto 0.0.1-sol5 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ripemd160 v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 435b1cab391ac7e8d465d12e4fc87371ee3eb9c46320bc3375f90dbcff261cd3 [INFO] running `Command { std: "docker" "start" "-a" "435b1cab391ac7e8d465d12e4fc87371ee3eb9c46320bc3375f90dbcff261cd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "435b1cab391ac7e8d465d12e4fc87371ee3eb9c46320bc3375f90dbcff261cd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "435b1cab391ac7e8d465d12e4fc87371ee3eb9c46320bc3375f90dbcff261cd3", kill_on_drop: false }` [INFO] [stdout] 435b1cab391ac7e8d465d12e4fc87371ee3eb9c46320bc3375f90dbcff261cd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b24b6a198e18a4a7ee4a55f7cb02d5608ff917efdfa384e3e95411d392318d77 [INFO] running `Command { std: "docker" "start" "-a" "b24b6a198e18a4a7ee4a55f7cb02d5608ff917efdfa384e3e95411d392318d77", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking radium v0.3.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling clear_on_drop v0.2.4 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Checking rand04 v0.1.1 [INFO] [stderr] Checking pairing v0.14.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking ripemd160 v0.8.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling proptest-derive v0.1.2 [INFO] [stderr] Checking rand04_compat v0.1.1 [INFO] [stderr] Checking bitvec v0.17.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking object v0.25.3 [INFO] [stderr] Compiling curve25519-dalek v1.2.6 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking rusty-fork v0.2.2 [INFO] [stderr] Checking proptest v0.9.6 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling solana_libra_crypto-derive v0.0.1-sol5 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking curve25519-dalek v3.1.0 [INFO] [stderr] Checking curve25519-dalek v2.1.2 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking solana_libra_failure_ext v0.0.1-sol5 [INFO] [stderr] Checking solana_libra_canonical_serialization v0.0.1-sol5 [INFO] [stderr] Checking x25519-dalek v0.6.0 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking ed25519 v1.1.1 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking solana_libra_nibble v0.0.1-sol5 [INFO] [stderr] Checking threshold_crypto v0.3.2 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking solana_libra_crypto v0.0.1-sol5 (/opt/rustwide/workdir) [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/bls12381.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | bail!("The provided signature is not valid on this PublicKey and Message") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/bls12381.rs:246:13 [INFO] [stdout] | [INFO] [stdout] 246 | bail!("The provided signature is not valid on this PublicKey and Message") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/vrf/ecvrf.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | bail!("The proof failed to verify for this public key") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `export` is private [INFO] [stdout] --> src/ed25519.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | use serde::{de, export, ser}; [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `export` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.126/src/lib.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | use self::__private as export; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `export` is private [INFO] [stdout] --> src/x25519.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | use serde::{de, export, ser}; [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `export` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.126/src/lib.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | use self::__private as export; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/vrf/ecvrf.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | bail!("The proof failed to verify for this public key") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Trailing semicolon in macro [INFO] [stdout] --> src/unit_tests/cross_test.rs:54:45 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Clone, Debug, PartialEq, Eq, Hash, Signature)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `::failure::bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `export` is private [INFO] [stdout] --> src/ed25519.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | use serde::{de, export, ser}; [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `export` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.126/src/lib.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | use self::__private as export; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `export` is private [INFO] [stdout] --> src/x25519.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | use serde::{de, export, ser}; [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `export` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.126/src/lib.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | use self::__private as export; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `ed25519_dalek::Signature` in the current scope [INFO] [stdout] --> src/ed25519.rs:113:41 [INFO] [stdout] | [INFO] [stdout] 113 | match ed25519_dalek::Signature::from_bytes(bytes) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `ed25519_dalek::Signature` [INFO] [stdout] | help: there is an associated function with a similar name: `to_bytes` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use ed25519_dalek::ed25519::signature::Signature;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `verify` found for struct `ed25519_dalek::PublicKey` in the current scope [INFO] [stdout] --> src/ed25519.rs:322:14 [INFO] [stdout] | [INFO] [stdout] 322 | .verify(message, &self.0) [INFO] [stdout] | ^^^^^^ method not found in `ed25519_dalek::PublicKey` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/signature-1.3.1/src/verifier.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn verify(&self, msg: &[u8], signature: &S) -> Result<(), Error>; [INFO] [stdout] | ------ the method is available for `ed25519_dalek::PublicKey` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use ed25519_dalek::Verifier;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `result` found for struct `ed25519_dalek::Sha512` in the current scope [INFO] [stdout] --> src/vrf/ecvrf.rs:197:22 [INFO] [stdout] | [INFO] [stdout] 197 | .result()[..32], [INFO] [stdout] | ^^^^^^ method not found in `ed25519_dalek::Sha512` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `input` found for struct `ed25519_dalek::Sha512` in the current scope [INFO] [stdout] --> src/vrf/ecvrf.rs:222:11 [INFO] [stdout] | [INFO] [stdout] 222 | h.input(private_key.to_bytes()); [INFO] [stdout] | ^^^^^ method not found in `ed25519_dalek::Sha512` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `result` found for struct `ed25519_dalek::Sha512` in the current scope [INFO] [stdout] --> src/vrf/ecvrf.rs:223:32 [INFO] [stdout] | [INFO] [stdout] 223 | hash.copy_from_slice(h.result().as_slice()); [INFO] [stdout] | ^^^^^^ method not found in `ed25519_dalek::Sha512` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `result` found for struct `ed25519_dalek::Sha512` in the current scope [INFO] [stdout] --> src/vrf/ecvrf.rs:298:18 [INFO] [stdout] | [INFO] [stdout] 298 | .result()[..], [INFO] [stdout] | ^^^^^^ method not found in `ed25519_dalek::Sha512` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `result` found for struct `ed25519_dalek::Sha512` in the current scope [INFO] [stdout] --> src/vrf/ecvrf.rs:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | .result()[..], [INFO] [stdout] | ^^^^^^ method not found in `ed25519_dalek::Sha512` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `result` found for struct `ed25519_dalek::Sha512` in the current scope [INFO] [stdout] --> src/vrf/ecvrf.rs:321:40 [INFO] [stdout] | [INFO] [stdout] 321 | result[..16].copy_from_slice(&hash.result()[..16]); [INFO] [stdout] | ^^^^^^ method not found in `ed25519_dalek::Sha512` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `ed25519_dalek::Signature` in the current scope [INFO] [stdout] --> src/ed25519.rs:113:41 [INFO] [stdout] | [INFO] [stdout] 113 | match ed25519_dalek::Signature::from_bytes(bytes) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `ed25519_dalek::Signature` [INFO] [stdout] | help: there is an associated function with a similar name: `to_bytes` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use ed25519_dalek::ed25519::signature::Signature;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `verify` found for struct `ed25519_dalek::PublicKey` in the current scope [INFO] [stdout] --> src/ed25519.rs:322:14 [INFO] [stdout] | [INFO] [stdout] 322 | .verify(message, &self.0) [INFO] [stdout] | ^^^^^^ method not found in `ed25519_dalek::PublicKey` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/signature-1.3.1/src/verifier.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn verify(&self, msg: &[u8], signature: &S) -> Result<(), Error>; [INFO] [stdout] | ------ the method is available for `ed25519_dalek::PublicKey` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use ed25519_dalek::Verifier;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `solana_libra_crypto` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `result` found for struct `ed25519_dalek::Sha512` in the current scope [INFO] [stdout] --> src/vrf/ecvrf.rs:197:22 [INFO] [stdout] | [INFO] [stdout] 197 | .result()[..32], [INFO] [stdout] | ^^^^^^ method not found in `ed25519_dalek::Sha512` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `input` found for struct `ed25519_dalek::Sha512` in the current scope [INFO] [stdout] --> src/vrf/ecvrf.rs:222:11 [INFO] [stdout] | [INFO] [stdout] 222 | h.input(private_key.to_bytes()); [INFO] [stdout] | ^^^^^ method not found in `ed25519_dalek::Sha512` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `result` found for struct `ed25519_dalek::Sha512` in the current scope [INFO] [stdout] --> src/vrf/ecvrf.rs:223:32 [INFO] [stdout] | [INFO] [stdout] 223 | hash.copy_from_slice(h.result().as_slice()); [INFO] [stdout] | ^^^^^^ method not found in `ed25519_dalek::Sha512` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `result` found for struct `ed25519_dalek::Sha512` in the current scope [INFO] [stdout] --> src/vrf/ecvrf.rs:298:18 [INFO] [stdout] | [INFO] [stdout] 298 | .result()[..], [INFO] [stdout] | ^^^^^^ method not found in `ed25519_dalek::Sha512` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `result` found for struct `ed25519_dalek::Sha512` in the current scope [INFO] [stdout] --> src/vrf/ecvrf.rs:310:14 [INFO] [stdout] | [INFO] [stdout] 310 | .result()[..], [INFO] [stdout] | ^^^^^^ method not found in `ed25519_dalek::Sha512` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `result` found for struct `ed25519_dalek::Sha512` in the current scope [INFO] [stdout] --> src/vrf/ecvrf.rs:321:40 [INFO] [stdout] | [INFO] [stdout] 321 | result[..16].copy_from_slice(&hash.result()[..16]); [INFO] [stdout] | ^^^^^^ method not found in `ed25519_dalek::Sha512` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_bytes` found for struct `ed25519_dalek::Signature` in the current scope [INFO] [stdout] --> src/unit_tests/ed25519_test.rs:115:51 [INFO] [stdout] | [INFO] [stdout] 115 | let dalek_sig = ed25519_dalek::Signature::from_bytes(&serialized); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | function or associated item not found in `ed25519_dalek::Signature` [INFO] [stdout] | help: there is an associated function with a similar name: `to_bytes` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use ed25519_dalek::ed25519::signature::Signature;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `verify` found for struct `ed25519_dalek::PublicKey` in the current scope [INFO] [stdout] --> src/unit_tests/ed25519_test.rs:120:39 [INFO] [stdout] | [INFO] [stdout] 120 | prop_assert!(dalek_public_key.verify(hash.as_ref(), &dalek_sig.unwrap()).is_ok()); [INFO] [stdout] | ^^^^^^ method not found in `ed25519_dalek::PublicKey` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/signature-1.3.1/src/verifier.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | fn verify(&self, msg: &[u8], signature: &S) -> Result<(), Error>; [INFO] [stdout] | ------ the method is available for `ed25519_dalek::PublicKey` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use ed25519_dalek::Verifier;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b24b6a198e18a4a7ee4a55f7cb02d5608ff917efdfa384e3e95411d392318d77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b24b6a198e18a4a7ee4a55f7cb02d5608ff917efdfa384e3e95411d392318d77", kill_on_drop: false }` [INFO] [stdout] b24b6a198e18a4a7ee4a55f7cb02d5608ff917efdfa384e3e95411d392318d77