[INFO] fetching crate tendermint-light-client-verifier 0.34.0... [INFO] checking tendermint-light-client-verifier-0.34.0 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate tendermint-light-client-verifier 0.34.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate tendermint-light-client-verifier 0.34.0 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tendermint-light-client-verifier 0.34.0 [INFO] finished tweaking crates.io crate tendermint-light-client-verifier 0.34.0 [INFO] tweaked toml for crates.io crate tendermint-light-client-verifier 0.34.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7145d6e62233b98ad8478fb3c55660327809828a76ddf7ab18d374a5f1a4665b [INFO] running `Command { std: "docker" "start" "-a" "7145d6e62233b98ad8478fb3c55660327809828a76ddf7ab18d374a5f1a4665b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7145d6e62233b98ad8478fb3c55660327809828a76ddf7ab18d374a5f1a4665b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7145d6e62233b98ad8478fb3c55660327809828a76ddf7ab18d374a5f1a4665b", kill_on_drop: false }` [INFO] [stdout] 7145d6e62233b98ad8478fb3c55660327809828a76ddf7ab18d374a5f1a4665b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f128310857a45e08b422e22bc3337fa8c9e696118e319da1ab7546dfffbf3b5 [INFO] running `Command { std: "docker" "start" "-a" "5f128310857a45e08b422e22bc3337fa8c9e696118e319da1ab7546dfffbf3b5", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking subtle-ng v2.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking flex-error v0.4.4 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling prost-derive v0.12.3 [INFO] [stderr] Compiling serde_repr v0.1.18 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking curve25519-dalek-ng v4.1.1 [INFO] [stderr] Checking subtle-encoding v0.5.1 [INFO] [stderr] Checking ed25519-consensus v2.1.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking prost v0.12.3 [INFO] [stderr] Checking prost-types v0.12.3 [INFO] [stderr] Checking tendermint-proto v0.34.1 [INFO] [stderr] Checking tendermint v0.34.1 [INFO] [stderr] Checking tendermint-light-client-verifier v0.34.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `borrow::ToOwned`, `format`, `vec` [INFO] [stdout] --> src/prelude.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | borrow::ToOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | boxed::Box, [INFO] [stdout] 6 | format, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | string::{String, ToString}, [INFO] [stdout] 8 | vec, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TryFrom`, `TryInto` [INFO] [stdout] --> src/prelude.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | pub use core::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/operations/voting_power.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use core::{convert::TryFrom, fmt, marker::PhantomData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | prelude::*, [INFO] [stdout] | ---------- the item `TryFrom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tendermint_testgen` [INFO] [stdout] --> src/operations/voting_power.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | 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/predicates.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | 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:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | 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/verifier.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | use tendermint_testgen::{light_block::LightBlock as TestgenLightBlock, Generator}; [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:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | 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/verifier.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | use tendermint_testgen::{light_block::LightBlock as TestgenLightBlock, Generator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tendermint_testgen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `borrow::ToOwned`, `format` [INFO] [stdout] --> src/prelude.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | borrow::ToOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | boxed::Box, [INFO] [stdout] 6 | format, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TryFrom`, `TryInto` [INFO] [stdout] --> src/prelude.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | pub use core::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/operations/voting_power.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use core::{convert::TryFrom, fmt, marker::PhantomData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | prelude::*, [INFO] [stdout] | ---------- the item `TryFrom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/predicates.rs:232:16 [INFO] [stdout] | [INFO] [stdout] 232 | use core::{convert::TryInto, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | prelude::*, [INFO] [stdout] | ---------- the item `TryInto` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/operations/voting_power.rs:309:52 [INFO] [stdout] | [INFO] [stdout] 309 | let validator_set = ValidatorSet::new(vec!["a", "b"]); [INFO] [stdout] | ^^^ expected `Info`, found `&str` [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:309:29 [INFO] [stdout] | [INFO] [stdout] 309 | let validator_set = ValidatorSet::new(vec!["a", "b"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------- an argument of type `core::option::Option` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tendermint-0.34.1/src/validator.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(validators: Vec, proposer: Option) -> Set { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 309 | let validator_set = ValidatorSet::new(vec!["a", "b"], /* core::option::Option */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `validators` of struct `Set` is private [INFO] [stdout] --> src/operations/voting_power.rs:310:42 [INFO] [stdout] | [INFO] [stdout] 310 | 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] 310 | let vals = validator_set.clone().validators().unwrap(); [INFO] [stdout] | ++ [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:316:30 [INFO] [stdout] | [INFO] [stdout] 316 | let commit = Commit::new_with_votes(header.clone(), 1, votes); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `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:318:36 [INFO] [stdout] | [INFO] [stdout] 318 | let valset = validator_set.generate().unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `Set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/operations/voting_power.rs:385:57 [INFO] [stdout] | [INFO] [stdout] 385 | light_block.validators = ValidatorSet::new(vec!["bad-val1", "bad-val2"]) [INFO] [stdout] | ^^^^^^^^^^ expected `Info`, found `&str` [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:385:34 [INFO] [stdout] | [INFO] [stdout] 385 | light_block.validators = ValidatorSet::new(vec!["bad-val1", "bad-val2"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------ an argument of type `core::option::Option` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tendermint-0.34.1/src/validator.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(validators: Vec, proposer: Option) -> Set { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 385 | light_block.validators = ValidatorSet::new(vec!["bad-val1", "bad-val2"], /* core::option::Option */) [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:386:14 [INFO] [stdout] | [INFO] [stdout] 385 | light_block.validators = ValidatorSet::new(vec!["bad-val1", "bad-val2"]) [INFO] [stdout] | __________________________________- [INFO] [stdout] 386 | | .generate() [INFO] [stdout] | | -^^^^^^^^ method not found in `Set` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `now_utc` found for struct `OffsetDateTime` in the current scope [INFO] [stdout] --> src/predicates.rs:340:35 [INFO] [stdout] | [INFO] [stdout] 340 | let now = OffsetDateTime::now_utc().try_into().unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `OffsetDateTime` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OffsetDateTime` consider using one of the following associated functions: [INFO] [stdout] OffsetDateTime::new_in_offset [INFO] [stdout] OffsetDateTime::new_utc [INFO] [stdout] OffsetDateTime::from_unix_timestamp [INFO] [stdout] OffsetDateTime::from_unix_timestamp_nanos [INFO] [stdout] OffsetDateTime::parse [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.34/src/offset_date_time.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | pub const fn new_in_offset(date: Date, time: Time, offset: UtcOffset) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub const fn new_utc(date: Date, time: Time) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | pub const fn from_unix_timestamp(timestamp: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | pub const fn from_unix_timestamp_nanos(timestamp: i128) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1296 | / pub fn parse( [INFO] [stdout] 1297 | | input: &str, [INFO] [stdout] 1298 | | description: &(impl Parsable + ?Sized), [INFO] [stdout] 1299 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] help: there is an associated function `new_utc` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.34/src/offset_date_time.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | pub const fn new_utc(date: Date, time: Time) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `now_utc` found for struct `OffsetDateTime` in the current scope [INFO] [stdout] --> src/predicates.rs:368:35 [INFO] [stdout] | [INFO] [stdout] 368 | let now = OffsetDateTime::now_utc().try_into().unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `OffsetDateTime` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OffsetDateTime` consider using one of the following associated functions: [INFO] [stdout] OffsetDateTime::new_in_offset [INFO] [stdout] OffsetDateTime::new_utc [INFO] [stdout] OffsetDateTime::from_unix_timestamp [INFO] [stdout] OffsetDateTime::from_unix_timestamp_nanos [INFO] [stdout] OffsetDateTime::parse [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.34/src/offset_date_time.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | pub const fn new_in_offset(date: Date, time: Time, offset: UtcOffset) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub const fn new_utc(date: Date, time: Time) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | pub const fn from_unix_timestamp(timestamp: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | pub const fn from_unix_timestamp_nanos(timestamp: i128) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1296 | / pub fn parse( [INFO] [stdout] 1297 | | input: &str, [INFO] [stdout] 1298 | | description: &(impl Parsable + ?Sized), [INFO] [stdout] 1299 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] help: there is an associated function `new_utc` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.34/src/offset_date_time.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | pub const fn new_utc(date: Date, time: Time) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `now` found for struct `tendermint::Time` in the current scope [INFO] [stdout] --> src/verifier.rs:341:25 [INFO] [stdout] | [INFO] [stdout] 341 | let now = Time::now(); [INFO] [stdout] | ^^^ function or associated item not found in `Time` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `tendermint::Time` consider using one of the following associated functions: [INFO] [stdout] tendermint::Time::from_utc [INFO] [stdout] tendermint::Time::unix_epoch [INFO] [stdout] tendermint::Time::from_unix_timestamp [INFO] [stdout] tendermint::Time::parse_from_rfc3339 [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tendermint-0.34.1/src/time.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | fn from_utc(t: OffsetDateTime) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn unix_epoch() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn from_unix_timestamp(secs: i64, nanos: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn parse_from_rfc3339(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `now` found for struct `tendermint::Time` in the current scope [INFO] [stdout] --> src/verifier.rs:376:19 [INFO] [stdout] | [INFO] [stdout] 376 | Time::now(), [INFO] [stdout] | ^^^ function or associated item not found in `Time` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `tendermint::Time` consider using one of the following associated functions: [INFO] [stdout] tendermint::Time::from_utc [INFO] [stdout] tendermint::Time::unix_epoch [INFO] [stdout] tendermint::Time::from_unix_timestamp [INFO] [stdout] tendermint::Time::parse_from_rfc3339 [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tendermint-0.34.1/src/time.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | fn from_utc(t: OffsetDateTime) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn unix_epoch() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn from_unix_timestamp(secs: i64, nanos: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn parse_from_rfc3339(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `string::ToString` [INFO] [stdout] --> src/verifier.rs:322:34 [INFO] [stdout] | [INFO] [stdout] 322 | use alloc::{borrow::ToOwned, string::ToString}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Sub` [INFO] [stdout] --> src/verifier.rs:323:16 [INFO] [stdout] | [INFO] [stdout] 323 | use core::{ops::Sub, time::Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryInto` [INFO] [stdout] --> src/predicates.rs:232:16 [INFO] [stdout] | [INFO] [stdout] 232 | use core::{convert::TryInto, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, 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-verifier` (lib test) due to 19 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5f128310857a45e08b422e22bc3337fa8c9e696118e319da1ab7546dfffbf3b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f128310857a45e08b422e22bc3337fa8c9e696118e319da1ab7546dfffbf3b5", kill_on_drop: false }` [INFO] [stdout] 5f128310857a45e08b422e22bc3337fa8c9e696118e319da1ab7546dfffbf3b5 [INFO] checking tendermint-light-client-verifier-0.34.0 against try#9ae1860851f3fbc1435a1698e572252c0076f413 for pr-122960-1 [INFO] extracting crate tendermint-light-client-verifier 0.34.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate tendermint-light-client-verifier 0.34.0 on toolchain 9ae1860851f3fbc1435a1698e572252c0076f413 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tendermint-light-client-verifier 0.34.0 [INFO] finished tweaking crates.io crate tendermint-light-client-verifier 0.34.0 [INFO] tweaked toml for crates.io crate tendermint-light-client-verifier 0.34.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2f7e912ad9816dfa1ee14c783e8d36a3a148cfc28982161480da482017067b7a [INFO] running `Command { std: "docker" "start" "-a" "2f7e912ad9816dfa1ee14c783e8d36a3a148cfc28982161480da482017067b7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2f7e912ad9816dfa1ee14c783e8d36a3a148cfc28982161480da482017067b7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f7e912ad9816dfa1ee14c783e8d36a3a148cfc28982161480da482017067b7a", kill_on_drop: false }` [INFO] [stdout] 2f7e912ad9816dfa1ee14c783e8d36a3a148cfc28982161480da482017067b7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+9ae1860851f3fbc1435a1698e572252c0076f413" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6ed06381493df9bbab6c586bb3373ae8d547ef754789f20bcebe8248bc6ed22 [INFO] running `Command { std: "docker" "start" "-a" "a6ed06381493df9bbab6c586bb3373ae8d547ef754789f20bcebe8248bc6ed22", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking subtle-ng v2.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking flex-error v0.4.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling prost-derive v0.12.3 [INFO] [stderr] Compiling serde_repr v0.1.18 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking subtle-encoding v0.5.1 [INFO] [stderr] Checking curve25519-dalek-ng v4.1.1 [INFO] [stderr] Checking ed25519-consensus v2.1.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking prost v0.12.3 [INFO] [stderr] Checking prost-types v0.12.3 [INFO] [stderr] Checking tendermint-proto v0.34.1 [INFO] [stderr] Checking tendermint v0.34.1 [INFO] [stderr] Checking tendermint-light-client-verifier v0.34.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tendermint_testgen` [INFO] [stdout] --> src/operations/voting_power.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | 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/predicates.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | 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:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | 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/verifier.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | use tendermint_testgen::{light_block::LightBlock as TestgenLightBlock, Generator}; [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:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | 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/verifier.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | use tendermint_testgen::{light_block::LightBlock as TestgenLightBlock, Generator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tendermint_testgen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `borrow::ToOwned`, `format` [INFO] [stdout] --> src/prelude.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | borrow::ToOwned, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | boxed::Box, [INFO] [stdout] 6 | format, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TryFrom`, `TryInto` [INFO] [stdout] --> src/prelude.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | pub use core::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/operations/voting_power.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use core::{convert::TryFrom, fmt, marker::PhantomData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | prelude::*, [INFO] [stdout] | ---------- the item `TryFrom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/predicates.rs:232:16 [INFO] [stdout] | [INFO] [stdout] 232 | use core::{convert::TryInto, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | prelude::*, [INFO] [stdout] | ---------- the item `TryInto` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/operations/voting_power.rs:309:52 [INFO] [stdout] | [INFO] [stdout] 309 | let validator_set = ValidatorSet::new(vec!["a", "b"]); [INFO] [stdout] | ^^^ expected `Info`, found `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tendermint-light-client-verifier` (lib test) due to 19 previous errors; 7 warnings emitted [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/operations/voting_power.rs:309:29 [INFO] [stdout] | [INFO] [stdout] 309 | let validator_set = ValidatorSet::new(vec!["a", "b"]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^---------------- an argument of type `core::option::Option` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tendermint-0.34.1/src/validator.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(validators: Vec, proposer: Option) -> Set { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 309 | let validator_set = ValidatorSet::new(vec!["a", "b"], /* core::option::Option */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0616]: field `validators` of struct `Set` is private [INFO] [stdout] --> src/operations/voting_power.rs:310:42 [INFO] [stdout] | [INFO] [stdout] 310 | 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] 310 | let vals = validator_set.clone().validators().unwrap(); [INFO] [stdout] | ++ [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:316:30 [INFO] [stdout] | [INFO] [stdout] 316 | let commit = Commit::new_with_votes(header.clone(), 1, votes); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `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:318:36 [INFO] [stdout] | [INFO] [stdout] 318 | let valset = validator_set.generate().unwrap(); [INFO] [stdout] | ^^^^^^^^ method not found in `Set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/operations/voting_power.rs:385:57 [INFO] [stdout] | [INFO] [stdout] 385 | light_block.validators = ValidatorSet::new(vec!["bad-val1", "bad-val2"]) [INFO] [stdout] | ^^^^^^^^^^ expected `Info`, found `&str` [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:385:34 [INFO] [stdout] | [INFO] [stdout] 385 | light_block.validators = ValidatorSet::new(vec!["bad-val1", "bad-val2"]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------------ an argument of type `core::option::Option` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tendermint-0.34.1/src/validator.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(validators: Vec, proposer: Option) -> Set { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 385 | light_block.validators = ValidatorSet::new(vec!["bad-val1", "bad-val2"], /* core::option::Option */) [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:386:14 [INFO] [stdout] | [INFO] [stdout] 385 | light_block.validators = ValidatorSet::new(vec!["bad-val1", "bad-val2"]) [INFO] [stdout] | __________________________________- [INFO] [stdout] 386 | | .generate() [INFO] [stdout] | | -^^^^^^^^ method not found in `Set` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `now_utc` found for struct `OffsetDateTime` in the current scope [INFO] [stdout] --> src/predicates.rs:340:35 [INFO] [stdout] | [INFO] [stdout] 340 | let now = OffsetDateTime::now_utc().try_into().unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `OffsetDateTime` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OffsetDateTime` consider using one of the following associated functions: [INFO] [stdout] OffsetDateTime::new_in_offset [INFO] [stdout] OffsetDateTime::new_utc [INFO] [stdout] OffsetDateTime::from_unix_timestamp [INFO] [stdout] OffsetDateTime::from_unix_timestamp_nanos [INFO] [stdout] OffsetDateTime::parse [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.34/src/offset_date_time.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | pub const fn new_in_offset(date: Date, time: Time, offset: UtcOffset) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub const fn new_utc(date: Date, time: Time) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | pub const fn from_unix_timestamp(timestamp: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | pub const fn from_unix_timestamp_nanos(timestamp: i128) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1296 | / pub fn parse( [INFO] [stdout] 1297 | | input: &str, [INFO] [stdout] 1298 | | description: &(impl Parsable + ?Sized), [INFO] [stdout] 1299 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] help: there is an associated function `new_utc` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.34/src/offset_date_time.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | pub const fn new_utc(date: Date, time: Time) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `now_utc` found for struct `OffsetDateTime` in the current scope [INFO] [stdout] --> src/predicates.rs:368:35 [INFO] [stdout] | [INFO] [stdout] 368 | let now = OffsetDateTime::now_utc().try_into().unwrap(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `OffsetDateTime` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `OffsetDateTime` consider using one of the following associated functions: [INFO] [stdout] OffsetDateTime::new_in_offset [INFO] [stdout] OffsetDateTime::new_utc [INFO] [stdout] OffsetDateTime::from_unix_timestamp [INFO] [stdout] OffsetDateTime::from_unix_timestamp_nanos [INFO] [stdout] OffsetDateTime::parse [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.34/src/offset_date_time.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | pub const fn new_in_offset(date: Date, time: Time, offset: UtcOffset) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub const fn new_utc(date: Date, time: Time) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | pub const fn from_unix_timestamp(timestamp: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | pub const fn from_unix_timestamp_nanos(timestamp: i128) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1296 | / pub fn parse( [INFO] [stdout] 1297 | | input: &str, [INFO] [stdout] 1298 | | description: &(impl Parsable + ?Sized), [INFO] [stdout] 1299 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] help: there is an associated function `new_utc` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.34/src/offset_date_time.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | pub const fn new_utc(date: Date, time: Time) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `now` found for struct `tendermint::Time` in the current scope [INFO] [stdout] --> src/verifier.rs:341:25 [INFO] [stdout] | [INFO] [stdout] 341 | let now = Time::now(); [INFO] [stdout] | ^^^ function or associated item not found in `Time` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `tendermint::Time` consider using one of the following associated functions: [INFO] [stdout] tendermint::Time::from_utc [INFO] [stdout] tendermint::Time::unix_epoch [INFO] [stdout] tendermint::Time::from_unix_timestamp [INFO] [stdout] tendermint::Time::parse_from_rfc3339 [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tendermint-0.34.1/src/time.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | fn from_utc(t: OffsetDateTime) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn unix_epoch() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn from_unix_timestamp(secs: i64, nanos: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn parse_from_rfc3339(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `now` found for struct `tendermint::Time` in the current scope [INFO] [stdout] --> src/verifier.rs:376:19 [INFO] [stdout] | [INFO] [stdout] 376 | Time::now(), [INFO] [stdout] | ^^^ function or associated item not found in `Time` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `tendermint::Time` consider using one of the following associated functions: [INFO] [stdout] tendermint::Time::from_utc [INFO] [stdout] tendermint::Time::unix_epoch [INFO] [stdout] tendermint::Time::from_unix_timestamp [INFO] [stdout] tendermint::Time::parse_from_rfc3339 [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tendermint-0.34.1/src/time.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | fn from_utc(t: OffsetDateTime) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn unix_epoch() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn from_unix_timestamp(secs: i64, nanos: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn parse_from_rfc3339(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `string::ToString` [INFO] [stdout] --> src/verifier.rs:322:34 [INFO] [stdout] | [INFO] [stdout] 322 | use alloc::{borrow::ToOwned, string::ToString}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Sub` [INFO] [stdout] --> src/verifier.rs:323:16 [INFO] [stdout] | [INFO] [stdout] 323 | use core::{ops::Sub, time::Duration}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryInto` [INFO] [stdout] --> src/predicates.rs:232:16 [INFO] [stdout] | [INFO] [stdout] 232 | use core::{convert::TryInto, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0432, E0433, E0599, E0616. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] Fixed src/prelude.rs (2 fixes) [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/operations/voting_power.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use core::{convert::TryFrom, fmt, marker::PhantomData}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9ae1860851f3fbc1435a1698e572252c0076f413/library/core/src/prelude/mod.rs:46:30 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "a6ed06381493df9bbab6c586bb3373ae8d547ef754789f20bcebe8248bc6ed22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6ed06381493df9bbab6c586bb3373ae8d547ef754789f20bcebe8248bc6ed22", kill_on_drop: false }` [INFO] [stdout] a6ed06381493df9bbab6c586bb3373ae8d547ef754789f20bcebe8248bc6ed22