[INFO] fetching crate tendermint-light-client 0.18.1... [INFO] checking tendermint-light-client-0.18.1 against master#4fa76a4a7742bb9c1febe33019f5a9e7e4839a65 for pr-83744 [INFO] extracting crate tendermint-light-client 0.18.1 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate tendermint-light-client 0.18.1 on toolchain 4fa76a4a7742bb9c1febe33019f5a9e7e4839a65 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tendermint-light-client 0.18.1 [INFO] finished tweaking crates.io crate tendermint-light-client 0.18.1 [INFO] tweaked toml for crates.io crate tendermint-light-client 0.18.1 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate crates.io crate tendermint-light-client 0.18.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 44b194aef9a28bf32032f8c133a8f3b0853a929ffe558e73be54f1911e46105f [INFO] running `Command { std: "docker" "start" "-a" "44b194aef9a28bf32032f8c133a8f3b0853a929ffe558e73be54f1911e46105f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44b194aef9a28bf32032f8c133a8f3b0853a929ffe558e73be54f1911e46105f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44b194aef9a28bf32032f8c133a8f3b0853a929ffe558e73be54f1911e46105f", kill_on_drop: false }` [INFO] [stdout] 44b194aef9a28bf32032f8c133a8f3b0853a929ffe558e73be54f1911e46105f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6cae088e98004bd95009d06021d634accc870308ff6a3a7da6d6174d1e5ef2e7 [INFO] running `Command { std: "docker" "start" "-a" "6cae088e98004bd95009d06021d634accc870308ff6a3a7da6d6174d1e5ef2e7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking signature v1.2.2 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking futures-channel v0.3.12 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking crc32fast v1.2.1 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling tracing-attributes v0.1.12 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling contracts v0.4.0 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking ed25519 v1.0.3 [INFO] [stderr] Checking serde_json v1.0.62 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking curve25519-dalek v3.0.2 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking anomaly v0.2.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking tendermint-proto v0.18.1 [INFO] [stderr] Checking sled v0.34.6 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Checking proptest v0.10.1 [INFO] [stderr] Checking tracing v0.1.23 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking futures-executor v0.3.12 [INFO] [stderr] Checking futures v0.3.12 [INFO] [stderr] Checking hyper v0.14.4 [INFO] [stderr] Checking tendermint v0.18.1 [INFO] [stderr] Checking tendermint-rpc v0.18.1 [INFO] [stderr] Checking tendermint-light-client v0.18.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tendermint_testgen` [INFO] [stdout] --> src/operations/voting_power.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | use tendermint_testgen::light_block::generate_signed_header; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tendermint_testgen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tendermint_testgen` [INFO] [stdout] --> src/predicates.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | use tendermint_testgen::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tendermint_testgen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tendermint_testgen` [INFO] [stdout] --> src/operations/voting_power.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | use tendermint_testgen::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tendermint_testgen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tendermint_testgen` [INFO] [stdout] --> src/store/sled.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | use tendermint_testgen::{light_block::TMLightBlock as TGLightBlock, Generator, LightChain}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tendermint_testgen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tendermint_testgen` [INFO] [stdout] --> src/predicates.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | use tendermint_testgen::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tendermint_testgen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tendermint_testgen` [INFO] [stdout] --> src/supervisor.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | use tendermint_testgen::helpers::get_time; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tendermint_testgen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tendermint_testgen` [INFO] [stdout] --> src/store/sled.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | use tendermint_testgen::{light_block::TMLightBlock as TGLightBlock, Generator, LightChain}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tendermint_testgen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tendermint_testgen` [INFO] [stdout] --> src/supervisor.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 449 | use tendermint_testgen::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tendermint_testgen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestgenLightBlock` [INFO] [stdout] --> src/predicates.rs:435:13 [INFO] [stdout] | [INFO] [stdout] 435 | TestgenLightBlock::new_default(1).generate().unwrap().into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TestgenLightBlock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestgenLightBlock` [INFO] [stdout] --> src/predicates.rs:488:33 [INFO] [stdout] | [INFO] [stdout] 488 | let mut signed_header = TestgenLightBlock::new_default(1) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TestgenLightBlock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestgenLightBlock` [INFO] [stdout] --> src/predicates.rs:522:39 [INFO] [stdout] | [INFO] [stdout] 522 | let light_block: LightBlock = TestgenLightBlock::new_default(1).generate().unwrap().into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TestgenLightBlock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestgenLightBlock` [INFO] [stdout] --> src/predicates.rs:613:24 [INFO] [stdout] | [INFO] [stdout] 613 | let test_lb1 = TestgenLightBlock::new_default(1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TestgenLightBlock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestgenLightBlock` [INFO] [stdout] --> src/predicates.rs:631:40 [INFO] [stdout] | [INFO] [stdout] 631 | let light_block3: LightBlock = TestgenLightBlock::new(header, commit) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TestgenLightBlock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestgenLightBlock` [INFO] [stdout] --> src/predicates.rs:651:39 [INFO] [stdout] | [INFO] [stdout] 651 | let light_block: LightBlock = TestgenLightBlock::new_default(1).generate().unwrap().into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TestgenLightBlock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TestgenLightBlock` [INFO] [stdout] --> src/predicates.rs:704:13 [INFO] [stdout] | [INFO] [stdout] 704 | TestgenLightBlock::new_default(2).generate().unwrap().into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `TestgenLightBlock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_signed_header` in this scope [INFO] [stdout] --> src/operations/voting_power.rs:303:29 [INFO] [stdout] | [INFO] [stdout] 303 | let signed_header = generate_signed_header(&header, &commit).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TMLightBlock` in this scope [INFO] [stdout] --> src/predicates.rs:318:15 [INFO] [stdout] | [INFO] [stdout] 318 | impl From for LightBlock { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct LightBlock { [INFO] [stdout] | --------------------- similarly named struct `LightBlock` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 318 | impl From for LightBlock { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 318 | impl From for LightBlock { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TMLightBlock` in this scope [INFO] [stdout] --> src/predicates.rs:319:21 [INFO] [stdout] | [INFO] [stdout] 319 | fn from(lb: TMLightBlock) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `LightBlock` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct LightBlock { [INFO] [stdout] | --------------------- similarly named struct `LightBlock` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TGLightBlock` in this scope [INFO] [stdout] --> src/store/sled.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | fn testgen_to_lb(tm_lb: TGLightBlock) -> LightBlock { [INFO] [stdout] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `LightBlock` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct LightBlock { [INFO] [stdout] | --------------------- similarly named struct `LightBlock` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_time` in this scope [INFO] [stdout] --> src/supervisor.rs:601:84 [INFO] [stdout] | [INFO] [stdout] 601 | let peer_list = make_peer_list(Some(primary.clone()), Some(vec![witness]), get_time(11)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_time` in this scope [INFO] [stdout] --> src/supervisor.rs:620:61 [INFO] [stdout] | [INFO] [stdout] 620 | let peer_list = make_peer_list(Some(primary), None, get_time(11)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_time` in this scope [INFO] [stdout] --> src/supervisor.rs:643:76 [INFO] [stdout] | [INFO] [stdout] 643 | let peer_list = make_peer_list(Some(primary), Some(vec![witness]), get_time(11)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_time` in this scope [INFO] [stdout] --> src/supervisor.rs:667:76 [INFO] [stdout] | [INFO] [stdout] 667 | let peer_list = make_peer_list(Some(primary), Some(vec![witness]), get_time(11)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_time` in this scope [INFO] [stdout] --> src/supervisor.rs:703:84 [INFO] [stdout] | [INFO] [stdout] 703 | let peer_list = make_peer_list(Some(primary), Some(vec![witness.clone()]), get_time(11)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_time` in this scope [INFO] [stdout] --> src/supervisor.rs:731:13 [INFO] [stdout] | [INFO] [stdout] 731 | get_time(11), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_time` in this scope [INFO] [stdout] --> src/supervisor.rs:774:72 [INFO] [stdout] | [INFO] [stdout] 774 | make_peer_list(Some(primary.clone()), Some(vec![witness]), get_time(604801)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_time` in this scope [INFO] [stdout] --> src/supervisor.rs:803:84 [INFO] [stdout] | [INFO] [stdout] 803 | let peer_list = make_peer_list(Some(primary.clone()), Some(vec![witness]), get_time(11)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/operations/voting_power.rs:295:29 [INFO] [stdout] | [INFO] [stdout] 295 | let validator_set = ValidatorSet::new(vec!["a", "b"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ -------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tendermint-0.18.1/src/validator.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn new(mut validators: Vec, proposer: Option) -> Set { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `validators` of struct `Set` is private [INFO] [stdout] --> src/operations/voting_power.rs:296:42 [INFO] [stdout] | [INFO] [stdout] 296 | let vals = validator_set.clone().validators.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ private field [INFO] [stdout] | [INFO] [stdout] help: a method `validators` also exists, call it with parentheses [INFO] [stdout] | [INFO] [stdout] 296 | let vals = validator_set.clone().validators().unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `Vec` in the current scope [INFO] [stdout] --> src/operations/voting_power.rs:296:53 [INFO] [stdout] | [INFO] [stdout] 296 | let vals = validator_set.clone().validators.unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_with_votes` found for struct `tendermint::block::Commit` in the current scope [INFO] [stdout] --> src/operations/voting_power.rs:302:30 [INFO] [stdout] | [INFO] [stdout] 302 | let commit = Commit::new_with_votes(header.clone(), 1, votes); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `tendermint::block::Commit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `generate` found for struct `Set` in the current scope [INFO] [stdout] --> src/operations/voting_power.rs:304:36 [INFO] [stdout] | [INFO] [stdout] 304 | let valset = validator_set.generate().unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `Set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/operations/voting_power.rs:373:34 [INFO] [stdout] | [INFO] [stdout] 373 | light_block.validators = ValidatorSet::new(vec!["bad-val1", "bad-val2"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ---------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tendermint-0.18.1/src/validator.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn new(mut validators: Vec, proposer: Option) -> Set { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `generate` found for struct `Set` in the current scope [INFO] [stdout] --> src/operations/voting_power.rs:374:14 [INFO] [stdout] | [INFO] [stdout] 374 | .generate() [INFO] [stdout] | ^^^^^^^^ method not found in `Set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0412, E0425, E0432, E0433, E0599, E0616. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tendermint-light-client` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6cae088e98004bd95009d06021d634accc870308ff6a3a7da6d6174d1e5ef2e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cae088e98004bd95009d06021d634accc870308ff6a3a7da6d6174d1e5ef2e7", kill_on_drop: false }` [INFO] [stdout] 6cae088e98004bd95009d06021d634accc870308ff6a3a7da6d6174d1e5ef2e7