[INFO] cloning repository https://github.com/shiroyasha/rust_grep
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shiroyasha/rust_grep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiroyasha%2Frust_grep", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiroyasha%2Frust_grep'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2eae909e9d1ec6efc28974029da892736592beb5
[INFO] documenting shiroyasha/rust_grep against beta-2021-08-01 for beta-1.55-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiroyasha%2Frust_grep" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/shiroyasha/rust_grep on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/shiroyasha/rust_grep
[INFO] finished tweaking git repo https://github.com/shiroyasha/rust_grep
[INFO] tweaked toml for git repo https://github.com/shiroyasha/rust_grep written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/shiroyasha/rust_grep already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] aa6d4bf2863a693e705e59ee2f731c2a2fc99ec744b81a92ce282c464be6c66c
[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" "aa6d4bf2863a693e705e59ee2f731c2a2fc99ec744b81a92ce282c464be6c66c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "aa6d4bf2863a693e705e59ee2f731c2a2fc99ec744b81a92ce282c464be6c66c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aa6d4bf2863a693e705e59ee2f731c2a2fc99ec744b81a92ce282c464be6c66c", kill_on_drop: false }`
[INFO] [stdout] aa6d4bf2863a693e705e59ee2f731c2a2fc99ec744b81a92ce282c464be6c66c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3607af537941e920e50d478ec242a4b8e8f6de3c7afde6fb043478e07ffdc813
[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" "3607af537941e920e50d478ec242a4b8e8f6de3c7afde6fb043478e07ffdc813", kill_on_drop: false }`
[INFO] [stderr]  Documenting rg v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `found`
[INFO] [stdout]   --> src/main.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |             println!("{}", path.display())
[INFO] [stdout]    |                                           - expected one of `.`, `;`, `?`, `}`, or an operator
[INFO] [stdout] 15 |             found = true
[INFO] [stdout]    |             ^^^^^ unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/main.rs:25:31
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let mut number_of_files = 0u;
[INFO] [stdout]    |                               ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]   --> src/main.rs:45:20
[INFO] [stdout]    |
[INFO] [stdout] 45 |     for _ in range(0u, number_of_files) {
[INFO] [stdout]    |                    ^^ invalid suffix `u`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::comm`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::comm;
[INFO] [stdout]   |     ^^^^^^^^^ no `comm` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `std::io::File`, `std::io::BufferedReader`, `std::io::fs`
[INFO] [stdout]  --> src/main.rs:3:15
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::io::{File, BufferedReader, fs};
[INFO] [stdout]   |               ^^^^  ^^^^^^^^^^^^^^  ^^ no `fs` in `io`
[INFO] [stdout]   |               |     |
[INFO] [stdout]   |               |     no `BufferedReader` in `io`
[INFO] [stdout]   |               no `File` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::fs`
[INFO] [stdout]  --> src/main.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::fs::PathExtensions;
[INFO] [stdout]   |              ^^ could not find `fs` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]  --> src/main.rs:6:45
[INFO] [stdout]   |
[INFO] [stdout] 6 | fn search_in_file(text_to_find: &str, path: Path) -> bool {
[INFO] [stdout]   |                                             ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::path::Path;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `IoError` in module `std::io`
[INFO] [stdout]   --> src/main.rs:54:28
[INFO] [stdout]    |
[INFO] [stdout] 54 |   fn log_error(why: std::io::IoError) {
[INFO] [stdout]    |                              ^^^^^^^ help: a struct with a similar name exists: `Error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: Compilation failed, aborting rustdoc
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not document `rg`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --crate-type bin --crate-name rg 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 --cap-lints=warn --crate-version 0.0.1` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "3607af537941e920e50d478ec242a4b8e8f6de3c7afde6fb043478e07ffdc813", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3607af537941e920e50d478ec242a4b8e8f6de3c7afde6fb043478e07ffdc813", kill_on_drop: false }`
[INFO] [stdout] 3607af537941e920e50d478ec242a4b8e8f6de3c7afde6fb043478e07ffdc813
