[INFO] fetching crate linera-chain 0.15.0... [INFO] testing linera-chain-0.15.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate linera-chain 0.15.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate linera-chain 0.15.0 [INFO] finished tweaking crates.io crate linera-chain 0.15.0 [INFO] tweaked toml for crates.io crate linera-chain 0.15.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate linera-chain 0.15.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate linera-chain 0.15.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c7d7036aacbaddecf90606ea1b1de15e2e1fed52b2fe59b553772ae76d4cdc2 [INFO] running `Command { std: "docker" "start" "-a" "2c7d7036aacbaddecf90606ea1b1de15e2e1fed52b2fe59b553772ae76d4cdc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c7d7036aacbaddecf90606ea1b1de15e2e1fed52b2fe59b553772ae76d4cdc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c7d7036aacbaddecf90606ea1b1de15e2e1fed52b2fe59b553772ae76d4cdc2", kill_on_drop: false }` [INFO] [stdout] 2c7d7036aacbaddecf90606ea1b1de15e2e1fed52b2fe59b553772ae76d4cdc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 606261c215054960115d103d9a3d390a2b070552a1700d81432b99fcb9dbfae0 [INFO] running `Command { std: "docker" "start" "-a" "606261c215054960115d103d9a3d390a2b070552a1700d81432b99fcb9dbfae0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling thiserror v2.0.14 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling bytecheck v0.6.12 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling frunk_core v0.4.4 [INFO] [stderr] Compiling rend v0.4.2 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling rkyv v0.7.45 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling syn v2.0.105 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling linera-witty-macros v0.15.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling corosensei v0.1.4 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling seahash v4.1.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling linera-witty v0.15.0 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling ascii_utils v0.9.3 [INFO] [stderr] Compiling more-asserts v0.2.2 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling fast_chemail v0.9.6 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling dashmap v6.1.0 [INFO] [stderr] Compiling region v3.0.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling memmap2 v0.6.2 [INFO] [stderr] Compiling linera-base v0.15.0 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling static_assertions_next v1.1.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling linera-views v0.15.0 [INFO] [stderr] Compiling self_cell v1.2.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling linera-execution v0.15.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling linera-parity-wasm v0.45.1-linera.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling linera-chain v0.15.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling oneshot v0.1.11 [INFO] [stderr] Compiling sysinfo v0.33.1 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling bytecheck_derive v0.6.12 [INFO] [stderr] Compiling rkyv_derive v0.7.45 [INFO] [stderr] Compiling enum-iterator-derive v0.7.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling ptr_meta v0.1.4 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.4 [INFO] [stderr] Compiling enum-iterator v0.7.0 [INFO] [stderr] Compiling deluxe-core v0.5.0 [INFO] [stderr] Compiling dynasm v1.2.3 [INFO] [stderr] Compiling linera-wasm-instrument v0.4.0-linera.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling thiserror-impl v2.0.14 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling frunk_derives v0.4.4 [INFO] [stderr] Compiling frunk_proc_macros v0.1.4 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling frunk v0.4.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling enumset_derive v0.12.0 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling enumset v1.1.7 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling custom_debug_derive v0.6.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling trait-variant v0.1.2 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling serdect v0.2.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling async-graphql-value v7.0.17 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling handlebars v5.1.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling wasmer-types v4.4.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling async-graphql-parser v7.0.17 [INFO] [stderr] Compiling merlin v3.0.0 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling const-hex v1.14.1 [INFO] [stderr] Compiling ruint v1.16.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling port-selector v0.1.6 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling wasmparser v0.121.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling shared-buffer v0.1.4 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling alloy-primitives v1.3.0 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling serde-name v0.2.1 [INFO] [stderr] Compiling bcs v0.1.6 [INFO] [stderr] Compiling dynasmrt v1.2.3 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling ed25519-dalek v2.2.0 [INFO] [stderr] Compiling deluxe-macros v0.5.0 [INFO] [stderr] Compiling async-graphql-derive v7.0.17 [INFO] [stderr] Compiling linera-wasmer-vm v4.4.0-linera.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling deluxe v0.5.0 [INFO] [stderr] Compiling linera-views-derive v0.15.0 [INFO] [stderr] Compiling linera-wasmer-compiler v4.4.0-linera.7 [INFO] [stderr] Compiling linera-wasmer-compiler-singlepass v4.4.0-linera.7 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling async-graphql v7.0.17 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/manager.rs:456:9 [INFO] [stdout] | [INFO] [stdout] 456 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 462 | ) -> Result, ChainError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 462 | ) -> Result>, ChainError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 52s [INFO] running `Command { std: "docker" "inspect" "606261c215054960115d103d9a3d390a2b070552a1700d81432b99fcb9dbfae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "606261c215054960115d103d9a3d390a2b070552a1700d81432b99fcb9dbfae0", kill_on_drop: false }` [INFO] [stdout] 606261c215054960115d103d9a3d390a2b070552a1700d81432b99fcb9dbfae0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 343e6909c37e57426146cb4ec86feca2b20e7c87e0889125912461986c936974 [INFO] running `Command { std: "docker" "start" "-a" "343e6909c37e57426146cb4ec86feca2b20e7c87e0889125912461986c936974", kill_on_drop: false }` [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/manager.rs:456:9 [INFO] [stdout] | [INFO] [stdout] 456 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 462 | ) -> Result, ChainError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 462 | ) -> Result>, ChainError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Compiling test-case v3.3.1 [INFO] [stderr] Compiling linera-chain v0.15.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `linera_execution::test_utils`, `linera_execution::TestExecutionRuntimeContext` [INFO] [stdout] --> src/unit_tests/chain_tests.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | test_utils::{ExpectedCall, MockApplication}, [INFO] [stdout] | ^^^^^^^^^^ could not find `test_utils` in `linera_execution` [INFO] [stdout] 28 | BaseRuntime, ContractRuntime, ExecutionError, ExecutionRuntimeConfig, ExecutionRuntimeContext, [INFO] [stdout] 29 | Operation, ResourceControlPolicy, ServiceRuntime, SystemOperation, TestExecutionRuntimeContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `TestExecutionRuntimeContext` in the root [INFO] [stdout] | help: a similar name exists in the module: `ExecutionRuntimeContext` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-execution-0.15.0/src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(with_testing)] [INFO] [stdout] | ------------ the item is gated here [INFO] [stdout] 20 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-execution-0.15.0/src/lib.rs:999:12 [INFO] [stdout] | [INFO] [stdout] 997 | #[cfg(with_testing)] [INFO] [stdout] | ------------ the item is gated here [INFO] [stdout] 998 | #[derive(Clone)] [INFO] [stdout] 999 | pub struct TestExecutionRuntimeContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `axum` [INFO] [stdout] --> src/unit_tests/chain_tests.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use axum::{routing::get, Router}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `linera_base::crypto::TestString` [INFO] [stdout] --> src/data_types.rs:800:80 [INFO] [stdout] | [INFO] [stdout] 800 | crypto::{AccountSecretKey, AccountSignature, CryptoHash, EvmSignature, TestString}, [INFO] [stdout] | ^^^^^^^^^^ no `TestString` in `crypto` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/mod.rs:428:12 [INFO] [stdout] | [INFO] [stdout] 426 | #[cfg(with_testing)] [INFO] [stdout] | ------------ the item is gated here [INFO] [stdout] 427 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] 428 | pub struct TestString(pub String); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `axum` [INFO] [stdout] --> src/unit_tests/chain_tests.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use axum::{routing::get, Router}; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `axum` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/unit_tests/chain_tests.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | test::{make_child_block, make_first_block, BlockTestExt, HttpServer}, [INFO] [stdout] | ^^^^ could not find `test` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(with_testing)] [INFO] [stdout] | ------------ the item is gated here [INFO] [stdout] 23 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/unit_tests/data_types_tests.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | test::{make_first_block, BlockTestExt}, [INFO] [stdout] | ^^^^ could not find `test` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(with_testing)] [INFO] [stdout] | ------------ the item is gated here [INFO] [stdout] 23 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test` [INFO] [stdout] --> src/unit_tests/inbox_tests.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::test::MessageTestExt as _; [INFO] [stdout] | ^^^^ could not find `test` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(with_testing)] [INFO] [stdout] | ------------ the item is gated here [INFO] [stdout] 23 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test` in the crate root [INFO] [stdout] --> src/chain.rs:1141:16 [INFO] [stdout] | [INFO] [stdout] 1141 | crate::test::make_first_block( [INFO] [stdout] | ^^^^ could not find `test` in the crate root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(with_testing)] [INFO] [stdout] | ------------ the item is gated here [INFO] [stdout] 23 | pub mod test; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `test_utils` in `linera_execution` [INFO] [stdout] --> src/chain.rs:1142:31 [INFO] [stdout] | [INFO] [stdout] 1142 | linera_execution::test_utils::dummy_chain_description(0).id(), [INFO] [stdout] | ^^^^^^^^^^ could not find `test_utils` in `linera_execution` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-execution-0.15.0/src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg(with_testing)] [INFO] [stdout] | ------------ the item is gated here [INFO] [stdout] 20 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_for_testing` found for struct `ViewContext` in the current scope [INFO] [stdout] --> src/unit_tests/chain_tests.rs:49:38 [INFO] [stdout] | [INFO] [stdout] 49 | let context = MemoryContext::new_for_testing(exec_runtime_context); [INFO] [stdout] | ^^^^^^^^^^^^^^^ function or associated item not found in `ViewContext<_, MemoryStore>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ViewContext<_, MemoryStore>`, consider using `ViewContext::::new_unsafe` which returns `ViewContext<_, _>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-views-0.15.0/src/context.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn new_unsafe(store: S, base_key: Vec, extra: E) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `test_key` found for enum `AccountPublicKey` in the current scope [INFO] [stdout] --> src/unit_tests/chain_tests.rs:64:65 [INFO] [stdout] | [INFO] [stdout] 64 | ownership: ChainOwnership::single(AccountPublicKey::test_key(0).into()), [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `AccountPublicKey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `AccountPublicKey`, consider using `AccountPublicKey::from_slice` which returns `Result` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/mod.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn from_slice(bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_key` found for struct `Secp256k1PublicKey` in the current scope [INFO] [stdout] --> src/unit_tests/chain_tests.rs:144:33 [INFO] [stdout] | [INFO] [stdout] 144 | ValidatorPublicKey::test_key(1), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Secp256k1PublicKey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Secp256k1PublicKey`, consider using `Secp256k1PublicKey::from_bytes` which returns `Result` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/secp256k1/mod.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn from_bytes(bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_key` found for struct `Secp256k1PublicKey` in the current scope [INFO] [stdout] --> src/unit_tests/chain_tests.rs:146:54 [INFO] [stdout] | [INFO] [stdout] 146 | network_address: ValidatorPublicKey::test_key(1).to_string(), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Secp256k1PublicKey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Secp256k1PublicKey`, consider using `Secp256k1PublicKey::from_bytes` which returns `Result` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/secp256k1/mod.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn from_bytes(bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `test_key` found for enum `AccountPublicKey` in the current scope [INFO] [stdout] --> src/unit_tests/chain_tests.rs:148:55 [INFO] [stdout] | [INFO] [stdout] 148 | account_public_key: AccountPublicKey::test_key(1), [INFO] [stdout] | ^^^^^^^^ variant or associated item not found in `AccountPublicKey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `AccountPublicKey`, consider using `AccountPublicKey::from_slice` which returns `Result` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/mod.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn from_slice(bytes: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `data_types::BlockExecutionOutcome` in the current scope [INFO] [stdout] --> src/chain.rs:1144:51 [INFO] [stdout] | [INFO] [stdout] 1144 | crate::data_types::BlockExecutionOutcome::default(), [INFO] [stdout] | ^^^^^^^ function or associated item not found in `data_types::BlockExecutionOutcome` [INFO] [stdout] | [INFO] [stdout] ::: src/data_types.rs:363:1 [INFO] [stdout] | [INFO] [stdout] 363 | pub struct BlockExecutionOutcome { [INFO] [stdout] | -------------------------------- function or associated item `default` not found for this struct [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `default`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_hash` found for struct `linera_base::crypto::CryptoHash` in the current scope [INFO] [stdout] --> src/unit_tests/data_types_tests.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | ChainId(CryptoHash::test_hash(format!("chain{}", index))) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `linera_base::crypto::CryptoHash` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `linera_base::crypto::CryptoHash`, consider using `linera_base::crypto::CryptoHash::new` which returns `linera_base::crypto::CryptoHash` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/hash.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new<'de, T: BcsHashable<'de>>(value: &T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate` found for struct `crypto::secp256k1::Secp256k1KeyPair` in the current scope [INFO] [stdout] --> src/unit_tests/data_types_tests.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | let validator1_key_pair = ValidatorKeypair::generate(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `crypto::secp256k1::Secp256k1KeyPair` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `crypto::secp256k1::Secp256k1KeyPair`, consider using `crypto::secp256k1::Secp256k1KeyPair::generate_from` which returns `crypto::secp256k1::Secp256k1KeyPair` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/secp256k1/mod.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn generate_from(rng: &mut R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `generate_from` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/secp256k1/mod.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn generate_from(rng: &mut R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate` found for struct `crypto::secp256k1::Secp256k1KeyPair` in the current scope [INFO] [stdout] --> src/unit_tests/data_types_tests.rs:23:49 [INFO] [stdout] | [INFO] [stdout] 23 | let validator2_key_pair = ValidatorKeypair::generate(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `crypto::secp256k1::Secp256k1KeyPair` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `crypto::secp256k1::Secp256k1KeyPair`, consider using `crypto::secp256k1::Secp256k1KeyPair::generate_from` which returns `crypto::secp256k1::Secp256k1KeyPair` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/secp256k1/mod.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn generate_from(rng: &mut R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `generate_from` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/secp256k1/mod.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn generate_from(rng: &mut R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_hash` found for struct `linera_base::crypto::CryptoHash` in the current scope [INFO] [stdout] --> src/unit_tests/data_types_tests.rs:29:33 [INFO] [stdout] | [INFO] [stdout] 29 | state_hash: CryptoHash::test_hash("state"), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `linera_base::crypto::CryptoHash` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `linera_base::crypto::CryptoHash`, consider using `linera_base::crypto::CryptoHash::new` which returns `linera_base::crypto::CryptoHash` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/hash.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new<'de, T: BcsHashable<'de>>(value: &T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate` found for struct `crypto::secp256k1::Secp256k1KeyPair` in the current scope [INFO] [stdout] --> src/unit_tests/data_types_tests.rs:85:49 [INFO] [stdout] | [INFO] [stdout] 85 | let validator1_key_pair = ValidatorKeypair::generate(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `crypto::secp256k1::Secp256k1KeyPair` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `crypto::secp256k1::Secp256k1KeyPair`, consider using `crypto::secp256k1::Secp256k1KeyPair::generate_from` which returns `crypto::secp256k1::Secp256k1KeyPair` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/secp256k1/mod.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn generate_from(rng: &mut R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `generate_from` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/secp256k1/mod.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn generate_from(rng: &mut R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate` found for struct `Ed25519SecretKey` in the current scope [INFO] [stdout] --> src/unit_tests/data_types_tests.rs:86:71 [INFO] [stdout] | [INFO] [stdout] 86 | let account1_secret = AccountSecretKey::Ed25519(Ed25519SecretKey::generate()); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Ed25519SecretKey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Ed25519SecretKey`, consider using `Ed25519SecretKey::generate_from` which returns `Ed25519SecretKey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/ed25519.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn generate_from(rng: &mut R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `generate_from` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/ed25519.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn generate_from(rng: &mut R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate` found for struct `crypto::secp256k1::Secp256k1KeyPair` in the current scope [INFO] [stdout] --> src/unit_tests/data_types_tests.rs:87:49 [INFO] [stdout] | [INFO] [stdout] 87 | let validator2_key_pair = ValidatorKeypair::generate(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `crypto::secp256k1::Secp256k1KeyPair` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `crypto::secp256k1::Secp256k1KeyPair`, consider using `crypto::secp256k1::Secp256k1KeyPair::generate_from` which returns `crypto::secp256k1::Secp256k1KeyPair` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/secp256k1/mod.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn generate_from(rng: &mut R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `generate_from` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/secp256k1/mod.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn generate_from(rng: &mut R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate` found for struct `Secp256k1SecretKey` in the current scope [INFO] [stdout] --> src/unit_tests/data_types_tests.rs:88:75 [INFO] [stdout] | [INFO] [stdout] 88 | let account2_secret = AccountSecretKey::Secp256k1(Secp256k1SecretKey::generate()); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `Secp256k1SecretKey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Secp256k1SecretKey`, consider using `Secp256k1SecretKey::generate_from` which returns `Secp256k1SecretKey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/secp256k1/mod.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | pub fn generate_from(rng: &mut R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `generate_from` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/secp256k1/mod.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | pub fn generate_from(rng: &mut R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate` found for struct `crypto::secp256k1::Secp256k1KeyPair` in the current scope [INFO] [stdout] --> src/unit_tests/data_types_tests.rs:89:49 [INFO] [stdout] | [INFO] [stdout] 89 | let validator3_key_pair = ValidatorKeypair::generate(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `crypto::secp256k1::Secp256k1KeyPair` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `crypto::secp256k1::Secp256k1KeyPair`, consider using `crypto::secp256k1::Secp256k1KeyPair::generate_from` which returns `crypto::secp256k1::Secp256k1KeyPair` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/secp256k1/mod.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn generate_from(rng: &mut R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `generate_from` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/secp256k1/mod.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn generate_from(rng: &mut R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `make_simple` found for struct `linera_execution::Committee` in the current scope [INFO] [stdout] --> src/unit_tests/data_types_tests.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | let committee = Committee::make_simple(vec![ [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `linera_execution::Committee` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `linera_execution::Committee`, consider using `linera_execution::Committee::new` which returns `linera_execution::Committee` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-execution-0.15.0/src/committee.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 217 | / pub fn new( [INFO] [stdout] 218 | | validators: BTreeMap, [INFO] [stdout] 219 | | policy: ResourceControlPolicy, [INFO] [stdout] 220 | | ) -> Self { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_hash` found for struct `linera_base::crypto::CryptoHash` in the current scope [INFO] [stdout] --> src/unit_tests/data_types_tests.rs:100:33 [INFO] [stdout] | [INFO] [stdout] 100 | state_hash: CryptoHash::test_hash("state"), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `linera_base::crypto::CryptoHash` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `linera_base::crypto::CryptoHash`, consider using `linera_base::crypto::CryptoHash::new` which returns `linera_base::crypto::CryptoHash` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/hash.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new<'de, T: BcsHashable<'de>>(value: &T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `signatures_mut` found for struct `generic::GenericCertificate` in the current scope [INFO] [stdout] --> src/unit_tests/data_types_tests.rs:135:7 [INFO] [stdout] | [INFO] [stdout] 135 | c.signatures_mut().pop(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/certificate/generic.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct GenericCertificate { [INFO] [stdout] | -------------------------------------------------- method `signatures_mut` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: there is a method `signatures` with a similar name [INFO] [stdout] | [INFO] [stdout] 135 - c.signatures_mut().pop(); [INFO] [stdout] 135 + c.signatures().pop(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_str` found for struct `EvmSecretKey` in the current scope [INFO] [stdout] --> src/data_types.rs:812:61 [INFO] [stdout] | [INFO] [stdout] 812 | let secret_key = linera_base::crypto::EvmSecretKey::from_str( [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `EvmSecretKey` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `EvmSecretKey`, consider using `EvmSecretKey::generate_from` which returns `EvmSecretKey` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/secp256k1/evm.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 397 | pub fn generate_from(rng: &mut R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 812 - let secret_key = linera_base::crypto::EvmSecretKey::from_str( [INFO] [stdout] 812 + let secret_key = linera_base::crypto::EvmSecretKey::from( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `ApplicationId` in the current scope [INFO] [stdout] --> src/unit_tests/inbox_tests.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | application_id: ApplicationId::default(), [INFO] [stdout] | ^^^^^^^ function or associated item not found in `ApplicationId<_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `ApplicationId<_>`, consider using `ApplicationId::new` which returns `ApplicationId` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/identifiers.rs:906:5 [INFO] [stdout] | [INFO] [stdout] 906 | pub fn new(application_description_hash: CryptoHash) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/unit_tests/inbox_tests.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | height: BlockHeight::from(height), [INFO] [stdout] | ----------------- ^^^^^^ expected `BlockHeight`, found `u64` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/convert/mod.rs:596:8 [INFO] [stdout] help: try wrapping the expression in `linera_base::data_types::BlockHeight` [INFO] [stdout] | [INFO] [stdout] 24 | height: BlockHeight::from(linera_base::data_types::BlockHeight(height)), [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_posted` found for enum `Message` in the current scope [INFO] [stdout] --> src/unit_tests/inbox_tests.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | messages: vec![message.to_posted(index, MessageKind::Simple)], [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `to_owned` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/alloc/src/borrow.rs:58:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_hash` found for struct `linera_base::crypto::CryptoHash` in the current scope [INFO] [stdout] --> src/unit_tests/inbox_tests.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | let hash = CryptoHash::test_hash("1"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `linera_base::crypto::CryptoHash` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `linera_base::crypto::CryptoHash`, consider using `linera_base::crypto::CryptoHash::new` which returns `linera_base::crypto::CryptoHash` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/hash.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new<'de, T: BcsHashable<'de>>(value: &T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/unit_tests/inbox_tests.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | let mut view = InboxStateView::new().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-- argument #1 is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-views-0.15.0/src/views/mod.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn new(context: Self::Context) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 45 | let mut view = InboxStateView::new(/* context */).await; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result, linera_views::ViewError>` is not a future [INFO] [stdout] --> src/unit_tests/inbox_tests.rs:45:42 [INFO] [stdout] | [INFO] [stdout] 45 | let mut view = InboxStateView::new().await; [INFO] [stdout] | --------------------- ^^^^^ `Result, linera_views::ViewError>` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `Result, linera_views::ViewError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, linera_views::ViewError>` [INFO] [stdout] = note: Result, linera_views::ViewError> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result, linera_views::ViewError>` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 45 - let mut view = InboxStateView::new().await; [INFO] [stdout] 45 + let mut view = InboxStateView::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_hash` found for struct `linera_base::crypto::CryptoHash` in the current scope [INFO] [stdout] --> src/unit_tests/inbox_tests.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | view.remove_bundle(&make_bundle(CryptoHash::test_hash("2"), 0, 1, [1])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `linera_base::crypto::CryptoHash` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `linera_base::crypto::CryptoHash`, consider using `linera_base::crypto::CryptoHash::new` which returns `linera_base::crypto::CryptoHash` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/hash.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new<'de, T: BcsHashable<'de>>(value: &T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_hash` found for struct `linera_base::crypto::CryptoHash` in the current scope [INFO] [stdout] --> src/unit_tests/inbox_tests.rs:89:28 [INFO] [stdout] | [INFO] [stdout] 89 | let hash = CryptoHash::test_hash("1"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `linera_base::crypto::CryptoHash` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `linera_base::crypto::CryptoHash`, consider using `linera_base::crypto::CryptoHash::new` which returns `linera_base::crypto::CryptoHash` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/hash.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new<'de, T: BcsHashable<'de>>(value: &T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/unit_tests/inbox_tests.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | let mut view = InboxStateView::new().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-- argument #1 is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-views-0.15.0/src/views/mod.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn new(context: Self::Context) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 90 | let mut view = InboxStateView::new(/* context */).await; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result, linera_views::ViewError>` is not a future [INFO] [stdout] --> src/unit_tests/inbox_tests.rs:90:42 [INFO] [stdout] | [INFO] [stdout] 90 | let mut view = InboxStateView::new().await; [INFO] [stdout] | --------------------- ^^^^^ `Result, linera_views::ViewError>` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `Result, linera_views::ViewError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, linera_views::ViewError>` [INFO] [stdout] = note: Result, linera_views::ViewError> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result, linera_views::ViewError>` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 90 - let mut view = InboxStateView::new().await; [INFO] [stdout] 90 + let mut view = InboxStateView::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_hash` found for struct `linera_base::crypto::CryptoHash` in the current scope [INFO] [stdout] --> src/unit_tests/inbox_tests.rs:124:49 [INFO] [stdout] | [INFO] [stdout] 124 | view.add_bundle(make_bundle(CryptoHash::test_hash("2"), 0, 1, [1])) [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `linera_base::crypto::CryptoHash` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `linera_base::crypto::CryptoHash`, consider using `linera_base::crypto::CryptoHash::new` which returns `linera_base::crypto::CryptoHash` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/hash.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new<'de, T: BcsHashable<'de>>(value: &T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_hash` found for struct `linera_base::crypto::CryptoHash` in the current scope [INFO] [stdout] --> src/unit_tests/inbox_tests.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | let hash = CryptoHash::test_hash("1"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `linera_base::crypto::CryptoHash` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `linera_base::crypto::CryptoHash`, consider using `linera_base::crypto::CryptoHash::new` which returns `linera_base::crypto::CryptoHash` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/hash.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new<'de, T: BcsHashable<'de>>(value: &T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/unit_tests/inbox_tests.rs:151:20 [INFO] [stdout] | [INFO] [stdout] 151 | let mut view = InboxStateView::new().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-- argument #1 is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-views-0.15.0/src/views/mod.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn new(context: Self::Context) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 151 | let mut view = InboxStateView::new(/* context */).await; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result, linera_views::ViewError>` is not a future [INFO] [stdout] --> src/unit_tests/inbox_tests.rs:151:42 [INFO] [stdout] | [INFO] [stdout] 151 | let mut view = InboxStateView::new().await; [INFO] [stdout] | --------------------- ^^^^^ `Result, linera_views::ViewError>` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `Result, linera_views::ViewError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, linera_views::ViewError>` [INFO] [stdout] = note: Result, linera_views::ViewError> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result, linera_views::ViewError>` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 151 - let mut view = InboxStateView::new().await; [INFO] [stdout] 151 + let mut view = InboxStateView::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_hash` found for struct `linera_base::crypto::CryptoHash` in the current scope [INFO] [stdout] --> src/unit_tests/inbox_tests.rs:192:25 [INFO] [stdout] | [INFO] [stdout] 192 | CryptoHash::test_hash("2"), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `linera_base::crypto::CryptoHash` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `linera_base::crypto::CryptoHash`, consider using `linera_base::crypto::CryptoHash::new` which returns `linera_base::crypto::CryptoHash` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/hash.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new<'de, T: BcsHashable<'de>>(value: &T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_hash` found for struct `linera_base::crypto::CryptoHash` in the current scope [INFO] [stdout] --> src/unit_tests/inbox_tests.rs:221:28 [INFO] [stdout] | [INFO] [stdout] 221 | let hash = CryptoHash::test_hash("1"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `linera_base::crypto::CryptoHash` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `linera_base::crypto::CryptoHash`, consider using `linera_base::crypto::CryptoHash::new` which returns `linera_base::crypto::CryptoHash` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/hash.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new<'de, T: BcsHashable<'de>>(value: &T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/unit_tests/inbox_tests.rs:222:20 [INFO] [stdout] | [INFO] [stdout] 222 | let mut view = InboxStateView::new().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-- argument #1 is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-views-0.15.0/src/views/mod.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn new(context: Self::Context) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 222 | let mut view = InboxStateView::new(/* context */).await; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result, linera_views::ViewError>` is not a future [INFO] [stdout] --> src/unit_tests/inbox_tests.rs:222:42 [INFO] [stdout] | [INFO] [stdout] 222 | let mut view = InboxStateView::new().await; [INFO] [stdout] | --------------------- ^^^^^ `Result, linera_views::ViewError>` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `Result, linera_views::ViewError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, linera_views::ViewError>` [INFO] [stdout] = note: Result, linera_views::ViewError> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result, linera_views::ViewError>` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 222 - let mut view = InboxStateView::new().await; [INFO] [stdout] 222 + let mut view = InboxStateView::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_hash` found for struct `linera_base::crypto::CryptoHash` in the current scope [INFO] [stdout] --> src/unit_tests/inbox_tests.rs:263:25 [INFO] [stdout] | [INFO] [stdout] 263 | CryptoHash::test_hash("2"), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `linera_base::crypto::CryptoHash` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `linera_base::crypto::CryptoHash`, consider using `linera_base::crypto::CryptoHash::new` which returns `linera_base::crypto::CryptoHash` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/hash.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new<'de, T: BcsHashable<'de>>(value: &T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_hash` found for struct `linera_base::crypto::CryptoHash` in the current scope [INFO] [stdout] --> src/unit_tests/inbox_tests.rs:299:28 [INFO] [stdout] | [INFO] [stdout] 299 | let hash = CryptoHash::test_hash("1"); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `linera_base::crypto::CryptoHash` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `linera_base::crypto::CryptoHash`, consider using `linera_base::crypto::CryptoHash::new` which returns `linera_base::crypto::CryptoHash` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/hash.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new<'de, T: BcsHashable<'de>>(value: &T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/unit_tests/inbox_tests.rs:300:20 [INFO] [stdout] | [INFO] [stdout] 300 | let mut view = InboxStateView::new().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^-- argument #1 is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-views-0.15.0/src/views/mod.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn new(context: Self::Context) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 300 | let mut view = InboxStateView::new(/* context */).await; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result, linera_views::ViewError>` is not a future [INFO] [stdout] --> src/unit_tests/inbox_tests.rs:300:42 [INFO] [stdout] | [INFO] [stdout] 300 | let mut view = InboxStateView::new().await; [INFO] [stdout] | --------------------- ^^^^^ `Result, linera_views::ViewError>` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `Result, linera_views::ViewError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, linera_views::ViewError>` [INFO] [stdout] = note: Result, linera_views::ViewError> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result, linera_views::ViewError>` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 300 - let mut view = InboxStateView::new().await; [INFO] [stdout] 300 + let mut view = InboxStateView::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_hash` found for struct `linera_base::crypto::CryptoHash` in the current scope [INFO] [stdout] --> src/unit_tests/inbox_tests.rs:315:25 [INFO] [stdout] | [INFO] [stdout] 315 | CryptoHash::test_hash("2"), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `linera_base::crypto::CryptoHash` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `linera_base::crypto::CryptoHash`, consider using `linera_base::crypto::CryptoHash::new` which returns `linera_base::crypto::CryptoHash` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-base-0.15.0/src/crypto/hash.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new<'de, T: BcsHashable<'de>>(value: &T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/unit_tests/outbox_tests.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | let mut view = OutboxStateView::new().await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^-- argument #1 is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/linera-views-0.15.0/src/views/mod.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn new(context: Self::Context) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 8 | let mut view = OutboxStateView::new(/* context */).await; [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result, linera_views::ViewError>` is not a future [INFO] [stdout] --> src/unit_tests/outbox_tests.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | let mut view = OutboxStateView::new().await; [INFO] [stdout] | ---------------------- ^^^^^ `Result, linera_views::ViewError>` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `Result, linera_views::ViewError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, linera_views::ViewError>` [INFO] [stdout] = note: Result, linera_views::ViewError> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result, linera_views::ViewError>` to implement `std::future::IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 8 - let mut view = OutboxStateView::new().await; [INFO] [stdout] 8 + let mut view = OutboxStateView::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/unit_tests/outbox_tests.rs:10:53 [INFO] [stdout] | [INFO] [stdout] 10 | assert!(view.schedule_message(BlockHeight::from(2)).unwrap()); [INFO] [stdout] | ----------------- ^ expected `BlockHeight`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/convert/mod.rs:596:8 [INFO] [stdout] help: try wrapping the expression in `linera_base::data_types::BlockHeight` [INFO] [stdout] | [INFO] [stdout] 10 | assert!(view.schedule_message(BlockHeight::from(linera_base::data_types::BlockHeight(2))).unwrap()); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/unit_tests/outbox_tests.rs:11:53 [INFO] [stdout] | [INFO] [stdout] 11 | assert!(view.schedule_message(BlockHeight::from(4)).unwrap()); [INFO] [stdout] | ----------------- ^ expected `BlockHeight`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/convert/mod.rs:596:8 [INFO] [stdout] help: try wrapping the expression in `linera_base::data_types::BlockHeight` [INFO] [stdout] | [INFO] [stdout] 11 | assert!(view.schedule_message(BlockHeight::from(linera_base::data_types::BlockHeight(4))).unwrap()); [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/unit_tests/outbox_tests.rs:16:58 [INFO] [stdout] | [INFO] [stdout] 16 | view.mark_messages_as_received(BlockHeight::from(3)) [INFO] [stdout] | ----------------- ^ expected `BlockHeight`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/convert/mod.rs:596:8 [INFO] [stdout] help: try wrapping the expression in `linera_base::data_types::BlockHeight` [INFO] [stdout] | [INFO] [stdout] 16 | view.mark_messages_as_received(BlockHeight::from(linera_base::data_types::BlockHeight(3))) [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/unit_tests/outbox_tests.rs:19:51 [INFO] [stdout] | [INFO] [stdout] 19 | vec![BlockHeight::ZERO, BlockHeight::from(2)] [INFO] [stdout] | ----------------- ^ expected `BlockHeight`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/convert/mod.rs:596:8 [INFO] [stdout] help: try wrapping the expression in `linera_base::data_types::BlockHeight` [INFO] [stdout] | [INFO] [stdout] 19 | vec![BlockHeight::ZERO, BlockHeight::from(linera_base::data_types::BlockHeight(2))] [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/unit_tests/outbox_tests.rs:22:58 [INFO] [stdout] | [INFO] [stdout] 22 | view.mark_messages_as_received(BlockHeight::from(3)) [INFO] [stdout] | ----------------- ^ expected `BlockHeight`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/convert/mod.rs:596:8 [INFO] [stdout] help: try wrapping the expression in `linera_base::data_types::BlockHeight` [INFO] [stdout] | [INFO] [stdout] 22 | view.mark_messages_as_received(BlockHeight::from(linera_base::data_types::BlockHeight(3))) [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/unit_tests/outbox_tests.rs:29:58 [INFO] [stdout] | [INFO] [stdout] 29 | view.mark_messages_as_received(BlockHeight::from(4)) [INFO] [stdout] | ----------------- ^ expected `BlockHeight`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/convert/mod.rs:596:8 [INFO] [stdout] help: try wrapping the expression in `linera_base::data_types::BlockHeight` [INFO] [stdout] | [INFO] [stdout] 29 | view.mark_messages_as_received(BlockHeight::from(linera_base::data_types::BlockHeight(4))) [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/unit_tests/outbox_tests.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | vec![BlockHeight::from(4)] [INFO] [stdout] | ----------------- ^ expected `BlockHeight`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/b83b707f97d809763b7861afa7638871f3339a33/library/core/src/convert/mod.rs:596:8 [INFO] [stdout] help: try wrapping the expression in `linera_base::data_types::BlockHeight` [INFO] [stdout] | [INFO] [stdout] 32 | vec![BlockHeight::from(linera_base::data_types::BlockHeight(4))] [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `linera-chain` (lib test) due to 60 previous errors [INFO] running `Command { std: "docker" "inspect" "343e6909c37e57426146cb4ec86feca2b20e7c87e0889125912461986c936974", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "343e6909c37e57426146cb4ec86feca2b20e7c87e0889125912461986c936974", kill_on_drop: false }` [INFO] [stdout] 343e6909c37e57426146cb4ec86feca2b20e7c87e0889125912461986c936974