[INFO] cloning repository https://github.com/cadecairos/rls
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cadecairos/rls" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcadecairos%2Frls", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcadecairos%2Frls'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 41113b53da2d7d6aa00c0d357557f5465e055e1e
[INFO] documenting cadecairos/rls against beta-2023-04-20 for beta-1.70-rustdoc-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcadecairos%2Frls" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/cadecairos/rls on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/cadecairos/rls
[INFO] finished tweaking git repo https://github.com/cadecairos/rls
[INFO] tweaked toml for git repo https://github.com/cadecairos/rls written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/cadecairos/rls already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] de4fae022e0f28814ef4f01cdc438049b006ea50b30303a3a988b375a7f327df
[INFO] running `Command { std: "docker" "start" "-a" "de4fae022e0f28814ef4f01cdc438049b006ea50b30303a3a988b375a7f327df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "de4fae022e0f28814ef4f01cdc438049b006ea50b30303a3a988b375a7f327df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "de4fae022e0f28814ef4f01cdc438049b006ea50b30303a3a988b375a7f327df", kill_on_drop: false }`
[INFO] [stdout] de4fae022e0f28814ef4f01cdc438049b006ea50b30303a3a988b375a7f327df
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "RUSTFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 27c16f3464afb8d7b21ce20076799cf065e2677b10af0c4b4c790a1d28f5400b
[INFO] running `Command { std: "docker" "start" "-a" "27c16f3464afb8d7b21ce20076799cf065e2677b10af0c4b4c790a1d28f5400b", kill_on_drop: false }`
[INFO] [stderr]  Documenting rls v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0463]: can't find crate for `term`
[INFO] [stdout]  --> src/ls.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | extern crate term;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::fs`
[INFO] [stdout]  --> src/ls.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::fs;
[INFO] [stdout]   |     ^^^^^^^^^^^ no `fs` in `io`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items instead
[INFO] [stdout]   |
[INFO] [stdout] 6 | use ls::os::linux::fs;
[INFO] [stdout]   |     ~~~~~~~~~~~~~~~~~
[INFO] [stdout] 6 | use ls::os::unix::fs;
[INFO] [stdout]   |     ~~~~~~~~~~~~~~~~
[INFO] [stdout] 6 | use std::fs;
[INFO] [stdout]   |     ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `fail` in this scope
[INFO] [stdout]   --> src/ls.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 |     None => { fail!("Not a path") }
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `fail` in this scope
[INFO] [stdout]   --> src/ls.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 |     None => { fail!("not a path") }
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `fail` in this scope
[INFO] [stdout]   --> src/ls.rs:73:17
[INFO] [stdout]    |
[INFO] [stdout] 73 |     Err(e) => { fail!(e.to_string()) }
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `fail` in this scope
[INFO] [stdout]   --> src/ls.rs:80:17
[INFO] [stdout]    |
[INFO] [stdout] 80 |     Err(f) => { fail!(f.to_string()) }
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]  --> src/ls.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn sort_paths(a: &Path, b: &Path) -> Ordering {
[INFO] [stdout]   |                       ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 4 + use ls::path::Path;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]  --> src/ls.rs:8:33
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn sort_paths(a: &Path, b: &Path) -> Ordering {
[INFO] [stdout]   |                                 ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 4 + use ls::path::Path;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ordering` in this scope
[INFO] [stdout]  --> src/ls.rs:8:42
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub fn sort_paths(a: &Path, b: &Path) -> Ordering {
[INFO] [stdout]   |                                          ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 4 + use std::cmp::Ordering;
[INFO] [stdout]   |
[INFO] [stdout] 4 + use std::sync::atomic::Ordering;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/ls.rs:26:34
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn output_to_term(paths: Vec<Path>, show_hidden: bool) {
[INFO] [stdout]    |                                  ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use ls::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/ls.rs:61:49
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub fn get_target(matches: getopts::Matches) -> Path {
[INFO] [stdout]    |                                                 ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use ls::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/ls.rs:70:18
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn read(dir: Path) -> Vec<Path> {
[INFO] [stdout]    |                  ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use ls::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/ls.rs:70:31
[INFO] [stdout]    |
[INFO] [stdout] 70 | pub fn read(dir: Path) -> Vec<Path> {
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use ls::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/ls.rs:84:21
[INFO] [stdout]    |
[INFO] [stdout] 84 | pub fn get_cwd() -> Path {
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 4  + use ls::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct `OptGroup` is private
[INFO] [stdout]   --> src/ls.rs:77:56
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub fn get_matches(args: Vec<String>, opts: &[getopts::OptGroup]) -> getopts::Matches {
[INFO] [stdout]    |                                                        ^^^^^^^^ private struct
[INFO] [stdout]    |
[INFO] [stdout] note: the struct `OptGroup` is defined here
[INFO] [stdout]   --> /cargo/registry/src/index.crates.io-6f17d22bba15001f/getopts-0.2.21/src/lib.rs:670:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: struct `OptGroup` is private
[INFO] [stdout]   --> src/ls.rs:88:35
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub fn rls_usage(opts: &[getopts::OptGroup]) {
[INFO] [stdout]    |                                   ^^^^^^^^ private struct
[INFO] [stdout]    |
[INFO] [stdout] note: the struct `OptGroup` is defined here
[INFO] [stdout]   --> /cargo/registry/src/index.crates.io-6f17d22bba15001f/getopts-0.2.21/src/lib.rs:670:1
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 16 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 `rls`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --crate-type lib --crate-name rls src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items -C metadata=b30389c1fe9b4a8e -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.0.1` (exit status: 1)
[INFO] running `Command { std: "docker" "inspect" "27c16f3464afb8d7b21ce20076799cf065e2677b10af0c4b4c790a1d28f5400b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "27c16f3464afb8d7b21ce20076799cf065e2677b10af0c4b4c790a1d28f5400b", kill_on_drop: false }`
[INFO] [stdout] 27c16f3464afb8d7b21ce20076799cf065e2677b10af0c4b4c790a1d28f5400b
