[INFO] updating cached repository amcoder/tail-rust [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/amcoder/tail-rust [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/amcoder/tail-rust" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/amcoder/tail-rust"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/amcoder/tail-rust'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/amcoder/tail-rust" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/amcoder/tail-rust"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/amcoder/tail-rust'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 9ff6e8fc26e3cfaf1ec623f4d32e963fd516a809 [INFO] sha for GitHub repo amcoder/tail-rust: 9ff6e8fc26e3cfaf1ec623f4d32e963fd516a809 [INFO] validating manifest of amcoder/tail-rust on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of amcoder/tail-rust on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing amcoder/tail-rust [INFO] finished frobbing amcoder/tail-rust [INFO] frobbed toml for amcoder/tail-rust written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/amcoder/tail-rust/Cargo.toml [INFO] started frobbing amcoder/tail-rust [INFO] finished frobbing amcoder/tail-rust [INFO] frobbed toml for amcoder/tail-rust written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/amcoder/tail-rust/Cargo.toml [INFO] crate amcoder/tail-rust already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking amcoder/tail-rust against master#60960a260f7b5c695fd0717311d72ce62dd4eb43 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-2/master#60960a260f7b5c695fd0717311d72ce62dd4eb43:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/amcoder/tail-rust:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] acc447075889ca5cf356abc7da385f5cc62ad932f73d0dd9f63955c57db4fe3d [INFO] running `"docker" "start" "-a" "acc447075889ca5cf356abc7da385f5cc62ad932f73d0dd9f63955c57db4fe3d"` [INFO] [stderr] Checking tail-rust v0.0.1 (/opt/crater/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: 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] 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[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:149:34 [INFO] [stderr] | [INFO] [stderr] 149 | file_name => File::open(&Path::new(file_name)).and_then(|mut file| { [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [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] 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[E0425]: cannot find value `FromTop` in this scope [INFO] [stderr] --> src/main.rs:103:56 [INFO] [stderr] | [INFO] [stderr] 103 | '+' => (nstr[1..], FromTop), [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 5 | use Direction::FromTop; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FromBottom` in this scope [INFO] [stderr] --> src/main.rs:104:49 [INFO] [stderr] | [INFO] [stderr] 104 | _ => (nstr, FromBottom), [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 5 | use Direction::FromBottom; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope [INFO] [stderr] --> src/main.rs:106:15 [INFO] [stderr] | [INFO] [stderr] 106 | match from_str(nstr.as_slice()) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FromBottom` in this scope [INFO] [stderr] --> src/main.rs:115:37 [INFO] [stderr] | [INFO] [stderr] 115 | None => (DEFAULT_LINES, FromBottom), [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 5 | use Direction::FromBottom; [INFO] [stderr] | [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[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:176:68 [INFO] [stderr] | [INFO] [stderr] 176 | let bytes_to_read = min(bytes_left, BUFFER_SIZE as u64) as uint; [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(reader: &mut BufferedReader, 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(reader: &mut BufferedReader, 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(reader: &mut BufferedReader, 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(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(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[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | extern crate getopts; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Path` [INFO] [stderr] --> src/main.rs:149:34 [INFO] [stderr] | [INFO] [stderr] 149 | file_name => File::open(&Path::new(file_name)).and_then(|mut file| { [INFO] [stderr] | ^^^^ use of undeclared type or module `Path` [INFO] [stderr] [INFO] [stderr] error: aborting due to 24 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433, E0603, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [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[E0425]: cannot find value `FromTop` in this scope [INFO] [stderr] --> src/main.rs:103:56 [INFO] [stderr] | [INFO] [stderr] 103 | '+' => (nstr[1..], FromTop), [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 5 | use Direction::FromTop; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FromBottom` in this scope [INFO] [stderr] --> src/main.rs:104:49 [INFO] [stderr] | [INFO] [stderr] 104 | _ => (nstr, FromBottom), [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 5 | use Direction::FromBottom; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `from_str` in this scope [INFO] [stderr] --> src/main.rs:106:15 [INFO] [stderr] | [INFO] [stderr] 106 | match from_str(nstr.as_slice()) { [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FromBottom` in this scope [INFO] [stderr] --> src/main.rs:115:37 [INFO] [stderr] | [INFO] [stderr] 115 | None => (DEFAULT_LINES, FromBottom), [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 5 | use Direction::FromBottom; [INFO] [stderr] | [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[E0412]: cannot find type `uint` in this scope [INFO] [stderr] --> src/main.rs:176:68 [INFO] [stderr] | [INFO] [stderr] 176 | let bytes_to_read = min(bytes_left, BUFFER_SIZE as u64) as uint; [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(reader: &mut BufferedReader, 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(reader: &mut BufferedReader, 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(reader: &mut BufferedReader, 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(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(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[E0658]: use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? [INFO] [stderr] --> src/main.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | extern crate getopts; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: for more information, see https://github.com/rust-lang/rust/issues/27812 [INFO] [stderr] = help: add `#![feature(rustc_private)]` to the crate attributes to enable [INFO] [stderr] [INFO] [stderr] error: aborting due to 24 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0425, E0432, E0433, E0603, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: Could not compile `tail-rust`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: Could not compile `tail-rust`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "acc447075889ca5cf356abc7da385f5cc62ad932f73d0dd9f63955c57db4fe3d"` [INFO] running `"docker" "rm" "-f" "acc447075889ca5cf356abc7da385f5cc62ad932f73d0dd9f63955c57db4fe3d"` [INFO] [stdout] acc447075889ca5cf356abc7da385f5cc62ad932f73d0dd9f63955c57db4fe3d