[INFO] cloning repository https://github.com/samothx/win_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/samothx/win_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamothx%2Fwin_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamothx%2Fwin_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d2885e21627f7ebff6249f75ac7929595f0ab6a0 [INFO] checking samothx/win_test against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamothx%2Fwin_test" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/samothx/win_test on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/samothx/win_test [INFO] finished tweaking git repo https://github.com/samothx/win_test [INFO] tweaked toml for git repo https://github.com/samothx/win_test written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/samothx/win_test 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/rust-lang/libc` [INFO] [stderr] Updating git repository `https://github.com/retep998/winapi-rs.git` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6072279bf99548f77c09d4b033c8a3114fbbec770bd86fe260705bd475782e76 [INFO] running `Command { std: "docker" "start" "-a" "6072279bf99548f77c09d4b033c8a3114fbbec770bd86fe260705bd475782e76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6072279bf99548f77c09d4b033c8a3114fbbec770bd86fe260705bd475782e76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6072279bf99548f77c09d4b033c8a3114fbbec770bd86fe260705bd475782e76", kill_on_drop: false }` [INFO] [stdout] 6072279bf99548f77c09d4b033c8a3114fbbec770bd86fe260705bd475782e76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea44fb63a4fd5130af876cc1347a95c062f1c6e44bbf8e77a6d3eb15bc8395b3 [INFO] running `Command { std: "docker" "start" "-a" "ea44fb63a4fd5130af876cc1347a95c062f1c6e44bbf8e77a6d3eb15bc8395b3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling cc v1.0.31 [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling serde v1.0.89 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling backtrace v0.3.14 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking rustc-demangle v0.1.13 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Compiling regex v1.1.2 [INFO] [stderr] Compiling libc v0.2.50 (https://github.com/rust-lang/libc#e1c9ad19) [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking regex-syntax v0.6.5 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking csv-core v0.1.5 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking termcolor v0.3.6 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking stderrlog v0.4.1 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Checking csv v1.0.5 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking balena_migrator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `crate::MigErrCtx`, `crate::MigError`, `crate::MigErrorKind` [INFO] [stdout] --> src/linux/util.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{MigErrCtx, MigError, MigErrorKind}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ no `MigErrorKind` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `MigError` in the root [INFO] [stdout] | no `MigErrCtx` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::mig_error::MigErrCtx [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::mig_error::{MigErrCtx, MigError, MigErrorKind}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: the item is gated behind the `windows` feature [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::mig_error::MigError [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::mig_error::{MigErrCtx, MigError, MigErrorKind}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: the item is gated behind the `windows` feature [INFO] [stdout] = help: consider importing this enum instead: [INFO] [stdout] crate::mig_error::MigErrorKind [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::mig_error::{MigErrCtx, MigError, MigErrorKind}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: the item is gated behind the `windows` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::MigErrCtx`, `crate::MigError`, `crate::MigErrorKind` [INFO] [stdout] --> src/linux/util.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{MigErrCtx, MigError, MigErrorKind}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ no `MigErrorKind` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `MigError` in the root [INFO] [stdout] | no `MigErrCtx` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::mig_error::MigErrCtx [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::mig_error::{MigErrCtx, MigError, MigErrorKind}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: the item is gated behind the `windows` feature [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::mig_error::MigError [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::mig_error::{MigErrCtx, MigError, MigErrorKind}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: the item is gated behind the `windows` feature [INFO] [stdout] = help: consider importing this enum instead: [INFO] [stdout] crate::mig_error::MigErrorKind [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:32:45 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::mig_error::{MigErrCtx, MigError, MigErrorKind}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: the item is gated behind the `windows` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MigError` in this scope [INFO] [stdout] --> src/lib.rs:61:66 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn parse_from_str(os_release: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MigError` [INFO] [stdout] --> src/lib.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | None => return Err(MigError::from_remark( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MigError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MigErrorKind` [INFO] [stdout] --> src/lib.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | MigErrorKind::InvParam, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MigErrorKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigErrorKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MigError` in this scope [INFO] [stdout] --> src/lib.rs:78:39 [INFO] [stdout] | [INFO] [stdout] 78 | |i: usize| -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MigErrCtx` [INFO] [stdout] --> src/lib.rs:80:69 [INFO] [stdout] | [INFO] [stdout] 80 | Some(s) => Ok(s.as_str().parse::().context(MigErrCtx::from_remark( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MigErrCtx` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigErrCtx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MigErrorKind` [INFO] [stdout] --> src/lib.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | MigErrorKind::InvParam, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MigErrorKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigErrorKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MigError` in this scope [INFO] [stdout] --> src/lib.rs:61:66 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn parse_from_str(os_release: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MigError` [INFO] [stdout] --> src/lib.rs:87:40 [INFO] [stdout] | [INFO] [stdout] 87 | None => return Err(MigError::from_remark( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MigError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MigErrorKind` [INFO] [stdout] --> src/lib.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | MigErrorKind::InvParam, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MigErrorKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigErrorKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MigError` [INFO] [stdout] --> src/lib.rs:68:32 [INFO] [stdout] | [INFO] [stdout] 68 | None => return Err(MigError::from_remark( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MigError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MigError` [INFO] [stdout] --> src/lib.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | Err(MigError::from_remark( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MigError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MigErrorKind` [INFO] [stdout] --> src/lib.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | MigErrorKind::InvParam, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MigErrorKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigErrorKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MigErrorKind` [INFO] [stdout] --> src/lib.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | MigErrorKind::InvParam, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MigErrorKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigErrorKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MigError` in this scope [INFO] [stdout] --> src/lib.rs:121:57 [INFO] [stdout] | [INFO] [stdout] 121 | fn get_os_name<'a>(&'a mut self) -> Result<&'a str, MigError>; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MigError` in this scope [INFO] [stdout] --> src/lib.rs:122:66 [INFO] [stdout] | [INFO] [stdout] 122 | fn get_os_release<'a>(&'a mut self) -> Result<&'a OSRelease, MigError>; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MigError` in this scope [INFO] [stdout] --> src/lib.rs:78:39 [INFO] [stdout] | [INFO] [stdout] 78 | |i: usize| -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MigError` in this scope [INFO] [stdout] --> src/lib.rs:123:60 [INFO] [stdout] | [INFO] [stdout] 123 | fn get_os_arch<'a>(&'a mut self) -> Result<&'a OSArch, MigError>; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MigErrCtx` [INFO] [stdout] --> src/lib.rs:80:69 [INFO] [stdout] | [INFO] [stdout] 80 | Some(s) => Ok(s.as_str().parse::().context(MigErrCtx::from_remark( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MigErrCtx` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigErrCtx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MigError` in this scope [INFO] [stdout] --> src/lib.rs:124:58 [INFO] [stdout] | [INFO] [stdout] 124 | fn get_boot_dev<'a>(&'a mut self) -> Result<&'a str, MigError>; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MigError` in this scope [INFO] [stdout] --> src/lib.rs:125:46 [INFO] [stdout] | [INFO] [stdout] 125 | fn get_mem_tot(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MigErrorKind` [INFO] [stdout] --> src/lib.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | MigErrorKind::InvParam, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MigErrorKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigErrorKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MigError` in this scope [INFO] [stdout] --> src/lib.rs:126:48 [INFO] [stdout] | [INFO] [stdout] 126 | fn get_mem_avail(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MigError` in this scope [INFO] [stdout] --> src/lib.rs:127:44 [INFO] [stdout] | [INFO] [stdout] 127 | fn is_admin(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MigError` [INFO] [stdout] --> src/lib.rs:87:40 [INFO] [stdout] | [INFO] [stdout] 87 | None => return Err(MigError::from_remark( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MigError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MigErrorKind` [INFO] [stdout] --> src/lib.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | MigErrorKind::InvParam, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MigErrorKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigErrorKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MigError` in this scope [INFO] [stdout] --> src/lib.rs:128:50 [INFO] [stdout] | [INFO] [stdout] 128 | fn is_secure_boot(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MigError` in this scope [INFO] [stdout] --> src/lib.rs:129:47 [INFO] [stdout] | [INFO] [stdout] 129 | fn can_migrate(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MigError` [INFO] [stdout] --> src/lib.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | Err(MigError::from_remark( [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MigError` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MigError` in this scope [INFO] [stdout] --> src/lib.rs:130:41 [INFO] [stdout] | [INFO] [stdout] 130 | fn migrate(&mut self) -> Result<(), MigError>; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MigError` in this scope [INFO] [stdout] --> src/lib.rs:131:48 [INFO] [stdout] | [INFO] [stdout] 131 | fn is_uefi_boot(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MigErrorKind` [INFO] [stdout] --> src/lib.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | MigErrorKind::InvParam, [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `MigErrorKind` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigErrorKind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MigError` in this scope [INFO] [stdout] --> src/lib.rs:141:48 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn get_migrator() -> Result, MigError> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MigError` in this scope [INFO] [stdout] --> src/lib.rs:121:57 [INFO] [stdout] | [INFO] [stdout] 121 | fn get_os_name<'a>(&'a mut self) -> Result<&'a str, MigError>; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MigError` in this scope [INFO] [stdout] --> src/lib.rs:122:66 [INFO] [stdout] | [INFO] [stdout] 122 | fn get_os_release<'a>(&'a mut self) -> Result<&'a OSRelease, MigError>; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MigError` in this scope [INFO] [stdout] --> src/lib.rs:123:60 [INFO] [stdout] | [INFO] [stdout] 123 | fn get_os_arch<'a>(&'a mut self) -> Result<&'a OSArch, MigError>; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MigError` in this scope [INFO] [stdout] --> src/lib.rs:124:58 [INFO] [stdout] | [INFO] [stdout] 124 | fn get_boot_dev<'a>(&'a mut self) -> Result<&'a str, MigError>; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MigError` in this scope [INFO] [stdout] --> src/lib.rs:125:46 [INFO] [stdout] | [INFO] [stdout] 125 | fn get_mem_tot(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MigError` in this scope [INFO] [stdout] --> src/lib.rs:126:48 [INFO] [stdout] | [INFO] [stdout] 126 | fn get_mem_avail(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MigError` in this scope [INFO] [stdout] --> src/lib.rs:127:44 [INFO] [stdout] | [INFO] [stdout] 127 | fn is_admin(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MigError` in this scope [INFO] [stdout] --> src/lib.rs:128:50 [INFO] [stdout] | [INFO] [stdout] 128 | fn is_secure_boot(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MigError` in this scope [INFO] [stdout] --> src/lib.rs:129:47 [INFO] [stdout] | [INFO] [stdout] 129 | fn can_migrate(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MigError` in this scope [INFO] [stdout] --> src/lib.rs:130:41 [INFO] [stdout] | [INFO] [stdout] 130 | fn migrate(&mut self) -> Result<(), MigError>; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MigError` in this scope [INFO] [stdout] --> src/lib.rs:131:48 [INFO] [stdout] | [INFO] [stdout] 131 | fn is_uefi_boot(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MigError` in this scope [INFO] [stdout] --> src/lib.rs:141:48 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn get_migrator() -> Result, MigError> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 26 + use crate::mig_error::MigError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `balena_migrator` (lib) due to 24 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `balena_migrator` (lib test) due to 24 previous errors [INFO] running `Command { std: "docker" "inspect" "ea44fb63a4fd5130af876cc1347a95c062f1c6e44bbf8e77a6d3eb15bc8395b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea44fb63a4fd5130af876cc1347a95c062f1c6e44bbf8e77a6d3eb15bc8395b3", kill_on_drop: false }` [INFO] [stdout] ea44fb63a4fd5130af876cc1347a95c062f1c6e44bbf8e77a6d3eb15bc8395b3 [INFO] checking samothx/win_test against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamothx%2Fwin_test" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/samothx/win_test on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/samothx/win_test [INFO] finished tweaking git repo https://github.com/samothx/win_test [INFO] tweaked toml for git repo https://github.com/samothx/win_test written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/samothx/win_test 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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 98ea57c9ebe9801bf7dec5b0e109fb1ca0383153e1c770df5eb9e81097460e94 [INFO] running `Command { std: "docker" "start" "-a" "98ea57c9ebe9801bf7dec5b0e109fb1ca0383153e1c770df5eb9e81097460e94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98ea57c9ebe9801bf7dec5b0e109fb1ca0383153e1c770df5eb9e81097460e94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98ea57c9ebe9801bf7dec5b0e109fb1ca0383153e1c770df5eb9e81097460e94", kill_on_drop: false }` [INFO] [stdout] 98ea57c9ebe9801bf7dec5b0e109fb1ca0383153e1c770df5eb9e81097460e94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb782944b9451d5e4cdaa47ebe4cf871c4ee6c77e691b46f306dcd3aaaf5e398 [INFO] running `Command { std: "docker" "start" "-a" "eb782944b9451d5e4cdaa47ebe4cf871c4ee6c77e691b46f306dcd3aaaf5e398", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "eb782944b9451d5e4cdaa47ebe4cf871c4ee6c77e691b46f306dcd3aaaf5e398", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb782944b9451d5e4cdaa47ebe4cf871c4ee6c77e691b46f306dcd3aaaf5e398", kill_on_drop: false }` [INFO] [stdout] eb782944b9451d5e4cdaa47ebe4cf871c4ee6c77e691b46f306dcd3aaaf5e398