[INFO] fetching crate schultz 0.1.1... [INFO] testing schultz-0.1.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate schultz 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate schultz 0.1.1 [INFO] finished tweaking crates.io crate schultz 0.1.1 [INFO] tweaked toml for crates.io crate schultz 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate schultz 0.1.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate schultz 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e60d114bfb870d2edfbad6bdb712ef864d3a767bacb4afeb5a8b894184d29d3b [INFO] running `Command { std: "docker" "start" "-a" "e60d114bfb870d2edfbad6bdb712ef864d3a767bacb4afeb5a8b894184d29d3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e60d114bfb870d2edfbad6bdb712ef864d3a767bacb4afeb5a8b894184d29d3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e60d114bfb870d2edfbad6bdb712ef864d3a767bacb4afeb5a8b894184d29d3b", kill_on_drop: false }` [INFO] [stdout] e60d114bfb870d2edfbad6bdb712ef864d3a767bacb4afeb5a8b894184d29d3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c95581306a46a183b67b3ecc440a3fd9070c8f75ddc64ce6a9574f6acfebd19e [INFO] running `Command { std: "docker" "start" "-a" "c95581306a46a183b67b3ecc440a3fd9070c8f75ddc64ce6a9574f6acfebd19e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling cc v1.1.34 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling cpufeatures v0.2.14 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling thiserror v1.0.67 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling portable-atomic v1.9.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling vte v0.11.1 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling datasize_derive v0.2.15 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling schemars v0.8.5 [INFO] [stderr] Compiling fake_instant v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.67 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling anstream v0.6.17 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling derp v0.0.14 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling tokio v1.41.0 [INFO] [stderr] Compiling enum-ordinalize v3.1.15 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling schemars_derive v0.8.5 [INFO] [stderr] Compiling vt100 v0.15.2 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling is_ci v1.2.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling tokio-openssl v0.6.5 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling smawk v0.3.2 [INFO] [stderr] Compiling base16 v0.2.1 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling clap_lex v0.7.2 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling indicatif v0.17.8 [INFO] [stderr] Compiling clap_builder v4.5.20 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling datasize v0.2.15 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling hex-buffer-serde v0.3.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling textwrap v0.15.2 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling supports-color v2.1.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling backtrace-ext v0.2.1 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling casper-types v4.0.2 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling educe v0.4.23 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling supports-unicode v2.1.0 [INFO] [stderr] Compiling supports-hyperlinks v2.1.0 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling tracing-indicatif v0.3.6 [INFO] [stderr] Compiling tokio-serde v0.8.0 [INFO] [stderr] Compiling rmp-serde v0.14.4 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling clap v4.5.20 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling serde-big-array v0.3.3 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling miette v5.10.0 [INFO] [stderr] Compiling casper-hashing v3.0.0 [INFO] [stderr] Compiling schultz v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 44s [INFO] running `Command { std: "docker" "inspect" "c95581306a46a183b67b3ecc440a3fd9070c8f75ddc64ce6a9574f6acfebd19e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c95581306a46a183b67b3ecc440a3fd9070c8f75ddc64ce6a9574f6acfebd19e", kill_on_drop: false }` [INFO] [stdout] c95581306a46a183b67b3ecc440a3fd9070c8f75ddc64ce6a9574f6acfebd19e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00b28e7f46e4f23dff1f2f9f30ca85e3550f80c097da2a11c893fb4bde460ff6 [INFO] running `Command { std: "docker" "start" "-a" "00b28e7f46e4f23dff1f2f9f30ca85e3550f80c097da2a11c893fb4bde460ff6", kill_on_drop: false }` [INFO] [stderr] Compiling schultz v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::types` [INFO] [stdout] --> src/primitives/chainspec/protocol_config.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | use crate::types::Block; [INFO] [stdout] | ^^^^^ could not find `types` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestRng` in this scope [INFO] [stdout] --> src/primitives/chainspec/accounts_config/delegator_config.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn random(rng: &mut TestRng) -> Self { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SecretKey` [INFO] [stdout] --> src/primitives/chainspec/accounts_config/delegator_config.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | PublicKey::from(&SecretKey::ed25519_from_bytes(rng.gen::<[u8; 32]>()).unwrap()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SecretKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use casper_types::SecretKey; [INFO] [stdout] | [INFO] [stdout] 1 + use ed25519_dalek::SecretKey; [INFO] [stdout] | [INFO] [stdout] 1 + use k256::SecretKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SecretKey` [INFO] [stdout] --> src/primitives/chainspec/accounts_config/delegator_config.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | PublicKey::from(&SecretKey::ed25519_from_bytes(rng.gen::<[u8; 32]>()).unwrap()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SecretKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use casper_types::SecretKey; [INFO] [stdout] | [INFO] [stdout] 1 + use ed25519_dalek::SecretKey; [INFO] [stdout] | [INFO] [stdout] 1 + use k256::SecretKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U512` [INFO] [stdout] --> src/primitives/chainspec/accounts_config/delegator_config.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | let balance = Motes::new(U512::from(rng.gen::())); [INFO] [stdout] | ^^^^ use of undeclared type `U512` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use casper_types::U512; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U512` [INFO] [stdout] --> src/primitives/chainspec/accounts_config/delegator_config.rs:47:43 [INFO] [stdout] | [INFO] [stdout] 47 | let delegated_amount = Motes::new(U512::from(rng.gen::())); [INFO] [stdout] | ^^^^ use of undeclared type `U512` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use casper_types::U512; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Distribution` in this scope [INFO] [stdout] --> src/primitives/chainspec/accounts_config/delegator_config.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | impl Distribution for Standard { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 1 + use std::random::Distribution; [INFO] [stdout] | [INFO] [stdout] 1 + use rand::prelude::Distribution; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Standard` in this scope [INFO] [stdout] --> src/primitives/chainspec/accounts_config/delegator_config.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | impl Distribution for Standard { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rand::distributions::Standard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Rng` in this scope [INFO] [stdout] --> src/primitives/chainspec/accounts_config/delegator_config.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | fn sample(&self, rng: &mut R) -> DelegatorConfig { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SecretKey` [INFO] [stdout] --> src/primitives/chainspec/accounts_config/delegator_config.rs:61:36 [INFO] [stdout] | [INFO] [stdout] 61 | let validator_secret_key = SecretKey::ed25519_from_bytes(rng.gen::<[u8; 32]>()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SecretKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use casper_types::SecretKey; [INFO] [stdout] | [INFO] [stdout] 1 + use ed25519_dalek::SecretKey; [INFO] [stdout] | [INFO] [stdout] 1 + use k256::SecretKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SecretKey` [INFO] [stdout] --> src/primitives/chainspec/accounts_config/delegator_config.rs:62:36 [INFO] [stdout] | [INFO] [stdout] 62 | let delegator_secret_key = SecretKey::ed25519_from_bytes(rng.gen::<[u8; 32]>()).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `SecretKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use casper_types::SecretKey; [INFO] [stdout] | [INFO] [stdout] 1 + use ed25519_dalek::SecretKey; [INFO] [stdout] | [INFO] [stdout] 1 + use k256::SecretKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U512` [INFO] [stdout] --> src/primitives/chainspec/accounts_config/delegator_config.rs:69:34 [INFO] [stdout] | [INFO] [stdout] 69 | let balance = Motes::new(U512::from(u512_array)); [INFO] [stdout] | ^^^^ use of undeclared type `U512` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use casper_types::U512; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U512` [INFO] [stdout] --> src/primitives/chainspec/accounts_config/delegator_config.rs:72:43 [INFO] [stdout] | [INFO] [stdout] 72 | let delegated_amount = Motes::new(U512::from(u512_array)); [INFO] [stdout] | ^^^^ use of undeclared type `U512` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use casper_types::U512; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Distribution` in this scope [INFO] [stdout] --> src/primitives/chainspec/accounts_config/validator_config.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | impl Distribution for Standard { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 1 + use std::random::Distribution; [INFO] [stdout] | [INFO] [stdout] 1 + use rand::prelude::Distribution; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Standard` in this scope [INFO] [stdout] --> src/primitives/chainspec/accounts_config/validator_config.rs:36:40 [INFO] [stdout] | [INFO] [stdout] 36 | impl Distribution for Standard { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rand::distributions::Standard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Rng` in this scope [INFO] [stdout] --> src/primitives/chainspec/accounts_config/validator_config.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | fn sample(&self, rng: &mut R) -> ValidatorConfig { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `U512` [INFO] [stdout] --> src/primitives/chainspec/accounts_config/validator_config.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 40 | let bonded_amount = Motes::new(U512::from(u512_array)); [INFO] [stdout] | ^^^^ use of undeclared type `U512` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use casper_types::U512; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestRng` in this scope [INFO] [stdout] --> src/primitives/chainspec/core_config.rs:178:29 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn random(rng: &mut TestRng) -> Self { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Distribution` in this scope [INFO] [stdout] --> src/primitives/chainspec/core_config.rs:438:6 [INFO] [stdout] | [INFO] [stdout] 438 | impl Distribution for Standard { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these traits [INFO] [stdout] | [INFO] [stdout] 1 + use std::random::Distribution; [INFO] [stdout] | [INFO] [stdout] 1 + use rand::prelude::Distribution; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Standard` in this scope [INFO] [stdout] --> src/primitives/chainspec/core_config.rs:438:46 [INFO] [stdout] | [INFO] [stdout] 438 | impl Distribution for Standard { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use rand::distributions::Standard; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Rng` in this scope [INFO] [stdout] --> src/primitives/chainspec/core_config.rs:439:18 [INFO] [stdout] | [INFO] [stdout] 439 | fn sample(&self, rng: &mut R) -> ConsensusProtocolName { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use rand::Rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_rng` in the crate root [INFO] [stdout] --> src/primitives/chainspec/protocol_config.rs:79:30 [INFO] [stdout] | [INFO] [stdout] 79 | let mut rng = crate::new_rng(); [INFO] [stdout] | ^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_rng` in the crate root [INFO] [stdout] --> src/primitives/chainspec/protocol_config.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | let mut rng = crate::new_rng(); [INFO] [stdout] | ^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_rng` in the crate root [INFO] [stdout] --> src/primitives/chainspec/protocol_config.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 93 | let mut rng = crate::new_rng(); [INFO] [stdout] | ^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_rng` in the crate root [INFO] [stdout] --> src/primitives/chainspec/protocol_config.rs:102:30 [INFO] [stdout] | [INFO] [stdout] 102 | let mut rng = crate::new_rng(); [INFO] [stdout] | ^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_rng` in the crate root [INFO] [stdout] --> src/primitives/chainspec/protocol_config.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | let mut rng = crate::new_rng(); [INFO] [stdout] | ^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_rng` in the crate root [INFO] [stdout] --> src/primitives/chainspec/protocol_config.rs:131:30 [INFO] [stdout] | [INFO] [stdout] 131 | let mut rng = crate::new_rng(); [INFO] [stdout] | ^^^^^^^ not found in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `schultz` (lib test) due to 27 previous errors [INFO] running `Command { std: "docker" "inspect" "00b28e7f46e4f23dff1f2f9f30ca85e3550f80c097da2a11c893fb4bde460ff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00b28e7f46e4f23dff1f2f9f30ca85e3550f80c097da2a11c893fb4bde460ff6", kill_on_drop: false }` [INFO] [stdout] 00b28e7f46e4f23dff1f2f9f30ca85e3550f80c097da2a11c893fb4bde460ff6