[INFO] fetching crate ed25519-dalek-blake2-feeless 1.0.1... [INFO] checking ed25519-dalek-blake2-feeless-1.0.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate ed25519-dalek-blake2-feeless 1.0.1 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate ed25519-dalek-blake2-feeless 1.0.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ed25519-dalek-blake2-feeless 1.0.1 [INFO] finished tweaking crates.io crate ed25519-dalek-blake2-feeless 1.0.1 [INFO] tweaked toml for crates.io crate ed25519-dalek-blake2-feeless 1.0.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 107 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding blake2 v0.9.2 (available: v0.10.6) [INFO] [stderr] Adding block-buffer v0.9.0 (available: v0.10.4) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.18) [INFO] [stderr] Adding criterion v0.3.6 (available: v0.5.1) [INFO] [stderr] Adding criterion-plot v0.4.5 (available: v0.5.0) [INFO] [stderr] Adding crypto-mac v0.8.0 (available: v0.11.1) [INFO] [stderr] Adding curve25519-dalek v3.2.1 (available: v4.1.3) [INFO] [stderr] Adding digest v0.9.0 (available: v0.10.7) [INFO] [stderr] Adding ed25519 v1.5.3 (available: v2.2.3) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding getrandom v0.1.16 (available: v0.2.15) [INFO] [stderr] Adding half v1.8.3 (available: v2.4.1) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding libm v0.1.4 (available: v0.2.8) [INFO] [stderr] Adding merlin v2.0.1 (available: v3.0.0) [INFO] [stderr] Adding rand v0.7.3 (available: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (available: v0.3.1) [INFO] [stderr] Adding rand_core v0.5.1 (available: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (available: v0.3.2) [INFO] [stderr] Adding sha2 v0.9.9 (available: v0.10.8) [INFO] [stderr] Adding signature v1.6.4 (available: v2.2.0) [INFO] [stderr] Adding textwrap v0.11.0 (available: v0.16.1) [INFO] [stderr] Adding toml v0.5.11 (available: v0.8.19) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding zeroize v1.3.0 (available: v1.8.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sha2-asm v0.6.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b752da7e8d8fabaa6b59c175c4cd4badcb134fe3843fbd639cd82f48cf68cc5e [INFO] running `Command { std: "docker" "start" "-a" "b752da7e8d8fabaa6b59c175c4cd4badcb134fe3843fbd639cd82f48cf68cc5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b752da7e8d8fabaa6b59c175c4cd4badcb134fe3843fbd639cd82f48cf68cc5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b752da7e8d8fabaa6b59c175c4cd4badcb134fe3843fbd639cd82f48cf68cc5e", kill_on_drop: false }` [INFO] [stdout] b752da7e8d8fabaa6b59c175c4cd4badcb134fe3843fbd639cd82f48cf68cc5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f166fe67dacb29828e6e006b189efee6ab902fefffe40cc135704424e279513 [INFO] running `Command { std: "docker" "start" "-a" "4f166fe67dacb29828e6e006b189efee6ab902fefffe40cc135704424e279513", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Checking ed25519 v1.5.3 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking curve25519-dalek v3.2.1 [INFO] [stderr] Checking blake2 v0.9.2 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ed25519-dalek-blake2-feeless v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `ArrayLengthError` is never constructed [INFO] [stdout] --> src/errors.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub(crate) enum InternalError { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 41 | ArrayLengthError{ name_a: &'static str, length_a: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InternalError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stdout] error[E0463]: can't find crate for `ed25519_dalek` [INFO] [stdout] --> tests/ed25519.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate ed25519_dalek; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `ed25519_dalek` [INFO] [stdout] --> benches/ed25519_benchmarks.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern crate ed25519_dalek; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench_function_over_inputs`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/ed25519_benchmarks.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | c.bench_function_over_inputs( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ed25519-dalek-blake2-feeless` (bench "ed25519_benchmarks") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `SecretKey` in this scope [INFO] [stdout] --> tests/ed25519.rs:68:25 [INFO] [stdout] | [INFO] [stdout] 68 | let secret: SecretKey = SecretKey::from_bytes(&sec_bytes[..SECRET_KEY_LENGTH]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 31 + use ed25519_dalek_blake2_feeless::SecretKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SecretKey` [INFO] [stdout] --> tests/ed25519.rs:68:37 [INFO] [stdout] | [INFO] [stdout] 68 | let secret: SecretKey = SecretKey::from_bytes(&sec_bytes[..SECRET_KEY_LENGTH]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SecretKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 31 + use ed25519_dalek_blake2_feeless::SecretKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SECRET_KEY_LENGTH` in this scope [INFO] [stdout] --> tests/ed25519.rs:68:72 [INFO] [stdout] | [INFO] [stdout] 68 | let secret: SecretKey = SecretKey::from_bytes(&sec_bytes[..SECRET_KEY_LENGTH]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 31 + use ed25519_dalek_blake2_feeless::SECRET_KEY_LENGTH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PublicKey` in this scope [INFO] [stdout] --> tests/ed25519.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | let public: PublicKey = PublicKey::from_bytes(&pub_bytes[..PUBLIC_KEY_LENGTH]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 31 + use ed25519_dalek_blake2_feeless::PublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PublicKey` [INFO] [stdout] --> tests/ed25519.rs:69:37 [INFO] [stdout] | [INFO] [stdout] 69 | let public: PublicKey = PublicKey::from_bytes(&pub_bytes[..PUBLIC_KEY_LENGTH]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PublicKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 31 + use ed25519_dalek_blake2_feeless::PublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PUBLIC_KEY_LENGTH` in this scope [INFO] [stdout] --> tests/ed25519.rs:69:72 [INFO] [stdout] | [INFO] [stdout] 69 | let public: PublicKey = PublicKey::from_bytes(&pub_bytes[..PUBLIC_KEY_LENGTH]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 31 + use ed25519_dalek_blake2_feeless::PUBLIC_KEY_LENGTH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Keypair` in this scope [INFO] [stdout] --> tests/ed25519.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | let keypair: Keypair = Keypair{ secret: secret, public: public }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 31 + use ed25519_dalek_blake2_feeless::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Keypair` in this scope [INFO] [stdout] --> tests/ed25519.rs:70:37 [INFO] [stdout] | [INFO] [stdout] 70 | let keypair: Keypair = Keypair{ secret: secret, public: public }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 31 + use ed25519_dalek_blake2_feeless::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> tests/ed25519.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | let sig1: Signature = Signature::from_bytes(&sig_bytes[..64]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 31 + use ed25519::Signature; [INFO] [stdout] | [INFO] [stdout] 31 + use ed25519_dalek_blake2_feeless::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Signature` [INFO] [stdout] --> tests/ed25519.rs:74:35 [INFO] [stdout] | [INFO] [stdout] 74 | let sig1: Signature = Signature::from_bytes(&sig_bytes[..64]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Signature` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 31 + use ed25519::Signature; [INFO] [stdout] | [INFO] [stdout] 31 + use ed25519_dalek_blake2_feeless::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> tests/ed25519.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | let sig2: Signature = keypair.sign(&msg_bytes); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 31 + use ed25519::Signature; [INFO] [stdout] | [INFO] [stdout] 31 + use ed25519_dalek_blake2_feeless::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SecretKey` in this scope [INFO] [stdout] --> tests/ed25519.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | let secret: SecretKey = SecretKey::from_bytes(&sec_bytes[..SECRET_KEY_LENGTH]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 31 + use ed25519_dalek_blake2_feeless::SecretKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SecretKey` [INFO] [stdout] --> tests/ed25519.rs:96:33 [INFO] [stdout] | [INFO] [stdout] 96 | let secret: SecretKey = SecretKey::from_bytes(&sec_bytes[..SECRET_KEY_LENGTH]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SecretKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 31 + use ed25519_dalek_blake2_feeless::SecretKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SECRET_KEY_LENGTH` in this scope [INFO] [stdout] --> tests/ed25519.rs:96:68 [INFO] [stdout] | [INFO] [stdout] 96 | let secret: SecretKey = SecretKey::from_bytes(&sec_bytes[..SECRET_KEY_LENGTH]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 31 + use ed25519_dalek_blake2_feeless::SECRET_KEY_LENGTH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PublicKey` in this scope [INFO] [stdout] --> tests/ed25519.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | let public: PublicKey = PublicKey::from_bytes(&pub_bytes[..PUBLIC_KEY_LENGTH]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 31 + use ed25519_dalek_blake2_feeless::PublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PublicKey` [INFO] [stdout] --> tests/ed25519.rs:97:33 [INFO] [stdout] | [INFO] [stdout] 97 | let public: PublicKey = PublicKey::from_bytes(&pub_bytes[..PUBLIC_KEY_LENGTH]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PublicKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 31 + use ed25519_dalek_blake2_feeless::PublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PUBLIC_KEY_LENGTH` in this scope [INFO] [stdout] --> tests/ed25519.rs:97:68 [INFO] [stdout] | [INFO] [stdout] 97 | let public: PublicKey = PublicKey::from_bytes(&pub_bytes[..PUBLIC_KEY_LENGTH]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 31 + use ed25519_dalek_blake2_feeless::PUBLIC_KEY_LENGTH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Keypair` in this scope [INFO] [stdout] --> tests/ed25519.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | let keypair: Keypair = Keypair{ secret: secret, public: public }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 31 + use ed25519_dalek_blake2_feeless::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Keypair` in this scope [INFO] [stdout] --> tests/ed25519.rs:98:33 [INFO] [stdout] | [INFO] [stdout] 98 | let keypair: Keypair = Keypair{ secret: secret, public: public }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 31 + use ed25519_dalek_blake2_feeless::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> tests/ed25519.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | let sig1: Signature = Signature::from_bytes(&sig_bytes[..]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 31 + use ed25519::Signature; [INFO] [stdout] | [INFO] [stdout] 31 + use ed25519_dalek_blake2_feeless::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Signature` [INFO] [stdout] --> tests/ed25519.rs:99:31 [INFO] [stdout] | [INFO] [stdout] 99 | let sig1: Signature = Signature::from_bytes(&sig_bytes[..]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Signature` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 31 + use ed25519::Signature; [INFO] [stdout] | [INFO] [stdout] 31 + use ed25519_dalek_blake2_feeless::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> tests/ed25519.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | let sig2: Signature = keypair.sign_prehashed(prehash_for_signing, None).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 31 + use ed25519::Signature; [INFO] [stdout] | [INFO] [stdout] 31 + use ed25519_dalek_blake2_feeless::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Keypair` in this scope [INFO] [stdout] --> tests/ed25519.rs:124:22 [INFO] [stdout] | [INFO] [stdout] 124 | let keypair: Keypair; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 119 + use ed25519_dalek_blake2_feeless::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> tests/ed25519.rs:125:23 [INFO] [stdout] | [INFO] [stdout] 125 | let good_sig: Signature; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 119 + use ed25519::Signature; [INFO] [stdout] | [INFO] [stdout] 119 + use ed25519_dalek_blake2_feeless::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> tests/ed25519.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 126 | let bad_sig: Signature; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 119 + use ed25519::Signature; [INFO] [stdout] | [INFO] [stdout] 119 + use ed25519_dalek_blake2_feeless::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Keypair` [INFO] [stdout] --> tests/ed25519.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 133 | keypair = Keypair::generate(&mut csprng); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Keypair` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 119 + use ed25519_dalek_blake2_feeless::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Keypair` in this scope [INFO] [stdout] --> tests/ed25519.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | let keypair: Keypair; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 119 + use ed25519_dalek_blake2_feeless::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> tests/ed25519.rs:148:23 [INFO] [stdout] | [INFO] [stdout] 148 | let good_sig: Signature; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 119 + use ed25519::Signature; [INFO] [stdout] | [INFO] [stdout] 119 + use ed25519_dalek_blake2_feeless::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> tests/ed25519.rs:149:23 [INFO] [stdout] | [INFO] [stdout] 149 | let bad_sig: Signature; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 119 + use ed25519::Signature; [INFO] [stdout] | [INFO] [stdout] 119 + use ed25519_dalek_blake2_feeless::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Keypair` [INFO] [stdout] --> tests/ed25519.rs:171:20 [INFO] [stdout] | [INFO] [stdout] 171 | keypair = Keypair::generate(&mut csprng); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Keypair` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 119 + use ed25519_dalek_blake2_feeless::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SecretKey` in this scope [INFO] [stdout] --> tests/ed25519.rs:213:21 [INFO] [stdout] | [INFO] [stdout] 213 | let secret: SecretKey = SecretKey::generate(&mut csprng); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 119 + use ed25519_dalek_blake2_feeless::SecretKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SecretKey` [INFO] [stdout] --> tests/ed25519.rs:213:33 [INFO] [stdout] | [INFO] [stdout] 213 | let secret: SecretKey = SecretKey::generate(&mut csprng); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SecretKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 119 + use ed25519_dalek_blake2_feeless::SecretKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExpandedSecretKey` in this scope [INFO] [stdout] --> tests/ed25519.rs:214:30 [INFO] [stdout] | [INFO] [stdout] 214 | let expanded_secret: ExpandedSecretKey = (&secret).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 119 + use ed25519_dalek_blake2_feeless::ExpandedSecretKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PublicKey` in this scope [INFO] [stdout] --> tests/ed25519.rs:215:33 [INFO] [stdout] | [INFO] [stdout] 215 | let public_from_secret: PublicKey = (&secret).into(); // XXX eww [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 119 + use ed25519_dalek_blake2_feeless::PublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PublicKey` in this scope [INFO] [stdout] --> tests/ed25519.rs:216:42 [INFO] [stdout] | [INFO] [stdout] 216 | let public_from_expanded_secret: PublicKey = (&expanded_secret).into(); // XXX eww [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 119 + use ed25519_dalek_blake2_feeless::PublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ed25519::signature::Signature as _` [INFO] [stdout] --> tests/ed25519.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | use ed25519::signature::Signature as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for struct `sha2::Sha512` in the current scope [INFO] [stdout] --> tests/ed25519.rs:104:29 [INFO] [stdout] | [INFO] [stdout] 104 | prehash_for_signing.update(&msg_bytes[..]); [INFO] [stdout] | ^^^^^^ method not found in `Sha512` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits which provide `update` are implemented but not in scope; perhaps you want to import one of them [INFO] [stdout] | [INFO] [stdout] 31 + use crate::sha2::Digest; [INFO] [stdout] | [INFO] [stdout] 31 + use crate::sha2::digest::DynDigest; [INFO] [stdout] | [INFO] [stdout] 31 + use crate::sha2::digest::Update; [INFO] [stdout] | [INFO] [stdout] 31 + use crypto_mac::Mac; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for struct `sha2::Sha512` in the current scope [INFO] [stdout] --> tests/ed25519.rs:105:31 [INFO] [stdout] | [INFO] [stdout] 105 | prehash_for_verifying.update(&msg_bytes[..]); [INFO] [stdout] | ^^^^^^ method not found in `Sha512` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits which provide `update` are implemented but not in scope; perhaps you want to import one of them [INFO] [stdout] | [INFO] [stdout] 31 + use crate::sha2::Digest; [INFO] [stdout] | [INFO] [stdout] 31 + use crate::sha2::digest::DynDigest; [INFO] [stdout] | [INFO] [stdout] 31 + use crate::sha2::digest::Update; [INFO] [stdout] | [INFO] [stdout] 31 + use crypto_mac::Mac; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for struct `sha2::Sha512` in the current scope [INFO] [stdout] --> tests/ed25519.rs:158:25 [INFO] [stdout] | [INFO] [stdout] 158 | prehashed_good1.update(good); [INFO] [stdout] | ^^^^^^ method not found in `Sha512` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits which provide `update` are implemented but not in scope; perhaps you want to import one of them [INFO] [stdout] | [INFO] [stdout] 119 + use crate::sha2::Digest; [INFO] [stdout] | [INFO] [stdout] 119 + use crate::sha2::digest::DynDigest; [INFO] [stdout] | [INFO] [stdout] 119 + use crate::sha2::digest::Update; [INFO] [stdout] | [INFO] [stdout] 119 + use crypto_mac::Mac; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for struct `sha2::Sha512` in the current scope [INFO] [stdout] --> tests/ed25519.rs:160:25 [INFO] [stdout] | [INFO] [stdout] 160 | prehashed_good2.update(good); [INFO] [stdout] | ^^^^^^ method not found in `Sha512` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits which provide `update` are implemented but not in scope; perhaps you want to import one of them [INFO] [stdout] | [INFO] [stdout] 119 + use crate::sha2::Digest; [INFO] [stdout] | [INFO] [stdout] 119 + use crate::sha2::digest::DynDigest; [INFO] [stdout] | [INFO] [stdout] 119 + use crate::sha2::digest::Update; [INFO] [stdout] | [INFO] [stdout] 119 + use crypto_mac::Mac; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for struct `sha2::Sha512` in the current scope [INFO] [stdout] --> tests/ed25519.rs:162:25 [INFO] [stdout] | [INFO] [stdout] 162 | prehashed_good3.update(good); [INFO] [stdout] | ^^^^^^ method not found in `Sha512` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits which provide `update` are implemented but not in scope; perhaps you want to import one of them [INFO] [stdout] | [INFO] [stdout] 119 + use crate::sha2::Digest; [INFO] [stdout] | [INFO] [stdout] 119 + use crate::sha2::digest::DynDigest; [INFO] [stdout] | [INFO] [stdout] 119 + use crate::sha2::digest::Update; [INFO] [stdout] | [INFO] [stdout] 119 + use crypto_mac::Mac; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for struct `sha2::Sha512` in the current scope [INFO] [stdout] --> tests/ed25519.rs:165:24 [INFO] [stdout] | [INFO] [stdout] 165 | prehashed_bad1.update(bad); [INFO] [stdout] | ^^^^^^ method not found in `Sha512` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits which provide `update` are implemented but not in scope; perhaps you want to import one of them [INFO] [stdout] | [INFO] [stdout] 119 + use crate::sha2::Digest; [INFO] [stdout] | [INFO] [stdout] 119 + use crate::sha2::digest::DynDigest; [INFO] [stdout] | [INFO] [stdout] 119 + use crate::sha2::digest::Update; [INFO] [stdout] | [INFO] [stdout] 119 + use crypto_mac::Mac; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `update` found for struct `sha2::Sha512` in the current scope [INFO] [stdout] --> tests/ed25519.rs:167:24 [INFO] [stdout] | [INFO] [stdout] 167 | prehashed_bad2.update(bad); [INFO] [stdout] | ^^^^^^ method not found in `Sha512` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following traits which provide `update` are implemented but not in scope; perhaps you want to import one of them [INFO] [stdout] | [INFO] [stdout] 119 + use crate::sha2::Digest; [INFO] [stdout] | [INFO] [stdout] 119 + use crate::sha2::digest::DynDigest; [INFO] [stdout] | [INFO] [stdout] 119 + use crate::sha2::digest::Update; [INFO] [stdout] | [INFO] [stdout] 119 + use crypto_mac::Mac; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 43 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ed25519-dalek-blake2-feeless` (test "ed25519") due to 44 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4f166fe67dacb29828e6e006b189efee6ab902fefffe40cc135704424e279513", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f166fe67dacb29828e6e006b189efee6ab902fefffe40cc135704424e279513", kill_on_drop: false }` [INFO] [stdout] 4f166fe67dacb29828e6e006b189efee6ab902fefffe40cc135704424e279513