[INFO] fetching crate frauth-ed25519-dalek 1.0.0-pre.3... [INFO] testing frauth-ed25519-dalek-1.0.0-pre.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate frauth-ed25519-dalek 1.0.0-pre.3 into /workspace/builds/worker-6-tc1/source [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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate frauth-ed25519-dalek 1.0.0-pre.3 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 108 packages to latest compatible versions [INFO] [stderr] Adding bincode v0.9.2 (available: v2.0.1) [INFO] [stderr] Adding criterion v0.3.6 (available: v0.6.0) [INFO] [stderr] Adding curve25519-dalek v2.1.3 (available: v4.1.3) [INFO] [stderr] Adding merlin v1.3.0 (available: v3.0.0) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.1) [INFO] [stderr] Adding rand_core v0.5.1 (available: v0.9.3) [INFO] [stderr] Adding sha2 v0.8.2 (available: v0.10.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded merlin v1.3.0 [INFO] [stderr] Downloaded sha2-asm v0.5.5 [INFO] [stderr] Downloaded packed_simd v0.3.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93a0deffb8f26732d6c3be54982e22796e08b8698f0e9a71a373b166ab401647 [INFO] running `Command { std: "docker" "start" "-a" "93a0deffb8f26732d6c3be54982e22796e08b8698f0e9a71a373b166ab401647", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93a0deffb8f26732d6c3be54982e22796e08b8698f0e9a71a373b166ab401647", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93a0deffb8f26732d6c3be54982e22796e08b8698f0e9a71a373b166ab401647", kill_on_drop: false }` [INFO] [stdout] 93a0deffb8f26732d6c3be54982e22796e08b8698f0e9a71a373b166ab401647 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6dd77ef99ebda8e301ae7470eeeac6f938ec0e2af9be615c8ae3468d08eefecf [INFO] running `Command { std: "docker" "start" "-a" "6dd77ef99ebda8e301ae7470eeeac6f938ec0e2af9be615c8ae3468d08eefecf", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling cc v1.2.27 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling clear_on_drop v0.2.5 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling curve25519-dalek v2.1.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling frauth-ed25519-dalek v1.0.0-pre.3 (/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 `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.41s [INFO] running `Command { std: "docker" "inspect" "6dd77ef99ebda8e301ae7470eeeac6f938ec0e2af9be615c8ae3468d08eefecf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dd77ef99ebda8e301ae7470eeeac6f938ec0e2af9be615c8ae3468d08eefecf", kill_on_drop: false }` [INFO] [stdout] 6dd77ef99ebda8e301ae7470eeeac6f938ec0e2af9be615c8ae3468d08eefecf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2bcac437747fb117ccf756de6dfc1c4f8a652438174279d80b01c378066062d9 [INFO] running `Command { std: "docker" "start" "-a" "2bcac437747fb117ccf756de6dfc1c4f8a652438174279d80b01c378066062d9", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling hex v0.4.3 [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 `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling bincode v0.9.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling criterion v0.3.6 [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] | ^^^^^^^^^ use of undeclared type `SecretKey` [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] | ^^^^^^^^^ use of undeclared type `PublicKey` [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] | ^^^^^^^^^ use of undeclared type `Signature` [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] | ^^^^^^^^^ use of undeclared type `SecretKey` [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] | ^^^^^^^^^ use of undeclared type `PublicKey` [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] | ^^^^^^^^^ use of undeclared type `Signature` [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] | ^^^^^^^ use of undeclared type `Keypair` [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] | ^^^^^^^ use of undeclared type `Keypair` [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] | ^^^^^^^^^ use of undeclared type `SecretKey` [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 `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 `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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 which provide `input` are implemented but not in scope; perhaps you want to import 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 which provide `input` are implemented but not in scope; perhaps you want to import 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 which provide `input` are implemented but not in scope; perhaps you want to import 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 which provide `input` are implemented but not in scope; perhaps you want to import 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 which provide `input` are implemented but not in scope; perhaps you want to import 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 which provide `input` are implemented but not in scope; perhaps you want to import 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 which provide `input` are implemented but not in scope; perhaps you want to import 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] 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` (test "ed25519") due to 43 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "2bcac437747fb117ccf756de6dfc1c4f8a652438174279d80b01c378066062d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bcac437747fb117ccf756de6dfc1c4f8a652438174279d80b01c378066062d9", kill_on_drop: false }` [INFO] [stdout] 2bcac437747fb117ccf756de6dfc1c4f8a652438174279d80b01c378066062d9