[INFO] cloning repository https://github.com/dragonflyoss/image-service [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dragonflyoss/image-service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdragonflyoss%2Fimage-service", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdragonflyoss%2Fimage-service'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 206aaf01df386c11854b77a45dcdde4ce5f2b108 [INFO] testing dragonflyoss/image-service against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdragonflyoss%2Fimage-service" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dragonflyoss/image-service on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-9/source/rust-toolchain [INFO] started tweaking git repo https://github.com/dragonflyoss/image-service [INFO] finished tweaking git repo https://github.com/dragonflyoss/image-service [INFO] tweaked toml for git repo https://github.com/dragonflyoss/image-service written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/dragonflyoss/image-service already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/cloud-hypervisor/fuse-backend-rs.git` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce9d7681ee40b5fefceee3b59b90674a855628e093135f4eada245b1875b66af [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ce9d7681ee40b5fefceee3b59b90674a855628e093135f4eada245b1875b66af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce9d7681ee40b5fefceee3b59b90674a855628e093135f4eada245b1875b66af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce9d7681ee40b5fefceee3b59b90674a855628e093135f4eada245b1875b66af", kill_on_drop: false }` [INFO] [stdout] ce9d7681ee40b5fefceee3b59b90674a855628e093135f4eada245b1875b66af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d292add113fbe74e94a4c47ea73a63de5bdd3ab3d462c3e4e7fbd9165c693d5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1d292add113fbe74e94a4c47ea73a63de5bdd3ab3d462c3e4e7fbd9165c693d5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-core v0.3.12 [INFO] [stderr] Compiling futures-sink v0.3.12 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-io v0.3.12 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling openssl v0.10.35 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling arc-swap v1.5.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cpuid-bool v0.1.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling encoding_rs v0.8.23 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling nonzero_ext v0.2.0 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling arrayvec v0.7.1 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling spmc v0.3.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling futures-task v0.3.12 [INFO] [stderr] Compiling tracing-core v0.1.20 [INFO] [stderr] Compiling thread_local v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.12 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.1 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling generic-array v0.14.2 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling tracing v0.1.27 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling no-std-compat v0.4.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling sha2 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.9.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling vmm-sys-util v0.9.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling vm-memory v0.6.0 [INFO] [stderr] Compiling nix v0.22.2 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling quanta v0.4.1 [INFO] [stderr] Compiling vmm-sys-util v0.8.0 [INFO] [stderr] Compiling epoll v4.1.0 [INFO] [stderr] Compiling rlimit v0.3.0 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling micro_http v0.2.0 (https://github.com/cloud-hypervisor/micro-http.git?branch=master#f4405cb5) [INFO] [stderr] Compiling event-manager v0.2.1 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling openssl-src v111.15.0+1.1.1k [INFO] [stderr] Compiling openssl-sys v0.9.65 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling libgit2-sys v0.12.18+1.1.0 [INFO] [stderr] Compiling blake3 v0.3.6 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling lz4-sys v1.9.2 [INFO] [stderr] Compiling blake3 v1.0.0 [INFO] [stderr] Compiling flate2 v1.0.17 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling rust-fsm-dsl v0.6.0 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling futures-util v0.3.12 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling serde_with_macros v1.3.0 [INFO] [stderr] Compiling rust-fsm v0.6.0 [INFO] [stderr] Compiling thiserror v1.0.21 [INFO] [stderr] Compiling caps v0.5.3 [INFO] [stderr] Compiling flexi_logger v0.17.1 [INFO] [stderr] Compiling fuse-backend-rs v0.1.2 (https://github.com/cloud-hypervisor/fuse-backend-rs.git?rev=5a4b2ac#5a4b2ac1) [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling futures-executor v0.3.12 [INFO] [stderr] Compiling futures v0.3.12 [INFO] [stderr] Compiling tokio-util v0.6.8 [INFO] [stderr] Compiling governor v0.3.2 [INFO] [stderr] Compiling h2 v0.3.4 [INFO] [stderr] Compiling git2 v0.13.17 [INFO] [stderr] Compiling hyper v0.14.13 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_with v1.6.1 [INFO] [stderr] Compiling nydus-error v0.1.0 [INFO] [stderr] Compiling nydus-utils v0.1.0 (/opt/rustwide/workdir/utils) [INFO] [stderr] Compiling nydus-api v0.1.0 (/opt/rustwide/workdir/api) [INFO] [stderr] Compiling cargo-lock v4.0.1 [INFO] [stderr] Compiling built v0.4.3 [INFO] [stderr] Compiling nydus-app v0.1.0 (/opt/rustwide/workdir/app) [INFO] [stderr] Compiling hyperlocal v0.8.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.4 [INFO] [stderr] Compiling storage v0.5.0 (/opt/rustwide/workdir/storage) [INFO] [stdout] warning: field is never read: `log_path` [INFO] [stdout] --> storage/src/backend/localfs.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | log_path: String, // log file path [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `log_file` [INFO] [stdout] --> storage/src/backend/localfs.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | log_file: File, // file for access logging [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> storage/src/backend/oss.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `realm` [INFO] [stdout] --> storage/src/backend/registry.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | realm: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `enable` [INFO] [stdout] --> storage/src/cache/worker.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub enable: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rafs v0.1.0 (/opt/rustwide/workdir/rafs) [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nydus-rs v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fuse_backend_rs` [INFO] [stdout] --> src/bin/nydusd/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use fuse_backend_rs::api::{Vfs, VfsOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `fuse_backend_rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fuse_backend_rs` [INFO] [stdout] --> src/bin/nydusd/daemon.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use fuse_backend_rs::api::{vfs::VfsError, BackendFileSystem, Vfs}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `fuse_backend_rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fuse_backend_rs` [INFO] [stdout] --> src/bin/nydusd/daemon.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use fuse_backend_rs::passthrough::{Config, PassthroughFs}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `fuse_backend_rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fuse_backend_rs` [INFO] [stdout] --> src/bin/nydusd/daemon.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use fuse_backend_rs::transport::Error as FuseTransportError; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `fuse_backend_rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `fuse_backend_rs` [INFO] [stdout] --> src/bin/nydusd/daemon.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use fuse_backend_rs::Error as FuseError; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `fuse_backend_rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PassthroughFs` [INFO] [stdout] --> src/bin/nydusd/daemon.rs:403:34 [INFO] [stdout] | [INFO] [stdout] 403 | let passthrough_fs = PassthroughFs::new(fs_cfg).map_err(DaemonError::PassthroughFs)?; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `PassthroughFs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VfsOptions` [INFO] [stdout] --> src/bin/nydusd/main.rs:333:20 [INFO] [stdout] | [INFO] [stdout] 333 | let mut opts = VfsOptions::default(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VfsOptions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vfs` [INFO] [stdout] --> src/bin/nydusd/main.rs:387:15 [INFO] [stdout] | [INFO] [stdout] 387 | let vfs = Vfs::new(opts); [INFO] [stdout] | ^^^ use of undeclared type `Vfs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `BackendFileSystem` in this scope [INFO] [stdout] --> src/bin/nydusd/daemon.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | type BackFileSystem = Box + Send + Sync>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FuseTransportError` in this scope [INFO] [stdout] --> src/bin/nydusd/daemon.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | InvalidDescriptorChain(FuseTransportError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VfsError` in this scope [INFO] [stdout] --> src/bin/nydusd/daemon.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | Vfs(VfsError), [INFO] [stdout] | ^^^^^^^^ help: an enum with a similar name exists: `RafsError` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/rafs/src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum RafsError { [INFO] [stdout] | ------------------ similarly named enum `RafsError` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FuseTransportError` in this scope [INFO] [stdout] --> src/bin/nydusd/daemon.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | SessionShutdown(FuseTransportError), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VfsError` in this scope [INFO] [stdout] --> src/bin/nydusd/daemon.rs:153:11 [INFO] [stdout] | [INFO] [stdout] 153 | impl From for DaemonError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/rafs/src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum RafsError { [INFO] [stdout] | ------------------ similarly named enum `RafsError` defined here [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 153 | impl From for DaemonError { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 153 | impl From for DaemonError { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VfsError` in this scope [INFO] [stdout] --> src/bin/nydusd/daemon.rs:154:16 [INFO] [stdout] | [INFO] [stdout] 154 | fn from(e: VfsError) -> Self { [INFO] [stdout] | ^^^^^^^^ help: an enum with a similar name exists: `RafsError` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/rafs/src/lib.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum RafsError { [INFO] [stdout] | ------------------ similarly named enum `RafsError` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Vfs` in this scope [INFO] [stdout] --> src/bin/nydusd/daemon.rs:260:27 [INFO] [stdout] | [INFO] [stdout] 260 | fn get_vfs(&self) -> &Vfs; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: there is an enum variant `crate::DaemonError::Vfs`; try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 260 | fn get_vfs(&self) -> &crate::DaemonError; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Config` in this scope [INFO] [stdout] --> src/bin/nydusd/daemon.rs:393:26 [INFO] [stdout] | [INFO] [stdout] 393 | let fs_cfg = Config { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use base64::Config; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found module `daemon` [INFO] [stdout] --> src/bin/nydusd/main.rs:457:50 [INFO] [stdout] | [INFO] [stdout] 457 | let api_server = ApiServer::new(to_http, daemon.clone())?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use the path separator to refer to an item [INFO] [stdout] | [INFO] [stdout] 457 | let api_server = ApiServer::new(to_http, daemon::clone())?; [INFO] [stdout] | ~~~~~~~~~~~~~ [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 20 | use libc::daemon; [INFO] [stdout] | [INFO] [stdout] 20 | use nix::unistd::daemon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found module `daemon` [INFO] [stdout] --> src/bin/nydusd/main.rs:492:5 [INFO] [stdout] | [INFO] [stdout] 492 | daemon.stop().unwrap_or_else(|e| error!("{}", e)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use the path separator to refer to an item [INFO] [stdout] | [INFO] [stdout] 492 | daemon::stop().unwrap_or_else(|e| error!("{}", e)); [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 20 | use libc::daemon; [INFO] [stdout] | [INFO] [stdout] 20 | use nix::unistd::daemon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found module `daemon` [INFO] [stdout] --> src/bin/nydusd/main.rs:493:5 [INFO] [stdout] | [INFO] [stdout] 493 | daemon.wait().unwrap_or_else(|e| error!("{}", e)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use the path separator to refer to an item [INFO] [stdout] | [INFO] [stdout] 493 | daemon::wait().unwrap_or_else(|e| error!("{}", e)); [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 20 | use libc::daemon; [INFO] [stdout] | [INFO] [stdout] 20 | use nix::unistd::daemon; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0423, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nydus-rs` due to 20 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: field is never read: `next_offset` [INFO] [stdout] --> src/bin/nydus-image/builder/stargz.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub next_offset: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/bin/nydus-image/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: field is never read: `children` [INFO] [stdout] --> src/bin/nydus-image/builder/stargz.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub children: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: field is never read: `inode` [INFO] [stdout] --> src/bin/nydus-image/builder/stargz.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub inode: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1d292add113fbe74e94a4c47ea73a63de5bdd3ab3d462c3e4e7fbd9165c693d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d292add113fbe74e94a4c47ea73a63de5bdd3ab3d462c3e4e7fbd9165c693d5", kill_on_drop: false }` [INFO] [stdout] 1d292add113fbe74e94a4c47ea73a63de5bdd3ab3d462c3e4e7fbd9165c693d5