[INFO] fetching crate fd-lock 1.1.1... [INFO] documenting fd-lock-1.1.1 against try#66dfc4e010913fbed0c4ea91fc2c010004b0f441 for pr-73566 [INFO] extracting crate fd-lock 1.1.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate fd-lock 1.1.1 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 fd-lock 1.1.1 [INFO] finished tweaking crates.io crate fd-lock 1.1.1 [INFO] tweaked toml for crates.io crate fd-lock 1.1.1 written to /workspace/builds/worker-6/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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+66dfc4e010913fbed0c4ea91fc2c010004b0f441" "fetch" "--locked" "--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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 07be73514a01d87bf311edbfcaeb8e3fa8067a6c6269d90d9800950748a15932 [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" "07be73514a01d87bf311edbfcaeb8e3fa8067a6c6269d90d9800950748a15932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07be73514a01d87bf311edbfcaeb8e3fa8067a6c6269d90d9800950748a15932", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07be73514a01d87bf311edbfcaeb8e3fa8067a6c6269d90d9800950748a15932", kill_on_drop: false }` [INFO] [stdout] 07be73514a01d87bf311edbfcaeb8e3fa8067a6c6269d90d9800950748a15932 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 9d0c824c67a99596f0a8b11b67c662f2a8eb368631efc0f9ac4fe2e45f37f477 [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" "9d0c824c67a99596f0a8b11b67c662f2a8eb368631efc0f9ac4fe2e45f37f477", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking backtrace v0.3.49 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Documenting fd-lock v1.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | /// A specialized `Error` type. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | #![warn(missing_docs, missing_doc_code_examples, unreachable_pub)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | inner: Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/unix.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | /// A guard that unlocks the file descriptor when it goes out of scope. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/unix.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | lock: &'fdlock mut FdLock, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/unix.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | /// A file descriptor lock. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/unix.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | t: T, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / /// Error categories. [INFO] [stdout] 5 | | /// [INFO] [stdout] 6 | | /// This list is intended to grow over time and it is not recommended to [INFO] [stdout] 7 | | /// exhaustively match against it. It is used with the [`Error`] struct. [INFO] [stdout] ... | [INFO] [stdout] 10 | | /// [INFO] [stdout] 11 | | /// [`Error`]: std.struct.Error.html [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | /// The lock is already held. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | /// Any error not part of this list. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use failure::{self, Backtrace, Context, Fail}; [INFO] [stdout] 2 | | use std::fmt; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | /// Error categories. [INFO] [stdout] ... | [INFO] [stdout] 63 | | } [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | /// A specialized `Error` type. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / impl Error { [INFO] [stdout] 29 | | /// Access the [`ErrorKind`] member. [INFO] [stdout] 30 | | /// [INFO] [stdout] 31 | | /// [`ErrorKind`]: enum.ErrorKind.html [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / /// Access the [`ErrorKind`] member. [INFO] [stdout] 30 | | /// [INFO] [stdout] 31 | | /// [`ErrorKind`]: enum.ErrorKind.html [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/unix.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::{Error, ErrorKind}; [INFO] [stdout] 2 | | use libc::{flock, EWOULDBLOCK, LOCK_EX, LOCK_NB, LOCK_UN}; [INFO] [stdout] 3 | | use std::ops; [INFO] [stdout] 4 | | use std::os::unix::io::AsRawFd; [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/unix.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / impl FdLock { [INFO] [stdout] 45 | | /// Create a new instance. [INFO] [stdout] 46 | | #[inline] [INFO] [stdout] 47 | | pub fn new(t: T) -> Self { [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/unix.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | /// Create a new instance. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/unix.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / /// Acquires a new lock, blocking the current thread until it's able to do so. [INFO] [stdout] 52 | | /// [INFO] [stdout] 53 | | /// This function will block the local thread until it is available to acquire the lock. Upon [INFO] [stdout] 54 | | /// returning, the thread is the only thread with the lock held. An RAII guard is returned to allow [INFO] [stdout] 55 | | /// scoped unlock of the lock. When the guard goes out of scope, the lock will be unlocked. [INFO] [stdout] | |_______________________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/unix.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / /// Attempts to acquire this lock. [INFO] [stdout] 66 | | /// [INFO] [stdout] 67 | | /// If the lock could not be acquired at this time, then `Err` is returned. Otherwise, an RAII [INFO] [stdout] 68 | | /// guard is returned. The lock will be unlocked when the guard is dropped. [INFO] [stdout] 69 | | /// [INFO] [stdout] 70 | | /// This function does not block. [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/unix.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / impl Drop for FdLockGuard<'_, T> { [INFO] [stdout] 29 | | #[inline] [INFO] [stdout] 30 | | fn drop(&mut self) { [INFO] [stdout] 31 | | let fd = self.lock.t.as_raw_fd(); [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/unix.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / fn drop(&mut self) { [INFO] [stdout] 31 | | let fd = self.lock.t.as_raw_fd(); [INFO] [stdout] 32 | | if unsafe { flock(fd, LOCK_UN | LOCK_NB) } != 0 { [INFO] [stdout] 33 | | panic!("Could not unlock the file descriptor"); [INFO] [stdout] 34 | | } [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | / impl From for Error { [INFO] [stdout] 54 | | fn from(kind: ErrorKind) -> Error { [INFO] [stdout] 55 | | let inner = Context::new(kind); [INFO] [stdout] 56 | | Error { inner } [INFO] [stdout] 57 | | } [INFO] [stdout] 58 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / fn from(kind: ErrorKind) -> Error { [INFO] [stdout] 55 | | let inner = Context::new(kind); [INFO] [stdout] 56 | | Error { inner } [INFO] [stdout] 57 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / impl From> for Error { [INFO] [stdout] 61 | | fn from(inner: Context) -> Error { [INFO] [stdout] 62 | | Error { inner } [INFO] [stdout] 63 | | } [INFO] [stdout] 64 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | / fn from(inner: Context) -> Error { [INFO] [stdout] 62 | | Error { inner } [INFO] [stdout] 63 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/unix.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / impl ops::Deref for FdLockGuard<'_, T> { [INFO] [stdout] 13 | | type Target = T; [INFO] [stdout] 14 | | [INFO] [stdout] 15 | | #[inline] [INFO] [stdout] ... | [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/unix.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | type Target = T; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/unix.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / fn deref(&self) -> &Self::Target { [INFO] [stdout] 17 | | &self.lock.t [INFO] [stdout] 18 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/unix.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / impl ops::DerefMut for FdLockGuard<'_, T> { [INFO] [stdout] 22 | | #[inline] [INFO] [stdout] 23 | | fn deref_mut(&mut self) -> &mut Self::Target { [INFO] [stdout] 24 | | &mut self.lock.t [INFO] [stdout] 25 | | } [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/unix.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / fn deref_mut(&mut self) -> &mut Self::Target { [INFO] [stdout] 24 | | &mut self.lock.t [INFO] [stdout] 25 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / impl fmt::Display for Error { [INFO] [stdout] 48 | | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 49 | | fmt::Display::fmt(&self.inner, f) [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { [INFO] [stdout] 49 | | fmt::Display::fmt(&self.inner, f) [INFO] [stdout] 50 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / impl Fail for Error { [INFO] [stdout] 38 | | fn cause(&self) -> Option<&dyn Fail> { [INFO] [stdout] 39 | | self.inner.cause() [INFO] [stdout] 40 | | } [INFO] [stdout] ... | [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / fn cause(&self) -> Option<&dyn Fail> { [INFO] [stdout] 39 | | self.inner.cause() [INFO] [stdout] 40 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / fn backtrace(&self) -> Option<&Backtrace> { [INFO] [stdout] 43 | | self.inner.backtrace() [INFO] [stdout] 44 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.26s [INFO] running `Command { std: "docker" "inspect" "9d0c824c67a99596f0a8b11b67c662f2a8eb368631efc0f9ac4fe2e45f37f477", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d0c824c67a99596f0a8b11b67c662f2a8eb368631efc0f9ac4fe2e45f37f477", kill_on_drop: false }` [INFO] [stdout] 9d0c824c67a99596f0a8b11b67c662f2a8eb368631efc0f9ac4fe2e45f37f477