[INFO] fetching crate smc 0.2.2... [INFO] documenting smc-0.2.2 against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] extracting crate smc 0.2.2 into /workspace/builds/worker-23/source [INFO] validating manifest of crates.io crate smc 0.2.2 on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate smc 0.2.2 [INFO] finished tweaking crates.io crate smc 0.2.2 [INFO] tweaked toml for crates.io crate smc 0.2.2 written to /workspace/builds/worker-23/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46808130866f7b25bc06146d3ce9d80193700c8a09a83af9d3eabe61202896bb [INFO] running `Command { std: "docker" "start" "-a" "46808130866f7b25bc06146d3ce9d80193700c8a09a83af9d3eabe61202896bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46808130866f7b25bc06146d3ce9d80193700c8a09a83af9d3eabe61202896bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46808130866f7b25bc06146d3ce9d80193700c8a09a83af9d3eabe61202896bb", kill_on_drop: false }` [INFO] [stdout] 46808130866f7b25bc06146d3ce9d80193700c8a09a83af9d3eabe61202896bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 681015742a08941f7be18edcc234710fbdf8e39240d7ae8cdee66bfb93389d21 [INFO] running `Command { std: "docker" "start" "-a" "681015742a08941f7be18edcc234710fbdf8e39240d7ae8cdee66bfb93389d21", kill_on_drop: false }` [INFO] [stderr] Documenting smc v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `four_char_code` [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate four_char_code; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `lazy_static` [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: SMC only works on macOS [INFO] [stdout] --> src/lib.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | compile_error!("SMC only works on macOS"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `libc::CTL_HW`, `four_char_code::FourCharCode` [INFO] [stdout] --> src/lib.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | use libc::{sysctl, CTL_HW}; [INFO] [stdout] | ^^^^^^ no `CTL_HW` in the root [INFO] [stdout] | [INFO] [stdout] ::: src/conversions.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | use four_char_code::{four_char_code, FourCharCode}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `four_char_code` [INFO] [stdout] --> src/conversions.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 12 | const TYPE_FLAG: FourCharCode = four_char_code!("flag"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `four_char_code` [INFO] [stdout] --> src/conversions.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | const TYPE_I8: FourCharCode = four_char_code!("si8 "); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `four_char_code` [INFO] [stdout] --> src/conversions.rs:14:31 [INFO] [stdout] | [INFO] [stdout] 14 | const TYPE_U8: FourCharCode = four_char_code!("ui8 "); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `four_char_code` [INFO] [stdout] --> src/conversions.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | const TYPE_I16: FourCharCode = four_char_code!("si16"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `four_char_code` [INFO] [stdout] --> src/conversions.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | const TYPE_U16: FourCharCode = four_char_code!("ui16"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `four_char_code` [INFO] [stdout] --> src/conversions.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | const TYPE_I32: FourCharCode = four_char_code!("si32"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `four_char_code` [INFO] [stdout] --> src/conversions.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | const TYPE_U32: FourCharCode = four_char_code!("ui32"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `four_char_code` [INFO] [stdout] --> src/conversions.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | const TYPE_FPE2: FourCharCode = four_char_code!("fpe2"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `four_char_code` [INFO] [stdout] --> src/conversions.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | const TYPE_SP78: FourCharCode = four_char_code!("sp78"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `four_char_code` [INFO] [stdout] --> src/conversions.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | const TYPE_FAN: FourCharCode = four_char_code!("{fds"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `four_char_code` [INFO] [stdout] --> src/lib.rs:137:33 [INFO] [stdout] | [INFO] [stdout] 137 | const TYPE_SP78: FourCharCode = four_char_code!("sp78"); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lazy_static` in this scope [INFO] [stdout] --> src/lib.rs:382:1 [INFO] [stdout] | [INFO] [stdout] 382 | lazy_static! { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `lazy_static` is imported here, but it is an unresolved item, not a macro [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `four_char_code` [INFO] [stdout] --> src/lib.rs:444:51 [INFO] [stdout] | [INFO] [stdout] 444 | let bitmask: u16 = self.smc_repr.read_key(four_char_code!("FS! "))?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `four_char_code` [INFO] [stdout] --> src/lib.rs:449:51 [INFO] [stdout] | [INFO] [stdout] 449 | let bitmask: u16 = self.smc_repr.read_key(four_char_code!("FS! "))?; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `four_char_code` [INFO] [stdout] --> src/lib.rs:458:37 [INFO] [stdout] | [INFO] [stdout] 458 | self.smc_repr.write_key(four_char_code!("FS! "), new) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `four_char_code` [INFO] [stdout] --> src/lib.rs:522:25 [INFO] [stdout] | [INFO] [stdout] 522 | self.0.read_key(four_char_code!("#KEY")) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `four_char_code` [INFO] [stdout] --> src/lib.rs:554:46 [INFO] [stdout] | [INFO] [stdout] 554 | Ok(usize::from(self.0.read_key::(four_char_code!("FNum"))?)) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `four_char_code` [INFO] [stdout] --> src/lib.rs:579:25 [INFO] [stdout] | [INFO] [stdout] 579 | self.0.read_key(four_char_code!("MSDI")) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not document `smc` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name smc src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=1bf9121593fb3159 -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.2.2` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "681015742a08941f7be18edcc234710fbdf8e39240d7ae8cdee66bfb93389d21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "681015742a08941f7be18edcc234710fbdf8e39240d7ae8cdee66bfb93389d21", kill_on_drop: false }` [INFO] [stdout] 681015742a08941f7be18edcc234710fbdf8e39240d7ae8cdee66bfb93389d21