[INFO] fetching crate tendermint-light-client 0.21.0... [INFO] checking tendermint-light-client-0.21.0 against try#39e1293fce4b650061e85dda88aa428f726a8444 for pr-88041 [INFO] extracting crate tendermint-light-client 0.21.0 into /workspace/builds/worker-16/source [INFO] validating manifest of crates.io crate tendermint-light-client 0.21.0 on toolchain 39e1293fce4b650061e85dda88aa428f726a8444 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tendermint-light-client 0.21.0 [INFO] finished tweaking crates.io crate tendermint-light-client 0.21.0 [INFO] tweaked toml for crates.io crate tendermint-light-client 0.21.0 written to /workspace/builds/worker-16/source/Cargo.toml [INFO] crate crates.io crate tendermint-light-client 0.21.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tendermint-rpc v0.21.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 129988ada9a7393dae4e2599a1373a4c41fe58f77825adfefa2a3bb50bcd49b6 [INFO] running `Command { std: "docker" "start" "-a" "129988ada9a7393dae4e2599a1373a4c41fe58f77825adfefa2a3bb50bcd49b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "129988ada9a7393dae4e2599a1373a4c41fe58f77825adfefa2a3bb50bcd49b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "129988ada9a7393dae4e2599a1373a4c41fe58f77825adfefa2a3bb50bcd49b6", kill_on_drop: false }` [INFO] [stdout] 129988ada9a7393dae4e2599a1373a4c41fe58f77825adfefa2a3bb50bcd49b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-16/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+39e1293fce4b650061e85dda88aa428f726a8444" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3f4946d3c09ea6cc583be8685547a4893a00a717d4461198c1f0aac83f0becb [INFO] running `Command { std: "docker" "start" "-a" "c3f4946d3c09ea6cc583be8685547a4893a00a717d4461198c1f0aac83f0becb", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking gimli v0.24.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking signature v1.3.1 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking object v0.25.3 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tokio v1.8.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tinyvec v1.3.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking want v0.3.0 [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.1 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Checking addr2line v0.15.2 [INFO] [stderr] Checking sled v0.34.6 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking sha-1 v0.9.7 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking headers v0.3.4 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v0.10.1 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking ct-logs v0.8.0 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Checking rustls-native-certs v0.5.0 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling zeroize_derive v1.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling prost-derive v0.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling serde_repr v0.1.7 [INFO] [stderr] Compiling contracts v0.4.0 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling gumdrop_derive v0.8.0 [INFO] [stderr] Checking zeroize v1.4.1 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking curve25519-dalek v3.1.0 [INFO] [stderr] Checking subtle-encoding v0.5.1 [INFO] [stderr] Checking gumdrop v0.8.0 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking prost v0.7.0 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking prost-types v0.7.0 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking hyper v0.14.10 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking ed25519 v1.1.1 [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.21.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking hyper-proxy v0.9.1 [INFO] [stderr] Checking tendermint v0.21.0 [INFO] [stderr] Checking tendermint-rpc v0.21.0 [INFO] [stderr] Checking tendermint-light-client v0.21.0 (/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:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | 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:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | 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:447:9 [INFO] [stdout] | [INFO] [stdout] 447 | 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:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | use tendermint_testgen::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tendermint_testgen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | return Err($kind.into()); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/components/io.rs:163:38 [INFO] [stdout] | [INFO] [stdout] 163 | AtHeight::Highest => bail!(IoError::InvalidHeight( [INFO] [stdout] | ______________________________________- [INFO] [stdout] 164 | | "given height must be greater than 0".to_string() [INFO] [stdout] 165 | | )), [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | warnings, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(semicolon_in_expressions_from_macros)]` implied by `#[deny(warnings)]` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | return Err($kind.into()); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/light_client.rs:125:30 [INFO] [stdout] | [INFO] [stdout] 125 | Err(io_error) => bail!(ErrorKind::Io(io_error)), [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | return Err($kind.into()); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/light_client.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | bail!(ErrorKind::InvalidLightBlock(e)) [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | return Err($kind.into()); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/peer_list.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | bail!(ErrorKind::NoWitnessLeft.context(err)) [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | return Err($kind.into()); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/peer_list.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | bail!(ErrorKind::NoWitnessLeft) [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | return Err($kind.into()); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/supervisor.rs:229:29 [INFO] [stdout] | [INFO] [stdout] 229 | ... bail!(ErrorKind::ForkDetected(forked)) [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [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:295:29 [INFO] [stdout] | [INFO] [stdout] 295 | 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:600:84 [INFO] [stdout] | [INFO] [stdout] 600 | 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:619:61 [INFO] [stdout] | [INFO] [stdout] 619 | 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:642:76 [INFO] [stdout] | [INFO] [stdout] 642 | 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:666:76 [INFO] [stdout] | [INFO] [stdout] 666 | 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:702:84 [INFO] [stdout] | [INFO] [stdout] 702 | 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:730:13 [INFO] [stdout] | [INFO] [stdout] 730 | 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:772:72 [INFO] [stdout] | [INFO] [stdout] 772 | 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:800:84 [INFO] [stdout] | [INFO] [stdout] 800 | 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: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | return Err($kind.into()); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/components/io.rs:163:38 [INFO] [stdout] | [INFO] [stdout] 163 | AtHeight::Highest => bail!(IoError::InvalidHeight( [INFO] [stdout] | ______________________________________- [INFO] [stdout] 164 | | "given height must be greater than 0".to_string() [INFO] [stdout] 165 | | )), [INFO] [stdout] | |__________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | warnings, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(semicolon_in_expressions_from_macros)]` implied by `#[deny(warnings)]` [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | return Err($kind.into()); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/light_client.rs:125:30 [INFO] [stdout] | [INFO] [stdout] 125 | Err(io_error) => bail!(ErrorKind::Io(io_error)), [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | return Err($kind.into()); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/light_client.rs:255:21 [INFO] [stdout] | [INFO] [stdout] 255 | bail!(ErrorKind::InvalidLightBlock(e)) [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | return Err($kind.into()); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/peer_list.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | bail!(ErrorKind::NoWitnessLeft.context(err)) [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | return Err($kind.into()); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/peer_list.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | bail!(ErrorKind::NoWitnessLeft) [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/macros.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | return Err($kind.into()); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/supervisor.rs:229:29 [INFO] [stdout] | [INFO] [stdout] 229 | ... bail!(ErrorKind::ForkDetected(forked)) [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `bail` [INFO] [stdout] = note: this error originates in the macro `bail` (in Nightly builds, run with -Z macro-backtrace for more info) [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:287:29 [INFO] [stdout] | [INFO] [stdout] 287 | 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.21.0/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:288:42 [INFO] [stdout] | [INFO] [stdout] 288 | 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] 288 | let vals = validator_set.clone().validators().unwrap(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tendermint-light-client` due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `Vec` in the current scope [INFO] [stdout] --> src/operations/voting_power.rs:288:53 [INFO] [stdout] | [INFO] [stdout] 288 | 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:294:30 [INFO] [stdout] | [INFO] [stdout] 294 | 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:296:36 [INFO] [stdout] | [INFO] [stdout] 296 | 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:365:34 [INFO] [stdout] | [INFO] [stdout] 365 | 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.21.0/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:366:14 [INFO] [stdout] | [INFO] [stdout] 366 | .generate() [INFO] [stdout] | ^^^^^^^^ method not found in `Set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 40 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: build failed [INFO] running `Command { std: "docker" "inspect" "c3f4946d3c09ea6cc583be8685547a4893a00a717d4461198c1f0aac83f0becb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3f4946d3c09ea6cc583be8685547a4893a00a717d4461198c1f0aac83f0becb", kill_on_drop: false }` [INFO] [stdout] c3f4946d3c09ea6cc583be8685547a4893a00a717d4461198c1f0aac83f0becb