[INFO] fetching crate dbs-virtio-devices 0.3.1... [INFO] testing dbs-virtio-devices-0.3.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate dbs-virtio-devices 0.3.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate dbs-virtio-devices 0.3.1 [INFO] finished tweaking crates.io crate dbs-virtio-devices 0.3.1 [INFO] tweaked toml for crates.io crate dbs-virtio-devices 0.3.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dbs-virtio-devices 0.3.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 246 packages to latest compatible versions [INFO] [stderr] Adding fuse-backend-rs v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding io-uring v0.5.13 (available: v0.7.10) [INFO] [stderr] Adding kvm-bindings v0.6.0 (available: v0.14.0) [INFO] [stderr] Adding kvm-ioctls v0.12.0 (available: v0.24.0) [INFO] [stderr] Adding nix v0.24.3 (available: v0.30.1) [INFO] [stderr] Adding nydus-api v0.2.2 (available: v0.4.0) [INFO] [stderr] Adding nydus-rafs v0.2.0 (available: v0.2.2) [INFO] [stderr] Adding rlimit v0.7.0 (available: v0.10.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding virtio-bindings v0.1.0 (available: v0.2.6) [INFO] [stderr] Adding virtio-queue v0.6.1 (available: v0.16.0) [INFO] [stderr] Adding vm-memory v0.9.0 (available: v0.16.2) [INFO] [stderr] Adding vmm-sys-util v0.11.2 (available: v0.15.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c40cf2285bf14bdcbe92bc054f2fc31155110820913063124276958847376957 [INFO] running `Command { std: "docker" "start" "-a" "c40cf2285bf14bdcbe92bc054f2fc31155110820913063124276958847376957", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c40cf2285bf14bdcbe92bc054f2fc31155110820913063124276958847376957", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c40cf2285bf14bdcbe92bc054f2fc31155110820913063124276958847376957", kill_on_drop: false }` [INFO] [stdout] c40cf2285bf14bdcbe92bc054f2fc31155110820913063124276958847376957 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f9d00081a933f0e3b2094bd8679d236d5b975fe849d9bb5bddaa1911a0fd9c6 [INFO] running `Command { std: "docker" "start" "-a" "7f9d00081a933f0e3b2094bd8679d236d5b975fe849d9bb5bddaa1911a0fd9c6", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling vmm-sys-util v0.11.2 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling vm-memory v0.9.0 [INFO] [stderr] Compiling fuse-backend-rs v0.10.5 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling vm-memory v0.10.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Compiling kvm-ioctls v0.12.0 [INFO] [stderr] Compiling kvm-bindings v0.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling vmm-sys-util v0.15.0 [INFO] [stderr] Compiling spmc v0.3.0 [INFO] [stderr] Compiling io-uring v0.5.13 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling vmm-sys-util v0.10.0 [INFO] [stderr] Compiling virtio-bindings v0.1.0 [INFO] [stderr] Compiling epoll v4.4.0 [INFO] [stderr] Compiling rlimit v0.7.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling event-manager v0.2.1 [INFO] [stderr] Compiling virtio-queue v0.6.1 [INFO] [stderr] Compiling openssl-src v300.5.2+3.5.2 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling xattr v1.5.1 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling lz4-sys v1.11.1+lz4-1.10.0 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling timerfd v1.6.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling caps v0.5.5 [INFO] [stderr] Compiling dbs-device v0.2.0 [INFO] [stderr] Compiling dbs-arch v0.2.3 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling dbs-interrupt v0.2.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling dbs-utils v0.2.1 [INFO] [stderr] Compiling nydus-api v0.3.1 [INFO] [stderr] Compiling nydus-error v0.2.3 [INFO] [stderr] Compiling nydus-api v0.2.2 [INFO] [stderr] Compiling lz4 v1.28.1 [INFO] [stderr] Compiling nydus-utils v0.4.3 [INFO] [stderr] Compiling nydus-storage v0.6.4 [INFO] [stderr] Compiling nydus-rafs v0.2.0 [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `is_encrypted` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-rafs-0.2.0/src/metadata/md_v5.rs:231:1 [INFO] [stdout] | [INFO] [stdout] 231 | impl BlobChunkInfo for V5IoChunk { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `is_encrypted` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn is_encrypted(&self) -> bool { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `is_encrypted` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-rafs-0.2.0/src/metadata/cached_v5.rs:722:1 [INFO] [stdout] | [INFO] [stdout] 722 | impl BlobChunkInfo for CachedChunkInfoV5 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `is_encrypted` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn is_encrypted(&self) -> bool { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `is_encrypted` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-rafs-0.2.0/src/metadata/direct_v5.rs:830:1 [INFO] [stdout] | [INFO] [stdout] 830 | impl BlobChunkInfo for DirectChunkInfoV5 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `is_encrypted` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn is_encrypted(&self) -> bool { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `is_encrypted` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-rafs-0.2.0/src/metadata/direct_v6.rs:1245:1 [INFO] [stdout] | [INFO] [stdout] 1245 | impl BlobChunkInfo for DirectChunkInfoV6 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `is_encrypted` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn is_encrypted(&self) -> bool { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-rafs-0.2.0/src/fs.rs:90:38 [INFO] [stdout] | [INFO] [stdout] 90 | let device = BlobDevice::new(cfg, &blob_infos).map_err(RafsError::CreateDevice)?; [INFO] [stdout] | --------------- ^^^ expected `nydus_api::config::ConfigV2`, found `ConfigV2` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `nydus_api` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-api-0.2.2/src/config.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ConfigV2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the found type `ConfigV2` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-api-0.3.1/src/config.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ConfigV2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the expected type `nydus_api::config::ConfigV2` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-rafs-0.2.0/src/lib.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | extern crate nydus_storage as storage; [INFO] [stdout] | -------------------------------------- one version of crate `nydus_api` used here, as a dependency of crate `nydus_storage` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-rafs-0.2.0/src/fs.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use nydus_api::ConfigV2; [INFO] [stdout] | --------- one version of crate `nydus_api` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-storage-0.6.4/src/device.rs:1081:12 [INFO] [stdout] | [INFO] [stdout] 1081 | pub fn new(config: &Arc, blob_infos: &[Arc]) -> io::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-rafs-0.2.0/src/fs.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 160 | .update(conf, &blob_infos, self.fs_prefetch) [INFO] [stdout] | ------ ^^^^ expected `nydus_api::config::ConfigV2`, found `ConfigV2` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `nydus_api` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-api-0.2.2/src/config.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ConfigV2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the found type `ConfigV2` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-api-0.3.1/src/config.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ConfigV2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the expected type `nydus_api::config::ConfigV2` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-rafs-0.2.0/src/lib.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | extern crate nydus_storage as storage; [INFO] [stdout] | -------------------------------------- one version of crate `nydus_api` used here, as a dependency of crate `nydus_storage` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-rafs-0.2.0/src/fs.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use nydus_api::ConfigV2; [INFO] [stdout] | --------- one version of crate `nydus_api` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-storage-0.6.4/src/device.rs:1098:12 [INFO] [stdout] | [INFO] [stdout] 1098 | pub fn update( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-rafs-0.2.0/src/fs.rs:661:28 [INFO] [stdout] | [INFO] [stdout] 661 | if r as u32 != desc.size() { [INFO] [stdout] | ^^^^^^^^^^^ expected `u32`, found `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `u32` with `u64` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-rafs-0.2.0/src/fs.rs:661:25 [INFO] [stdout] | [INFO] [stdout] 661 | if r as u32 != desc.size() { [INFO] [stdout] | ^^ no implementation for `u32 == u64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq` is not implemented for `u32` [INFO] [stdout] = help: the following other types implement trait `PartialEq`: [INFO] [stdout] `u32` implements `PartialEq` [INFO] [stdout] `u32` implements `PartialEq` [INFO] [stdout] `u32` implements `PartialEq` [INFO] [stdout] `u32` implements `PartialEq` [INFO] [stdout] `u32` implements `PartialEq` [INFO] [stdout] `u32` implements `PartialEq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-rafs-0.2.0/src/metadata/mod.rs:675:71 [INFO] [stdout] | [INFO] [stdout] 675 | let new_path = match TocEntryList::extract_rafs_meta(&id, config.clone()) { [INFO] [stdout] | ------------------------------- ^^^^^^^^^^^^^^ expected `nydus_api::config::ConfigV2`, found `ConfigV2` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `nydus_api` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-api-0.2.2/src/config.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ConfigV2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the found type `ConfigV2` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-api-0.3.1/src/config.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ConfigV2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the expected type `nydus_api::config::ConfigV2` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-rafs-0.2.0/src/lib.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | extern crate nydus_storage as storage; [INFO] [stdout] | -------------------------------------- one version of crate `nydus_api` used here, as a dependency of crate `nydus_storage` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-rafs-0.2.0/src/fs.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use nydus_api::ConfigV2; [INFO] [stdout] | --------- one version of crate `nydus_api` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-storage-0.6.4/src/meta/toc.rs:616:12 [INFO] [stdout] | [INFO] [stdout] 616 | pub fn extract_rafs_meta(id: &str, config: Arc) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-rafs-0.2.0/src/metadata/mod.rs:755:38 [INFO] [stdout] | [INFO] [stdout] 755 | let device = BlobDevice::new(&config, &blobs)?; [INFO] [stdout] | --------------- ^^^^^^^ expected `nydus_api::config::ConfigV2`, found `ConfigV2` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `nydus_api` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-api-0.2.2/src/config.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ConfigV2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the found type `ConfigV2` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-api-0.3.1/src/config.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct ConfigV2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this is the expected type `nydus_api::config::ConfigV2` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-rafs-0.2.0/src/lib.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | extern crate nydus_storage as storage; [INFO] [stdout] | -------------------------------------- one version of crate `nydus_api` used here, as a dependency of crate `nydus_storage` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-rafs-0.2.0/src/fs.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use nydus_api::ConfigV2; [INFO] [stdout] | --------- one version of crate `nydus_api` used here, as a direct dependency of the current crate [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nydus-storage-0.6.4/src/device.rs:1081:12 [INFO] [stdout] | [INFO] [stdout] 1081 | pub fn new(config: &Arc, blob_infos: &[Arc]) -> io::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nydus-rafs` (lib) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "7f9d00081a933f0e3b2094bd8679d236d5b975fe849d9bb5bddaa1911a0fd9c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f9d00081a933f0e3b2094bd8679d236d5b975fe849d9bb5bddaa1911a0fd9c6", kill_on_drop: false }` [INFO] [stdout] 7f9d00081a933f0e3b2094bd8679d236d5b975fe849d9bb5bddaa1911a0fd9c6