[INFO] fetching crate cometbft-light-client-verifier 0.1.0-alpha.2... [INFO] checking cometbft-light-client-verifier-0.1.0-alpha.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate cometbft-light-client-verifier 0.1.0-alpha.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate cometbft-light-client-verifier 0.1.0-alpha.2 [INFO] finished tweaking crates.io crate cometbft-light-client-verifier 0.1.0-alpha.2 [INFO] tweaked toml for crates.io crate cometbft-light-client-verifier 0.1.0-alpha.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cometbft-light-client-verifier 0.1.0-alpha.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 74 packages to latest compatible versions [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd5a344a89bd9995588820e2ce0da145a1c3173b3152482176eb5f501e8a98ba [INFO] running `Command { std: "docker" "start" "-a" "dd5a344a89bd9995588820e2ce0da145a1c3173b3152482176eb5f501e8a98ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd5a344a89bd9995588820e2ce0da145a1c3173b3152482176eb5f501e8a98ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd5a344a89bd9995588820e2ce0da145a1c3173b3152482176eb5f501e8a98ba", kill_on_drop: false }` [INFO] [stdout] dd5a344a89bd9995588820e2ce0da145a1c3173b3152482176eb5f501e8a98ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d921559d755616558a77de10df779b416e510756ea2c8561180260cdc0315de [INFO] running `Command { std: "docker" "start" "-a" "5d921559d755616558a77de10df779b416e510756ea2c8561180260cdc0315de", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking subtle-ng v2.5.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking flex-error v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking zeroize v1.8.1 [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.10.1 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking prost v0.12.6 [INFO] [stderr] Checking prost-types v0.12.6 [INFO] [stderr] Checking cometbft-proto v0.1.0-alpha.2 [INFO] [stderr] Checking cometbft v0.1.0-alpha.2 [INFO] [stderr] Checking cometbft-light-client-verifier v0.1.0-alpha.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cometbft_testgen` [INFO] [stdout] --> src/operations/voting_power.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | use cometbft_testgen::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `cometbft_testgen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cometbft_testgen`, use `cargo add cometbft_testgen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cometbft_testgen` [INFO] [stdout] --> src/predicates.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | use cometbft_testgen::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `cometbft_testgen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cometbft_testgen`, use `cargo add cometbft_testgen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cometbft_testgen` [INFO] [stdout] --> src/operations/voting_power.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 247 | use cometbft_testgen::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `cometbft_testgen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cometbft_testgen`, use `cargo add cometbft_testgen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `cometbft_testgen` [INFO] [stdout] --> src/verifier.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | use cometbft_testgen::{light_block::LightBlock as TestgenLightBlock, Generator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `cometbft_testgen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cometbft_testgen`, use `cargo add cometbft_testgen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cometbft_testgen` [INFO] [stdout] --> src/predicates.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | use cometbft_testgen::{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `cometbft_testgen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cometbft_testgen`, use `cargo add cometbft_testgen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `cometbft_testgen` [INFO] [stdout] --> src/verifier.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | use cometbft_testgen::{light_block::LightBlock as TestgenLightBlock, Generator}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `cometbft_testgen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `cometbft_testgen`, use `cargo add cometbft_testgen` to add it to your `Cargo.toml` [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] | ^^^^^^^^^^^^^^^^^---------------- argument #2 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-1949cf8c6b5b557f/cometbft-0.1.0-alpha.2/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 `cometbft::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 `cometbft::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: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] | ^^^^^^^^^^^^^^^^^------------------------------ argument #2 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-1949cf8c6b5b557f/cometbft-0.1.0-alpha.2/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-1949cf8c6b5b557f/time-0.3.41/src/offset_date_time.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub const fn new_in_offset(date: Date, time: Time, offset: UtcOffset) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub const fn new_utc(date: Date, time: Time) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub const fn from_unix_timestamp(timestamp: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | pub const fn from_unix_timestamp_nanos(timestamp: i128) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1329 | / pub fn parse( [INFO] [stdout] 1330 | | input: &str, [INFO] [stdout] 1331 | | description: &(impl Parsable + ?Sized), [INFO] [stdout] 1332 | | ) -> 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-1949cf8c6b5b557f/time-0.3.41/src/offset_date_time.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | 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-1949cf8c6b5b557f/time-0.3.41/src/offset_date_time.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub const fn new_in_offset(date: Date, time: Time, offset: UtcOffset) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub const fn new_utc(date: Date, time: Time) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub const fn from_unix_timestamp(timestamp: i64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | pub const fn from_unix_timestamp_nanos(timestamp: i128) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1329 | / pub fn parse( [INFO] [stdout] 1330 | | input: &str, [INFO] [stdout] 1331 | | description: &(impl Parsable + ?Sized), [INFO] [stdout] 1332 | | ) -> 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-1949cf8c6b5b557f/time-0.3.41/src/offset_date_time.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | 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 `cometbft::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 `cometbft::Time` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `cometbft::Time` consider using one of the following associated functions: [INFO] [stdout] cometbft::Time::unix_epoch [INFO] [stdout] cometbft::Time::from_unix_timestamp [INFO] [stdout] cometbft::Time::parse_from_rfc3339 [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cometbft-0.1.0-alpha.2/src/time.rs:84:5 [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 `cometbft::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 `cometbft::Time` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `cometbft::Time` consider using one of the following associated functions: [INFO] [stdout] cometbft::Time::unix_epoch [INFO] [stdout] cometbft::Time::from_unix_timestamp [INFO] [stdout] cometbft::Time::parse_from_rfc3339 [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/cometbft-0.1.0-alpha.2/src/time.rs:84:5 [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] 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 `cometbft-light-client-verifier` (lib test) due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "5d921559d755616558a77de10df779b416e510756ea2c8561180260cdc0315de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d921559d755616558a77de10df779b416e510756ea2c8561180260cdc0315de", kill_on_drop: false }` [INFO] [stdout] 5d921559d755616558a77de10df779b416e510756ea2c8561180260cdc0315de