[INFO] fetching crate linera-base 0.13.0... [INFO] checking linera-base-0.13.0 against master#8549802939cd01111c46e34a7b67cb1933977af9 for pr-132712 [INFO] extracting crate linera-base 0.13.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate linera-base 0.13.0 on toolchain 8549802939cd01111c46e34a7b67cb1933977af9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8549802939cd01111c46e34a7b67cb1933977af9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate linera-base 0.13.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate linera-base 0.13.0 [INFO] tweaked toml for crates.io crate linera-base 0.13.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8549802939cd01111c46e34a7b67cb1933977af9" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 233 packages to latest compatible versions [INFO] [stderr] Adding async-graphql v7.0.2 (available: v7.0.11) [INFO] [stderr] Adding async-graphql-derive v7.0.2 (available: v7.0.11) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding test-strategy v0.3.1 (available: v0.4.0) [INFO] [stderr] Adding thiserror v1.0.68 (available: v2.0.1) [INFO] [stderr] Adding wasmtimer v0.2.1 (available: v0.4.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8549802939cd01111c46e34a7b67cb1933977af9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasmtimer v0.2.1 [INFO] [stderr] Downloaded serde-name v0.2.1 [INFO] [stderr] Downloaded test-strategy v0.3.1 [INFO] [stderr] Downloaded port-selector v0.1.6 [INFO] [stderr] Downloaded frunk_proc_macros v0.1.3 [INFO] [stderr] Downloaded wasm_thread v0.3.3 [INFO] [stderr] Downloaded proc-macro-error v0.4.12 [INFO] [stderr] Downloaded linera-witty v0.13.0 [INFO] [stderr] Downloaded fast_chemail v0.9.6 [INFO] [stderr] Downloaded async-graphql-derive v7.0.2 [INFO] [stderr] Downloaded ascii_utils v0.9.3 [INFO] [stderr] Downloaded frunk_core v0.4.3 [INFO] [stderr] Downloaded bcs v0.1.6 [INFO] [stderr] Downloaded frunk v0.4.3 [INFO] [stderr] Downloaded handlebars v4.5.0 [INFO] [stderr] Downloaded genawaiter-macro v0.99.1 [INFO] [stderr] Downloaded proc-macro-error-attr v0.4.12 [INFO] [stderr] Downloaded genawaiter-proc-macro v0.99.1 [INFO] [stderr] Downloaded genawaiter v0.99.1 [INFO] [stderr] Downloaded linera-witty-macros v0.13.0 [INFO] [stderr] Downloaded custom_debug_derive v0.6.1 [INFO] [stderr] Downloaded frunk_derives v0.4.3 [INFO] [stderr] Downloaded frunk_proc_macro_helpers v0.1.3 [INFO] [stderr] Downloaded syn-mid v0.5.4 [INFO] [stderr] Downloaded structmeta-derive v0.2.0 [INFO] [stderr] Downloaded structmeta v0.2.0 [INFO] [stderr] Downloaded async-graphql v7.0.2 [INFO] [stderr] Downloaded tracing-web v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+8549802939cd01111c46e34a7b67cb1933977af9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1ddf478dd9b77554a54b7a39dd21fa59e25d0397356e3531b83772f35c61da9 [INFO] running `Command { std: "docker" "start" "-a" "e1ddf478dd9b77554a54b7a39dd21fa59e25d0397356e3531b83772f35c61da9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1ddf478dd9b77554a54b7a39dd21fa59e25d0397356e3531b83772f35c61da9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1ddf478dd9b77554a54b7a39dd21fa59e25d0397356e3531b83772f35c61da9", kill_on_drop: false }` [INFO] [stdout] e1ddf478dd9b77554a54b7a39dd21fa59e25d0397356e3531b83772f35c61da9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+8549802939cd01111c46e34a7b67cb1933977af9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5edf190bf5e51053f03a94dfa88a3b66c607012bba44a85e7b62d8494b09735f [INFO] running `Command { std: "docker" "start" "-a" "5edf190bf5e51053f03a94dfa88a3b66c607012bba44a85e7b62d8494b09735f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling frunk_core v0.4.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling rustix v0.38.39 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling linera-witty-macros v0.13.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Compiling cc v1.1.37 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling linera-witty v0.13.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking ascii_utils v0.9.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking fastrand v2.2.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Checking genawaiter-macro v0.99.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking fast_chemail v0.9.6 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling linera-base v0.13.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking static_assertions_next v1.1.2 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling syn-mid v0.5.4 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.3 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling thiserror-impl v1.0.68 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling frunk_proc_macros v0.1.3 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling frunk_derives v0.4.3 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling genawaiter-proc-macro v0.99.1 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking frunk v0.4.3 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Checking merlin v3.0.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking genawaiter v0.99.1 [INFO] [stderr] Checking test-case v3.3.1 [INFO] [stderr] Checking thiserror v1.0.68 [INFO] [stderr] Checking pest v2.7.14 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling custom_debug_derive v0.6.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde v1.0.214 [INFO] [stderr] Checking port-selector v0.1.6 [INFO] [stderr] Compiling pest_meta v2.7.14 [INFO] [stderr] Compiling pest_generator v2.7.14 [INFO] [stderr] Compiling pest_derive v2.7.14 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking serde_json v1.0.132 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking tracing-serde v0.1.3 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking bcs v0.1.6 [INFO] [stderr] Checking serde_bytes v0.11.15 [INFO] [stderr] Checking serde-name v0.2.1 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking async-graphql-value v7.0.11 [INFO] [stderr] Checking handlebars v4.5.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking curve25519-dalek v4.1.3 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking async-graphql-parser v7.0.11 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling async-graphql-derive v7.0.2 [INFO] [stderr] Checking async-graphql v7.0.2 [INFO] [stdout] error[E0599]: no function or associated item named `generate` found for struct `KeyPair` in the current scope [INFO] [stdout] --> src/crypto.rs:715:25 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct KeyPair(dalek::SigningKey); [INFO] [stdout] | ------------------ function or associated item `generate` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 715 | let key1 = KeyPair::generate(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `KeyPair` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `KeyPair`, consider using `KeyPair::generate_from` which returns `KeyPair` [INFO] [stdout] --> src/crypto.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn generate_from(rng: &mut R) -> Self { [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 traits define an item `generate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `GenericSequence` [INFO] [stdout] candidate #2: `rand_core::block::BlockRngCore` [INFO] [stdout] help: there is an associated function `generate_from` with a similar name [INFO] [stdout] --> src/crypto.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | 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 `KeyPair` in the current scope [INFO] [stdout] --> src/crypto.rs:717:25 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct KeyPair(dalek::SigningKey); [INFO] [stdout] | ------------------ function or associated item `generate` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 717 | let key2 = KeyPair::generate(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `KeyPair` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `KeyPair`, consider using `KeyPair::generate_from` which returns `KeyPair` [INFO] [stdout] --> src/crypto.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn generate_from(rng: &mut R) -> Self { [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 traits define an item `generate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `GenericSequence` [INFO] [stdout] candidate #2: `rand_core::block::BlockRngCore` [INFO] [stdout] help: there is an associated function `generate_from` with a similar name [INFO] [stdout] --> src/crypto.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn generate_from(rng: &mut R) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TestString` in this scope [INFO] [stdout] --> src/crypto.rs:720:14 [INFO] [stdout] | [INFO] [stdout] 720 | let ts = TestString("hello".into()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `TestString` in this scope [INFO] [stdout] --> src/crypto.rs:721:15 [INFO] [stdout] | [INFO] [stdout] 721 | let tsx = TestString("hellox".into()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `generate` found for struct `KeyPair` in the current scope [INFO] [stdout] --> src/ownership.rs:190:38 [INFO] [stdout] | [INFO] [stdout] 190 | let super_pub_key = KeyPair::generate().public(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `KeyPair` [INFO] [stdout] | [INFO] [stdout] ::: src/crypto.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct KeyPair(dalek::SigningKey); [INFO] [stdout] | ------------------ function or associated item `generate` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `KeyPair`, consider using `KeyPair::generate_from` which returns `KeyPair` [INFO] [stdout] --> src/crypto.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn generate_from(rng: &mut R) -> Self { [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 traits define an item `generate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `GenericSequence` [INFO] [stdout] candidate #2: `rand_core::block::BlockRngCore` [INFO] [stdout] help: there is an associated function `generate_from` with a similar name [INFO] [stdout] --> src/crypto.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | 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 `KeyPair` in the current scope [INFO] [stdout] --> src/ownership.rs:192:32 [INFO] [stdout] | [INFO] [stdout] 192 | let pub_key = KeyPair::generate().public(); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `KeyPair` [INFO] [stdout] | [INFO] [stdout] ::: src/crypto.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct KeyPair(dalek::SigningKey); [INFO] [stdout] | ------------------ function or associated item `generate` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `KeyPair`, consider using `KeyPair::generate_from` which returns `KeyPair` [INFO] [stdout] --> src/crypto.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn generate_from(rng: &mut R) -> Self { [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 traits define an item `generate`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `GenericSequence` [INFO] [stdout] candidate #2: `rand_core::block::BlockRngCore` [INFO] [stdout] help: there is an associated function `generate_from` with a similar name [INFO] [stdout] --> src/crypto.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | 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 `crypto::CryptoHash` in the current scope [INFO] [stdout] --> src/unit_tests.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | #[test_case(CryptoHash::test_hash("hash"); "of_crypto_hash")] [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `CryptoHash` [INFO] [stdout] | [INFO] [stdout] ::: src/crypto.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CryptoHash(HasherOutput); [INFO] [stdout] | --------------------- function or associated item `test_hash` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `crypto::CryptoHash`, consider using `crypto::CryptoHash::new` which returns `crypto::CryptoHash` [INFO] [stdout] --> src/crypto.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | pub fn new(value: &T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_key` found for struct `crypto::PublicKey` in the current scope [INFO] [stdout] --> src/unit_tests.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | #[test_case(PublicKey::test_key(255); "of_public_key")] [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `PublicKey` [INFO] [stdout] | [INFO] [stdout] ::: src/crypto.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct PublicKey(pub [u8; dalek::PUBLIC_KEY_LENGTH]); [INFO] [stdout] | -------------------- function or associated item `test_key` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SendMessageRequest>: std::cmp::Eq` is not satisfied [INFO] [stdout] --> src/unit_tests.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 21 | #[test_case(CryptoHash::test_hash("hash"); "of_crypto_hash")] [INFO] [stdout] | ------------------------------------------------------------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 27 | #[test_case(send_message_request_test_case(); "of_send_message_request")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::cmp::Eq` is not implemented for `SendMessageRequest>` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `test_wit_roundtrip` [INFO] [stdout] --> src/unit_tests.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 38 | fn test_wit_roundtrip(input: T) [INFO] [stdout] | ------------------ required by a bound in this function [INFO] [stdout] 39 | where [INFO] [stdout] 40 | T: Debug + Eq + WitLoad + WitStore, [INFO] [stdout] | ^^ required by this bound in `test_wit_roundtrip` [INFO] [stdout] help: consider annotating `SendMessageRequest>` with `#[derive(Eq)]` [INFO] [stdout] --> src/data_types.rs:291:1 [INFO] [stdout] | [INFO] [stdout] 291+ #[derive(Eq)] [INFO] [stdout] 292| pub struct SendMessageRequest { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SendMessageRequest>: WitStore` is not satisfied [INFO] [stdout] --> src/unit_tests.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 21 | #[test_case(CryptoHash::test_hash("hash"); "of_crypto_hash")] [INFO] [stdout] | ------------------------------------------------------------- required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 27 | #[test_case(send_message_request_test_case(); "of_send_message_request")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `WitStore` is not implemented for `SendMessageRequest>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `WitStore`: [INFO] [stdout] &'t T [INFO] [stdout] () [INFO] [stdout] (A, B) [INFO] [stdout] (A, B, C) [INFO] [stdout] (A, B, C, D) [INFO] [stdout] (A, B, C, D, E) [INFO] [stdout] (A, B, C, D, E, F) [INFO] [stdout] (A, B, C, D, E, F, G) [INFO] [stdout] and 71 others [INFO] [stdout] note: required by a bound in `test_wit_roundtrip` [INFO] [stdout] --> src/unit_tests.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 38 | fn test_wit_roundtrip(input: T) [INFO] [stdout] | ------------------ required by a bound in this function [INFO] [stdout] 39 | where [INFO] [stdout] 40 | T: Debug + Eq + WitLoad + WitStore, [INFO] [stdout] | ^^^^^^^^ required by this bound in `test_wit_roundtrip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_hash` found for struct `crypto::CryptoHash` in the current scope [INFO] [stdout] --> src/unit_tests.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | #[test_case(Owner(CryptoHash::test_hash("owner")); "of_owner")] [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `CryptoHash` [INFO] [stdout] | [INFO] [stdout] ::: src/crypto.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CryptoHash(HasherOutput); [INFO] [stdout] | --------------------- function or associated item `test_hash` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `crypto::CryptoHash`, consider using `crypto::CryptoHash::new` which returns `crypto::CryptoHash` [INFO] [stdout] --> src/crypto.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | pub fn new(value: &T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_hash` found for struct `crypto::CryptoHash` in the current scope [INFO] [stdout] --> src/unit_tests.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | #[test_case(ChainId(CryptoHash::test_hash("chain_id")); "of_chain_id")] [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `CryptoHash` [INFO] [stdout] | [INFO] [stdout] ::: src/crypto.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CryptoHash(HasherOutput); [INFO] [stdout] | --------------------- function or associated item `test_hash` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `crypto::CryptoHash`, consider using `crypto::CryptoHash::new` which returns `crypto::CryptoHash` [INFO] [stdout] --> src/crypto.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | pub fn new(value: &T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_hash` found for struct `crypto::CryptoHash` in the current scope [INFO] [stdout] --> src/unit_tests.rs:86:39 [INFO] [stdout] | [INFO] [stdout] 86 | owner: Some(Owner(CryptoHash::test_hash("account"))), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `CryptoHash` [INFO] [stdout] | [INFO] [stdout] ::: src/crypto.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CryptoHash(HasherOutput); [INFO] [stdout] | --------------------- function or associated item `test_hash` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `crypto::CryptoHash`, consider using `crypto::CryptoHash::new` which returns `crypto::CryptoHash` [INFO] [stdout] --> src/crypto.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | pub fn new(value: &T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_hash` found for struct `crypto::CryptoHash` in the current scope [INFO] [stdout] --> src/unit_tests.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | CryptoHash::test_hash("contract bytecode"), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `CryptoHash` [INFO] [stdout] | [INFO] [stdout] ::: src/crypto.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CryptoHash(HasherOutput); [INFO] [stdout] | --------------------- function or associated item `test_hash` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `crypto::CryptoHash`, consider using `crypto::CryptoHash::new` which returns `crypto::CryptoHash` [INFO] [stdout] --> src/crypto.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | pub fn new(value: &T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_hash` found for struct `crypto::CryptoHash` in the current scope [INFO] [stdout] --> src/unit_tests.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | CryptoHash::test_hash("service bytecode"), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `CryptoHash` [INFO] [stdout] | [INFO] [stdout] ::: src/crypto.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CryptoHash(HasherOutput); [INFO] [stdout] | --------------------- function or associated item `test_hash` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `crypto::CryptoHash`, consider using `crypto::CryptoHash::new` which returns `crypto::CryptoHash` [INFO] [stdout] --> src/crypto.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | pub fn new(value: &T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_hash` found for struct `crypto::CryptoHash` in the current scope [INFO] [stdout] --> src/unit_tests.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | CryptoHash::test_hash("another contract bytecode"), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `CryptoHash` [INFO] [stdout] | [INFO] [stdout] ::: src/crypto.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CryptoHash(HasherOutput); [INFO] [stdout] | --------------------- function or associated item `test_hash` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `crypto::CryptoHash`, consider using `crypto::CryptoHash::new` which returns `crypto::CryptoHash` [INFO] [stdout] --> src/crypto.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | pub fn new(value: &T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_hash` found for struct `crypto::CryptoHash` in the current scope [INFO] [stdout] --> src/unit_tests.rs:118:21 [INFO] [stdout] | [INFO] [stdout] 118 | CryptoHash::test_hash("another service bytecode"), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `CryptoHash` [INFO] [stdout] | [INFO] [stdout] ::: src/crypto.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CryptoHash(HasherOutput); [INFO] [stdout] | --------------------- function or associated item `test_hash` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `crypto::CryptoHash`, consider using `crypto::CryptoHash::new` which returns `crypto::CryptoHash` [INFO] [stdout] --> src/crypto.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | pub fn new(value: &T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_hash` found for struct `crypto::CryptoHash` in the current scope [INFO] [stdout] --> src/unit_tests.rs:139:35 [INFO] [stdout] | [INFO] [stdout] 139 | Owner(CryptoHash::test_hash(owner_name)), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `CryptoHash` [INFO] [stdout] | [INFO] [stdout] ::: src/crypto.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CryptoHash(HasherOutput); [INFO] [stdout] | --------------------- function or associated item `test_hash` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `crypto::CryptoHash`, consider using `crypto::CryptoHash::new` which returns `crypto::CryptoHash` [INFO] [stdout] --> src/crypto.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | pub fn new(value: &T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_key` found for struct `crypto::PublicKey` in the current scope [INFO] [stdout] --> src/unit_tests.rs:140:28 [INFO] [stdout] | [INFO] [stdout] 140 | PublicKey::test_key(index as u8), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `PublicKey` [INFO] [stdout] | [INFO] [stdout] ::: src/crypto.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct PublicKey(pub [u8; dalek::PUBLIC_KEY_LENGTH]); [INFO] [stdout] | -------------------- function or associated item `test_key` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_hash` found for struct `crypto::CryptoHash` in the current scope [INFO] [stdout] --> src/unit_tests.rs:150:35 [INFO] [stdout] | [INFO] [stdout] 150 | Owner(CryptoHash::test_hash(owner_name)), [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `CryptoHash` [INFO] [stdout] | [INFO] [stdout] ::: src/crypto.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct CryptoHash(HasherOutput); [INFO] [stdout] | --------------------- function or associated item `test_hash` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `crypto::CryptoHash`, consider using `crypto::CryptoHash::new` which returns `crypto::CryptoHash` [INFO] [stdout] --> src/crypto.rs:419:5 [INFO] [stdout] | [INFO] [stdout] 419 | pub fn new(value: &T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `test_key` found for struct `crypto::PublicKey` in the current scope [INFO] [stdout] --> src/unit_tests.rs:152:32 [INFO] [stdout] | [INFO] [stdout] 152 | PublicKey::test_key((index + super_owners.len()) as u8), [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `PublicKey` [INFO] [stdout] | [INFO] [stdout] ::: src/crypto.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct PublicKey(pub [u8; dalek::PUBLIC_KEY_LENGTH]); [INFO] [stdout] | -------------------- function or associated item `test_key` not found for this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `linera-base` (lib test) due to 21 previous errors [INFO] running `Command { std: "docker" "inspect" "5edf190bf5e51053f03a94dfa88a3b66c607012bba44a85e7b62d8494b09735f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5edf190bf5e51053f03a94dfa88a3b66c607012bba44a85e7b62d8494b09735f", kill_on_drop: false }` [INFO] [stdout] 5edf190bf5e51053f03a94dfa88a3b66c607012bba44a85e7b62d8494b09735f