[INFO] fetching crate kotoba-deploy 0.1.16... [INFO] testing kotoba-deploy-0.1.16 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate kotoba-deploy 0.1.16 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate kotoba-deploy 0.1.16 [INFO] finished tweaking crates.io crate kotoba-deploy 0.1.16 [INFO] tweaked toml for crates.io crate kotoba-deploy 0.1.16 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kotoba-deploy 0.1.16 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kotoba-deploy 0.1.16 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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03a2fbdca744ec7c2159992a49cc9ce10d2f4f1cde386c0123e3759c6aa81d0a [INFO] running `Command { std: "docker" "start" "-a" "03a2fbdca744ec7c2159992a49cc9ce10d2f4f1cde386c0123e3759c6aa81d0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03a2fbdca744ec7c2159992a49cc9ce10d2f4f1cde386c0123e3759c6aa81d0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03a2fbdca744ec7c2159992a49cc9ce10d2f4f1cde386c0123e3759c6aa81d0a", kill_on_drop: false }` [INFO] [stdout] 03a2fbdca744ec7c2159992a49cc9ce10d2f4f1cde386c0123e3759c6aa81d0a [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcadde23bfd436a1a47e8c469c1adf3cc61cbfa2a7b3537ceb9cff803a49576d [INFO] running `Command { std: "docker" "start" "-a" "dcadde23bfd436a1a47e8c469c1adf3cc61cbfa2a7b3537ceb9cff803a49576d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling cc v1.2.37 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling indexmap v2.11.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling num-cmp v0.1.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling time v0.3.43 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling fancy-regex v0.11.0 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling fraction v0.13.1 [INFO] [stderr] Compiling iso8601 v0.6.3 [INFO] [stderr] Compiling synstructure v0.13.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 displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling kotoba-errors v0.1.1 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-retry v0.3.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling redis v0.23.3 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling jsonschema v0.17.1 [INFO] [stderr] Compiling kotoba-core v0.1.19 [INFO] [stderr] Compiling kotoba-graph v0.1.17 [INFO] [stderr] Compiling kotoba-cid v0.1.16 [INFO] [stderr] Compiling kotoba-storage v0.1.16 [INFO] [stdout] error[E0432]: unresolved imports `crate::lsm`, `crate::merkle`, `crate::mvcc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kotoba-storage-0.1.16/src/storage/persistent.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::{lsm::*, merkle::*, mvcc::*}; [INFO] [stdout] | ^^^ ^^^^^^ ^^^^ unresolved import [INFO] [stdout] | | | [INFO] [stdout] | | unresolved import [INFO] [stdout] | unresolved import [INFO] [stdout] | [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 14 | use crate::{storage::lsm::*, merkle::*, mvcc::*}; [INFO] [stdout] | +++++++++ [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 14 | use crate::{lsm::*, storage::merkle::*, mvcc::*}; [INFO] [stdout] | +++++++++ [INFO] [stdout] help: a similar path exists [INFO] [stdout] | [INFO] [stdout] 14 | use crate::{lsm::*, merkle::*, storage::mvcc::*}; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rocksdb` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kotoba-storage-0.1.16/src/storage/lsm.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rocksdb::{DB, Options, WriteBatch, IteratorMode}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `rocksdb` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `rocksdb`, use `cargo add rocksdb` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::storage::backend` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kotoba-storage-0.1.16/src/lib.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | pub use crate::storage::backend::{StorageBackend, BackendStats, StorageManager, StorageConfig, BackendType}; [INFO] [stdout] | ^^^^^^^ could not find `backend` in `storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kotoba-storage-0.1.16/src/storage/object.rs:250:50 [INFO] [stdout] | [INFO] [stdout] 250 | pub async fn new(_config: &StorageConfig) -> Result { [INFO] [stdout] | ^^^^^^ ---- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 250 | pub async fn new(_config: &StorageConfig) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `replicate_data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kotoba-storage-0.1.16/src/storage/persistent.rs:711:5 [INFO] [stdout] | [INFO] [stdout] 528 | pub async fn replicate_data(&self, cid: &Cid, data: &[u8], replication_factor: usize) -> Result<()> { [INFO] [stdout] | --------------------------------------------------------------------------------------------------- other definition for `replicate_data` [INFO] [stdout] ... [INFO] [stdout] 711 | pub async fn replicate_data(&self, cid: &Cid, data: &[u8], replication_factor: usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `replicate_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `kotoba_core::types::ContentHash: std::cmp::Ord` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kotoba-storage-0.1.16/src/storage/merkle.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 133 | leaves.sort_by_key(|node| &node.hash); [INFO] [stdout] | ^^^^^^^^^^^ the trait `std::cmp::Ord` is not implemented for `kotoba_core::types::ContentHash` [INFO] [stdout] | [INFO] [stdout] = note: required for `&kotoba_core::types::ContentHash` to implement `std::cmp::Ord` [INFO] [stdout] note: required by a bound in `slice::::sort_by_key` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/alloc/src/slice.rs:245:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `Vec<&merkle::MerkleNode>` cannot be built from an iterator over elements of type `merkle::MerkleNode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kotoba-storage-0.1.16/src/storage/merkle.rs:157:18 [INFO] [stdout] | [INFO] [stdout] 157 | .collect(); [INFO] [stdout] | ^^^^^^^ value of type `Vec<&merkle::MerkleNode>` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator` is not implemented for `Vec<&merkle::MerkleNode>` [INFO] [stdout] but trait `FromIterator<&merkle::MerkleNode>` is implemented for it [INFO] [stdout] = help: for that trait implementation, expected `&merkle::MerkleNode`, found `merkle::MerkleNode` [INFO] [stdout] note: the method call chain might not have had the expected associated types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kotoba-storage-0.1.16/src/storage/merkle.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 137 | let mut new_level = Vec::new(); [INFO] [stdout] | ---------- this expression has type `Vec` [INFO] [stdout] ... [INFO] [stdout] 150 | leaves = new_level.into_iter() [INFO] [stdout] | ----------- `Iterator::Item` is `ContentHash` here [INFO] [stdout] 151 | .map(|hash| MerkleNode { [INFO] [stdout] | __________________^ [INFO] [stdout] 152 | | hash: hash.clone(), [INFO] [stdout] 153 | | data: Vec::new(), [INFO] [stdout] 154 | | children: Vec::new(), [INFO] [stdout] 155 | | timestamp: 0, [INFO] [stdout] 156 | | }) [INFO] [stdout] | |__________________^ `Iterator::Item` changed to `MerkleNode` here [INFO] [stdout] note: required by a bound in `collect` [INFO] [stdout] --> /rustc/b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b/library/core/src/iter/traits/iterator.rs:2014:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `compute_node_cid` found for struct `parking_lot::lock_api::RwLockWriteGuard<'_, parking_lot::RawRwLock, kotoba_cid::CidManager>` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kotoba-storage-0.1.16/src/storage/persistent.rs:123:42 [INFO] [stdout] | [INFO] [stdout] 123 | let vertex_cid = cid_manager.compute_node_cid(vertex)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `compute_rule_cid` with a similar name [INFO] [stdout] | [INFO] [stdout] 123 - let vertex_cid = cid_manager.compute_node_cid(vertex)?; [INFO] [stdout] 123 + let vertex_cid = cid_manager.compute_rule_cid(vertex)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `compute_edge_cid` found for struct `parking_lot::lock_api::RwLockWriteGuard<'_, parking_lot::RawRwLock, kotoba_cid::CidManager>` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kotoba-storage-0.1.16/src/storage/persistent.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 135 | let edge_cid = cid_manager.compute_edge_cid(edge)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `compute_rule_cid` with a similar name [INFO] [stdout] | [INFO] [stdout] 135 - let edge_cid = cid_manager.compute_edge_cid(edge)?; [INFO] [stdout] 135 + let edge_cid = cid_manager.compute_rule_cid(edge)?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `KotobaError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kotoba-storage-0.1.16/src/storage/persistent.rs:175:85 [INFO] [stdout] | [INFO] [stdout] 175 | let persisted_graph: PersistedGraph = serde_json::from_slice(&metadata_data)?; [INFO] [stdout] | --------------------------------------^ the trait `From` is not implemented for `KotobaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, serde_json::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `KotobaError` implements `From` [INFO] [stdout] `KotobaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `KotobaError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kotoba-storage-0.1.16/src/storage/persistent.rs:186:74 [INFO] [stdout] | [INFO] [stdout] 186 | let vertex: VertexData = serde_json::from_slice(&vertex_data)?; [INFO] [stdout] | ------------------------------------^ the trait `From` is not implemented for `KotobaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, serde_json::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `KotobaError` implements `From` [INFO] [stdout] `KotobaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `KotobaError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kotoba-storage-0.1.16/src/storage/persistent.rs:199:68 [INFO] [stdout] | [INFO] [stdout] 199 | let edge: EdgeData = serde_json::from_slice(&edge_data)?; [INFO] [stdout] | ----------------------------------^ the trait `From` is not implemented for `KotobaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, serde_json::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `KotobaError` implements `From` [INFO] [stdout] `KotobaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `CoreWrapper` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kotoba-storage-0.1.16/src/storage/persistent.rs:247:40 [INFO] [stdout] | [INFO] [stdout] 247 | let mut hasher = sha2::Sha256::new(); [INFO] [stdout] | ^^^ function or associated item not found in `CoreWrapper, ...>>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `CoreWrapper, B0>, B0>, B0>, B0>, B0>, OidSha256>>`, consider using `CoreWrapper::::from_core` which returns `CoreWrapper<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/digest-0.10.7/src/core_api/wrapper.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn from_core(core: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/kotoba_storage-f19311d328b156fb.long-type-601562841960297680.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: trait `Digest` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 6 + use sha2::Digest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `CoreWrapper` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kotoba-storage-0.1.16/src/storage/persistent.rs:264:44 [INFO] [stdout] | [INFO] [stdout] 264 | let mut hasher = sha2::Sha256::new(); [INFO] [stdout] | ^^^ function or associated item not found in `CoreWrapper, ...>>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `CoreWrapper, B0>, B0>, B0>, B0>, B0>, OidSha256>>`, consider using `CoreWrapper::::from_core` which returns `CoreWrapper<_>` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/digest-0.10.7/src/core_api/wrapper.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn from_core(core: T) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/kotoba_storage-f19311d328b156fb.long-type-601562841960297680.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] help: trait `Digest` which provides `new` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 6 + use sha2::Digest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `KotobaError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kotoba-storage-0.1.16/src/storage/persistent.rs:295:64 [INFO] [stdout] | [INFO] [stdout] 295 | let merkle_data = serde_json::to_vec(&merkle_dag.nodes)?; [INFO] [stdout] | -------------------------------------^ the trait `From` is not implemented for `KotobaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, serde_json::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `KotobaError` implements `From` [INFO] [stdout] `KotobaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `KotobaError` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/kotoba-storage-0.1.16/src/storage/persistent.rs:311:95 [INFO] [stdout] | [INFO] [stdout] 311 | let nodes: HashMap = serde_json::from_slice(&merkle_data)?; [INFO] [stdout] | ------------------------------------^ the trait `From` is not implemented for `KotobaError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, serde_json::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `KotobaError` implements `From` [INFO] [stdout] `KotobaError` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0277, E0432, E0592, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kotoba-storage` (lib) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "dcadde23bfd436a1a47e8c469c1adf3cc61cbfa2a7b3537ceb9cff803a49576d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcadde23bfd436a1a47e8c469c1adf3cc61cbfa2a7b3537ceb9cff803a49576d", kill_on_drop: false }` [INFO] [stdout] dcadde23bfd436a1a47e8c469c1adf3cc61cbfa2a7b3537ceb9cff803a49576d