[INFO] fetching crate cfile 0.5.1... [INFO] documenting cfile-0.5.1 against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] extracting crate cfile 0.5.1 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate cfile 0.5.1 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 cfile 0.5.1 [INFO] finished tweaking crates.io crate cfile 0.5.1 [INFO] tweaked toml for crates.io crate cfile 0.5.1 written to /workspace/builds/worker-15/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] [stderr] Blocking waiting for file lock on package cache [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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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] 1f55a38da9329162fa28cc359b2b02c6d3626e81e2e0b0dc690378330a30c223 [INFO] running `Command { std: "docker" "start" "-a" "1f55a38da9329162fa28cc359b2b02c6d3626e81e2e0b0dc690378330a30c223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f55a38da9329162fa28cc359b2b02c6d3626e81e2e0b0dc690378330a30c223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f55a38da9329162fa28cc359b2b02c6d3626e81e2e0b0dc690378330a30c223", kill_on_drop: false }` [INFO] [stdout] 1f55a38da9329162fa28cc359b2b02c6d3626e81e2e0b0dc690378330a30c223 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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] 8595a7fbfcfecc5853c2f08218463633e1297de45a6ac39ca0157fadaf0ac664 [INFO] running `Command { std: "docker" "start" "-a" "8595a7fbfcfecc5853c2f08218463633e1297de45a6ac39ca0157fadaf0ac664", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking foreign-types-shared v0.3.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling foreign-types-macros v0.2.2 [INFO] [stderr] Checking foreign-types v0.5.0 [INFO] [stderr] Documenting cfile v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.43s [INFO] running `Command { std: "docker" "inspect" "8595a7fbfcfecc5853c2f08218463633e1297de45a6ac39ca0157fadaf0ac664", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8595a7fbfcfecc5853c2f08218463633e1297de45a6ac39ca0157fadaf0ac664", kill_on_drop: false }` [INFO] [stdout] 8595a7fbfcfecc5853c2f08218463633e1297de45a6ac39ca0157fadaf0ac664 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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=warn" "-e" "DOCS_RS=1" "-e" "RUSTC_BOOTSTRAP=1" "-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" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--frozen" "--message-format=json" "--" "-Z" "unstable-options" "--document-private-items", kill_on_drop: false }` [INFO] [stdout] aa5ee5adada92ec20ae706eab22f284581ab104bf70d0976d22fb68135792924 [INFO] running `Command { std: "docker" "start" "-a" "aa5ee5adada92ec20ae706eab22f284581ab104bf70d0976d22fb68135792924", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking foreign-types-shared v0.3.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling foreign-types-macros v0.2.2 [INFO] [stderr] Checking foreign-types v0.5.0 [INFO] [stderr] Documenting cfile v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected identifier [INFO] [stdout] --> src/cfile.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / foreign_type! { [INFO] [stdout] 26 | | /// A reference to an open stream on the filesystem. [INFO] [stdout] 27 | | /// [INFO] [stdout] 28 | | /// An instance of a `CFile` can be read and/or written depending on what modes it was opened with. [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::foreign_type_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::cfile::CFileRef` [INFO] [stdout] --> src/iter.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::cfile::CFileRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `CFileRef` in `cfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::CFile`, `crate::CFileRef` [INFO] [stdout] --> src/stream.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::{CFile, CFileRef}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ no `CFileRef` in the root [INFO] [stdout] | | [INFO] [stdout] | no `CFile` in the root [INFO] [stdout] | help: a similar name exists in the module (notice the capitalization): `cfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::cfile::CFile`, `crate::cfile::CFileRef` [INFO] [stdout] --> src/lib.rs:49:70 [INFO] [stdout] | [INFO] [stdout] 49 | pub use crate::cfile::{fdopen, open, stderr, stdin, stdout, tmpfile, CFile, CFileRef}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ no `CFileRef` in `cfile` [INFO] [stdout] | | [INFO] [stdout] | no `CFile` in `cfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::cfile::CFileRef` [INFO] [stdout] --> src/lock.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::cfile::CFileRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `CFileRef` in `cfile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CFileRef` in this scope [INFO] [stdout] --> src/cfile.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | impl AsRawFd for CFileRef { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CFile` in this scope [INFO] [stdout] --> src/cfile.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | impl IntoRawFd for CFile { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CFileRef` in this scope [INFO] [stdout] --> src/cfile.rs:74:6 [INFO] [stdout] | [INFO] [stdout] 74 | impl CFileRef { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CFile` in this scope [INFO] [stdout] --> src/cfile.rs:81:68 [INFO] [stdout] | [INFO] [stdout] 74 | impl CFileRef { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn reopen(&self, filename: &str, mode: &str) -> io::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CFile` in this scope [INFO] [stdout] --> src/cfile.rs:132:72 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn open>(path: P, mode: &str) -> io::Result { [INFO] [stdout] | - ^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, CFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CFileRef` in this scope [INFO] [stdout] --> src/cfile.rs:213:47 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn stdin() -> io::Result<&'static CFileRef> { [INFO] [stdout] | - ^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CFileRef` in this scope [INFO] [stdout] --> src/cfile.rs:218:48 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn stdout() -> io::Result<&'static CFileRef> { [INFO] [stdout] | - ^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CFileRef` in this scope [INFO] [stdout] --> src/cfile.rs:223:48 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn stderr() -> io::Result<&'static CFileRef> { [INFO] [stdout] | - ^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CFile` in this scope [INFO] [stdout] --> src/cfile.rs:267:32 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn tmpfile() -> io::Result { [INFO] [stdout] | - ^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CFile` in this scope [INFO] [stdout] --> src/cfile.rs:285:68 [INFO] [stdout] | [INFO] [stdout] 285 | pub fn fdopen(s: &S, mode: &str) -> io::Result { [INFO] [stdout] | - ^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, CFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CFileRef` in this scope [INFO] [stdout] --> src/cfile.rs:301:14 [INFO] [stdout] | [INFO] [stdout] 301 | impl CFileRef { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CFileRef` in this scope [INFO] [stdout] --> src/cfile.rs:302:85 [INFO] [stdout] | [INFO] [stdout] 301 | impl CFileRef { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 302 | pub fn fdopen>(fd: RawFd, mode: S) -> io::Result<&'static CFileRef> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CFile` in this scope [INFO] [stdout] --> src/cfile.rs:315:14 [INFO] [stdout] | [INFO] [stdout] 315 | impl CFile { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CFile` in this scope [INFO] [stdout] --> src/cfile.rs:316:76 [INFO] [stdout] | [INFO] [stdout] 315 | impl CFile { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 316 | pub fn fdopen>(fd: RawFd, mode: S) -> io::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 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 `cfile` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name cfile src/lib.rs -o /opt/rustwide/target/doc --cfg 'feature="default"' --cfg 'feature="doc"' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat -Z unstable-options --document-private-items -C metadata=a8ca0ff205a75260 -L dependency=/opt/rustwide/target/debug/deps --extern cfg_if=/opt/rustwide/target/debug/deps/libcfg_if-f0be138ff93e7396.rmeta --extern foreign_types=/opt/rustwide/target/debug/deps/libforeign_types-65b00a0c13262d4d.rmeta --extern libc=/opt/rustwide/target/debug/deps/liblibc-4d71df194c95b93b.rmeta --extern-html-root-url 'cfg_if=https://docs.rs/cfg-if/0.1.10/' --extern-html-root-url 'foreign_types=https://docs.rs/foreign-types/0.5.0/' --extern-html-root-url 'libc=https://docs.rs/libc/0.2.126/' -Zunstable-options --crate-version 0.5.1` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "aa5ee5adada92ec20ae706eab22f284581ab104bf70d0976d22fb68135792924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa5ee5adada92ec20ae706eab22f284581ab104bf70d0976d22fb68135792924", kill_on_drop: false }` [INFO] [stdout] aa5ee5adada92ec20ae706eab22f284581ab104bf70d0976d22fb68135792924