[INFO] fetching crate near-primitives 0.31.0... [INFO] checking near-primitives-0.31.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate near-primitives 0.31.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate near-primitives 0.31.0 [INFO] finished tweaking crates.io crate near-primitives 0.31.0 [INFO] tweaked toml for crates.io crate near-primitives 0.31.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate near-primitives 0.31.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate near-primitives 0.31.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tempfile v3.18.0 [INFO] [stderr] Downloaded pest_generator v2.4.0 [INFO] [stderr] Downloaded pest_meta v2.4.0 [INFO] [stderr] Downloaded pest_derive v2.4.0 [INFO] [stderr] Downloaded dissimilar v1.0.4 [INFO] [stderr] Downloaded expect-test v1.3.0 [INFO] [stderr] Downloaded rustix v1.0.1 [INFO] [stderr] Downloaded insta v1.41.1 [INFO] [stderr] Downloaded pest v2.4.0 [INFO] [stderr] Downloaded bolero-generator v0.10.2 [INFO] [stderr] Downloaded bolero-kani v0.10.0 [INFO] [stderr] Downloaded bolero-generator-derive v0.10.0 [INFO] [stderr] Downloaded bolero-engine v0.10.2 [INFO] [stderr] Downloaded bolero v0.10.1 [INFO] [stderr] Downloaded bolero-afl v0.10.0 [INFO] [stderr] Downloaded bolero-libfuzzer v0.10.0 [INFO] [stderr] Downloaded bolero-honggfuzz v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85e1fc4330de7da0a68e5796f874b0b05419faea6ec7e8a1e6b3cbe04f7807c5 [INFO] running `Command { std: "docker" "start" "-a" "85e1fc4330de7da0a68e5796f874b0b05419faea6ec7e8a1e6b3cbe04f7807c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85e1fc4330de7da0a68e5796f874b0b05419faea6ec7e8a1e6b3cbe04f7807c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85e1fc4330de7da0a68e5796f874b0b05419faea6ec7e8a1e6b3cbe04f7807c5", kill_on_drop: false }` [INFO] [stdout] 85e1fc4330de7da0a68e5796f874b0b05419faea6ec7e8a1e6b3cbe04f7807c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfb76da08d66dfa9c336bac395315341be620589493dcf0b1bfa5f20822b62c7 [INFO] running `Command { std: "docker" "start" "-a" "dfb76da08d66dfa9c336bac395315341be620589493dcf0b1bfa5f20822b62c7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Compiling borsh v1.5.3 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling near-schema-checker-macro v0.31.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking near-schema-checker-core v0.31.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking near-schema-checker-lib v0.31.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking base64 v0.21.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking miniz_oxide v0.8.5 [INFO] [stderr] Checking fixed-hash v0.7.0 [INFO] [stderr] Checking object v0.36.5 [INFO] [stderr] Checking json_comments v0.2.1 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking unsafe-libyaml v0.2.10 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling rustix v1.0.1 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking near-stdx v0.31.0 [INFO] [stderr] Checking pretty-hex v0.3.0 [INFO] [stderr] Checking linux-raw-sys v0.9.2 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking sha3 v0.10.6 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking similar v2.1.0 [INFO] [stderr] Compiling easy-ext v0.2.9 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Checking dissimilar v1.0.4 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking bencher v0.1.5 [INFO] [stderr] Checking expect-test v1.3.0 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking tempfile v3.18.0 [INFO] [stderr] Checking regex v1.7.1 [INFO] [stderr] Checking secp256k1 v0.27.0 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling borsh-derive v1.5.3 [INFO] [stderr] Compiling derive_arbitrary v1.4.1 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Compiling strum_macros v0.24.0 [INFO] [stderr] Compiling bolero-generator-derive v0.10.0 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Checking arbitrary v1.4.1 [INFO] [stderr] Checking strum v0.24.0 [INFO] [stderr] Compiling pest v2.4.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking bolero-generator v0.10.2 [INFO] [stderr] Checking near-config-utils v0.31.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.0.0 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking zstd v0.13.1 [INFO] [stderr] Compiling pest_meta v2.4.0 [INFO] [stderr] Checking ed25519-dalek v2.1.0 [INFO] [stderr] Compiling pest_generator v2.4.0 [INFO] [stderr] Compiling pest_derive v2.4.0 [INFO] [stderr] Checking bolero-engine v0.10.2 [INFO] [stderr] Checking bolero v0.10.1 [INFO] [stderr] Checking near-account-id v1.1.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking serde_yaml v0.9.29 [INFO] [stderr] Checking bytesize v1.1.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_with v3.0.0 [INFO] [stderr] Checking ordered-float v4.2.0 [INFO] [stderr] Checking insta v1.41.1 [INFO] [stderr] Checking uint v0.9.5 [INFO] [stderr] Checking primitive-types v0.10.1 [INFO] [stderr] Checking near-primitives-core v0.31.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking near-fmt v0.31.0 [INFO] [stderr] Checking near-crypto v0.31.0 [INFO] [stderr] Checking near-parameters v0.31.0 [INFO] [stderr] Checking near-time v0.31.0 [INFO] [stderr] Checking near-primitives v0.31.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/bandwidth_scheduler.rs:376:9 [INFO] [stdout] | [INFO] [stdout] 376 | use rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^^ help: a similar path exists: `crate::rand` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> src/merkle.rs:266:9 [INFO] [stdout] | [INFO] [stdout] 266 | use rand::rngs::StdRng; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/rand.rs, use `mod rand` in this file to declare the module [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + mod rand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand_chacha` [INFO] [stdout] --> src/bandwidth_scheduler.rs:384:9 [INFO] [stdout] | [INFO] [stdout] 384 | use rand_chacha::ChaCha20Rng; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `rand_chacha` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand_chacha`, use `cargo add rand_chacha` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> src/shard_layout.rs:1014:9 [INFO] [stdout] | [INFO] [stdout] 1014 | use rand::distributions::Alphanumeric; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/rand.rs, use `mod rand` in this file to declare the module [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + mod rand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> src/shard_layout.rs:1015:9 [INFO] [stdout] | [INFO] [stdout] 1015 | use rand::rngs::StdRng; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/rand.rs, use `mod rand` in this file to declare the module [INFO] [stdout] --> src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 + mod rand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/merkle.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | use rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^^ help: a similar path exists: `crate::rand` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/shard_layout.rs:1016:9 [INFO] [stdout] | [INFO] [stdout] 1016 | use rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^^ help: a similar path exists: `crate::rand` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/stateless_validation/chunk_endorsements_bitmap.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | use rand::Rng; [INFO] [stdout] | ^^^^ help: a similar path exists: `crate::rand` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/validator_mandates/compute_price.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | use rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^^ help: a similar path exists: `crate::rand` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/validator_mandates/mod.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | use rand::SeedableRng; [INFO] [stdout] | ^^^^ help: a similar path exists: `crate::rand` [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand_chacha` [INFO] [stdout] --> src/validator_mandates/mod.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | use rand_chacha::ChaCha8Rng; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `rand_chacha` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand_chacha`, use `cargo add rand_chacha` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::ShuffledShardIds` [INFO] [stdout] --> src/validator_mandates/mod.rs:288:48 [INFO] [stdout] | [INFO] [stdout] 288 | use super::{ChunkValidatorStakeAssignment, ShuffledShardIds, ValidatorMandates}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `ShuffledShardIds` in `validator_mandates` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/validator_mandates/mod.rs:248:8 [INFO] [stdout] | [INFO] [stdout] 246 | #[cfg(feature = "rand")] [INFO] [stdout] | ---------------- the item is gated behind the `rand` feature [INFO] [stdout] 247 | #[derive(Default, Clone, Debug, PartialEq, Eq)] [INFO] [stdout] 248 | struct ShuffledShardIds { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> src/validator_mandates/compute_price.rs:221:27 [INFO] [stdout] | [INFO] [stdout] 221 | let mut rng = rand::rngs::StdRng::seed_from_u64(0xdeadbeef); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `single_shard` found for struct `ShardUId` in the current scope [INFO] [stdout] --> src/bandwidth_scheduler.rs:504:33 [INFO] [stdout] | [INFO] [stdout] 504 | to_shard: ShardUId::single_shard().shard_id().into(), [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `ShardUId` [INFO] [stdout] | [INFO] [stdout] ::: src/shard_layout.rs:798:1 [INFO] [stdout] | [INFO] [stdout] 798 | pub struct ShardUId { [INFO] [stdout] | ------------------- function or associated item `single_shard` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ShardUId` consider using one of the following associated functions: [INFO] [stdout] ShardUId::new [INFO] [stdout] ShardUId::from_shard_id_and_layout [INFO] [stdout] --> src/shard_layout.rs:804:5 [INFO] [stdout] | [INFO] [stdout] 804 | pub fn new(version: ShardVersion, shard_id: ShardId) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 842 | pub fn from_shard_id_and_layout(shard_id: ShardId, shard_layout: &ShardLayout) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `single_shard` found for struct `ShardUId` in the current scope [INFO] [stdout] --> src/bandwidth_scheduler.rs:530:27 [INFO] [stdout] | [INFO] [stdout] 530 | ShardUId::single_shard().shard_id(), [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `ShardUId` [INFO] [stdout] | [INFO] [stdout] ::: src/shard_layout.rs:798:1 [INFO] [stdout] | [INFO] [stdout] 798 | pub struct ShardUId { [INFO] [stdout] | ------------------- function or associated item `single_shard` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ShardUId` consider using one of the following associated functions: [INFO] [stdout] ShardUId::new [INFO] [stdout] ShardUId::from_shard_id_and_layout [INFO] [stdout] --> src/shard_layout.rs:804:5 [INFO] [stdout] | [INFO] [stdout] 804 | pub fn new(version: ShardVersion, shard_id: ShardId) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 842 | pub fn from_shard_id_and_layout(shard_id: ShardId, shard_layout: &ShardLayout) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `single_shard` found for struct `ShardUId` in the current scope [INFO] [stdout] --> src/bandwidth_scheduler.rs:623:27 [INFO] [stdout] | [INFO] [stdout] 623 | ShardUId::single_shard().shard_id(), [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `ShardUId` [INFO] [stdout] | [INFO] [stdout] ::: src/shard_layout.rs:798:1 [INFO] [stdout] | [INFO] [stdout] 798 | pub struct ShardUId { [INFO] [stdout] | ------------------- function or associated item `single_shard` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ShardUId` consider using one of the following associated functions: [INFO] [stdout] ShardUId::new [INFO] [stdout] ShardUId::from_shard_id_and_layout [INFO] [stdout] --> src/shard_layout.rs:804:5 [INFO] [stdout] | [INFO] [stdout] 804 | pub fn new(version: ShardVersion, shard_id: ShardId) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 842 | pub fn from_shard_id_and_layout(shard_id: ShardId, shard_layout: &ShardLayout) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `single_shard` found for struct `ShardUId` in the current scope [INFO] [stdout] --> src/bandwidth_scheduler.rs:642:33 [INFO] [stdout] | [INFO] [stdout] 642 | to_shard: ShardUId::single_shard().shard_id().into(), [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `ShardUId` [INFO] [stdout] | [INFO] [stdout] ::: src/shard_layout.rs:798:1 [INFO] [stdout] | [INFO] [stdout] 798 | pub struct ShardUId { [INFO] [stdout] | ------------------- function or associated item `single_shard` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ShardUId` consider using one of the following associated functions: [INFO] [stdout] ShardUId::new [INFO] [stdout] ShardUId::from_shard_id_and_layout [INFO] [stdout] --> src/shard_layout.rs:804:5 [INFO] [stdout] | [INFO] [stdout] 804 | pub fn new(version: ShardVersion, shard_id: ShardId) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 842 | pub fn from_shard_id_and_layout(shard_id: ShardId, shard_layout: &ShardLayout) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `multi_shard` found for enum `ShardLayout` in the current scope [INFO] [stdout] --> src/shard_layout.rs:1278:45 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum ShardLayout { [INFO] [stdout] | -------------------- variant or associated item `multi_shard` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 1278 | let shard_layout = ShardLayout::multi_shard(n, 0); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `ShardLayout` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ShardLayout` consider using one of the following associated functions: [INFO] [stdout] ShardLayout::single_shard [INFO] [stdout] ShardLayout::v0 [INFO] [stdout] ShardLayout::v1 [INFO] [stdout] ShardLayout::v2 [INFO] [stdout] and 2 others [INFO] [stdout] --> src/shard_layout.rs:349:5 [INFO] [stdout] | [INFO] [stdout] 349 | pub fn single_shard() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 412 | pub fn v0(num_shards: NumShards, version: ShardVersion) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | / pub fn v1( [INFO] [stdout] 419 | | boundary_accounts: Vec, [INFO] [stdout] 420 | | shards_split_map: Option, [INFO] [stdout] 421 | | version: ShardVersion, [INFO] [stdout] 422 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 448 | / pub fn v2( [INFO] [stdout] 449 | | boundary_accounts: Vec, [INFO] [stdout] 450 | | shard_ids: Vec, [INFO] [stdout] 451 | | shards_split_map: Option, [INFO] [stdout] 452 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `empty` found for struct `transaction::SignedTransaction` in the current scope [INFO] [stdout] --> src/sharding.rs:1553:51 [INFO] [stdout] | [INFO] [stdout] 1553 | transactions: vec![SignedTransaction::empty(hash)], [INFO] [stdout] | ^^^^^ function or associated item not found in `transaction::SignedTransaction` [INFO] [stdout] | [INFO] [stdout] ::: src/transaction.rs:339:1 [INFO] [stdout] | [INFO] [stdout] 339 | pub struct SignedTransaction { [INFO] [stdout] | ---------------------------- function or associated item `empty` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `transaction::SignedTransaction`, consider using `transaction::SignedTransaction::new` which returns `transaction::SignedTransaction` [INFO] [stdout] --> src/transaction.rs:349:5 [INFO] [stdout] | [INFO] [stdout] 349 | pub fn new(signature: Signature, transaction: Transaction) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `empty`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `bitflags::traits::Flags` [INFO] [stdout] candidate #2: `gimli::Reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `empty` found for struct `transaction::SignedTransaction` in the current scope [INFO] [stdout] --> src/sharding.rs:1572:51 [INFO] [stdout] | [INFO] [stdout] 1572 | transactions: vec![SignedTransaction::empty(hash)], [INFO] [stdout] | ^^^^^ function or associated item not found in `transaction::SignedTransaction` [INFO] [stdout] | [INFO] [stdout] ::: src/transaction.rs:339:1 [INFO] [stdout] | [INFO] [stdout] 339 | pub struct SignedTransaction { [INFO] [stdout] | ---------------------------- function or associated item `empty` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `transaction::SignedTransaction`, consider using `transaction::SignedTransaction::new` which returns `transaction::SignedTransaction` [INFO] [stdout] --> src/transaction.rs:349:5 [INFO] [stdout] | [INFO] [stdout] 349 | pub fn new(signature: Signature, transaction: Transaction) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `empty`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `bitflags::traits::Flags` [INFO] [stdout] candidate #2: `gimli::Reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `empty` found for struct `transaction::SignedTransaction` in the current scope [INFO] [stdout] --> src/sharding.rs:1585:51 [INFO] [stdout] | [INFO] [stdout] 1585 | transactions: vec![SignedTransaction::empty(hash)], [INFO] [stdout] | ^^^^^ function or associated item not found in `transaction::SignedTransaction` [INFO] [stdout] | [INFO] [stdout] ::: src/transaction.rs:339:1 [INFO] [stdout] | [INFO] [stdout] 339 | pub struct SignedTransaction { [INFO] [stdout] | ---------------------------- function or associated item `empty` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `transaction::SignedTransaction`, consider using `transaction::SignedTransaction::new` which returns `transaction::SignedTransaction` [INFO] [stdout] --> src/transaction.rs:349:5 [INFO] [stdout] | [INFO] [stdout] 349 | pub fn new(signature: Signature, transaction: Transaction) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `empty`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `bitflags::traits::Flags` [INFO] [stdout] candidate #2: `gimli::Reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `empty` found for struct `transaction::SignedTransaction` in the current scope [INFO] [stdout] --> src/sharding.rs:1601:61 [INFO] [stdout] | [INFO] [stdout] 1601 | ShardChunk::new(header, vec![SignedTransaction::empty(hash)], vec![get_receipt()]); [INFO] [stdout] | ^^^^^ function or associated item not found in `transaction::SignedTransaction` [INFO] [stdout] | [INFO] [stdout] ::: src/transaction.rs:339:1 [INFO] [stdout] | [INFO] [stdout] 339 | pub struct SignedTransaction { [INFO] [stdout] | ---------------------------- function or associated item `empty` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `transaction::SignedTransaction`, consider using `transaction::SignedTransaction::new` which returns `transaction::SignedTransaction` [INFO] [stdout] --> src/transaction.rs:349:5 [INFO] [stdout] | [INFO] [stdout] 349 | pub fn new(signature: Signature, transaction: Transaction) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `empty`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `bitflags::traits::Flags` [INFO] [stdout] candidate #2: `gimli::Reader` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_signer` found for struct `InMemorySigner` in the current scope [INFO] [stdout] --> src/signable_message.rs:235:38 [INFO] [stdout] | [INFO] [stdout] 235 | let signer = InMemorySigner::test_signer(&sender_id); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `InMemorySigner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_signer` found for struct `InMemorySigner` in the current scope [INFO] [stdout] --> src/signable_message.rs:249:38 [INFO] [stdout] | [INFO] [stdout] 249 | let signer = InMemorySigner::test_signer(&sender_id); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `InMemorySigner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_signer` found for struct `InMemorySigner` in the current scope [INFO] [stdout] --> src/signable_message.rs:267:38 [INFO] [stdout] | [INFO] [stdout] 267 | let signer = InMemorySigner::test_signer(&sender_id); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `InMemorySigner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> src/stateless_validation/chunk_endorsements_bitmap.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rand`, use `cargo add rand` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_random` found for struct `InMemorySigner` in the current scope [INFO] [stdout] --> src/transaction.rs:635:29 [INFO] [stdout] | [INFO] [stdout] 635 | InMemorySigner::from_random("test".parse().unwrap(), KeyType::ED25519).into(); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `InMemorySigner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sign` found for enum `transaction::Transaction` in the current scope [INFO] [stdout] --> src/transaction.rs:644:10 [INFO] [stdout] | [INFO] [stdout] 77 | pub enum Transaction { [INFO] [stdout] | -------------------- method `sign` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 636 | let transaction = Transaction::V0(TransactionV0 { [INFO] [stdout] | ___________________________- [INFO] [stdout] 637 | | signer_id: "test".parse().unwrap(), [INFO] [stdout] 638 | | public_key: signer.public_key(), [INFO] [stdout] 639 | | nonce: 0, [INFO] [stdout] ... | [INFO] [stdout] 643 | | }) [INFO] [stdout] 644 | | .sign(&signer); [INFO] [stdout] | | -^^^^ method not found in `transaction::Transaction` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `sign`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `signature::signer::Signer` [INFO] [stdout] candidate #2: `signature::signer::SignerMut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_seed` found for enum `near_crypto::PublicKey` in the current scope [INFO] [stdout] --> src/transaction.rs:645:43 [INFO] [stdout] | [INFO] [stdout] 645 | let wrong_public_key = PublicKey::from_seed(KeyType::ED25519, "wrong"); [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `near_crypto::PublicKey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `near_crypto::PublicKey` consider using one of the following associated functions: [INFO] [stdout] near_crypto::util::::from_near_implicit_account [INFO] [stdout] near_crypto::PublicKey::empty [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-crypto-0.31.0/src/util.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | / pub fn from_near_implicit_account( [INFO] [stdout] 108 | | account_id: &near_account_id::AccountId, [INFO] [stdout] 109 | | ) -> Result { [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-crypto-0.31.0/src/signature.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn empty(key_type: KeyType) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from_str` with a similar name [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/traits.rs:855:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `protocol_version_to_vote_for_at_date` found for struct `upgrade_schedule::ProtocolUpgradeVotingSchedule` in the current scope [INFO] [stdout] --> src/upgrade_schedule.rs:305:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ProtocolUpgradeVotingSchedule { [INFO] [stdout] | ---------------------------------------- method `protocol_version_to_vote_for_at_date` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 305 | schedule.protocol_version_to_vote_for_at_date(now, client_protocol_version - 2) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `upgrade_schedule::ProtocolUpgradeVotingSchedule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `protocol_version_to_vote_for_at_date` found for struct `upgrade_schedule::ProtocolUpgradeVotingSchedule` in the current scope [INFO] [stdout] --> src/upgrade_schedule.rs:309:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ProtocolUpgradeVotingSchedule { [INFO] [stdout] | ---------------------------------------- method `protocol_version_to_vote_for_at_date` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 309 | schedule.protocol_version_to_vote_for_at_date(now, client_protocol_version) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `upgrade_schedule::ProtocolUpgradeVotingSchedule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `protocol_version_to_vote_for_at_date` found for struct `upgrade_schedule::ProtocolUpgradeVotingSchedule` in the current scope [INFO] [stdout] --> src/upgrade_schedule.rs:313:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ProtocolUpgradeVotingSchedule { [INFO] [stdout] | ---------------------------------------- method `protocol_version_to_vote_for_at_date` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 313 | schedule.protocol_version_to_vote_for_at_date(now, client_protocol_version + 2) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `upgrade_schedule::ProtocolUpgradeVotingSchedule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `protocol_version_to_vote_for_at_date` found for struct `upgrade_schedule::ProtocolUpgradeVotingSchedule` in the current scope [INFO] [stdout] --> src/upgrade_schedule.rs:334:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ProtocolUpgradeVotingSchedule { [INFO] [stdout] | ---------------------------------------- method `protocol_version_to_vote_for_at_date` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 334 | schedule.protocol_version_to_vote_for_at_date(now, next_epoch_protocol_version) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `upgrade_schedule::ProtocolUpgradeVotingSchedule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `protocol_version_to_vote_for_at_date` found for struct `upgrade_schedule::ProtocolUpgradeVotingSchedule` in the current scope [INFO] [stdout] --> src/upgrade_schedule.rs:341:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ProtocolUpgradeVotingSchedule { [INFO] [stdout] | ---------------------------------------- method `protocol_version_to_vote_for_at_date` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 341 | schedule.protocol_version_to_vote_for_at_date(now, next_epoch_protocol_version) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `upgrade_schedule::ProtocolUpgradeVotingSchedule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `protocol_version_to_vote_for_at_date` found for struct `upgrade_schedule::ProtocolUpgradeVotingSchedule` in the current scope [INFO] [stdout] --> src/upgrade_schedule.rs:348:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ProtocolUpgradeVotingSchedule { [INFO] [stdout] | ---------------------------------------- method `protocol_version_to_vote_for_at_date` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 348 | schedule.protocol_version_to_vote_for_at_date(now, next_epoch_protocol_version) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `upgrade_schedule::ProtocolUpgradeVotingSchedule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `protocol_version_to_vote_for_at_date` found for struct `upgrade_schedule::ProtocolUpgradeVotingSchedule` in the current scope [INFO] [stdout] --> src/upgrade_schedule.rs:367:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ProtocolUpgradeVotingSchedule { [INFO] [stdout] | ---------------------------------------- method `protocol_version_to_vote_for_at_date` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 367 | schedule.protocol_version_to_vote_for_at_date(now, client_protocol_version - 2) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `upgrade_schedule::ProtocolUpgradeVotingSchedule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `protocol_version_to_vote_for_at_date` found for struct `upgrade_schedule::ProtocolUpgradeVotingSchedule` in the current scope [INFO] [stdout] --> src/upgrade_schedule.rs:371:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ProtocolUpgradeVotingSchedule { [INFO] [stdout] | ---------------------------------------- method `protocol_version_to_vote_for_at_date` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 371 | schedule.protocol_version_to_vote_for_at_date(now, client_protocol_version) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `upgrade_schedule::ProtocolUpgradeVotingSchedule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `protocol_version_to_vote_for_at_date` found for struct `upgrade_schedule::ProtocolUpgradeVotingSchedule` in the current scope [INFO] [stdout] --> src/upgrade_schedule.rs:375:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ProtocolUpgradeVotingSchedule { [INFO] [stdout] | ---------------------------------------- method `protocol_version_to_vote_for_at_date` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 375 | schedule.protocol_version_to_vote_for_at_date(now, client_protocol_version + 2) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `upgrade_schedule::ProtocolUpgradeVotingSchedule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `protocol_version_to_vote_for_at_date` found for struct `upgrade_schedule::ProtocolUpgradeVotingSchedule` in the current scope [INFO] [stdout] --> src/upgrade_schedule.rs:396:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ProtocolUpgradeVotingSchedule { [INFO] [stdout] | ---------------------------------------- method `protocol_version_to_vote_for_at_date` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 396 | schedule.protocol_version_to_vote_for_at_date(now, current_protocol_version) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `upgrade_schedule::ProtocolUpgradeVotingSchedule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `protocol_version_to_vote_for_at_date` found for struct `upgrade_schedule::ProtocolUpgradeVotingSchedule` in the current scope [INFO] [stdout] --> src/upgrade_schedule.rs:403:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ProtocolUpgradeVotingSchedule { [INFO] [stdout] | ---------------------------------------- method `protocol_version_to_vote_for_at_date` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 403 | schedule.protocol_version_to_vote_for_at_date(now, current_protocol_version) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `upgrade_schedule::ProtocolUpgradeVotingSchedule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `protocol_version_to_vote_for_at_date` found for struct `upgrade_schedule::ProtocolUpgradeVotingSchedule` in the current scope [INFO] [stdout] --> src/upgrade_schedule.rs:408:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ProtocolUpgradeVotingSchedule { [INFO] [stdout] | ---------------------------------------- method `protocol_version_to_vote_for_at_date` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 408 | schedule.protocol_version_to_vote_for_at_date(now, current_protocol_version) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `upgrade_schedule::ProtocolUpgradeVotingSchedule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `protocol_version_to_vote_for_at_date` found for struct `upgrade_schedule::ProtocolUpgradeVotingSchedule` in the current scope [INFO] [stdout] --> src/upgrade_schedule.rs:415:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ProtocolUpgradeVotingSchedule { [INFO] [stdout] | ---------------------------------------- method `protocol_version_to_vote_for_at_date` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 415 | schedule.protocol_version_to_vote_for_at_date(now, current_protocol_version + 1) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `upgrade_schedule::ProtocolUpgradeVotingSchedule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `protocol_version_to_vote_for_at_date` found for struct `upgrade_schedule::ProtocolUpgradeVotingSchedule` in the current scope [INFO] [stdout] --> src/upgrade_schedule.rs:420:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ProtocolUpgradeVotingSchedule { [INFO] [stdout] | ---------------------------------------- method `protocol_version_to_vote_for_at_date` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 420 | schedule.protocol_version_to_vote_for_at_date(now, current_protocol_version + 1) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `upgrade_schedule::ProtocolUpgradeVotingSchedule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `protocol_version_to_vote_for_at_date` found for struct `upgrade_schedule::ProtocolUpgradeVotingSchedule` in the current scope [INFO] [stdout] --> src/upgrade_schedule.rs:442:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ProtocolUpgradeVotingSchedule { [INFO] [stdout] | ---------------------------------------- method `protocol_version_to_vote_for_at_date` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 442 | schedule.protocol_version_to_vote_for_at_date(now, current_protocol_version) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `upgrade_schedule::ProtocolUpgradeVotingSchedule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `protocol_version_to_vote_for_at_date` found for struct `upgrade_schedule::ProtocolUpgradeVotingSchedule` in the current scope [INFO] [stdout] --> src/upgrade_schedule.rs:450:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ProtocolUpgradeVotingSchedule { [INFO] [stdout] | ---------------------------------------- method `protocol_version_to_vote_for_at_date` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 450 | schedule.protocol_version_to_vote_for_at_date(now, current_protocol_version) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `upgrade_schedule::ProtocolUpgradeVotingSchedule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `protocol_version_to_vote_for_at_date` found for struct `upgrade_schedule::ProtocolUpgradeVotingSchedule` in the current scope [INFO] [stdout] --> src/upgrade_schedule.rs:457:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ProtocolUpgradeVotingSchedule { [INFO] [stdout] | ---------------------------------------- method `protocol_version_to_vote_for_at_date` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 457 | schedule.protocol_version_to_vote_for_at_date(now, current_protocol_version + 1) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `upgrade_schedule::ProtocolUpgradeVotingSchedule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `protocol_version_to_vote_for_at_date` found for struct `upgrade_schedule::ProtocolUpgradeVotingSchedule` in the current scope [INFO] [stdout] --> src/upgrade_schedule.rs:464:22 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ProtocolUpgradeVotingSchedule { [INFO] [stdout] | ---------------------------------------- method `protocol_version_to_vote_for_at_date` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 464 | schedule.protocol_version_to_vote_for_at_date(now, current_protocol_version + 2) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `upgrade_schedule::ProtocolUpgradeVotingSchedule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_seed` found for enum `near_crypto::PublicKey` in the current scope [INFO] [stdout] --> src/utils.rs:489:37 [INFO] [stdout] | [INFO] [stdout] 489 | let public_key = PublicKey::from_seed(KeyType::ED25519, "test"); [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `near_crypto::PublicKey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `near_crypto::PublicKey` consider using one of the following associated functions: [INFO] [stdout] near_crypto::util::::from_near_implicit_account [INFO] [stdout] near_crypto::PublicKey::empty [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-crypto-0.31.0/src/util.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | / pub fn from_near_implicit_account( [INFO] [stdout] 108 | | account_id: &near_account_id::AccountId, [INFO] [stdout] 109 | | ) -> Result { [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-crypto-0.31.0/src/signature.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn empty(key_type: KeyType) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from_str` with a similar name [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/traits.rs:855:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_seed` found for enum `near_crypto::PublicKey` in the current scope [INFO] [stdout] --> src/utils.rs:498:37 [INFO] [stdout] | [INFO] [stdout] 498 | let public_key = PublicKey::from_seed(KeyType::SECP256K1, "test"); [INFO] [stdout] | ^^^^^^^^^ variant or associated item not found in `near_crypto::PublicKey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `near_crypto::PublicKey` consider using one of the following associated functions: [INFO] [stdout] near_crypto::util::::from_near_implicit_account [INFO] [stdout] near_crypto::PublicKey::empty [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-crypto-0.31.0/src/util.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | / pub fn from_near_implicit_account( [INFO] [stdout] 108 | | account_id: &near_account_id::AccountId, [INFO] [stdout] 109 | | ) -> Result { [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-crypto-0.31.0/src/signature.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn empty(key_type: KeyType) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from_str` with a similar name [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/traits.rs:855:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `shuffled_mandates` found for struct `ValidatorMandates` in the current scope [INFO] [stdout] --> src/validator_mandates/mod.rs:384:35 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct ValidatorMandates { [INFO] [stdout] | ---------------------------- method `shuffled_mandates` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 384 | let assignment = mandates.shuffled_mandates(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `ValidatorMandates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `shuffled_mandates` found for struct `ValidatorMandates` in the current scope [INFO] [stdout] --> src/validator_mandates/mod.rs:418:26 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct ValidatorMandates { [INFO] [stdout] | ---------------------------- method `shuffled_mandates` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 418 | let _ = mandates.shuffled_mandates(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `ValidatorMandates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `shuffled_partials` found for struct `ValidatorMandates` in the current scope [INFO] [stdout] --> src/validator_mandates/mod.rs:419:35 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct ValidatorMandates { [INFO] [stdout] | ---------------------------- method `shuffled_partials` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 419 | let assignment = mandates.shuffled_partials(&mut rng); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ method not found in `ValidatorMandates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sample` found for struct `ValidatorMandates` in the current scope [INFO] [stdout] --> src/validator_mandates/mod.rs:470:35 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct ValidatorMandates { [INFO] [stdout] | ---------------------------- method `sample` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 470 | let assignment = mandates.sample(&mut rng); [INFO] [stdout] | ^^^^^^ method not found in `ValidatorMandates` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `sample`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `bolero_generator::uniform::Uniform` [INFO] [stdout] candidate #2: `rand::Rng` [INFO] [stdout] candidate #3: `rand::distributions::Distribution` [INFO] [stdout] candidate #4: `rand::distributions::uniform::UniformSampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sample` found for struct `ValidatorMandates` in the current scope [INFO] [stdout] --> src/validator_mandates/mod.rs:517:36 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct ValidatorMandates { [INFO] [stdout] | ---------------------------- method `sample` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 517 | let assignment1 = mandates.sample(&mut rng1); [INFO] [stdout] | ^^^^^^ method not found in `ValidatorMandates` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `sample`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `bolero_generator::uniform::Uniform` [INFO] [stdout] candidate #2: `rand::Rng` [INFO] [stdout] candidate #3: `rand::distributions::Distribution` [INFO] [stdout] candidate #4: `rand::distributions::uniform::UniformSampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sample` found for struct `ValidatorMandates` in the current scope [INFO] [stdout] --> src/validator_mandates/mod.rs:520:36 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct ValidatorMandates { [INFO] [stdout] | ---------------------------- method `sample` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 520 | let assignment2 = mandates.sample(&mut rng2); [INFO] [stdout] | ^^^^^^ method not found in `ValidatorMandates` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `sample`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `bolero_generator::uniform::Uniform` [INFO] [stdout] candidate #2: `rand::Rng` [INFO] [stdout] candidate #3: `rand::distributions::Distribution` [INFO] [stdout] candidate #4: `rand::distributions::uniform::UniformSampler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/block.rs:406:19 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn chunks(&self) -> Chunks { [INFO] [stdout] | ^^^^^ ------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 406 | pub fn chunks(&self) -> Chunks<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/block.rs:513:12 [INFO] [stdout] | [INFO] [stdout] 513 | chunk: &ShardChunkHeader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 514 | block_height: BlockHeight, [INFO] [stdout] 515 | ) -> MaybeNew { [INFO] [stdout] | -------------------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 515 | ) -> MaybeNew<'_, ShardChunkHeader> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/block_header.rs:1042:37 [INFO] [stdout] | [INFO] [stdout] 1042 | pub fn prev_validator_proposals(&self) -> ValidatorStakeIter { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1042 | pub fn prev_validator_proposals(&self) -> ValidatorStakeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/epoch_block_info.rs:116:27 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn proposals_iter(&self) -> ValidatorStakeIter { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 116 | pub fn proposals_iter(&self) -> ValidatorStakeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/epoch_info.rs:330:28 [INFO] [stdout] | [INFO] [stdout] 330 | pub fn validators_iter(&self) -> ValidatorStakeIter { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 330 | pub fn validators_iter(&self) -> ValidatorStakeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/epoch_info.rs:340:27 [INFO] [stdout] | [INFO] [stdout] 340 | pub fn fishermen_iter(&self) -> ValidatorStakeIter { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 340 | pub fn fishermen_iter(&self) -> ValidatorStakeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sharding.rs:397:37 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn prev_validator_proposals(&self) -> ValidatorStakeIter { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 397 | pub fn prev_validator_proposals(&self) -> ValidatorStakeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sharding/shard_chunk_header_inner.rs:60:37 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn prev_validator_proposals(&self) -> ValidatorStakeIter { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn prev_validator_proposals(&self) -> ValidatorStakeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/types.rs:901:36 [INFO] [stdout] | [INFO] [stdout] 901 | pub fn validator_proposals(&self) -> ValidatorStakeIter { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 901 | pub fn validator_proposals(&self) -> ValidatorStakeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `near_primitives::genesis::genesis_chunks` [INFO] [stdout] --> benches/serialization.rs:6:47 [INFO] [stdout] | [INFO] [stdout] 6 | use near_primitives::genesis::{genesis_block, genesis_chunks}; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `genesis_chunks` in `genesis` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/genesis/mod.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "solomon")] [INFO] [stdout] | ------------------- the item is gated behind the `solomon` feature [INFO] [stdout] 10 | pub use chunk::{genesis_chunks, prod_genesis_chunks}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `near_primitives::test_utils` [INFO] [stdout] --> benches/serialization.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use near_primitives::test_utils::account_new; [INFO] [stdout] | ^^^^^^^^^^ could not find `test_utils` in `near_primitives` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 44 | #[cfg(feature = "test_utils")] [INFO] [stdout] | ---------------------- the item is gated behind the `test_utils` feature [INFO] [stdout] 45 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `near_time::Clock` [INFO] [stdout] --> benches/serialization.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use near_time::Clock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `Clock` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_random` found for struct `InMemoryValidatorSigner` in the current scope [INFO] [stdout] --> benches/serialization.rs:57:43 [INFO] [stdout] | [INFO] [stdout] 57 | let signer = InMemoryValidatorSigner::from_random("test".parse().unwrap(), KeyType::ED25519); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `InMemoryValidatorSigner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `produce` found for enum `Block` in the current scope [INFO] [stdout] --> benches/serialization.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | Block::produce( [INFO] [stdout] | ^^^^^^^ variant or associated item not found in `Block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `near-primitives` (bench "serialization") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `near-primitives` (lib test) due to 55 previous errors [INFO] running `Command { std: "docker" "inspect" "dfb76da08d66dfa9c336bac395315341be620589493dcf0b1bfa5f20822b62c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfb76da08d66dfa9c336bac395315341be620589493dcf0b1bfa5f20822b62c7", kill_on_drop: false }` [INFO] [stdout] dfb76da08d66dfa9c336bac395315341be620589493dcf0b1bfa5f20822b62c7