[INFO] cloning repository https://github.com/amcoder/tail-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/amcoder/tail-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famcoder%2Ftail-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famcoder%2Ftail-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ff6e8fc26e3cfaf1ec623f4d32e963fd516a809 [INFO] documenting amcoder/tail-rust against beta-2020-08-29 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Famcoder%2Ftail-rust" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/amcoder/tail-rust on toolchain beta-2020-08-29 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-2/source/Cargo.toml [INFO] crate git repo https://github.com/amcoder/tail-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-08-29" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4adf5922ebeb529c0561603c2790b1a2a6041515391a98aafcdd741b20445335 [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" "4adf5922ebeb529c0561603c2790b1a2a6041515391a98aafcdd741b20445335", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4adf5922ebeb529c0561603c2790b1a2a6041515391a98aafcdd741b20445335", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4adf5922ebeb529c0561603c2790b1a2a6041515391a98aafcdd741b20445335", kill_on_drop: false }` [INFO] [stdout] 4adf5922ebeb529c0561603c2790b1a2a6041515391a98aafcdd741b20445335 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-08-29" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c25dce4eda0a7efc5a2fd759f046a7f0c88e8a3dc5028f32c42a06dbc4a47858 [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" "c25dce4eda0a7efc5a2fd759f046a7f0c88e8a3dc5028f32c42a06dbc4a47858", kill_on_drop: false }` [INFO] [stderr] Documenting tail-rust v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: invalid suffix `u` for integer literal [INFO] [stdout] --> src/main.rs:165:26 [INFO] [stdout] | [INFO] [stdout] 165 | let mut bytes_read = 0u; [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for integer literal [INFO] [stdout] --> src/main.rs:167:29 [INFO] [stdout] | [INFO] [stdout] 167 | let mut newline_count = 0u; [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the integral types (`u32`, `isize`, etc) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::os::args` [INFO] [stdout] --> src/main.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::os::{ args }; [INFO] [stdout] | ^^^^ no `args` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] 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] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | File, IoResult, IoError, EndOfFile, [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^^ ^^^^^^^^^ no `EndOfFile` in `io` [INFO] [stdout] | | | | [INFO] [stdout] | | | no `IoError` in `io` [INFO] [stdout] | | no `IoResult` in `io` [INFO] [stdout] | no `File` in `io` [INFO] [stdout] 8 | stderr, stdout, stdin, [INFO] [stdout] 9 | SeekSet, SeekCur, SeekEnd, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^ no `SeekEnd` in `io` [INFO] [stdout] | | | [INFO] [stdout] | | no `SeekCur` in `io` [INFO] [stdout] | no `SeekSet` in `io` [INFO] [stdout] 10 | BufferedReader, [INFO] [stdout] | ^^^^^^^^^^^^^^ no `BufferedReader` in `io` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 | File, Result, IoError, EndOfFile, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 7 | File, IoResult, Error, EndOfFile, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `getopts::optflag`, `getopts::optopt`, `getopts::getopts`, `getopts::usage` [INFO] [stdout] --> src/main.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | use getopts::{ optflag, optopt, getopts, usage, OptGroup }; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^^^ ^^^^^ no `usage` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `getopts` in the root [INFO] [stdout] | | no `optopt` in the root [INFO] [stdout] | no `optflag` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::collections::Deque` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::collections::Deque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `Deque` in `collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::collections::ringbuf` [INFO] [stdout] --> src/main.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | use std::collections::ringbuf::RingBuf; [INFO] [stdout] | ^^^^^^^ could not find `ringbuf` in `collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | static BUFFER_SIZE: uint = 1024; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:20:23 [INFO] [stdout] | [INFO] [stdout] 20 | static DEFAULT_LINES: uint = 10; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | item_count: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:159:34 [INFO] [stdout] | [INFO] [stdout] 159 | fn tail_file(file: &mut File, n: uint) -> IoResult<()> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/main.rs:205:19 [INFO] [stdout] | [INFO] [stdout] 205 | fn tail_reader(reader: &mut BufferedReader, options: &TailOptions) -> IoResult<()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/main.rs:225:23 [INFO] [stdout] | [INFO] [stdout] 225 | fn tail_reader_top(reader: &mut BufferedReader, n: uint) -> IoResult<()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:225:66 [INFO] [stdout] | [INFO] [stdout] 225 | fn tail_reader_top(reader: &mut BufferedReader, n: uint) -> IoResult<()> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/main.rs:237:19 [INFO] [stdout] | [INFO] [stdout] 237 | fn copy_to_end(reader: &mut T, writer: &mut U) -> IoResult<()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Writer` in this scope [INFO] [stdout] --> src/main.rs:237:30 [INFO] [stdout] | [INFO] [stdout] 237 | fn copy_to_end(reader: &mut T, writer: &mut U) -> IoResult<()> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `OptGroup` is private [INFO] [stdout] --> src/main.rs:13:49 [INFO] [stdout] | [INFO] [stdout] 13 | use getopts::{ optflag, optopt, getopts, usage, OptGroup }; [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `OptGroup` is defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(if_let)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0554, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [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 --crate-version 0.0.1` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "c25dce4eda0a7efc5a2fd759f046a7f0c88e8a3dc5028f32c42a06dbc4a47858", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c25dce4eda0a7efc5a2fd759f046a7f0c88e8a3dc5028f32c42a06dbc4a47858", kill_on_drop: false }` [INFO] [stdout] c25dce4eda0a7efc5a2fd759f046a7f0c88e8a3dc5028f32c42a06dbc4a47858