[INFO] cloning repository https://github.com/s6g/grep-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/s6g/grep-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs6g%2Fgrep-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs6g%2Fgrep-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9275c0f189475e9cdddbf1b159025329587aab07
[INFO] documenting s6g/grep-rs against beta-2022-07-10 for beta-1.63-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs6g%2Fgrep-rs" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/s6g/grep-rs on toolchain beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/s6g/grep-rs
[INFO] finished tweaking git repo https://github.com/s6g/grep-rs
[INFO] tweaked toml for git repo https://github.com/s6g/grep-rs written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/s6g/grep-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d411d8572403cdef45d48e3d3955df0f922ea3daab1031006fd9fedd8c877d6b
[INFO] running `Command { std: "docker" "start" "-a" "d411d8572403cdef45d48e3d3955df0f922ea3daab1031006fd9fedd8c877d6b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d411d8572403cdef45d48e3d3955df0f922ea3daab1031006fd9fedd8c877d6b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d411d8572403cdef45d48e3d3955df0f922ea3daab1031006fd9fedd8c877d6b", kill_on_drop: false }`
[INFO] [stdout] d411d8572403cdef45d48e3d3955df0f922ea3daab1031006fd9fedd8c877d6b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 088e2897d47f044905b26c3fd6b12d10bedd379a8ad9cd796fe48548a5f1d435
[INFO] running `Command { std: "docker" "start" "-a" "088e2897d47f044905b26c3fd6b12d10bedd379a8ad9cd796fe48548a5f1d435", kill_on_drop: false }`
[INFO] [stderr]  Documenting grsep v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0463]: can't find crate for `regex`
[INFO] [stdout]  --> src/main.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | extern crate regex;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `log`
[INFO] [stdout]  --> src/main.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[phase(plugin, link)] extern crate log;
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `regex_macros`
[INFO] [stdout]  --> src/main.rs:3:18
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[phase(plugin)] extern crate regex_macros;
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::File`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^ no `File` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::BufferedReader`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::io::BufferedReader;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^ no `BufferedReader` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::fs`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::io::fs;
[INFO] [stdout]   |     ^^^^^^^^^^^ no `fs` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::fs`
[INFO] [stdout]   --> src/main.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::io::fs::PathExtensions;
[INFO] [stdout]    |              ^^ could not find `fs` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `getopts::optflag`, `getopts::getopts`
[INFO] [stdout]   --> src/main.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 | use getopts::{optflag, getopts, OptGroup};
[INFO] [stdout]    |               ^^^^^^^  ^^^^^^^ no `getopts` in the root
[INFO] [stdout]    |               |
[INFO] [stdout]    |               no `optflag` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `phase` in this scope
[INFO] [stdout]  --> src/main.rs:2:3
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[phase(plugin, link)] extern crate log;
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `phase` in this scope
[INFO] [stdout]  --> src/main.rs:3:3
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[phase(plugin)] extern crate regex_macros;
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `debug` in this scope
[INFO] [stdout]   --> src/main.rs:92:13
[INFO] [stdout]    |
[INFO] [stdout] 92 |             debug!("{}", err);
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `error` in this scope
[INFO] [stdout]   --> src/main.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |             error!("Invalid search pattern specified.");
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `error` in this scope
[INFO] [stdout]    --> src/main.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |         error!("Invalid Path Specified.");
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `debug` in this scope
[INFO] [stdout]    --> src/main.rs:109:21
[INFO] [stdout]     |
[INFO] [stdout] 109 |                     debug!("{}", err);
[INFO] [stdout]     |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `error` in this scope
[INFO] [stdout]    --> src/main.rs:110:21
[INFO] [stdout]     |
[INFO] [stdout] 110 |                     error!("Unable to walk paths recursively.");
[INFO] [stdout]     |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `error` in this scope
[INFO] [stdout]    --> src/main.rs:126:13
[INFO] [stdout]     |
[INFO] [stdout] 126 |             error!("Path is not a file.");
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:20:11
[INFO] [stdout]    |
[INFO] [stdout] 20 |     line: uint, 
[INFO] [stdout]    |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/main.rs:24:23
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn search_path(path: &Path, re: &Regex, line_numbers: bool) {
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 7  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct `OptGroup` is private
[INFO] [stdout]   --> src/main.rs:16:33
[INFO] [stdout]    |
[INFO] [stdout] 16 | use getopts::{optflag, getopts, OptGroup};
[INFO] [stdout]    |                                 ^^^^^^^^ private struct
[INFO] [stdout]    |
[INFO] [stdout] note: the struct `OptGroup` is defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 20 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0463, E0603.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not document `grsep`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --crate-type bin --crate-name grsep src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=1248a5d89a0909e4 -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.0.1` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "088e2897d47f044905b26c3fd6b12d10bedd379a8ad9cd796fe48548a5f1d435", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "088e2897d47f044905b26c3fd6b12d10bedd379a8ad9cd796fe48548a5f1d435", kill_on_drop: false }`
[INFO] [stdout] 088e2897d47f044905b26c3fd6b12d10bedd379a8ad9cd796fe48548a5f1d435
