[INFO] fetching crate near-primitives 0.35.0... [INFO] testing near-primitives-0.35.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate near-primitives 0.35.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate near-primitives 0.35.0 [INFO] finished tweaking crates.io crate near-primitives 0.35.0 [INFO] tweaked toml for crates.io crate near-primitives 0.35.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate near-primitives 0.35.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate near-primitives 0.35.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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] faca5e850f47ec1adf33a58c0ab60784b6d0a3ffe16cbbd05b2d7062db0aa185 [INFO] running `Command { std: "docker" "start" "-a" "faca5e850f47ec1adf33a58c0ab60784b6d0a3ffe16cbbd05b2d7062db0aa185", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "faca5e850f47ec1adf33a58c0ab60784b6d0a3ffe16cbbd05b2d7062db0aa185", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "faca5e850f47ec1adf33a58c0ab60784b6d0a3ffe16cbbd05b2d7062db0aa185", kill_on_drop: false }` [INFO] [stdout] faca5e850f47ec1adf33a58c0ab60784b6d0a3ffe16cbbd05b2d7062db0aa185 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c957ecbd0adf41f344ed30946c888836db67054c7746202cf11be2604182873 [INFO] running `Command { std: "docker" "start" "-a" "9c957ecbd0adf41f344ed30946c888836db67054c7746202cf11be2604182873", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling borsh v1.5.3 [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling near-schema-checker-macro v0.35.0 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling near-schema-checker-core v0.35.0 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling base64 v0.21.0 [INFO] [stderr] Compiling near-schema-checker-lib v0.35.0 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling unsafe-libyaml v0.2.10 [INFO] [stderr] Compiling json_comments v0.2.1 [INFO] [stderr] Compiling near-stdx v0.35.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling sha3 v0.10.6 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling secp256k1-sys v0.8.1 [INFO] [stderr] Compiling strum_macros v0.24.0 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling strum v0.24.0 [INFO] [stderr] Compiling secp256k1 v0.27.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling zstd v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling borsh-derive v1.5.3 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling derive_arbitrary v1.4.1 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Compiling arbitrary v1.4.1 [INFO] [stderr] Compiling enum-map v2.7.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling near-config-utils v0.35.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling serde_with_macros v3.0.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling near-account-id v2.0.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling near-token v0.3.2 [INFO] [stderr] Compiling near-gas v0.3.2 [INFO] [stderr] Compiling serde_with v3.0.0 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling serde_yaml v0.9.29 [INFO] [stderr] Compiling ordered-float v4.2.0 [INFO] [stderr] Compiling bytesize v1.1.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling primitive-types v0.10.1 [INFO] [stderr] Compiling near-crypto v0.35.0 [INFO] [stderr] Compiling near-time v0.35.0 [INFO] [stderr] Compiling near-primitives-core v0.35.0 [INFO] [stderr] Compiling near-parameters v0.35.0 [INFO] [stderr] Compiling near-fmt v0.35.0 [INFO] [stderr] Compiling near-primitives v0.35.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/block.rs:462:19 [INFO] [stdout] | [INFO] [stdout] 462 | 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] 462 | 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_header.rs:1204:37 [INFO] [stdout] | [INFO] [stdout] 1204 | 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] 1204 | 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:112:27 [INFO] [stdout] | [INFO] [stdout] 112 | 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] 112 | 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:392:28 [INFO] [stdout] | [INFO] [stdout] 392 | 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] 392 | 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/receipt.rs:392:30 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn versioned_receipt(&self) -> VersionedReceiptEnum { [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] 392 | pub fn versioned_receipt(&self) -> VersionedReceiptEnum<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sharding.rs:465:37 [INFO] [stdout] | [INFO] [stdout] 465 | 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] 465 | 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:87:37 [INFO] [stdout] | [INFO] [stdout] 87 | 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] 87 | 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:985:36 [INFO] [stdout] | [INFO] [stdout] 985 | 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] 985 | pub fn validator_proposals(&self) -> ValidatorStakeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "9c957ecbd0adf41f344ed30946c888836db67054c7746202cf11be2604182873", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c957ecbd0adf41f344ed30946c888836db67054c7746202cf11be2604182873", kill_on_drop: false }` [INFO] [stdout] 9c957ecbd0adf41f344ed30946c888836db67054c7746202cf11be2604182873 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 728c7cc05e7532579243845c82bb61c3f6a6eaa1a4b9604cde7485b825420276 [INFO] running `Command { std: "docker" "start" "-a" "728c7cc05e7532579243845c82bb61c3f6a6eaa1a4b9604cde7485b825420276", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling clap_lex v0.7.3 [INFO] [stderr] Compiling ciborium-io v0.2.1 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling ciborium-ll v0.2.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling pretty-hex v0.3.0 [INFO] [stderr] Compiling clap_builder v4.5.21 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling linux-raw-sys v0.9.2 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling ciborium v0.2.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling dissimilar v1.0.4 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling object v0.36.5 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling similar v2.1.0 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling pest v2.4.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling expect-test v1.3.0 [INFO] [stderr] Compiling bencher v0.1.5 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling near-crypto v0.35.0 [INFO] [stderr] Compiling pest_meta v2.4.0 [INFO] [stderr] Compiling criterion-plot v0.6.0 [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stderr] Compiling clap v4.5.21 [INFO] [stderr] Compiling tempfile v3.18.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling criterion v0.7.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling pest_generator v2.4.0 [INFO] [stderr] Compiling bolero-generator-derive v0.10.0 [INFO] [stderr] Compiling strum_macros v0.24.0 [INFO] [stderr] Compiling pest_derive v2.4.0 [INFO] [stderr] Compiling insta v1.41.1 [INFO] [stderr] Compiling bolero-generator v0.10.2 [INFO] [stderr] Compiling strum v0.24.0 [INFO] [stderr] Compiling near-parameters v0.35.0 [INFO] [stderr] Compiling bolero-engine v0.10.2 [INFO] [stderr] Compiling bolero v0.10.1 [INFO] [stderr] Compiling near-primitives v0.35.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/bandwidth_scheduler.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | use rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 381 | use crate::rand::{Rng, SeedableRng}; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/merkle.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | 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:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | 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]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/shard_layout/tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::distributions::Alphanumeric; [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[E0433]: cannot find module or crate `rand` in this scope [INFO] [stdout] --> src/shard_layout/tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::rngs::StdRng; [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[E0432]: unresolved import `rand` [INFO] [stdout] --> src/merkle.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | use rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 268 | use crate::rand::{Rng, SeedableRng}; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/shard_layout/tests.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 7 | use crate::rand::{Rng, SeedableRng}; [INFO] [stdout] | +++++++ [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] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 92 | use crate::rand::Rng; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `near_primitives` in this scope [INFO] [stdout] --> src/transaction.rs:658:9 [INFO] [stdout] | [INFO] [stdout] 658 | use near_primitives::types::Gas; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `near_primitives` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 658 | use near_primitives_core::types::Gas; [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/stateless_validation/spice_chunk_endorsement.rs:234:16 [INFO] [stdout] | [INFO] [stdout] 234 | use crate::test_utils::create_test_signer; [INFO] [stdout] | ^^^^^^^^^^ could not find `test_utils` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | #[cfg(feature = "test_utils")] [INFO] [stdout] | ---------------------- the item is gated behind the `test_utils` feature [INFO] [stdout] 49 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/validator_mandates/compute_price.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | use rand::{Rng, SeedableRng}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 109 | use crate::rand::{Rng, SeedableRng}; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::ShuffledShardIds` [INFO] [stdout] --> src/validator_mandates/mod.rs:284:48 [INFO] [stdout] | [INFO] [stdout] 284 | 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:254:8 [INFO] [stdout] | [INFO] [stdout] 252 | #[cfg(feature = "rand")] [INFO] [stdout] | ---------------- the item is gated behind the `rand` feature [INFO] [stdout] 253 | #[derive(Default, Clone, Debug, PartialEq, Eq)] [INFO] [stdout] 254 | struct ShuffledShardIds { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand` [INFO] [stdout] --> src/validator_mandates/mod.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | use rand::SeedableRng; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `use` statements changed in Rust 2018; read more at [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 291 | use crate::rand::SeedableRng; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand_chacha` [INFO] [stdout] --> src/validator_mandates/mod.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | 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[E0433]: cannot find module or crate `rand` in this scope [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:505:33 [INFO] [stdout] | [INFO] [stdout] 505 | 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/mod.rs:456:1 [INFO] [stdout] | [INFO] [stdout] 456 | 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/mod.rs:462:5 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn new(version: ShardVersion, shard_id: ShardId) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 500 | 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:531:27 [INFO] [stdout] | [INFO] [stdout] 531 | ShardUId::single_shard().shard_id(), [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `ShardUId` [INFO] [stdout] | [INFO] [stdout] ::: src/shard_layout/mod.rs:456:1 [INFO] [stdout] | [INFO] [stdout] 456 | 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/mod.rs:462:5 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn new(version: ShardVersion, shard_id: ShardId) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 500 | 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:624:27 [INFO] [stdout] | [INFO] [stdout] 624 | ShardUId::single_shard().shard_id(), [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `ShardUId` [INFO] [stdout] | [INFO] [stdout] ::: src/shard_layout/mod.rs:456:1 [INFO] [stdout] | [INFO] [stdout] 456 | 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/mod.rs:462:5 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn new(version: ShardVersion, shard_id: ShardId) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 500 | 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:643:33 [INFO] [stdout] | [INFO] [stdout] 643 | 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/mod.rs:456:1 [INFO] [stdout] | [INFO] [stdout] 456 | 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/mod.rs:462:5 [INFO] [stdout] | [INFO] [stdout] 462 | pub fn new(version: ShardVersion, shard_id: ShardId) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 500 | 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/tests.rs:459:41 [INFO] [stdout] | [INFO] [stdout] 459 | let shard_layout = ShardLayout::multi_shard(n, 0); [INFO] [stdout] | ^^^^^^^^^^^ variant or associated item not found in `ShardLayout` [INFO] [stdout] | [INFO] [stdout] ::: src/shard_layout/mod.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub enum ShardLayout { [INFO] [stdout] | -------------------- variant or associated item `multi_shard` not found for this enum [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/mod.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn single_shard() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn v0(num_shards: NumShards, version: ShardVersion) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | / pub fn v1( [INFO] [stdout] 164 | | boundary_accounts: Vec, [INFO] [stdout] 165 | | shards_split_map: Option, [INFO] [stdout] 166 | | version: ShardVersion, [INFO] [stdout] 167 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] ... [INFO] [stdout] 172 | / pub fn v2( [INFO] [stdout] 173 | | boundary_accounts: Vec, [INFO] [stdout] 174 | | shard_ids: Vec, [INFO] [stdout] 175 | | shards_split_map: Option, [INFO] [stdout] 176 | | ) -> 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:1708:51 [INFO] [stdout] | [INFO] [stdout] 1708 | transactions: vec![SignedTransaction::empty(hash)], [INFO] [stdout] | ^^^^^ function or associated item not found in `transaction::SignedTransaction` [INFO] [stdout] | [INFO] [stdout] ::: src/transaction.rs:328:1 [INFO] [stdout] | [INFO] [stdout] 328 | 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:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | 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:1727:51 [INFO] [stdout] | [INFO] [stdout] 1727 | transactions: vec![SignedTransaction::empty(hash)], [INFO] [stdout] | ^^^^^ function or associated item not found in `transaction::SignedTransaction` [INFO] [stdout] | [INFO] [stdout] ::: src/transaction.rs:328:1 [INFO] [stdout] | [INFO] [stdout] 328 | 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:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | 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:1740:51 [INFO] [stdout] | [INFO] [stdout] 1740 | transactions: vec![SignedTransaction::empty(hash)], [INFO] [stdout] | ^^^^^ function or associated item not found in `transaction::SignedTransaction` [INFO] [stdout] | [INFO] [stdout] ::: src/transaction.rs:328:1 [INFO] [stdout] | [INFO] [stdout] 328 | 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:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | 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:1756:61 [INFO] [stdout] | [INFO] [stdout] 1756 | 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:328:1 [INFO] [stdout] | [INFO] [stdout] 328 | 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:338:5 [INFO] [stdout] | [INFO] [stdout] 338 | 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:234:38 [INFO] [stdout] | [INFO] [stdout] 234 | 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:248:38 [INFO] [stdout] | [INFO] [stdout] 248 | 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:266:38 [INFO] [stdout] | [INFO] [stdout] 266 | 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 variant or associated item named `from_seed` found for enum `near_crypto::PublicKey` in the current scope [INFO] [stdout] --> src/state_record.rs:246:37 [INFO] [stdout] | [INFO] [stdout] 246 | let public_key = PublicKey::from_seed(near_crypto::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.35.0/src/util.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | / pub fn from_near_implicit_account( [INFO] [stdout] 106 | | account_id: &near_account_id::AccountId, [INFO] [stdout] 107 | | ) -> Result { [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-crypto-0.35.0/src/signature.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | 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/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/str/traits.rs:908:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `rand` in this scope [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:663:29 [INFO] [stdout] | [INFO] [stdout] 663 | 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:672:10 [INFO] [stdout] | [INFO] [stdout] 109 | pub enum Transaction { [INFO] [stdout] | -------------------- method `sign` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 664 | let transaction = Transaction::V0(TransactionV0 { [INFO] [stdout] | ___________________________- [INFO] [stdout] 665 | | signer_id: "test".parse().unwrap(), [INFO] [stdout] 666 | | public_key: signer.public_key(), [INFO] [stdout] 667 | | nonce: 0, [INFO] [stdout] ... | [INFO] [stdout] 671 | | }) [INFO] [stdout] 672 | | .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:673:43 [INFO] [stdout] | [INFO] [stdout] 673 | 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.35.0/src/util.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | / pub fn from_near_implicit_account( [INFO] [stdout] 106 | | account_id: &near_account_id::AccountId, [INFO] [stdout] 107 | | ) -> Result { [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-crypto-0.35.0/src/signature.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | 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/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/str/traits.rs:908:4 [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:304: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] 304 | 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:308: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] 308 | 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:312: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] 312 | 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:333: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] 333 | 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:340: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] 340 | 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:347: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] 347 | 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:366: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] 366 | 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:370: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] 370 | 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:374: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] 374 | 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:395: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] 395 | 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:402: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] 402 | 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:407: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] 407 | 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:414: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] 414 | 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:419: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] 419 | 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:441: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] 441 | 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:449: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] 449 | 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:456: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] 456 | 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:463: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] 463 | 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:523:37 [INFO] [stdout] | [INFO] [stdout] 523 | 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.35.0/src/util.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | / pub fn from_near_implicit_account( [INFO] [stdout] 106 | | account_id: &near_account_id::AccountId, [INFO] [stdout] 107 | | ) -> Result { [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-crypto-0.35.0/src/signature.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | 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/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/str/traits.rs:908:4 [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:532:37 [INFO] [stdout] | [INFO] [stdout] 532 | 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.35.0/src/util.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | / pub fn from_near_implicit_account( [INFO] [stdout] 106 | | account_id: &near_account_id::AccountId, [INFO] [stdout] 107 | | ) -> Result { [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/near-crypto-0.35.0/src/signature.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | 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/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/str/traits.rs:908:4 [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:395:35 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct ValidatorMandates { [INFO] [stdout] | ---------------------------- method `shuffled_mandates` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 395 | 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:444:26 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct ValidatorMandates { [INFO] [stdout] | ---------------------------- method `shuffled_mandates` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 444 | 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:445:35 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct ValidatorMandates { [INFO] [stdout] | ---------------------------- method `shuffled_partials` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 445 | 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:528:35 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct ValidatorMandates { [INFO] [stdout] | ---------------------------- method `sample` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 528 | 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:575:36 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct ValidatorMandates { [INFO] [stdout] | ---------------------------- method `sample` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 575 | 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:578:36 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct ValidatorMandates { [INFO] [stdout] | ---------------------------- method `sample` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 578 | 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:462:19 [INFO] [stdout] | [INFO] [stdout] 462 | 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] 462 | 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_header.rs:1204:37 [INFO] [stdout] | [INFO] [stdout] 1204 | 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] 1204 | 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:112:27 [INFO] [stdout] | [INFO] [stdout] 112 | 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] 112 | 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:392:28 [INFO] [stdout] | [INFO] [stdout] 392 | 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] 392 | 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/receipt.rs:392:30 [INFO] [stdout] | [INFO] [stdout] 392 | pub fn versioned_receipt(&self) -> VersionedReceiptEnum { [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] 392 | pub fn versioned_receipt(&self) -> VersionedReceiptEnum<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sharding.rs:465:37 [INFO] [stdout] | [INFO] [stdout] 465 | 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] 465 | 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:87:37 [INFO] [stdout] | [INFO] [stdout] 87 | 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] 87 | 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:985:36 [INFO] [stdout] | [INFO] [stdout] 985 | 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] 985 | pub fn validator_proposals(&self) -> ValidatorStakeIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [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 58 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "728c7cc05e7532579243845c82bb61c3f6a6eaa1a4b9604cde7485b825420276", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "728c7cc05e7532579243845c82bb61c3f6a6eaa1a4b9604cde7485b825420276", kill_on_drop: false }` [INFO] [stdout] 728c7cc05e7532579243845c82bb61c3f6a6eaa1a4b9604cde7485b825420276