[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d2885e21627f7ebff6249f75ac7929595f0ab6a0 [INFO] documenting samothx/win_test against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamothx%2Fwin_test" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/samothx/win_test on toolchain 394e1b40d264aa6928811919c1124fa248e7d802 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/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/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: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5aefe95e645375ebab4d663354deef03a2cc131685d0cc95b3bda2605c0e9179 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5aefe95e645375ebab4d663354deef03a2cc131685d0cc95b3bda2605c0e9179", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5aefe95e645375ebab4d663354deef03a2cc131685d0cc95b3bda2605c0e9179", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5aefe95e645375ebab4d663354deef03a2cc131685d0cc95b3bda2605c0e9179", kill_on_drop: false }` [INFO] [stdout] 5aefe95e645375ebab4d663354deef03a2cc131685d0cc95b3bda2605c0e9179 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 977ccf63d03bba9c1849a7677fa518fe2048c0ffc9e819335ae96cab44ee6449 [INFO] running `Command { std: "docker" "start" "-a" "977ccf63d03bba9c1849a7677fa518fe2048c0ffc9e819335ae96cab44ee6449", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling cc v1.0.31 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling autocfg v0.1.2 [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] Checking ucd-util v0.1.3 [INFO] [stderr] Compiling libc v0.2.50 (https://github.com/rust-lang/libc#e1c9ad19) [INFO] [stderr] Checking rustc-demangle v0.1.13 [INFO] [stderr] Compiling regex v1.1.2 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking termcolor v0.3.6 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking regex-syntax v0.6.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling backtrace v0.3.14 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking csv-core v0.1.5 [INFO] [stderr] Checking chrono v0.4.6 [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] Documenting 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] [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[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: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: Could not document `balena_migrator`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name balena_migrator src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern clap=/opt/rustwide/target/debug/deps/libclap-7d3880bbb01eb686.rmeta --extern csv=/opt/rustwide/target/debug/deps/libcsv-08998b535e726959.rmeta --extern failure=/opt/rustwide/target/debug/deps/libfailure-fb7fc64b204ae7f7.rmeta --extern lazy_static=/opt/rustwide/target/debug/deps/liblazy_static-a61c53c0be51164b.rmeta --extern libc=/opt/rustwide/target/debug/deps/liblibc-7fbd0010103fffb2.rmeta --extern log=/opt/rustwide/target/debug/deps/liblog-83fffd04fbe6533a.rmeta --extern regex=/opt/rustwide/target/debug/deps/libregex-62eab0dd0b1bcdfd.rmeta --extern stderrlog=/opt/rustwide/target/debug/deps/libstderrlog-54b44de164f7b10e.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "977ccf63d03bba9c1849a7677fa518fe2048c0ffc9e819335ae96cab44ee6449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "977ccf63d03bba9c1849a7677fa518fe2048c0ffc9e819335ae96cab44ee6449", kill_on_drop: false }` [INFO] [stdout] 977ccf63d03bba9c1849a7677fa518fe2048c0ffc9e819335ae96cab44ee6449