[INFO] fetching crate noosphere-fs 0.5.3... [INFO] testing noosphere-fs-0.5.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate noosphere-fs 0.5.3 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate noosphere-fs 0.5.3 [INFO] finished tweaking crates.io crate noosphere-fs 0.5.3 [INFO] tweaked toml for crates.io crate noosphere-fs 0.5.3 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate noosphere-fs 0.5.3 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 363 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.0 (available: v0.13.1) [INFO] [stderr] Adding cid v0.9.0 (available: v0.11.1) [INFO] [stderr] Adding curve25519-dalek v3.2.0 (available: v3.2.1) [INFO] [stderr] Adding libipld-cbor v0.15.0 (available: v0.16.0) [INFO] [stderr] Adding libipld-core v0.15.0 (available: v0.16.0) [INFO] [stderr] Adding noosphere-core v0.6.3 (available: v0.18.1) [INFO] [stderr] Adding noosphere-storage v0.4.2 (available: v0.10.1) [INFO] [stderr] Adding proc-macro-crate v1.1.3 (available: v1.3.1) [INFO] [stderr] Adding ucan v0.1.2 (available: v0.4.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded npm_rs v1.0.0 [INFO] [stderr] Downloaded ucan-key-support v0.1.7 [INFO] [stderr] Downloaded libipld-core v0.15.0 [INFO] [stderr] Downloaded rexie v0.4.2 [INFO] [stderr] Downloaded noosphere-storage v0.4.2 [INFO] [stderr] Downloaded fvm_ipld_blockstore v0.1.2 [INFO] [stderr] Downloaded fvm_ipld_encoding v0.3.3 [INFO] [stderr] Downloaded fastcdc v1.0.8 [INFO] [stderr] Downloaded libipld-cbor v0.15.0 [INFO] [stderr] Downloaded fvm_ipld_amt v0.5.1 [INFO] [stderr] Downloaded async-once-cell v0.3.1 [INFO] [stderr] Downloaded noosphere-core v0.6.3 [INFO] [stderr] Downloaded noosphere-storage v0.5.0 [INFO] [stderr] Downloaded noosphere-collections v0.3.3 [INFO] [stderr] Downloaded cid v0.8.6 [INFO] [stderr] Downloaded serde_ipld_dagcbor v0.2.2 [INFO] [stderr] Downloaded ucan v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40ffa9b12a9adc4bd7cd28f4cbab453d10859f765849fc5e9c9cc0bbf3f059c7 [INFO] running `Command { std: "docker" "start" "-a" "40ffa9b12a9adc4bd7cd28f4cbab453d10859f765849fc5e9c9cc0bbf3f059c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40ffa9b12a9adc4bd7cd28f4cbab453d10859f765849fc5e9c9cc0bbf3f059c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40ffa9b12a9adc4bd7cd28f4cbab453d10859f765849fc5e9c9cc0bbf3f059c7", kill_on_drop: false }` [INFO] [stdout] 40ffa9b12a9adc4bd7cd28f4cbab453d10859f765849fc5e9c9cc0bbf3f059c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 311844f42de74fb0f0617d24744e1de0e52f13b2e22b59e8527ec6d96a4cfbc7 [INFO] running `Command { std: "docker" "start" "-a" "311844f42de74fb0f0617d24744e1de0e52f13b2e22b59e8527ec6d96a4cfbc7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling blake2b_simd v1.0.3 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling blake2s_simd v1.0.3 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling async-once-cell v0.3.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling fastcdc v1.0.8 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling serde_tuple_macros v0.5.0 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stderr] Compiling polling v3.10.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling data-encoding-macro v0.1.18 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.0 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling multihash-derive v0.8.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling multihash v0.17.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling tiny-bip39 v1.0.0 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [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 primeorder v0.13.6 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [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 serde-big-array v0.3.3 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling cid v0.9.0 [INFO] [stderr] Compiling cbor4ii v0.2.14 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling cs_serde_bytes v0.12.2 [INFO] [stderr] Compiling serde_tuple v0.5.0 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ed25519-zebra v3.1.0 [INFO] [stderr] Compiling multihash v0.18.1 [INFO] [stderr] Compiling multihash v0.16.3 [INFO] [stderr] Compiling libipld-core v0.15.0 [INFO] [stderr] Compiling forest_hash_utils v0.1.0 [INFO] [stderr] Compiling cid v0.8.6 [INFO] [stderr] Compiling libipld-cbor v0.15.0 [INFO] [stderr] Compiling fvm_ipld_blockstore v0.1.2 [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 cid v0.10.1 [INFO] [stderr] Compiling serde_ipld_dagcbor v0.2.2 [INFO] [stderr] Compiling libipld-core v0.16.0 [INFO] [stderr] Compiling fvm_ipld_encoding v0.3.3 [INFO] [stderr] Compiling fvm_ipld_amt v0.5.1 [INFO] [stderr] Compiling libipld-json v0.16.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling ucan v0.1.2 [INFO] [stderr] Compiling ucan v0.4.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling crdts v7.3.2 [INFO] [stderr] Compiling ucan-key-support v0.1.7 [INFO] [stderr] Compiling noosphere-storage v0.5.0 [INFO] [stdout] error[E0432]: unresolved import `libipld_core::serde` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noosphere-storage-0.5.0/src/block.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | serde::{from_ipld, to_ipld}, [INFO] [stdout] | ^^^^^ could not find `serde` in `libipld_core` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libipld-core-0.15.0/src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature = "serde-codec")] [INFO] [stdout] | ----------------------- the item is gated behind the `serde-codec` feature [INFO] [stdout] 16 | pub mod serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libipld_core::serde` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noosphere-storage-0.5.0/src/encoding.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | serde::{from_ipld, to_ipld}, [INFO] [stdout] | ^^^^^ could not find `serde` in `libipld_core` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libipld-core-0.15.0/src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature = "serde-codec")] [INFO] [stdout] | ----------------------- the item is gated behind the `serde-codec` feature [INFO] [stdout] 16 | pub mod serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `libipld_core::serde` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noosphere-storage-0.5.0/src/store.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | serde::{from_ipld, to_ipld}, [INFO] [stdout] | ^^^^^ could not find `serde` in `libipld_core` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libipld-core-0.15.0/src/lib.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg(feature = "serde-codec")] [INFO] [stdout] | ----------------------- the item is gated behind the `serde-codec` feature [INFO] [stdout] 16 | pub mod serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `read` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noosphere-storage-0.5.0/src/db.rs:279:52 [INFO] [stdout] | [INFO] [stdout] 279 | async fn read>(&self, cid: &Cid) -> Result> { [INFO] [stdout] | ^^^^ expected `cid::cid::Cid<64>`, found `CidGeneric<64>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 SphereDb<_>, &'life1 cid::cid::Cid<64>) -> Pin<_>` [INFO] [stdout] found signature `fn(&'life0 SphereDb<_>, &'life1 CidGeneric<64>) -> Pin<_>` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 279 - async fn read>(&self, cid: &Cid) -> Result> { [INFO] [stdout] 279 + async fn read>(&self, cid: &'life1 cid::cid::Cid<64>) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `write` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noosphere-storage-0.5.0/src/db.rs:273:41 [INFO] [stdout] | [INFO] [stdout] 273 | #[cfg_attr(not(target_arch = "wasm32"), async_trait)] [INFO] [stdout] | ^^^^^^^^^^^ expected `cid::cid::Cid<64>`, found `CidGeneric<64>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 mut SphereDb<_>, _) -> Pin, anyhow::Error>> + std::marker::Send + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 mut SphereDb<_>, _) -> Pin, anyhow::Error>> + std::marker::Send + 'async_trait)>>` [INFO] [stdout] = note: this error originates in the attribute macro `async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 273 - #[cfg_attr(not(target_arch = "wasm32"), async_trait)] [INFO] [stdout] 273 + #[cfg_attr(not(target_arch = "wasm32"), Pin, anyhow::Error>> + std::marker::Send + 'async_trait)>>)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `read` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noosphere-storage-0.5.0/src/ucan.rs:18:52 [INFO] [stdout] | [INFO] [stdout] 18 | async fn read>(&self, cid: &Cid) -> Result> { [INFO] [stdout] | ^^^^ expected `cid::cid::Cid<64>`, found `CidGeneric<64>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 ucan::UcanStore<_>, &'life1 cid::cid::Cid<64>) -> Pin<_>` [INFO] [stdout] found signature `fn(&'life0 ucan::UcanStore<_>, &'life1 CidGeneric<64>) -> Pin<_>` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 18 - async fn read>(&self, cid: &Cid) -> Result> { [INFO] [stdout] 18 + async fn read>(&self, cid: &'life1 cid::cid::Cid<64>) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `write` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noosphere-storage-0.5.0/src/ucan.rs:15:41 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg_attr(not(target_arch = "wasm32"), async_trait)] [INFO] [stdout] | ^^^^^^^^^^^ expected `cid::cid::Cid<64>`, found `CidGeneric<64>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'life0 mut ucan::UcanStore<_>, _) -> Pin, anyhow::Error>> + std::marker::Send + 'async_trait)>>` [INFO] [stdout] found signature `fn(&'life0 mut ucan::UcanStore<_>, _) -> Pin, anyhow::Error>> + std::marker::Send + 'async_trait)>>` [INFO] [stdout] = note: this error originates in the attribute macro `async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 15 - #[cfg_attr(not(target_arch = "wasm32"), async_trait)] [INFO] [stdout] 15 + #[cfg_attr(not(target_arch = "wasm32"), Pin, anyhow::Error>> + std::marker::Send + 'async_trait)>>)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `RawCodec: libipld_core::codec::Codec` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noosphere-storage-0.5.0/src/ucan.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | impl UcanStoreTrait for UcanStore { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `libipld_core::codec::Codec` is not implemented for `RawCodec` [INFO] [stdout] | [INFO] [stdout] note: there are multiple different versions of crate `libipld_core` in the dependency graph [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noosphere-storage-0.5.0/src/db.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use ucan::store::{UcanStore, UcanStoreConditionalSend}; [INFO] [stdout] | ---- one version of crate `libipld_core` used here, as a dependency of crate `ucan` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noosphere-storage-0.5.0/src/block.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use libipld_core::{ [INFO] [stdout] | ------------ one version of crate `libipld_core` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libipld-core-0.15.0/src/raw.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct RawCodec; [INFO] [stdout] | ------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libipld-core-0.16.0/src/raw.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct RawCodec; [INFO] [stdout] | ------------------- this type implements the required trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libipld-core-0.16.0/src/codec.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 12 | Copy + Unpin + Send + Sync + 'static + Sized + TryFrom + Into [INFO] [stdout] | ^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libipld-core-0.15.0/src/codec.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / pub trait Codec: [INFO] [stdout] 12 | | Copy + Unpin + Send + Sync + 'static + Sized + TryFrom + Into [INFO] [stdout] | |_____________________________________________________________________________________________________- this is the found trait [INFO] [stdout] = note: two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `ucan::store::UcanStore` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ucan-0.1.2/src/store.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | pub trait UcanStore: UcanStoreConditionalSendSync { [INFO] [stdout] | ^^^^^ required by this bound in `UcanStore` [INFO] [stdout] = note: `UcanStore` is a "sealed trait", because to implement it you also need to implement `libipld_core::codec::Codec`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it [INFO] [stdout] = help: the following types implement the trait: [INFO] [stdout] libipld_core::raw::RawCodec [INFO] [stdout] libipld_json::DagJsonCodec [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CidGeneric<64>: serde::Serialize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noosphere-storage-0.5.0/src/db.rs:95:44 [INFO] [stdout] | [INFO] [stdout] 95 | .set_key(identity.to_string(), version) [INFO] [stdout] | ------- ^^^^^^^ the trait `serde::Serialize` is not implemented for `CidGeneric<64>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `CidGeneric<64>` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 148 others [INFO] [stdout] = note: required for `&CidGeneric<64>` to implement `serde::Serialize` [INFO] [stdout] note: required by a bound in `key_value::KeyValueStore::set_key` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noosphere-storage-0.5.0/src/key_value.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 38 | async fn set_key(&mut self, key: K, value: V) -> Result<()> [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 41 | V: Serialize + KeyValueStoreSend; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `KeyValueStore::set_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CidGeneric<64>: DeserializeOwned` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noosphere-storage-0.5.0/src/db.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 101 | self.version_store.get_key(identity).await [INFO] [stdout] | ^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `CidGeneric<64>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_bytes::bytearray::ByteArray [INFO] [stdout] &'a serde_bytes::bytes::Bytes [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] and 160 others [INFO] [stdout] = note: required for `CidGeneric<64>` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `key_value::KeyValueStore::get_key` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noosphere-storage-0.5.0/src/key_value.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 45 | async fn get_key(&self, key: K) -> Result> [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 48 | V: DeserializeOwned + KeyValueStoreSend; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `KeyValueStore::get_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CidGeneric<64>: DeserializeOwned` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noosphere-storage-0.5.0/src/db.rs:133:14 [INFO] [stdout] | [INFO] [stdout] 133 | .get_key(identity) [INFO] [stdout] | ^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `CidGeneric<64>` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_bytes::bytearray::ByteArray [INFO] [stdout] &'a serde_bytes::bytes::Bytes [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] and 160 others [INFO] [stdout] = note: required for `CidGeneric<64>` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `key_value::KeyValueStore::get_key` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noosphere-storage-0.5.0/src/key_value.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 45 | async fn get_key(&self, key: K) -> Result> [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 48 | V: DeserializeOwned + KeyValueStoreSend; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `KeyValueStore::get_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CidGeneric<64>: Deserialize<'_>` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noosphere-storage-0.5.0/src/db.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | self.link_store.get_key(&cid.to_string()).await [INFO] [stdout] | ^^^^^^^ the trait `Deserialize<'_>` is not implemented for `CidGeneric<64>` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `CidGeneric<64>` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_bytes::bytearray::ByteArray [INFO] [stdout] &'a serde_bytes::bytes::Bytes [INFO] [stdout] &'a std::path::Path [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] and 160 others [INFO] [stdout] = note: required for `Vec>` to implement `for<'de> Deserialize<'de>` [INFO] [stdout] = note: required for `Vec>` to implement `DeserializeOwned` [INFO] [stdout] note: required by a bound in `key_value::KeyValueStore::get_key` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noosphere-storage-0.5.0/src/key_value.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 45 | async fn get_key(&self, key: K) -> Result> [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 48 | V: DeserializeOwned + KeyValueStoreSend; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `KeyValueStore::get_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CidGeneric<64>: serde::Serialize` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noosphere-storage-0.5.0/src/db.rs:229:51 [INFO] [stdout] | [INFO] [stdout] 229 | self.link_store.set_key(&cid.to_string(), links).await?; [INFO] [stdout] | ------- ^^^^^ the trait `serde::Serialize` is not implemented for `CidGeneric<64>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `CidGeneric<64>` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `serde::Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 148 others [INFO] [stdout] = note: required for `Vec>` to implement `serde::Serialize` [INFO] [stdout] note: required by a bound in `key_value::KeyValueStore::set_key` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/noosphere-storage-0.5.0/src/key_value.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 38 | async fn set_key(&mut self, key: K, value: V) -> Result<()> [INFO] [stdout] | ------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 41 | V: Serialize + KeyValueStoreSend; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `KeyValueStore::set_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `noosphere-storage` (lib) due to 13 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "311844f42de74fb0f0617d24744e1de0e52f13b2e22b59e8527ec6d96a4cfbc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "311844f42de74fb0f0617d24744e1de0e52f13b2e22b59e8527ec6d96a4cfbc7", kill_on_drop: false }` [INFO] [stdout] 311844f42de74fb0f0617d24744e1de0e52f13b2e22b59e8527ec6d96a4cfbc7