[INFO] fetching crate crev-ed25519-dalek 0.1.2... [INFO] testing crev-ed25519-dalek-0.1.2 against 1.60.0 for beta-1.61-1 [INFO] extracting crate crev-ed25519-dalek 0.1.2 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate crev-ed25519-dalek 0.1.2 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 crev-ed25519-dalek 0.1.2 [INFO] finished tweaking crates.io crate crev-ed25519-dalek 0.1.2 [INFO] tweaked toml for crates.io crate crev-ed25519-dalek 0.1.2 written to /workspace/builds/worker-5/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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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 curve25519-dalek v1.2.6 [INFO] [stderr] Downloaded bincode v0.9.2 [INFO] [stderr] Downloaded sha2-asm v0.5.5 [INFO] [stderr] Downloaded packed_simd v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6adbc7949624a2dad5ebbc1ed37d418a30d0005c55a2e6371aa558378f7bc4cb [INFO] running `Command { std: "docker" "start" "-a" "6adbc7949624a2dad5ebbc1ed37d418a30d0005c55a2e6371aa558378f7bc4cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6adbc7949624a2dad5ebbc1ed37d418a30d0005c55a2e6371aa558378f7bc4cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6adbc7949624a2dad5ebbc1ed37d418a30d0005c55a2e6371aa558378f7bc4cb", kill_on_drop: false }` [INFO] [stdout] 6adbc7949624a2dad5ebbc1ed37d418a30d0005c55a2e6371aa558378f7bc4cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d05e7c8fe3ae1a4920090997080815055003488e45447e54adb25491b6683f1 [INFO] running `Command { std: "docker" "start" "-a" "6d05e7c8fe3ae1a4920090997080815055003488e45447e54adb25491b6683f1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling clear_on_drop v0.2.4 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling curve25519-dalek v1.2.6 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling crev-ed25519-dalek v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ed25519.rs:96:53 [INFO] [stdout] | [INFO] [stdout] 96 | assert!(signatures.len() == messages.len(), ASSERT_MESSAGE); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the Debug implementation of `&[u8]` [INFO] [stdout] | [INFO] [stdout] 96 | assert!(signatures.len() == messages.len(), "{:?}", ASSERT_MESSAGE); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ed25519.rs:97:53 [INFO] [stdout] | [INFO] [stdout] 97 | assert!(signatures.len() == public_keys.len(), ASSERT_MESSAGE); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the Debug implementation of `&[u8]` [INFO] [stdout] | [INFO] [stdout] 97 | assert!(signatures.len() == public_keys.len(), "{:?}", ASSERT_MESSAGE); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ed25519.rs:98:53 [INFO] [stdout] | [INFO] [stdout] 98 | assert!(public_keys.len() == messages.len(), ASSERT_MESSAGE); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the Debug implementation of `&[u8]` [INFO] [stdout] | [INFO] [stdout] 98 | assert!(public_keys.len() == messages.len(), "{:?}", ASSERT_MESSAGE); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.33s [INFO] running `Command { std: "docker" "inspect" "6d05e7c8fe3ae1a4920090997080815055003488e45447e54adb25491b6683f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d05e7c8fe3ae1a4920090997080815055003488e45447e54adb25491b6683f1", kill_on_drop: false }` [INFO] [stdout] 6d05e7c8fe3ae1a4920090997080815055003488e45447e54adb25491b6683f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8db9f23c27fad13301d42017018f7e11b2d7155c65b0753703e27da6fba48de6 [INFO] running `Command { std: "docker" "start" "-a" "8db9f23c27fad13301d42017018f7e11b2d7155c65b0753703e27da6fba48de6", kill_on_drop: false }` [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling rand_xoshiro v0.1.0 [INFO] [stderr] Compiling bincode v0.9.2 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ed25519.rs:96:53 [INFO] [stdout] | [INFO] [stdout] 96 | assert!(signatures.len() == messages.len(), ASSERT_MESSAGE); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the Debug implementation of `&[u8]` [INFO] [stdout] | [INFO] [stdout] 96 | assert!(signatures.len() == messages.len(), "{:?}", ASSERT_MESSAGE); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ed25519.rs:97:53 [INFO] [stdout] | [INFO] [stdout] 97 | assert!(signatures.len() == public_keys.len(), ASSERT_MESSAGE); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the Debug implementation of `&[u8]` [INFO] [stdout] | [INFO] [stdout] 97 | assert!(signatures.len() == public_keys.len(), "{:?}", ASSERT_MESSAGE); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ed25519.rs:98:53 [INFO] [stdout] | [INFO] [stdout] 98 | assert!(public_keys.len() == messages.len(), ASSERT_MESSAGE); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the Debug implementation of `&[u8]` [INFO] [stdout] | [INFO] [stdout] 98 | assert!(public_keys.len() == messages.len(), "{:?}", ASSERT_MESSAGE); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling criterion-plot v0.3.1 [INFO] [stderr] Compiling criterion v0.2.11 [INFO] [stderr] Compiling crev-ed25519-dalek v0.1.2 (/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[E0433]: failed to resolve: use of undeclared type `SecretKey` [INFO] [stdout] --> tests/ed25519.rs:65:37 [INFO] [stdout] | [INFO] [stdout] 65 | let secret: SecretKey = SecretKey::from_bytes(&sec_bytes[..SECRET_KEY_LENGTH]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SecretKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PublicKey` [INFO] [stdout] --> tests/ed25519.rs:66:37 [INFO] [stdout] | [INFO] [stdout] 66 | let public: PublicKey = PublicKey::from_bytes(&pub_bytes[..PUBLIC_KEY_LENGTH]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Signature` [INFO] [stdout] --> tests/ed25519.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | let sig1: Signature = Signature::from_bytes(&sig_bytes[..64]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SecretKey` [INFO] [stdout] --> tests/ed25519.rs:93:33 [INFO] [stdout] | [INFO] [stdout] 93 | let secret: SecretKey = SecretKey::from_bytes(&sec_bytes[..SECRET_KEY_LENGTH]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SecretKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PublicKey` [INFO] [stdout] --> tests/ed25519.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | let public: PublicKey = PublicKey::from_bytes(&pub_bytes[..PUBLIC_KEY_LENGTH]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `PublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Signature` [INFO] [stdout] --> tests/ed25519.rs:96:31 [INFO] [stdout] | [INFO] [stdout] 96 | let sig1: Signature = Signature::from_bytes(&sig_bytes[..]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Signature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Keypair` [INFO] [stdout] --> tests/ed25519.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | keypair = Keypair::generate(&mut csprng); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Keypair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Keypair` [INFO] [stdout] --> tests/ed25519.rs:167:20 [INFO] [stdout] | [INFO] [stdout] 167 | keypair = Keypair::generate(&mut csprng); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Keypair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Keypair` [INFO] [stdout] --> tests/ed25519.rs:194:36 [INFO] [stdout] | [INFO] [stdout] 194 | let keypair: Keypair = Keypair::generate(&mut csprng); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Keypair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SecretKey` [INFO] [stdout] --> tests/ed25519.rs:208:33 [INFO] [stdout] | [INFO] [stdout] 208 | let secret: SecretKey = SecretKey::generate(&mut csprng); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SecretKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SecretKey` in this scope [INFO] [stdout] --> tests/ed25519.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 65 | let secret: SecretKey = SecretKey::from_bytes(&sec_bytes[..SECRET_KEY_LENGTH]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SECRET_KEY_LENGTH` in this scope [INFO] [stdout] --> tests/ed25519.rs:65:72 [INFO] [stdout] | [INFO] [stdout] 65 | let secret: SecretKey = SecretKey::from_bytes(&sec_bytes[..SECRET_KEY_LENGTH]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PublicKey` in this scope [INFO] [stdout] --> tests/ed25519.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | let public: PublicKey = PublicKey::from_bytes(&pub_bytes[..PUBLIC_KEY_LENGTH]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PUBLIC_KEY_LENGTH` in this scope [INFO] [stdout] --> tests/ed25519.rs:66:72 [INFO] [stdout] | [INFO] [stdout] 66 | let public: PublicKey = PublicKey::from_bytes(&pub_bytes[..PUBLIC_KEY_LENGTH]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Keypair` in this scope [INFO] [stdout] --> tests/ed25519.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | let keypair: Keypair = Keypair{ secret: secret, public: public }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Keypair` in this scope [INFO] [stdout] --> tests/ed25519.rs:67:37 [INFO] [stdout] | [INFO] [stdout] 67 | let keypair: Keypair = Keypair{ secret: secret, public: public }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> tests/ed25519.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | let sig1: Signature = Signature::from_bytes(&sig_bytes[..64]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> tests/ed25519.rs:72:23 [INFO] [stdout] | [INFO] [stdout] 72 | let sig2: Signature = keypair.sign(&msg_bytes); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SecretKey` in this scope [INFO] [stdout] --> tests/ed25519.rs:93:21 [INFO] [stdout] | [INFO] [stdout] 93 | let secret: SecretKey = SecretKey::from_bytes(&sec_bytes[..SECRET_KEY_LENGTH]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SECRET_KEY_LENGTH` in this scope [INFO] [stdout] --> tests/ed25519.rs:93:68 [INFO] [stdout] | [INFO] [stdout] 93 | let secret: SecretKey = SecretKey::from_bytes(&sec_bytes[..SECRET_KEY_LENGTH]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PublicKey` in this scope [INFO] [stdout] --> tests/ed25519.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | let public: PublicKey = PublicKey::from_bytes(&pub_bytes[..PUBLIC_KEY_LENGTH]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PUBLIC_KEY_LENGTH` in this scope [INFO] [stdout] --> tests/ed25519.rs:94:68 [INFO] [stdout] | [INFO] [stdout] 94 | let public: PublicKey = PublicKey::from_bytes(&pub_bytes[..PUBLIC_KEY_LENGTH]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Keypair` in this scope [INFO] [stdout] --> tests/ed25519.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | let keypair: Keypair = Keypair{ secret: secret, public: public }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Keypair` in this scope [INFO] [stdout] --> tests/ed25519.rs:95:33 [INFO] [stdout] | [INFO] [stdout] 95 | let keypair: Keypair = Keypair{ secret: secret, public: public }; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> tests/ed25519.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | let sig1: Signature = Signature::from_bytes(&sig_bytes[..]).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> tests/ed25519.rs:104:19 [INFO] [stdout] | [INFO] [stdout] 104 | let sig2: Signature = keypair.sign_prehashed(prehash_for_signing, None); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Keypair` in this scope [INFO] [stdout] --> tests/ed25519.rs:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | let keypair: Keypair; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> tests/ed25519.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | let good_sig: Signature; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> tests/ed25519.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | let bad_sig: Signature; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Keypair` in this scope [INFO] [stdout] --> tests/ed25519.rs:144:22 [INFO] [stdout] | [INFO] [stdout] 144 | let keypair: Keypair; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> tests/ed25519.rs:145:23 [INFO] [stdout] | [INFO] [stdout] 145 | let good_sig: Signature; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> tests/ed25519.rs:146:23 [INFO] [stdout] | [INFO] [stdout] 146 | let bad_sig: Signature; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Keypair` in this scope [INFO] [stdout] --> tests/ed25519.rs:190:31 [INFO] [stdout] | [INFO] [stdout] 180 | fn verify_batch_seven_signatures() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 190 | let mut keypairs: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signature` in this scope [INFO] [stdout] --> tests/ed25519.rs:191:33 [INFO] [stdout] | [INFO] [stdout] 180 | fn verify_batch_seven_signatures() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 191 | let mut signatures: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Keypair` in this scope [INFO] [stdout] --> tests/ed25519.rs:194:26 [INFO] [stdout] | [INFO] [stdout] 194 | let keypair: Keypair = Keypair::generate(&mut csprng); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PublicKey` in this scope [INFO] [stdout] --> tests/ed25519.rs:198:30 [INFO] [stdout] | [INFO] [stdout] 180 | fn verify_batch_seven_signatures() { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 198 | let public_keys: Vec = keypairs.iter().map(|key| key.public).collect(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `verify_batch` in this scope [INFO] [stdout] --> tests/ed25519.rs:200:22 [INFO] [stdout] | [INFO] [stdout] 200 | let result = verify_batch(&messages, &signatures[..], &public_keys[..]); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SecretKey` in this scope [INFO] [stdout] --> tests/ed25519.rs:208:21 [INFO] [stdout] | [INFO] [stdout] 208 | let secret: SecretKey = SecretKey::generate(&mut csprng); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ExpandedSecretKey` in this scope [INFO] [stdout] --> tests/ed25519.rs:209:30 [INFO] [stdout] | [INFO] [stdout] 209 | let expanded_secret: ExpandedSecretKey = (&secret).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PublicKey` in this scope [INFO] [stdout] --> tests/ed25519.rs:210:33 [INFO] [stdout] | [INFO] [stdout] 210 | let public_from_secret: PublicKey = (&secret).into(); // XXX eww [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PublicKey` in this scope [INFO] [stdout] --> tests/ed25519.rs:211:42 [INFO] [stdout] | [INFO] [stdout] 211 | let public_from_expanded_secret: PublicKey = (&expanded_secret).into(); // XXX eww [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ed25519.rs:96:53 [INFO] [stdout] | [INFO] [stdout] 96 | assert!(signatures.len() == messages.len(), ASSERT_MESSAGE); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the Debug implementation of `&[u8]` [INFO] [stdout] | [INFO] [stdout] 96 | assert!(signatures.len() == messages.len(), "{:?}", ASSERT_MESSAGE); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ed25519.rs:97:53 [INFO] [stdout] | [INFO] [stdout] 97 | assert!(signatures.len() == public_keys.len(), ASSERT_MESSAGE); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the Debug implementation of `&[u8]` [INFO] [stdout] | [INFO] [stdout] 97 | assert!(signatures.len() == public_keys.len(), "{:?}", ASSERT_MESSAGE); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/ed25519.rs:98:53 [INFO] [stdout] | [INFO] [stdout] 98 | assert!(public_keys.len() == messages.len(), ASSERT_MESSAGE); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the Debug implementation of `&[u8]` [INFO] [stdout] | [INFO] [stdout] 98 | assert!(public_keys.len() == messages.len(), "{:?}", ASSERT_MESSAGE); [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:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | 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] 30 | use sha2::Digest; [INFO] [stdout] | [INFO] [stdout] 30 | use sha2::digest::DynDigest; [INFO] [stdout] | [INFO] [stdout] 30 | use 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:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | 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] 30 | use sha2::Digest; [INFO] [stdout] | [INFO] [stdout] 30 | use sha2::digest::DynDigest; [INFO] [stdout] | [INFO] [stdout] 30 | use 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:153:25 [INFO] [stdout] | [INFO] [stdout] 153 | 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] 116 | use sha2::Digest; [INFO] [stdout] | [INFO] [stdout] 116 | use sha2::digest::DynDigest; [INFO] [stdout] | [INFO] [stdout] 116 | use 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:155:25 [INFO] [stdout] | [INFO] [stdout] 155 | 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] 116 | use sha2::Digest; [INFO] [stdout] | [INFO] [stdout] 116 | use sha2::digest::DynDigest; [INFO] [stdout] | [INFO] [stdout] 116 | use 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:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | 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] 116 | use sha2::Digest; [INFO] [stdout] | [INFO] [stdout] 116 | use sha2::digest::DynDigest; [INFO] [stdout] | [INFO] [stdout] 116 | use 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:160:24 [INFO] [stdout] | [INFO] [stdout] 160 | 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] 116 | use sha2::Digest; [INFO] [stdout] | [INFO] [stdout] 116 | use sha2::digest::DynDigest; [INFO] [stdout] | [INFO] [stdout] 116 | use 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:162:24 [INFO] [stdout] | [INFO] [stdout] 162 | 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] 116 | use sha2::Digest; [INFO] [stdout] | [INFO] [stdout] 116 | use sha2::digest::DynDigest; [INFO] [stdout] | [INFO] [stdout] 116 | use sha2::digest::Input; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 49 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 `crev-ed25519-dalek` due to 50 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8db9f23c27fad13301d42017018f7e11b2d7155c65b0753703e27da6fba48de6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8db9f23c27fad13301d42017018f7e11b2d7155c65b0753703e27da6fba48de6", kill_on_drop: false }` [INFO] [stdout] 8db9f23c27fad13301d42017018f7e11b2d7155c65b0753703e27da6fba48de6