[INFO] fetching crate frauth-ed25519-dalek 1.0.0-pre.3... [INFO] testing frauth-ed25519-dalek-1.0.0-pre.3 against 1.60.0 for beta-1.61-1 [INFO] extracting crate frauth-ed25519-dalek 1.0.0-pre.3 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate frauth-ed25519-dalek 1.0.0-pre.3 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate frauth-ed25519-dalek 1.0.0-pre.3 [INFO] finished tweaking crates.io crate frauth-ed25519-dalek 1.0.0-pre.3 [INFO] tweaked toml for crates.io crate frauth-ed25519-dalek 1.0.0-pre.3 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sha2-asm v0.5.5 [INFO] [stderr] Downloaded clear_on_drop v0.2.4 [INFO] [stderr] Downloaded merlin v1.3.0 [INFO] [stderr] Downloaded packed_simd v0.3.3 [INFO] [stderr] Downloaded curve25519-dalek v2.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5237854761c0ef02c7681185e52c56a2059336e55c235dd8cbf14791b3cf010e [INFO] running `Command { std: "docker" "start" "-a" "5237854761c0ef02c7681185e52c56a2059336e55c235dd8cbf14791b3cf010e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5237854761c0ef02c7681185e52c56a2059336e55c235dd8cbf14791b3cf010e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5237854761c0ef02c7681185e52c56a2059336e55c235dd8cbf14791b3cf010e", kill_on_drop: false }` [INFO] [stdout] 5237854761c0ef02c7681185e52c56a2059336e55c235dd8cbf14791b3cf010e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d396c4b2e6573ae989176a71d34f91360571cb023c111214212e2bcad90401fa [INFO] running `Command { std: "docker" "start" "-a" "d396c4b2e6573ae989176a71d34f91360571cb023c111214212e2bcad90401fa", kill_on_drop: false }` [INFO] [stderr] Compiling zeroize v1.5.4 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling frauth-ed25519-dalek v1.0.0-pre.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `ArrayLengthError` [INFO] [stdout] --> src/errors.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / ArrayLengthError{ name_a: &'static str, length_a: usize, [INFO] [stdout] 42 | | name_b: &'static str, length_b: usize, [INFO] [stdout] 43 | | name_c: &'static str, length_c: usize, }, [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `InternalError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/errors.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.39s [INFO] running `Command { std: "docker" "inspect" "d396c4b2e6573ae989176a71d34f91360571cb023c111214212e2bcad90401fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d396c4b2e6573ae989176a71d34f91360571cb023c111214212e2bcad90401fa", kill_on_drop: false }` [INFO] [stdout] d396c4b2e6573ae989176a71d34f91360571cb023c111214212e2bcad90401fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfcd192f0e228b767c7bf447edd7f05e21de5a9f670a143975482378cc1519ea [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cfcd192f0e228b767c7bf447edd7f05e21de5a9f670a143975482378cc1519ea", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling bincode v0.9.2 [INFO] [stdout] warning: variant is never constructed: `ArrayLengthError` [INFO] [stdout] --> src/errors.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / ArrayLengthError{ name_a: &'static str, length_a: usize, [INFO] [stdout] 42 | | name_b: &'static str, length_b: usize, [INFO] [stdout] 43 | | name_c: &'static str, length_c: usize, }, [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `InternalError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/errors.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling frauth-ed25519-dalek v1.0.0-pre.3 (/opt/rustwide/workdir) [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[E0412]: cannot find type `SecretKey` in this scope [INFO] [stdout] --> tests/ed25519.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | 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] 27 | use frauth_ed25519_dalek::SecretKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SecretKey` [INFO] [stdout] --> tests/ed25519.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | 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] 27 | use frauth_ed25519_dalek::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:62:72 [INFO] [stdout] | [INFO] [stdout] 62 | 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] 27 | use frauth_ed25519_dalek::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:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | 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] 27 | use frauth_ed25519_dalek::PublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PublicKey` [INFO] [stdout] --> tests/ed25519.rs:63:37 [INFO] [stdout] | [INFO] [stdout] 63 | 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] 27 | use frauth_ed25519_dalek::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:63:72 [INFO] [stdout] | [INFO] [stdout] 63 | 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] 27 | use frauth_ed25519_dalek::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:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | 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] 27 | use frauth_ed25519_dalek::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:64:37 [INFO] [stdout] | [INFO] [stdout] 64 | 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] 27 | use frauth_ed25519_dalek::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> tests/ed25519.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | let sig1: Signature = Signature::from_bytes(&sig_bytes[..64]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 27 | use frauth_ed25519_dalek::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Signature` [INFO] [stdout] --> tests/ed25519.rs:68:35 [INFO] [stdout] | [INFO] [stdout] 68 | let sig1: Signature = Signature::from_bytes(&sig_bytes[..64]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 27 | use frauth_ed25519_dalek::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> tests/ed25519.rs:69:23 [INFO] [stdout] | [INFO] [stdout] 69 | let sig2: Signature = keypair.sign(&msg_bytes); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 27 | use frauth_ed25519_dalek::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SecretKey` in this scope [INFO] [stdout] --> tests/ed25519.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | 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] 27 | use frauth_ed25519_dalek::SecretKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SecretKey` [INFO] [stdout] --> tests/ed25519.rs:90:33 [INFO] [stdout] | [INFO] [stdout] 90 | 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] 27 | use frauth_ed25519_dalek::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:90:68 [INFO] [stdout] | [INFO] [stdout] 90 | 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] 27 | use frauth_ed25519_dalek::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:91:21 [INFO] [stdout] | [INFO] [stdout] 91 | 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] 27 | use frauth_ed25519_dalek::PublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PublicKey` [INFO] [stdout] --> tests/ed25519.rs:91:33 [INFO] [stdout] | [INFO] [stdout] 91 | 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] 27 | use frauth_ed25519_dalek::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:91:68 [INFO] [stdout] | [INFO] [stdout] 91 | 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] 27 | use frauth_ed25519_dalek::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:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | 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] 27 | use frauth_ed25519_dalek::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:92:33 [INFO] [stdout] | [INFO] [stdout] 92 | 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] 27 | use frauth_ed25519_dalek::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> tests/ed25519.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | let sig1: Signature = Signature::from_bytes(&sig_bytes[..]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 27 | use frauth_ed25519_dalek::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Signature` [INFO] [stdout] --> tests/ed25519.rs:93:31 [INFO] [stdout] | [INFO] [stdout] 93 | let sig1: Signature = Signature::from_bytes(&sig_bytes[..]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 27 | use frauth_ed25519_dalek::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> tests/ed25519.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | let sig2: Signature = keypair.sign_prehashed(prehash_for_signing, None); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 27 | use frauth_ed25519_dalek::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Keypair` in this scope [INFO] [stdout] --> tests/ed25519.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | let keypair: Keypair; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 113 | use frauth_ed25519_dalek::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> tests/ed25519.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | let good_sig: Signature; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 113 | use frauth_ed25519_dalek::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> tests/ed25519.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | let bad_sig: Signature; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 113 | use frauth_ed25519_dalek::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Keypair` [INFO] [stdout] --> tests/ed25519.rs:127:20 [INFO] [stdout] | [INFO] [stdout] 127 | keypair = Keypair::generate(&mut csprng); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 113 | use frauth_ed25519_dalek::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Keypair` in this scope [INFO] [stdout] --> tests/ed25519.rs:141:22 [INFO] [stdout] | [INFO] [stdout] 141 | let keypair: Keypair; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 113 | use frauth_ed25519_dalek::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> tests/ed25519.rs:142:23 [INFO] [stdout] | [INFO] [stdout] 142 | let good_sig: Signature; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 113 | use frauth_ed25519_dalek::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> tests/ed25519.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 143 | let bad_sig: Signature; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 113 | use frauth_ed25519_dalek::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Keypair` [INFO] [stdout] --> tests/ed25519.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | keypair = Keypair::generate(&mut csprng); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 113 | use frauth_ed25519_dalek::Keypair; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SecretKey` in this scope [INFO] [stdout] --> tests/ed25519.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | 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] 113 | use frauth_ed25519_dalek::SecretKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SecretKey` [INFO] [stdout] --> tests/ed25519.rs:207:33 [INFO] [stdout] | [INFO] [stdout] 207 | 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] 113 | use frauth_ed25519_dalek::SecretKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExpandedSecretKey` in this scope [INFO] [stdout] --> tests/ed25519.rs:208:30 [INFO] [stdout] | [INFO] [stdout] 208 | 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] 113 | use frauth_ed25519_dalek::ExpandedSecretKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PublicKey` in this scope [INFO] [stdout] --> tests/ed25519.rs:209:33 [INFO] [stdout] | [INFO] [stdout] 209 | 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] 113 | use frauth_ed25519_dalek::PublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PublicKey` in this scope [INFO] [stdout] --> tests/ed25519.rs:210:42 [INFO] [stdout] | [INFO] [stdout] 210 | 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] 113 | use frauth_ed25519_dalek::PublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ArrayLengthError` [INFO] [stdout] --> src/errors.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / ArrayLengthError{ name_a: &'static str, length_a: usize, [INFO] [stdout] 42 | | name_b: &'static str, length_b: usize, [INFO] [stdout] 43 | | name_c: &'static str, length_c: usize, }, [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `InternalError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/errors.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `input` found for struct `sha2::Sha512` in the current scope [INFO] [stdout] --> tests/ed25519.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | prehash_for_signing.input(&msg_bytes[..]); [INFO] [stdout] | ^^^^^ method not found in `sha2::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 are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] | [INFO] [stdout] 27 | use crate::sha2::Digest; [INFO] [stdout] | [INFO] [stdout] 27 | use crate::sha2::digest::DynDigest; [INFO] [stdout] | [INFO] [stdout] 27 | use crate::sha2::digest::Input; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `input` found for struct `sha2::Sha512` in the current scope [INFO] [stdout] --> tests/ed25519.rs:99:31 [INFO] [stdout] | [INFO] [stdout] 99 | prehash_for_verifying.input(&msg_bytes[..]); [INFO] [stdout] | ^^^^^ method not found in `sha2::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 are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] | [INFO] [stdout] 27 | use crate::sha2::Digest; [INFO] [stdout] | [INFO] [stdout] 27 | use crate::sha2::digest::DynDigest; [INFO] [stdout] | [INFO] [stdout] 27 | use crate::sha2::digest::Input; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `input` found for struct `sha2::Sha512` in the current scope [INFO] [stdout] --> tests/ed25519.rs:152:25 [INFO] [stdout] | [INFO] [stdout] 152 | prehashed_good1.input(good); [INFO] [stdout] | ^^^^^ method not found in `sha2::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 are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] | [INFO] [stdout] 113 | use crate::sha2::Digest; [INFO] [stdout] | [INFO] [stdout] 113 | use crate::sha2::digest::DynDigest; [INFO] [stdout] | [INFO] [stdout] 113 | use crate::sha2::digest::Input; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `input` found for struct `sha2::Sha512` in the current scope [INFO] [stdout] --> tests/ed25519.rs:154:25 [INFO] [stdout] | [INFO] [stdout] 154 | prehashed_good2.input(good); [INFO] [stdout] | ^^^^^ method not found in `sha2::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 are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] | [INFO] [stdout] 113 | use crate::sha2::Digest; [INFO] [stdout] | [INFO] [stdout] 113 | use crate::sha2::digest::DynDigest; [INFO] [stdout] | [INFO] [stdout] 113 | use crate::sha2::digest::Input; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `input` found for struct `sha2::Sha512` in the current scope [INFO] [stdout] --> tests/ed25519.rs:156:25 [INFO] [stdout] | [INFO] [stdout] 156 | prehashed_good3.input(good); [INFO] [stdout] | ^^^^^ method not found in `sha2::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 are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] | [INFO] [stdout] 113 | use crate::sha2::Digest; [INFO] [stdout] | [INFO] [stdout] 113 | use crate::sha2::digest::DynDigest; [INFO] [stdout] | [INFO] [stdout] 113 | use crate::sha2::digest::Input; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `input` found for struct `sha2::Sha512` in the current scope [INFO] [stdout] --> tests/ed25519.rs:159:24 [INFO] [stdout] | [INFO] [stdout] 159 | prehashed_bad1.input(bad); [INFO] [stdout] | ^^^^^ method not found in `sha2::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 are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] | [INFO] [stdout] 113 | use crate::sha2::Digest; [INFO] [stdout] | [INFO] [stdout] 113 | use crate::sha2::digest::DynDigest; [INFO] [stdout] | [INFO] [stdout] 113 | use crate::sha2::digest::Input; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `input` found for struct `sha2::Sha512` in the current scope [INFO] [stdout] --> tests/ed25519.rs:161:24 [INFO] [stdout] | [INFO] [stdout] 161 | prehashed_bad2.input(bad); [INFO] [stdout] | ^^^^^ method not found in `sha2::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 are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] | [INFO] [stdout] 113 | use crate::sha2::Digest; [INFO] [stdout] | [INFO] [stdout] 113 | use crate::sha2::digest::DynDigest; [INFO] [stdout] | [INFO] [stdout] 113 | use crate::sha2::digest::Input; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 43 previous errors [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 `frauth-ed25519-dalek` due to 44 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cfcd192f0e228b767c7bf447edd7f05e21de5a9f670a143975482378cc1519ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfcd192f0e228b767c7bf447edd7f05e21de5a9f670a143975482378cc1519ea", kill_on_drop: false }` [INFO] [stdout] cfcd192f0e228b767c7bf447edd7f05e21de5a9f670a143975482378cc1519ea