[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] 8aca416ab4e079ff7493b50c73e71261ca176ed4 [INFO] checking bennyz/umoci-rs against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbennyz%2Fumoci-rs" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bennyz/umoci-rs on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-22/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: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31aaa8bbd2e1dce7b028edf57938e2e56064e4a065fa417b52753753a17de985 [INFO] running `Command { std: "docker" "start" "-a" "31aaa8bbd2e1dce7b028edf57938e2e56064e4a065fa417b52753753a17de985", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31aaa8bbd2e1dce7b028edf57938e2e56064e4a065fa417b52753753a17de985", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31aaa8bbd2e1dce7b028edf57938e2e56064e4a065fa417b52753753a17de985", kill_on_drop: false }` [INFO] [stdout] 31aaa8bbd2e1dce7b028edf57938e2e56064e4a065fa417b52753753a17de985 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11b900a0eed73cdba3968783ee2db3747bb4a13eceb405c69dc3246bd3fceb40 [INFO] running `Command { std: "docker" "start" "-a" "11b900a0eed73cdba3968783ee2db3747bb4a13eceb405c69dc3246bd3fceb40", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking filetime v0.2.14 [INFO] [stderr] Checking xattr v0.2.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking tar v0.4.33 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking serde_json v1.0.62 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking umoci-rs v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/spec/descriptor.rs (2 fixes) [INFO] [stderr] Fixed src/spec/config.rs (3 fixes) [INFO] [stderr] Fixed src/spec/media_types.rs (1 fix) [INFO] [stderr] Fixed src/spec/index.rs (2 fixes) [INFO] [stderr] Fixed src/spec/manifest.rs (2 fixes) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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/log/my-app-logs"), json!({})); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] serde_json::json [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/spec/config.rs:165:62 [INFO] [stdout] | [INFO] [stdout] 165 | volumes.insert(String::from("/var/job-result-data"), json!({})); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] serde_json::json [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/spec/config.rs:162:56 [INFO] [stdout] | [INFO] [stdout] 162 | exposed_ports.insert(String::from("8080/tcp"), json!({})); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] serde_json::json [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/spec/descriptor.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | media_type: MediaType::ImageManifest, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Algorithm` [INFO] [stdout] --> src/spec/descriptor.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | Algorithm::Sha256, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Algorithm` [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Algorithm` [INFO] [stdout] --> src/spec/config.rs:201:32 [INFO] [stdout] | [INFO] [stdout] 201 | algorithm: Algorithm::Sha256, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Algorithm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Algorithm` [INFO] [stdout] --> src/spec/config.rs:207:32 [INFO] [stdout] | [INFO] [stdout] 207 | algorithm: Algorithm::Sha256, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Algorithm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Descriptor` in this scope [INFO] [stdout] --> src/spec/descriptor.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | let descriptor: Descriptor = serde_json::from_str(DESCRIPTOR_JSON).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 50 | use crate::spec::descriptor::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:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | let expected = Descriptor { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 50 | use crate::spec::descriptor::Descriptor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Digest` [INFO] [stdout] --> src/spec/descriptor.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | digest: Digest::new( [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 50 | use crate::spec::digest::Digest; [INFO] [stdout] | [INFO] [stdout] 50 | use sha2::Digest; [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 items [INFO] [stdout] | [INFO] [stdout] 26 | use crate::spec::index::HashMap; [INFO] [stdout] | [INFO] [stdout] 26 | 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] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 26 | use crate::spec::index::HashMap; [INFO] [stdout] | [INFO] [stdout] 26 | 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 this struct [INFO] [stdout] | [INFO] [stdout] 26 | use crate::spec::index::Descriptor; [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] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 26 | use crate::spec::digest::Digest; [INFO] [stdout] | [INFO] [stdout] 26 | use sha2::Digest; [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 this struct [INFO] [stdout] | [INFO] [stdout] 26 | use crate::spec::descriptor::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 this struct [INFO] [stdout] | [INFO] [stdout] 26 | use crate::spec::index::Descriptor; [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] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 26 | use crate::spec::digest::Digest; [INFO] [stdout] | [INFO] [stdout] 26 | use sha2::Digest; [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 this struct [INFO] [stdout] | [INFO] [stdout] 26 | use crate::spec::descriptor::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] 26 | use core::ops::Index; [INFO] [stdout] | [INFO] [stdout] 26 | use crate::spec::index::Index; [INFO] [stdout] | [INFO] [stdout] 26 | use serde_json::value::Index; [INFO] [stdout] | [INFO] [stdout] 26 | use std::ops::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] 26 | 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 this struct [INFO] [stdout] | [INFO] [stdout] 28 | use crate::spec::manifest::Descriptor; [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] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 28 | use crate::spec::digest::Digest; [INFO] [stdout] | [INFO] [stdout] 28 | use sha2::Digest; [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 this struct [INFO] [stdout] | [INFO] [stdout] 28 | use crate::spec::manifest::Descriptor; [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] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 28 | use crate::spec::digest::Digest; [INFO] [stdout] | [INFO] [stdout] 28 | use sha2::Digest; [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 this struct [INFO] [stdout] | [INFO] [stdout] 28 | use crate::spec::manifest::Descriptor; [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] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 28 | use crate::spec::digest::Digest; [INFO] [stdout] | [INFO] [stdout] 28 | use sha2::Digest; [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 this struct [INFO] [stdout] | [INFO] [stdout] 28 | use crate::spec::manifest::Descriptor; [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] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 28 | use crate::spec::digest::Digest; [INFO] [stdout] | [INFO] [stdout] 28 | use sha2::Digest; [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 items [INFO] [stdout] | [INFO] [stdout] 28 | use crate::spec::manifest::HashMap; [INFO] [stdout] | [INFO] [stdout] 28 | 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] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 28 | use crate::spec::manifest::HashMap; [INFO] [stdout] | [INFO] [stdout] 28 | 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] 28 | 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] 28 | 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 this enum [INFO] [stdout] | [INFO] [stdout] 79 | use crate::spec::media_types::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Image` in this scope [INFO] [stdout] --> src/spec/config.rs:160:20 [INFO] [stdout] | [INFO] [stdout] 160 | 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:161:33 [INFO] [stdout] | [INFO] [stdout] 161 | let mut exposed_ports = HashMap::new(); [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::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:164:27 [INFO] [stdout] | [INFO] [stdout] 164 | let mut volumes = HashMap::new(); [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::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:168:26 [INFO] [stdout] | [INFO] [stdout] 168 | let mut labels = HashMap::new(); [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::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:178:22 [INFO] [stdout] | [INFO] [stdout] 178 | 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] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RootFs` in this scope [INFO] [stdout] --> src/spec/config.rs:197:22 [INFO] [stdout] | [INFO] [stdout] 197 | let rootfs = RootFs { [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::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:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | 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::config::Digest; [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:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | 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::config::Digest; [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:215:24 [INFO] [stdout] | [INFO] [stdout] 215 | let history1 = History { [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::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:217:18 [INFO] [stdout] | [INFO] [stdout] 217 | created: Some(DateTime::parse_from_rfc3339("2015-10-31T22:22:54.690851953Z").unwrap()), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 106 | use chrono::DateTime; [INFO] [stdout] | [INFO] [stdout] 106 | use crate::spec::config::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:223:24 [INFO] [stdout] | [INFO] [stdout] 223 | let history2 = History { [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::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:225:27 [INFO] [stdout] | [INFO] [stdout] 225 | created: Some(DateTime::parse_from_rfc3339("2015-10-31T22:22:55.613815829Z").unwrap()), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 106 | use chrono::DateTime; [INFO] [stdout] | [INFO] [stdout] 106 | use crate::spec::config::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:232:24 [INFO] [stdout] | [INFO] [stdout] 232 | 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:233:27 [INFO] [stdout] | [INFO] [stdout] 233 | created: Some(DateTime::parse_from_rfc3339("2015-10-31T22:22:56.015925234Z").unwrap()), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 106 | use chrono::DateTime; [INFO] [stdout] | [INFO] [stdout] 106 | use crate::spec::config::DateTime; [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 `umoci-rs` due to 61 previous errors [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" "11b900a0eed73cdba3968783ee2db3747bb4a13eceb405c69dc3246bd3fceb40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11b900a0eed73cdba3968783ee2db3747bb4a13eceb405c69dc3246bd3fceb40", kill_on_drop: false }` [INFO] [stdout] 11b900a0eed73cdba3968783ee2db3747bb4a13eceb405c69dc3246bd3fceb40