[INFO] cloning repository https://github.com/bennyz/umoci-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bennyz/umoci-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbennyz%2Fumoci-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbennyz%2Fumoci-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e3adee5ec4aaa9aa5a83324498b37d8655844c6a [INFO] checking bennyz/umoci-rs/e3adee5ec4aaa9aa5a83324498b37d8655844c6a against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbennyz%2Fumoci-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bennyz/umoci-rs on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bennyz/umoci-rs [INFO] finished tweaking git repo https://github.com/bennyz/umoci-rs [INFO] tweaked toml for git repo https://github.com/bennyz/umoci-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bennyz/umoci-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c74f2d47624622fe3bac527d5c7dbf909e2ce4bcb47e7e989c35fc67a89f9b42 [INFO] running `Command { std: "docker" "start" "-a" "c74f2d47624622fe3bac527d5c7dbf909e2ce4bcb47e7e989c35fc67a89f9b42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c74f2d47624622fe3bac527d5c7dbf909e2ce4bcb47e7e989c35fc67a89f9b42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c74f2d47624622fe3bac527d5c7dbf909e2ce4bcb47e7e989c35fc67a89f9b42", kill_on_drop: false }` [INFO] [stdout] c74f2d47624622fe3bac527d5c7dbf909e2ce4bcb47e7e989c35fc67a89f9b42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8986c091e42f5d5dc746e7dd743deabc0d60b224d87d84784df61b6382c5017d [INFO] running `Command { std: "docker" "start" "-a" "8986c091e42f5d5dc746e7dd743deabc0d60b224d87d84784df61b6382c5017d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling anyhow v1.0.45 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking os_str_bytes v4.2.0 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking tar v0.4.37 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.5 [INFO] [stderr] Compiling getset v0.1.1 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Checking clap v3.0.0-beta.5 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling derive_builder_core v0.10.2 [INFO] [stderr] Compiling derive_builder_macro v0.10.2 [INFO] [stderr] Checking derive_builder v0.10.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking oci-spec v0.5.2 [INFO] [stderr] Checking oci-extractor v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/spec/manifest.rs (2 fixes) [INFO] [stderr] Fixed src/spec/index.rs (2 fixes) [INFO] [stderr] Fixed src/spec/descriptor.rs (1 fix) [INFO] [stderr] Fixed src/spec/config.rs (4 fixes) [INFO] [stderr] Fixed src/spec/media_types.rs (1 fix) [INFO] [stdout] warning: struct `ImageLayout` is never constructed [INFO] [stdout] --> src/spec/layout.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct ImageLayout { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/spec/config.rs:167:62 [INFO] [stdout] | [INFO] [stdout] 167 | volumes.insert(String::from("/var/log/my-app-logs"), json!({})); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 106 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/spec/config.rs:166:62 [INFO] [stdout] | [INFO] [stdout] 166 | volumes.insert(String::from("/var/job-result-data"), json!({})); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 106 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/spec/config.rs:163:56 [INFO] [stdout] | [INFO] [stdout] 163 | exposed_ports.insert(String::from("8080/tcp"), json!({})); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 106 + use serde_json::json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Image` in this scope [INFO] [stdout] --> src/spec/config.rs:161:20 [INFO] [stdout] | [INFO] [stdout] 161 | let image: Image = serde_json::from_str(IMAGE_JSON).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 106 + use crate::spec::config::Image; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/spec/config.rs:162:33 [INFO] [stdout] | [INFO] [stdout] 162 | let mut exposed_ports = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 106 + use crate::spec::config::HashMap; [INFO] [stdout] | [INFO] [stdout] 106 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/spec/config.rs:165:27 [INFO] [stdout] | [INFO] [stdout] 165 | let mut volumes = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 106 + use crate::spec::config::HashMap; [INFO] [stdout] | [INFO] [stdout] 106 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/spec/config.rs:169:26 [INFO] [stdout] | [INFO] [stdout] 169 | let mut labels = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 106 + use crate::spec::config::HashMap; [INFO] [stdout] | [INFO] [stdout] 106 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ImageConfig` in this scope [INFO] [stdout] --> src/spec/config.rs:179:22 [INFO] [stdout] | [INFO] [stdout] 179 | let config = ImageConfig { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 106 + use crate::spec::config::ImageConfig; [INFO] [stdout] | [INFO] [stdout] 106 + use crate::spec::media_types::MediaType::ImageConfig; [INFO] [stdout] | [INFO] [stdout] 106 + use oci_spec::image::MediaType::ImageConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RootFs` in this scope [INFO] [stdout] --> src/spec/config.rs:198:22 [INFO] [stdout] | [INFO] [stdout] 198 | let rootfs = RootFs { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 106 + use crate::spec::config::RootFs; [INFO] [stdout] | [INFO] [stdout] 106 + use oci_spec::image::RootFs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Digest` in this scope [INFO] [stdout] --> src/spec/config.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | Digest { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 106 + use crate::spec::digest::Digest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Algorithm` [INFO] [stdout] --> src/spec/config.rs:202:32 [INFO] [stdout] | [INFO] [stdout] 202 | algorithm: Algorithm::Sha256, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Algorithm` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 106 + use crate::spec::digest::Algorithm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Digest` in this scope [INFO] [stdout] --> src/spec/config.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | Digest { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 106 + use crate::spec::digest::Digest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Algorithm` [INFO] [stdout] --> src/spec/config.rs:208:32 [INFO] [stdout] | [INFO] [stdout] 208 | algorithm: Algorithm::Sha256, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Algorithm` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 106 + use crate::spec::digest::Algorithm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `History` in this scope [INFO] [stdout] --> src/spec/config.rs:216:24 [INFO] [stdout] | [INFO] [stdout] 216 | let history1 = History { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 106 + use crate::spec::config::History; [INFO] [stdout] | [INFO] [stdout] 106 + use oci_spec::image::History; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTime` [INFO] [stdout] --> src/spec/config.rs:218:18 [INFO] [stdout] | [INFO] [stdout] 218 | created: Some(DateTime::parse_from_rfc3339("2015-10-31T22:22:54.690851953Z").unwrap()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `DateTime` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 106 + use crate::spec::config::DateTime; [INFO] [stdout] | [INFO] [stdout] 106 + use chrono::DateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `History` in this scope [INFO] [stdout] --> src/spec/config.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | let history2 = History { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 106 + use crate::spec::config::History; [INFO] [stdout] | [INFO] [stdout] 106 + use oci_spec::image::History; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTime` [INFO] [stdout] --> src/spec/config.rs:226:27 [INFO] [stdout] | [INFO] [stdout] 226 | created: Some(DateTime::parse_from_rfc3339("2015-10-31T22:22:55.613815829Z").unwrap()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `DateTime` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 106 + use crate::spec::config::DateTime; [INFO] [stdout] | [INFO] [stdout] 106 + use chrono::DateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Image` in this scope [INFO] [stdout] --> src/spec/config.rs:233:24 [INFO] [stdout] | [INFO] [stdout] 233 | let expected = Image { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 106 + use crate::spec::config::Image; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTime` [INFO] [stdout] --> src/spec/config.rs:234:27 [INFO] [stdout] | [INFO] [stdout] 234 | created: Some(DateTime::parse_from_rfc3339("2015-10-31T22:22:56.015925234Z").unwrap()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `DateTime` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 106 + use crate::spec::config::DateTime; [INFO] [stdout] | [INFO] [stdout] 106 + use chrono::DateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Descriptor` in this scope [INFO] [stdout] --> src/spec/descriptor.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 59 | let descriptor: Descriptor = serde_json::from_str(DESCRIPTOR_JSON).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 47 + use crate::spec::descriptor::Descriptor; [INFO] [stdout] | [INFO] [stdout] 47 + use oci_spec::image::Descriptor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Descriptor` in this scope [INFO] [stdout] --> src/spec/descriptor.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | let expected = Descriptor { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 47 + use crate::spec::descriptor::Descriptor; [INFO] [stdout] | [INFO] [stdout] 47 + use oci_spec::image::Descriptor; [INFO] [stdout] | [INFO] [stdout] 47 + use oci_spec::image::MediaType::Descriptor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/spec/descriptor.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | media_type: MediaType::ImageManifest, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 47 + use crate::spec::media_types::MediaType; [INFO] [stdout] | [INFO] [stdout] 47 + use oci_spec::image::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Digest` [INFO] [stdout] --> src/spec/descriptor.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | digest: Digest::new( [INFO] [stdout] | ^^^^^^ use of undeclared type `Digest` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 47 + use crate::spec::digest::Digest; [INFO] [stdout] | [INFO] [stdout] 47 + use sha2::Digest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Algorithm` [INFO] [stdout] --> src/spec/descriptor.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | Algorithm::Sha256, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Algorithm` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 47 + use crate::spec::digest::Algorithm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/spec/index.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | let mut annotations: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 25 + use crate::spec::index::HashMap; [INFO] [stdout] | [INFO] [stdout] 25 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/spec/index.rs:56:56 [INFO] [stdout] | [INFO] [stdout] 56 | let mut annotations: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 25 + use crate::spec::index::HashMap; [INFO] [stdout] | [INFO] [stdout] 25 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Descriptor` in this scope [INFO] [stdout] --> src/spec/index.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | let descriptor1 = Descriptor { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 25 + use crate::spec::index::Descriptor; [INFO] [stdout] | [INFO] [stdout] 25 + use oci_spec::image::Descriptor; [INFO] [stdout] | [INFO] [stdout] 25 + use oci_spec::image::MediaType::Descriptor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/spec/index.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | media_type: MediaType::ImageManifest, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 25 + use crate::spec::media_types::MediaType; [INFO] [stdout] | [INFO] [stdout] 25 + use oci_spec::image::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Digest` [INFO] [stdout] --> src/spec/index.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | digest: Digest::new( [INFO] [stdout] | ^^^^^^ use of undeclared type `Digest` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 25 + use crate::spec::digest::Digest; [INFO] [stdout] | [INFO] [stdout] 25 + use sha2::Digest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Algorithm` [INFO] [stdout] --> src/spec/index.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | Algorithm::Sha256, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Algorithm` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 25 + use crate::spec::digest::Algorithm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Platform` in this scope [INFO] [stdout] --> src/spec/index.rs:69:28 [INFO] [stdout] | [INFO] [stdout] 69 | platform: Some(Platform { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 25 + use crate::spec::descriptor::Platform; [INFO] [stdout] | [INFO] [stdout] 25 + use oci_spec::image::Platform; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Descriptor` in this scope [INFO] [stdout] --> src/spec/index.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | let descriptor2 = Descriptor { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 25 + use crate::spec::index::Descriptor; [INFO] [stdout] | [INFO] [stdout] 25 + use oci_spec::image::Descriptor; [INFO] [stdout] | [INFO] [stdout] 25 + use oci_spec::image::MediaType::Descriptor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/spec/index.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | media_type: MediaType::ImageManifest, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 25 + use crate::spec::media_types::MediaType; [INFO] [stdout] | [INFO] [stdout] 25 + use oci_spec::image::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Digest` [INFO] [stdout] --> src/spec/index.rs:81:21 [INFO] [stdout] | [INFO] [stdout] 81 | digest: Digest::new( [INFO] [stdout] | ^^^^^^ use of undeclared type `Digest` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 25 + use crate::spec::digest::Digest; [INFO] [stdout] | [INFO] [stdout] 25 + use sha2::Digest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Algorithm` [INFO] [stdout] --> src/spec/index.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | Algorithm::Sha256, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Algorithm` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 25 + use crate::spec::digest::Algorithm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Platform` in this scope [INFO] [stdout] --> src/spec/index.rs:88:28 [INFO] [stdout] | [INFO] [stdout] 88 | platform: Some(Platform { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 25 + use crate::spec::descriptor::Platform; [INFO] [stdout] | [INFO] [stdout] 25 + use oci_spec::image::Platform; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Index` in this scope [INFO] [stdout] --> src/spec/index.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | let index: Index = serde_json::from_str(INDEX_JSON).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 25 + use crate::spec::index::Index; [INFO] [stdout] | [INFO] [stdout] 25 + use std::ops::Index; [INFO] [stdout] | [INFO] [stdout] 25 + use serde_json::value::Index; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Index` in this scope [INFO] [stdout] --> src/spec/index.rs:99:24 [INFO] [stdout] | [INFO] [stdout] 99 | let expected = Index { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 25 + use crate::spec::index::Index; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Descriptor` in this scope [INFO] [stdout] --> src/spec/manifest.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | let config = Descriptor { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 27 + use crate::spec::manifest::Descriptor; [INFO] [stdout] | [INFO] [stdout] 27 + use oci_spec::image::Descriptor; [INFO] [stdout] | [INFO] [stdout] 27 + use oci_spec::image::MediaType::Descriptor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/spec/manifest.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | media_type: MediaType::ImageConfig, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 27 + use crate::spec::media_types::MediaType; [INFO] [stdout] | [INFO] [stdout] 27 + use oci_spec::image::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Digest` [INFO] [stdout] --> src/spec/manifest.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | digest: Digest::new( [INFO] [stdout] | ^^^^^^ use of undeclared type `Digest` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 27 + use crate::spec::digest::Digest; [INFO] [stdout] | [INFO] [stdout] 27 + use sha2::Digest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Algorithm` [INFO] [stdout] --> src/spec/manifest.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | Algorithm::Sha256, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Algorithm` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 27 + use crate::spec::digest::Algorithm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Descriptor` in this scope [INFO] [stdout] --> src/spec/manifest.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | Descriptor { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 27 + use crate::spec::manifest::Descriptor; [INFO] [stdout] | [INFO] [stdout] 27 + use oci_spec::image::Descriptor; [INFO] [stdout] | [INFO] [stdout] 27 + use oci_spec::image::MediaType::Descriptor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/spec/manifest.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | media_type: MediaType::ImageLayerTarGzip, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 27 + use crate::spec::media_types::MediaType; [INFO] [stdout] | [INFO] [stdout] 27 + use oci_spec::image::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Digest` [INFO] [stdout] --> src/spec/manifest.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | digest: Digest::new( [INFO] [stdout] | ^^^^^^ use of undeclared type `Digest` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 27 + use crate::spec::digest::Digest; [INFO] [stdout] | [INFO] [stdout] 27 + use sha2::Digest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Algorithm` [INFO] [stdout] --> src/spec/manifest.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | Algorithm::Sha256, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Algorithm` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 27 + use crate::spec::digest::Algorithm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Descriptor` in this scope [INFO] [stdout] --> src/spec/manifest.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | Descriptor { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 27 + use crate::spec::manifest::Descriptor; [INFO] [stdout] | [INFO] [stdout] 27 + use oci_spec::image::Descriptor; [INFO] [stdout] | [INFO] [stdout] 27 + use oci_spec::image::MediaType::Descriptor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/spec/manifest.rs:87:29 [INFO] [stdout] | [INFO] [stdout] 87 | media_type: MediaType::ImageLayerTarGzip, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 27 + use crate::spec::media_types::MediaType; [INFO] [stdout] | [INFO] [stdout] 27 + use oci_spec::image::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Digest` [INFO] [stdout] --> src/spec/manifest.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | digest: Digest::new( [INFO] [stdout] | ^^^^^^ use of undeclared type `Digest` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 27 + use crate::spec::digest::Digest; [INFO] [stdout] | [INFO] [stdout] 27 + use sha2::Digest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Algorithm` [INFO] [stdout] --> src/spec/manifest.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | Algorithm::Sha256, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Algorithm` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 27 + use crate::spec::digest::Algorithm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Descriptor` in this scope [INFO] [stdout] --> src/spec/manifest.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | Descriptor { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 27 + use crate::spec::manifest::Descriptor; [INFO] [stdout] | [INFO] [stdout] 27 + use oci_spec::image::Descriptor; [INFO] [stdout] | [INFO] [stdout] 27 + use oci_spec::image::MediaType::Descriptor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/spec/manifest.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | media_type: MediaType::ImageLayerTarGzip, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 27 + use crate::spec::media_types::MediaType; [INFO] [stdout] | [INFO] [stdout] 27 + use oci_spec::image::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Digest` [INFO] [stdout] --> src/spec/manifest.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | digest: Digest::new( [INFO] [stdout] | ^^^^^^ use of undeclared type `Digest` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 27 + use crate::spec::digest::Digest; [INFO] [stdout] | [INFO] [stdout] 27 + use sha2::Digest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Algorithm` [INFO] [stdout] --> src/spec/manifest.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | Algorithm::Sha256, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Algorithm` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 27 + use crate::spec::digest::Algorithm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/spec/manifest.rs:115:30 [INFO] [stdout] | [INFO] [stdout] 115 | let mut annotations: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 27 + use crate::spec::manifest::HashMap; [INFO] [stdout] | [INFO] [stdout] 27 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/spec/manifest.rs:115:56 [INFO] [stdout] | [INFO] [stdout] 115 | let mut annotations: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 27 + use crate::spec::manifest::HashMap; [INFO] [stdout] | [INFO] [stdout] 27 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Manifest` in this scope [INFO] [stdout] --> src/spec/manifest.rs:119:23 [INFO] [stdout] | [INFO] [stdout] 119 | let manifest: Manifest = serde_json::from_str(MANIFEST_JSON).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 27 + use crate::spec::manifest::Manifest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Manifest` in this scope [INFO] [stdout] --> src/spec/manifest.rs:120:24 [INFO] [stdout] | [INFO] [stdout] 120 | let expected = Manifest { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 27 + use crate::spec::manifest::Manifest; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MediaType` in this scope [INFO] [stdout] --> src/spec/media_types.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | let media_type: MediaType = [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 78 + use crate::spec::media_types::MediaType; [INFO] [stdout] | [INFO] [stdout] 78 + use oci_spec::image::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/spec/media_types.rs:82:32 [INFO] [stdout] | [INFO] [stdout] 82 | assert_eq!(media_type, MediaType::ContentDescriptor); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 78 + use crate::spec::media_types::MediaType; [INFO] [stdout] | [INFO] [stdout] 78 + use oci_spec::image::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 60 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oci-extractor` (lib test) due to 61 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "8986c091e42f5d5dc746e7dd743deabc0d60b224d87d84784df61b6382c5017d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8986c091e42f5d5dc746e7dd743deabc0d60b224d87d84784df61b6382c5017d", kill_on_drop: false }` [INFO] [stdout] 8986c091e42f5d5dc746e7dd743deabc0d60b224d87d84784df61b6382c5017d