[INFO] updating cached repository https://github.com/Freaky/faccess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 730127df4c981d088600e3792bc94ffcb1c43542 [INFO] documenting Freaky/faccess against try#66dfc4e010913fbed0c4ea91fc2c010004b0f441 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFreaky%2Ffaccess" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Freaky/faccess 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 git repo https://github.com/Freaky/faccess [INFO] finished tweaking git repo https://github.com/Freaky/faccess [INFO] tweaked toml for git repo https://github.com/Freaky/faccess written to /workspace/builds/worker-1/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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] fcaa89acb38e1c87075a01b9d870d649ed5186d8d3cdc69df26431fb133d257a [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" "fcaa89acb38e1c87075a01b9d870d649ed5186d8d3cdc69df26431fb133d257a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcaa89acb38e1c87075a01b9d870d649ed5186d8d3cdc69df26431fb133d257a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcaa89acb38e1c87075a01b9d870d649ed5186d8d3cdc69df26431fb133d257a", kill_on_drop: false }` [INFO] [stdout] fcaa89acb38e1c87075a01b9d870d649ed5186d8d3cdc69df26431fb133d257a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 37e1f375822c4c13bb67862d7dcfe298f34f0af2032eecfdacf73476fc32d45e [INFO] running `Command { std: "docker" "start" "-a" "37e1f375822c4c13bb67862d7dcfe298f34f0af2032eecfdacf73476fc32d45e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Documenting faccess v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / mod imp { [INFO] [stdout] 78 | | use super::*; [INFO] [stdout] 79 | | [INFO] [stdout] 80 | | use std::ffi::CString; [INFO] [stdout] ... | [INFO] [stdout] 123 | | } [INFO] [stdout] 124 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(missing_doc_code_examples)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | / fn eaccess(p: &Path, mode: c_int) -> io::Result<()> { [INFO] [stdout] 93 | | let path = CString::new(p.as_os_str().as_bytes())?; [INFO] [stdout] 94 | | unsafe { [INFO] [stdout] 95 | | if faccessat(AT_FDCWD, path.as_ptr() as *const i8, mode, AT_EACCESS) == 0 { [INFO] [stdout] ... | [INFO] [stdout] 100 | | } [INFO] [stdout] 101 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | / pub fn access(p: &Path, mode: AccessMode) -> io::Result<()> { [INFO] [stdout] 104 | | let mut imode = 0; [INFO] [stdout] 105 | | [INFO] [stdout] 106 | | if mode.contains(AccessMode::EXISTS) { [INFO] [stdout] ... | [INFO] [stdout] 122 | | eaccess(p, imode) [INFO] [stdout] 123 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:401:1 [INFO] [stdout] | [INFO] [stdout] 401 | /// Extension trait for `std::path::Path`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:505:1 [INFO] [stdout] | [INFO] [stdout] 505 | / impl PathExt for Path { [INFO] [stdout] 506 | | fn access(&self, mode: AccessMode) -> io::Result<()> { [INFO] [stdout] 507 | | imp::access(&self, mode) [INFO] [stdout] 508 | | } [INFO] [stdout] 509 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:506:5 [INFO] [stdout] | [INFO] [stdout] 506 | / fn access(&self, mode: AccessMode) -> io::Result<()> { [INFO] [stdout] 507 | | imp::access(&self, mode) [INFO] [stdout] 508 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.68s [INFO] running `Command { std: "docker" "inspect" "37e1f375822c4c13bb67862d7dcfe298f34f0af2032eecfdacf73476fc32d45e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37e1f375822c4c13bb67862d7dcfe298f34f0af2032eecfdacf73476fc32d45e", kill_on_drop: false }` [INFO] [stdout] 37e1f375822c4c13bb67862d7dcfe298f34f0af2032eecfdacf73476fc32d45e