[INFO] fetching crate tendermint-light-client 0.18.1... [INFO] checking tendermint-light-client-0.18.1 against master#f5f33ec0e0455eefa72fc5567eb1280a4d5ee206 for pr-83312 [INFO] extracting crate tendermint-light-client 0.18.1 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate tendermint-light-client 0.18.1 on toolchain f5f33ec0e0455eefa72fc5567eb1280a4d5ee206 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "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-9/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" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:4f92631de1aa59f8320307485d3b3c869a5c90ab1d76ce2cffab9807b8c9a1fb" "/opt/rustwide/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "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] 2e3dbaf25fa90026d763efd6a0d8ba635dab95027ff9a82ad664f692af28f2d0 [INFO] running `Command { std: "docker" "start" "-a" "2e3dbaf25fa90026d763efd6a0d8ba635dab95027ff9a82ad664f692af28f2d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e3dbaf25fa90026d763efd6a0d8ba635dab95027ff9a82ad664f692af28f2d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e3dbaf25fa90026d763efd6a0d8ba635dab95027ff9a82ad664f692af28f2d0", kill_on_drop: false }` [INFO] [stdout] 2e3dbaf25fa90026d763efd6a0d8ba635dab95027ff9a82ad664f692af28f2d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:4f92631de1aa59f8320307485d3b3c869a5c90ab1d76ce2cffab9807b8c9a1fb" "/opt/rustwide/cargo-home/bin/cargo" "+f5f33ec0e0455eefa72fc5567eb1280a4d5ee206" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c7888c2dd0b439ddef537a6ae027bd1c32c63b9ceee6dfcd581a320bc3bdb7d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6c7888c2dd0b439ddef537a6ae027bd1c32c63b9ceee6dfcd581a320bc3bdb7d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking futures-sink v0.3.12 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking futures-core v0.3.12 [INFO] [stderr] Checking futures-io v0.3.12 [INFO] [stderr] Compiling serde_json v1.0.62 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [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] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking futures-task v0.3.12 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking futures-channel v0.3.12 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking mio v0.7.7 [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 crossbeam-epoch v0.9.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking sled v0.34.6 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v0.10.1 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling zeroize_derive v1.0.1 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling prost-derive v0.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling tracing-attributes v0.1.12 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling serde_repr v0.1.6 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling contracts v0.4.0 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling gumdrop_derive v0.8.0 [INFO] [stderr] Checking zeroize v1.2.0 [INFO] [stderr] Checking curve25519-dalek v3.0.2 [INFO] [stderr] Checking subtle-encoding v0.5.1 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Checking gumdrop v0.8.0 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking tracing v0.1.23 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking prost v0.7.0 [INFO] [stderr] Checking prost-types v0.7.0 [INFO] [stderr] Checking futures-executor v0.3.12 [INFO] [stderr] Checking hyper v0.14.4 [INFO] [stderr] Checking futures v0.3.12 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking backtrace v0.3.56 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking ed25519 v1.0.3 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking serde_cbor v0.11.1 [INFO] [stderr] Checking ed25519-dalek v1.0.1 [INFO] [stderr] Checking anomaly v0.2.0 [INFO] [stderr] Checking tendermint-proto v0.18.1 [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" "6c7888c2dd0b439ddef537a6ae027bd1c32c63b9ceee6dfcd581a320bc3bdb7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c7888c2dd0b439ddef537a6ae027bd1c32c63b9ceee6dfcd581a320bc3bdb7d", kill_on_drop: false }` [INFO] [stdout] 6c7888c2dd0b439ddef537a6ae027bd1c32c63b9ceee6dfcd581a320bc3bdb7d