[INFO] updating cached repository https://github.com/amcoder/tail-rust
[INFO] running `"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"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 9ff6e8fc26e3cfaf1ec623f4d32e963fd516a809
[INFO] documenting amcoder/tail-rust against beta-2019-12-18 for beta-1.41-rustdoc-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famcoder%2Ftail-rust" "/workspace/builds/worker-6/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/amcoder/tail-rust on toolchain beta-2019-12-18
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/amcoder/tail-rust
[INFO] finished tweaking git repo https://github.com/amcoder/tail-rust
[INFO] tweaked toml for git repo https://github.com/amcoder/tail-rust written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/amcoder/tail-rust already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-12-18" "doc" "--frozen" "--no-deps" "--document-private-items"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 946b84363e8009899fce98d822d23d99c14acfb2bbf626b26030b919c5dd8277
[INFO] running `"docker" "start" "-a" "946b84363e8009899fce98d822d23d99c14acfb2bbf626b26030b919c5dd8277"`
[INFO] [stderr]  Documenting tail-rust v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr] error: invalid suffix `u` for integer literal
[INFO] [stderr]    --> src/main.rs:165:26
[INFO] [stderr]     |
[INFO] [stderr] 165 |     let mut bytes_read = 0u;
[INFO] [stderr]     |                          ^^ invalid suffix `u`
[INFO] [stderr]     |
[INFO] [stderr]     = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stderr] 
[INFO] [stderr] error: invalid suffix `u` for integer literal
[INFO] [stderr]    --> src/main.rs:167:29
[INFO] [stderr]     |
[INFO] [stderr] 167 |     let mut newline_count = 0u;
[INFO] [stderr]     |                             ^^ invalid suffix `u`
[INFO] [stderr]     |
[INFO] [stderr]     = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::os::args`
[INFO] [stderr]  --> src/main.rs:5:16
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::os::{ args };
[INFO] [stderr]   |                ^^^^ no `args` in `os`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `std::io::File`, `std::io::IoResult`, `std::io::IoError`, `std::io::EndOfFile`, `std::io::SeekSet`, `std::io::SeekCur`, `std::io::SeekEnd`, `std::io::BufferedReader`
[INFO] [stderr]   --> src/main.rs:7:5
[INFO] [stderr]    |
[INFO] [stderr] 7  |     File, IoResult, IoError, EndOfFile,
[INFO] [stderr]    |     ^^^^  ^^^^^^^^  ^^^^^^^  ^^^^^^^^^ no `EndOfFile` in `io`
[INFO] [stderr]    |     |     |         |
[INFO] [stderr]    |     |     |         no `IoError` in `io`
[INFO] [stderr]    |     |     no `IoResult` in `io`
[INFO] [stderr]    |     no `File` in `io`
[INFO] [stderr] 8  |     stderr, stdout, stdin,
[INFO] [stderr] 9  |     SeekSet, SeekCur, SeekEnd,
[INFO] [stderr]    |     ^^^^^^^  ^^^^^^^  ^^^^^^^ no `SeekEnd` in `io`
[INFO] [stderr]    |     |        |
[INFO] [stderr]    |     |        no `SeekCur` in `io`
[INFO] [stderr]    |     no `SeekSet` in `io`
[INFO] [stderr] 10 |     BufferedReader,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^ no `BufferedReader` in `io`
[INFO] [stderr]    |
[INFO] [stderr] help: a similar name exists in the module
[INFO] [stderr]    |
[INFO] [stderr] 7  |     File, Result, IoError, EndOfFile,
[INFO] [stderr]    |           ^^^^^^
[INFO] [stderr] help: a similar name exists in the module
[INFO] [stderr]    |
[INFO] [stderr] 7  |     File, IoResult, Error, EndOfFile,
[INFO] [stderr]    |                     ^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved imports `getopts::optflag`, `getopts::optopt`, `getopts::getopts`, `getopts::usage`
[INFO] [stderr]   --> src/main.rs:13:16
[INFO] [stderr]    |
[INFO] [stderr] 13 | use getopts::{ optflag, optopt, getopts, usage, OptGroup };
[INFO] [stderr]    |                ^^^^^^^  ^^^^^^  ^^^^^^^  ^^^^^ no `usage` in the root
[INFO] [stderr]    |                |        |       |
[INFO] [stderr]    |                |        |       no `getopts` in the root
[INFO] [stderr]    |                |        no `optopt` in the root
[INFO] [stderr]    |                no `optflag` in the root
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::collections::Deque`
[INFO] [stderr]   --> src/main.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use std::collections::Deque;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^ no `Deque` in `collections`
[INFO] [stderr] 
[INFO] [stderr] error[E0432]: unresolved import `std::collections::ringbuf`
[INFO] [stderr]   --> src/main.rs:15:23
[INFO] [stderr]    |
[INFO] [stderr] 15 | use std::collections::ringbuf::RingBuf;
[INFO] [stderr]    |                       ^^^^^^^ could not find `ringbuf` in `collections`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `uint` in this scope
[INFO] [stderr]   --> src/main.rs:19:21
[INFO] [stderr]    |
[INFO] [stderr] 19 | static BUFFER_SIZE: uint = 1024;
[INFO] [stderr]    |                     ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `uint` in this scope
[INFO] [stderr]   --> src/main.rs:20:23
[INFO] [stderr]    |
[INFO] [stderr] 20 | static DEFAULT_LINES: uint = 10;
[INFO] [stderr]    |                       ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `uint` in this scope
[INFO] [stderr]   --> src/main.rs:33:17
[INFO] [stderr]    |
[INFO] [stderr] 33 |     item_count: uint,
[INFO] [stderr]    |                 ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `uint` in this scope
[INFO] [stderr]    --> src/main.rs:159:34
[INFO] [stderr]     |
[INFO] [stderr] 159 | fn tail_file(file: &mut File, n: uint) -> IoResult<()> {
[INFO] [stderr]     |                                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `Reader` in this scope
[INFO] [stderr]    --> src/main.rs:205:19
[INFO] [stderr]     |
[INFO] [stderr] 205 | fn tail_reader<R: Reader>(reader: &mut BufferedReader<R>, options: &TailOptions) -> IoResult<()> {
[INFO] [stderr]     |                   ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `Reader` in this scope
[INFO] [stderr]    --> src/main.rs:225:23
[INFO] [stderr]     |
[INFO] [stderr] 225 | fn tail_reader_top<R: Reader>(reader: &mut BufferedReader<R>, n: uint) -> IoResult<()> {
[INFO] [stderr]     |                       ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `uint` in this scope
[INFO] [stderr]    --> src/main.rs:225:66
[INFO] [stderr]     |
[INFO] [stderr] 225 | fn tail_reader_top<R: Reader>(reader: &mut BufferedReader<R>, n: uint) -> IoResult<()> {
[INFO] [stderr]     |                                                                  ^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `Reader` in this scope
[INFO] [stderr]    --> src/main.rs:237:19
[INFO] [stderr]     |
[INFO] [stderr] 237 | fn copy_to_end<T: Reader, U: Writer>(reader: &mut T, writer: &mut U) -> IoResult<()> {
[INFO] [stderr]     |                   ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0405]: cannot find trait `Writer` in this scope
[INFO] [stderr]    --> src/main.rs:237:30
[INFO] [stderr]     |
[INFO] [stderr] 237 | fn copy_to_end<T: Reader, U: Writer>(reader: &mut T, writer: &mut U) -> IoResult<()> {
[INFO] [stderr]     |                              ^^^^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0603]: struct `OptGroup` is private
[INFO] [stderr]   --> src/main.rs:13:49
[INFO] [stderr]    |
[INFO] [stderr] 13 | use getopts::{ optflag, optopt, getopts, usage, OptGroup };
[INFO] [stderr]    |                                                 ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: Compilation failed, aborting rustdoc
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 18 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0432, E0603.
[INFO] [stderr] For more information about an error, try `rustc --explain E0405`.
[INFO] [stderr] error: Could not document `tail-rust`.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --crate-type bin --crate-name tail_rust 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` (exit code: 1)
[INFO] running `"docker" "inspect" "946b84363e8009899fce98d822d23d99c14acfb2bbf626b26030b919c5dd8277"`
[INFO] running `"docker" "rm" "-f" "946b84363e8009899fce98d822d23d99c14acfb2bbf626b26030b919c5dd8277"`
[INFO] [stdout] 946b84363e8009899fce98d822d23d99c14acfb2bbf626b26030b919c5dd8277
