[INFO] crate embedded-ffi 0.1.2 is already in cache [INFO] documenting embedded-ffi-0.1.2 against try#66dfc4e010913fbed0c4ea91fc2c010004b0f441 for pr-73566 [INFO] extracting crate embedded-ffi 0.1.2 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate embedded-ffi 0.1.2 on toolchain 66dfc4e010913fbed0c4ea91fc2c010004b0f441 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b9351c783ac0f1a1d1f47cdb50667edce3d03c296e2519f956883f1cac5031c [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" "6b9351c783ac0f1a1d1f47cdb50667edce3d03c296e2519f956883f1cac5031c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b9351c783ac0f1a1d1f47cdb50667edce3d03c296e2519f956883f1cac5031c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b9351c783ac0f1a1d1f47cdb50667edce3d03c296e2519f956883f1cac5031c", kill_on_drop: false }` [INFO] [stdout] 6b9351c783ac0f1a1d1f47cdb50667edce3d03c296e2519f956883f1cac5031c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e650457b7f5af0187e6a67b7727f2be8c2996b062fbacc367ed399923d708197 [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" "e650457b7f5af0187e6a67b7727f2be8c2996b062fbacc367ed399923d708197", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [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] error: `[alloc::string::String]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/lib.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | //! [`String`]: alloc::string::String [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot be resolved, ignoring [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 escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[OsStringExt::from_vec]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/lib.rs:118:19 [INFO] [stdout] | [INFO] [stdout] 118 | //! [`from_vec`]: OsStringExt::from_vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot be resolved, ignoring [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[OsStringExt::into_vec]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/lib.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | //! [`into_vec`]: OsStringExt::into_vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot be resolved, ignoring [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[CString]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/lib.rs:67:6 [INFO] [stdout] | [INFO] [stdout] 67 | //! [`CString`] and [`CStr`] are useful when you need to transfer [INFO] [stdout] | ^^^^^^^^^ cannot be resolved, ignoring [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[CString]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/lib.rs:70:28 [INFO] [stdout] | [INFO] [stdout] 70 | //! * **From Rust to C:** [`CString`] represents an owned, C-friendly [INFO] [stdout] | ^^^^^^^^^ cannot be resolved, ignoring [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[CString]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/lib.rs:72:29 [INFO] [stdout] | [INFO] [stdout] 72 | //! Rust code can create a [`CString`] out of a normal string (provided [INFO] [stdout] | ^^^^^^^^^ cannot be resolved, ignoring [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[OsString]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/lib.rs:85:6 [INFO] [stdout] | [INFO] [stdout] 85 | //! [`OsString`] and [`OsStr`] are useful when you need to transfer [INFO] [stdout] | ^^^^^^^^^^ cannot be resolved, ignoring [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[OsString]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/lib.rs:87:59 [INFO] [stdout] | [INFO] [stdout] 87 | //! the output of external commands. Conversions between [`OsString`], [INFO] [stdout] | ^^^^^^^^^^ cannot be resolved, ignoring [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[CString]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/lib.rs:88:61 [INFO] [stdout] | [INFO] [stdout] 88 | //! [`OsStr`] and Rust strings work similarly to those for [`CString`] [INFO] [stdout] | ^^^^^^^^^ cannot be resolved, ignoring [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[OsString]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/lib.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | //! * [`OsString`] represents an owned string in whatever [INFO] [stdout] | ^^^^^^^^^^ cannot be resolved, ignoring [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[OsString]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/lib.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | //! system use [`OsString`] instead of plain strings. [INFO] [stdout] | ^^^^^^^^^^ cannot be resolved, ignoring [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[OsString]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/lib.rs:99:6 [INFO] [stdout] | [INFO] [stdout] 99 | //! [`OsString`]. [INFO] [stdout] | ^^^^^^^^^^ cannot be resolved, ignoring [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[OsString]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/lib.rs:110:28 [INFO] [stdout] | [INFO] [stdout] 110 | //! Additionally, on Unix [`OsString`] implements the [INFO] [stdout] | ^^^^^^^^^^ cannot be resolved, ignoring [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[OsStringExt]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/lib.rs:111:6 [INFO] [stdout] | [INFO] [stdout] 111 | //! [`OsStringExt`] trait, [INFO] [stdout] | ^^^^^^^^^^^^^ cannot be resolved, ignoring [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[String]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/os_str.rs:97:52 [INFO] [stdout] | [INFO] [stdout] 97 | /// `&OsStr` is to [`OsString`] as [`&str`] is to [`String`]: the former in each pair are borrowed [INFO] [stdout] | ^^^^^^^^ cannot be resolved, ignoring [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[OsString]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/os_str.rs:613:27 [INFO] [stdout] | [INFO] [stdout] 613 | /// As discussed in the [`OsString`] introduction, [`OsString`] and `OsStr` [INFO] [stdout] | ^^^^^^^^^^ cannot be resolved, ignoring [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[OsString]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/os_str.rs:613:54 [INFO] [stdout] | [INFO] [stdout] 613 | /// As discussed in the [`OsString`] introduction, [`OsString`] and `OsStr` [INFO] [stdout] | ^^^^^^^^^^ cannot be resolved, ignoring [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `[OsString::with_capacity]` cannot be resolved, ignoring it. [INFO] [stdout] --> src/os_str.rs:619:7 [INFO] [stdout] | [INFO] [stdout] 619 | /// [`OsString::with_capacity`] to avoid reallocations. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ cannot be resolved, ignoring [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, just add '\' before them like `\[` or `\]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [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 --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern cstr_core=/opt/rustwide/target/debug/deps/libcstr_core-7009185ee07e457d.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "e650457b7f5af0187e6a67b7727f2be8c2996b062fbacc367ed399923d708197", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e650457b7f5af0187e6a67b7727f2be8c2996b062fbacc367ed399923d708197", kill_on_drop: false }` [INFO] [stdout] e650457b7f5af0187e6a67b7727f2be8c2996b062fbacc367ed399923d708197