[INFO] updating cached repository https://github.com/fhartwig/punch [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] 72c1a5a379e897a53afc1e69e294072d3a17a964 [INFO] documenting fhartwig/punch against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffhartwig%2Fpunch" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fhartwig/punch 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/fhartwig/punch [INFO] finished tweaking git repo https://github.com/fhartwig/punch [INFO] tweaked toml for git repo https://github.com/fhartwig/punch written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/fhartwig/punch 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-9/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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] 83199cd4e670b3ad6cb7fc9a2cd540af6b3e2ab5a5ba6378c62614dc1d2f9238 [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" "83199cd4e670b3ad6cb7fc9a2cd540af6b3e2ab5a5ba6378c62614dc1d2f9238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83199cd4e670b3ad6cb7fc9a2cd540af6b3e2ab5a5ba6378c62614dc1d2f9238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83199cd4e670b3ad6cb7fc9a2cd540af6b3e2ab5a5ba6378c62614dc1d2f9238", kill_on_drop: false }` [INFO] [stdout] 83199cd4e670b3ad6cb7fc9a2cd540af6b3e2ab5a5ba6378c62614dc1d2f9238 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] c395b50d41d958eb7c3996adce681821e5813c94dfe1da6bbf773e7ad82ef7df [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" "c395b50d41d958eb7c3996adce681821e5813c94dfe1da6bbf773e7ad82ef7df", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Documenting punch v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `time::now_utc`, `time::Tm`, `time::empty_tm`, `time::strptime` [INFO] [stdout] --> src/main.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use time::{Duration, now_utc, Tm, empty_tm, strptime}; [INFO] [stdout] | ^^^^^^^ ^^ ^^^^^^^^ ^^^^^^^^ no `strptime` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `empty_tm` in the root [INFO] [stdout] | | no `Tm` in the root [INFO] [stdout] | no `now_utc` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: Could not document `punch`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type bin --crate-name punch 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 time=/opt/rustwide/target/debug/deps/libtime-fd071891a56314cf.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "c395b50d41d958eb7c3996adce681821e5813c94dfe1da6bbf773e7ad82ef7df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c395b50d41d958eb7c3996adce681821e5813c94dfe1da6bbf773e7ad82ef7df", kill_on_drop: false }` [INFO] [stdout] c395b50d41d958eb7c3996adce681821e5813c94dfe1da6bbf773e7ad82ef7df