[INFO] fetching crate embedded-ffi 0.1.2... [INFO] documenting embedded-ffi-0.1.2 against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] extracting crate embedded-ffi 0.1.2 into /workspace/builds/worker-106/source [INFO] validating manifest of crates.io crate embedded-ffi 0.1.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 embedded-ffi 0.1.2 [INFO] finished tweaking crates.io crate embedded-ffi 0.1.2 [INFO] tweaked toml for crates.io crate embedded-ffi 0.1.2 written to /workspace/builds/worker-106/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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/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] 00ff1998914e8c073f420a3a9c4868fe493cac630f0598b5456d4c2396e12d69 [INFO] running `Command { std: "docker" "start" "-a" "00ff1998914e8c073f420a3a9c4868fe493cac630f0598b5456d4c2396e12d69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00ff1998914e8c073f420a3a9c4868fe493cac630f0598b5456d4c2396e12d69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00ff1998914e8c073f420a3a9c4868fe493cac630f0598b5456d4c2396e12d69", kill_on_drop: false }` [INFO] [stdout] 00ff1998914e8c073f420a3a9c4868fe493cac630f0598b5456d4c2396e12d69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/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] 1c0913ba3320a6aa0ae1a1a6543ae103f0e85123ce5b4bb434a0a2abca2704cd [INFO] running `Command { std: "docker" "start" "-a" "1c0913ba3320a6aa0ae1a1a6543ae103f0e85123ce5b4bb434a0a2abca2704cd", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking cty v0.1.5 [INFO] [stderr] Checking cstr_core v0.1.2 [INFO] [stderr] Documenting embedded-ffi v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been renamed to `rustdoc::broken_intra_doc_links` [INFO] [stdout] --> src/lib.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::broken_intra_doc_links` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `alloc::string::String` [INFO] [stdout] --> src/lib.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | //! [`String`]: alloc::string::String [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no item named `alloc` in scope [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `CString` [INFO] [stdout] --> src/lib.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | //! [`CString`] and [`CStr`] are useful when you need to transfer [INFO] [stdout] | ^^^^^^^ no item named `CString` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `CString` [INFO] [stdout] --> src/lib.rs:70:29 [INFO] [stdout] | [INFO] [stdout] 70 | //! * **From Rust to C:** [`CString`] represents an owned, C-friendly [INFO] [stdout] | ^^^^^^^ no item named `CString` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `CString` [INFO] [stdout] --> src/lib.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | //! Rust code can create a [`CString`] out of a normal string (provided [INFO] [stdout] | ^^^^^^^ no item named `CString` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `OsString` [INFO] [stdout] --> src/lib.rs:85:7 [INFO] [stdout] | [INFO] [stdout] 85 | //! [`OsString`] and [`OsStr`] are useful when you need to transfer [INFO] [stdout] | ^^^^^^^^ no item named `OsString` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `OsString` [INFO] [stdout] --> src/lib.rs:87:60 [INFO] [stdout] | [INFO] [stdout] 87 | //! the output of external commands. Conversions between [`OsString`], [INFO] [stdout] | ^^^^^^^^ no item named `OsString` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `CString` [INFO] [stdout] --> src/lib.rs:88:62 [INFO] [stdout] | [INFO] [stdout] 88 | //! [`OsStr`] and Rust strings work similarly to those for [`CString`] [INFO] [stdout] | ^^^^^^^ no item named `CString` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `OsString` [INFO] [stdout] --> src/lib.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | //! * [`OsString`] represents an owned string in whatever [INFO] [stdout] | ^^^^^^^^ no item named `OsString` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `OsString` [INFO] [stdout] --> src/lib.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 94 | //! system use [`OsString`] instead of plain strings. [INFO] [stdout] | ^^^^^^^^ no item named `OsString` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `OsString` [INFO] [stdout] --> src/lib.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 99 | //! [`OsString`]. [INFO] [stdout] | ^^^^^^^^ no item named `OsString` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `OsString` [INFO] [stdout] --> src/lib.rs:110:29 [INFO] [stdout] | [INFO] [stdout] 110 | //! Additionally, on Unix [`OsString`] implements the [INFO] [stdout] | ^^^^^^^^ no item named `OsString` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `OsStringExt` [INFO] [stdout] --> src/lib.rs:111:7 [INFO] [stdout] | [INFO] [stdout] 111 | //! [`OsStringExt`] trait, [INFO] [stdout] | ^^^^^^^^^^^ no item named `OsStringExt` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `OsStringExt::from_vec` [INFO] [stdout] --> src/lib.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | //! [`from_vec`]: OsStringExt::from_vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no item named `OsStringExt` in scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `OsStringExt::into_vec` [INFO] [stdout] --> src/lib.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | //! [`into_vec`]: OsStringExt::into_vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no item named `OsStringExt` in scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `String` [INFO] [stdout] --> src/os_str.rs:97:53 [INFO] [stdout] | [INFO] [stdout] 97 | /// `&OsStr` is to [`OsString`] as [`&str`] is to [`String`]: the former in each pair are borrowed [INFO] [stdout] | ^^^^^^ no item named `String` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `str` is both a module and a builtin type [INFO] [stdout] --> src/os_str.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | /// [`&str`]: str [INFO] [stdout] | ^^^ ambiguous link [INFO] [stdout] | [INFO] [stdout] help: to link to the module, prefix with `mod@` [INFO] [stdout] | [INFO] [stdout] 104 | /// [`&str`]: mod@str [INFO] [stdout] | ++++ [INFO] [stdout] help: to link to the builtin type, prefix with `prim@` [INFO] [stdout] | [INFO] [stdout] 104 | /// [`&str`]: prim@str [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `str` is both a module and a builtin type [INFO] [stdout] --> src/os_str.rs:508:16 [INFO] [stdout] | [INFO] [stdout] 508 | /// [`&str`]: str [INFO] [stdout] | ^^^ ambiguous link [INFO] [stdout] | [INFO] [stdout] help: to link to the module, prefix with `mod@` [INFO] [stdout] | [INFO] [stdout] 508 | /// [`&str`]: mod@str [INFO] [stdout] | ++++ [INFO] [stdout] help: to link to the builtin type, prefix with `prim@` [INFO] [stdout] | [INFO] [stdout] 508 | /// [`&str`]: prim@str [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `OsString` [INFO] [stdout] --> src/os_str.rs:613:28 [INFO] [stdout] | [INFO] [stdout] 613 | /// As discussed in the [`OsString`] introduction, [`OsString`] and `OsStr` [INFO] [stdout] | ^^^^^^^^ no item named `OsString` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `OsString` [INFO] [stdout] --> src/os_str.rs:613:55 [INFO] [stdout] | [INFO] [stdout] 613 | /// As discussed in the [`OsString`] introduction, [`OsString`] and `OsStr` [INFO] [stdout] | ^^^^^^^^ no item named `OsString` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unresolved link to `OsString::with_capacity` [INFO] [stdout] --> src/os_str.rs:619:8 [INFO] [stdout] | [INFO] [stdout] 619 | /// [`OsString::with_capacity`] to avoid reallocations. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no item named `OsString` in scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.52s [INFO] running `Command { std: "docker" "inspect" "1c0913ba3320a6aa0ae1a1a6543ae103f0e85123ce5b4bb434a0a2abca2704cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c0913ba3320a6aa0ae1a1a6543ae103f0e85123ce5b4bb434a0a2abca2704cd", kill_on_drop: false }` [INFO] [stdout] 1c0913ba3320a6aa0ae1a1a6543ae103f0e85123ce5b4bb434a0a2abca2704cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/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] 9cd94167dc227e1208ffafd226b16c6d6709f6b9a59410584e46585e4a9a0028 [INFO] running `Command { std: "docker" "start" "-a" "9cd94167dc227e1208ffafd226b16c6d6709f6b9a59410584e46585e4a9a0028", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking cty v0.1.5 [INFO] [stderr] Checking cstr_core v0.1.2 [INFO] [stderr] Documenting embedded-ffi v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `intra_doc_link_resolution_failure` has been renamed to `rustdoc::broken_intra_doc_links` [INFO] [stdout] --> src/lib.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::broken_intra_doc_links` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `str` is both a module and a builtin type [INFO] [stdout] --> src/os_str.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 80 | /// [`&str`]: str [INFO] [stdout] | ^^^ ambiguous link [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | #![forbid(intra_doc_link_resolution_failure)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: to link to the module, prefix with `mod@` [INFO] [stdout] | [INFO] [stdout] 80 | /// [`&str`]: mod@str [INFO] [stdout] | ++++ [INFO] [stdout] help: to link to the builtin type, prefix with `prim@` [INFO] [stdout] | [INFO] [stdout] 80 | /// [`&str`]: prim@str [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `str` is both a module and a builtin type [INFO] [stdout] --> src/os_str.rs:104:15 [INFO] [stdout] | [INFO] [stdout] 104 | /// [`&str`]: str [INFO] [stdout] | ^^^ ambiguous link [INFO] [stdout] | [INFO] [stdout] help: to link to the module, prefix with `mod@` [INFO] [stdout] | [INFO] [stdout] 104 | /// [`&str`]: mod@str [INFO] [stdout] | ++++ [INFO] [stdout] help: to link to the builtin type, prefix with `prim@` [INFO] [stdout] | [INFO] [stdout] 104 | /// [`&str`]: prim@str [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `str` is both a module and a builtin type [INFO] [stdout] --> src/os_str.rs:508:16 [INFO] [stdout] | [INFO] [stdout] 508 | /// [`&str`]: str [INFO] [stdout] | ^^^ ambiguous link [INFO] [stdout] | [INFO] [stdout] help: to link to the module, prefix with `mod@` [INFO] [stdout] | [INFO] [stdout] 508 | /// [`&str`]: mod@str [INFO] [stdout] | ++++ [INFO] [stdout] help: to link to the builtin type, prefix with `prim@` [INFO] [stdout] | [INFO] [stdout] 508 | /// [`&str`]: prim@str [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `str` is both a module and a builtin type [INFO] [stdout] --> src/os_str.rs:522:43 [INFO] [stdout] | [INFO] [stdout] 522 | /// Converts an `OsStr` to a [`Cow`]`<`[`str`]`>`. [INFO] [stdout] | ^^^ ambiguous link [INFO] [stdout] | [INFO] [stdout] help: to link to the module, prefix with `mod@` [INFO] [stdout] | [INFO] [stdout] 522 | /// Converts an `OsStr` to a [`Cow`]`<`[`mod@str`]`>`. [INFO] [stdout] | ++++ [INFO] [stdout] help: to link to the builtin type, prefix with `prim@` [INFO] [stdout] | [INFO] [stdout] 522 | /// Converts an `OsStr` to a [`Cow`]`<`[`prim@str`]`>`. [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not document `embedded-ffi` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name embedded_ffi src/lib.rs -o /opt/rustwide/target/doc --cfg 'feature="alloc"' --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat -Z unstable-options --document-private-items -C metadata=cee188a12d46d71e -L dependency=/opt/rustwide/target/debug/deps --extern cstr_core=/opt/rustwide/target/debug/deps/libcstr_core-1d63f393ff55dcf9.rmeta --extern-html-root-url 'cstr_core=https://docs.rs/cstr_core/0.1.2/' -Zunstable-options --crate-version 0.1.2` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "9cd94167dc227e1208ffafd226b16c6d6709f6b9a59410584e46585e4a9a0028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cd94167dc227e1208ffafd226b16c6d6709f6b9a59410584e46585e4a9a0028", kill_on_drop: false }` [INFO] [stdout] 9cd94167dc227e1208ffafd226b16c6d6709f6b9a59410584e46585e4a9a0028