[INFO] updating cached repository https://github.com/r-darwish/dupfiles-rs [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] f8c495c2f3253314199312f59c9542d324b18cc6 [INFO] documenting r-darwish/dupfiles-rs against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr-darwish%2Fdupfiles-rs" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/r-darwish/dupfiles-rs on toolchain 394e1b40d264aa6928811919c1124fa248e7d802 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/r-darwish/dupfiles-rs [INFO] finished tweaking git repo https://github.com/r-darwish/dupfiles-rs [INFO] tweaked toml for git repo https://github.com/r-darwish/dupfiles-rs written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/r-darwish/dupfiles-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+394e1b40d264aa6928811919c1124fa248e7d802" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78f07570cb04e3df25d7358d6510a30239246f374297872166c3af1dc28f86bf [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" "78f07570cb04e3df25d7358d6510a30239246f374297872166c3af1dc28f86bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78f07570cb04e3df25d7358d6510a30239246f374297872166c3af1dc28f86bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78f07570cb04e3df25d7358d6510a30239246f374297872166c3af1dc28f86bf", kill_on_drop: false }` [INFO] [stdout] 78f07570cb04e3df25d7358d6510a30239246f374297872166c3af1dc28f86bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+394e1b40d264aa6928811919c1124fa248e7d802" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 031ae5c816fb133101d149cdad47b90e25552ebe859ed318b4b8f145689408af [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" "031ae5c816fb133101d149cdad47b90e25552ebe859ed318b4b8f145689408af", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking walker v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Documenting dupfiles v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/main.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use openssl::crypto::hash::hash; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `crypto` in `openssl` [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use openssl::crypto::hash::Type as HashType; [INFO] [stdout] | ^^^^^^ could not find `crypto` in `openssl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `memmap::Protection` [INFO] [stdout] --> src/main.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | use memmap::{Mmap, Protection}; [INFO] [stdout] | ^^^^^^^^^^ no `Protection` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: Could not document `dupfiles`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type bin --crate-name dupfiles src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern memmap=/opt/rustwide/target/debug/deps/libmemmap-4b0f45dd446ebaf6.rmeta --extern openssl=/opt/rustwide/target/debug/deps/libopenssl-5dc42df8add5de9f.rmeta --extern walker=/opt/rustwide/target/debug/deps/libwalker-8c561c9415b5b0c6.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "031ae5c816fb133101d149cdad47b90e25552ebe859ed318b4b8f145689408af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "031ae5c816fb133101d149cdad47b90e25552ebe859ed318b4b8f145689408af", kill_on_drop: false }` [INFO] [stdout] 031ae5c816fb133101d149cdad47b90e25552ebe859ed318b4b8f145689408af