[INFO] fetching crate nydus-blobfs 0.2.0... [INFO] checking nydus-blobfs-0.2.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate nydus-blobfs 0.2.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate nydus-blobfs 0.2.0 [INFO] finished tweaking crates.io crate nydus-blobfs 0.2.0 [INFO] tweaked toml for crates.io crate nydus-blobfs 0.2.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate nydus-blobfs 0.2.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 243 packages to latest compatible versions [INFO] [stderr] Adding fuse-backend-rs v0.10.5 (available: v0.12.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 nydus-storage v0.6.4 (available: v0.7.0) [INFO] [stderr] Adding vm-memory v0.9.0 (available: v0.16.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b792573172c477ed7e3b2e58ed69451e3f02a53f380e87f06c476a846564d41 [INFO] running `Command { std: "docker" "start" "-a" "7b792573172c477ed7e3b2e58ed69451e3f02a53f380e87f06c476a846564d41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b792573172c477ed7e3b2e58ed69451e3f02a53f380e87f06c476a846564d41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b792573172c477ed7e3b2e58ed69451e3f02a53f380e87f06c476a846564d41", kill_on_drop: false }` [INFO] [stdout] 7b792573172c477ed7e3b2e58ed69451e3f02a53f380e87f06c476a846564d41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02b4eb6193ecfc1479d31396d3b149a2111bb0b9efaca4c1818716ed4488da8d [INFO] running `Command { std: "docker" "start" "-a" "02b4eb6193ecfc1479d31396d3b149a2111bb0b9efaca4c1818716ed4488da8d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking constant_time_eq v0.3.1 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking arrayref v0.3.9 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling fuse-backend-rs v0.10.5 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking spmc v0.3.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling openssl-src v300.5.2+3.5.2 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking filetime v0.2.26 [INFO] [stderr] Checking vm-memory v0.10.0 [INFO] [stderr] Checking vmm-sys-util v0.11.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking vm-memory v0.9.0 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling lz4-sys v1.11.1+lz4-1.10.0 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Checking xattr v1.5.1 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Compiling nydus-app v0.3.2 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking log-panics v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking caps v0.5.5 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking lz4 v1.28.1 [INFO] [stderr] Checking nydus-api v0.3.1 [INFO] [stderr] Checking nydus-error v0.2.3 [INFO] [stderr] Checking nydus-api v0.2.2 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking flexi_logger v0.23.3 [INFO] [stderr] Checking nydus-utils v0.4.3 [INFO] [stderr] Checking nydus-storage v0.6.4 [INFO] [stderr] Checking 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" "02b4eb6193ecfc1479d31396d3b149a2111bb0b9efaca4c1818716ed4488da8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02b4eb6193ecfc1479d31396d3b149a2111bb0b9efaca4c1818716ed4488da8d", kill_on_drop: false }` [INFO] [stdout] 02b4eb6193ecfc1479d31396d3b149a2111bb0b9efaca4c1818716ed4488da8d