[INFO] cloning repository https://github.com/paulprimus/tail [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paulprimus/tail" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulprimus%2Ftail"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulprimus%2Ftail'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] dd1197dc259e1cc88fc882918ba359c5b04eb2fd [INFO] checking paulprimus/tail against try#f88e9a4452e792c29632101b348a1df9876d45cd for pr-70087 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpaulprimus%2Ftail" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/paulprimus/tail on toolchain f88e9a4452e792c29632101b348a1df9876d45cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+f88e9a4452e792c29632101b348a1df9876d45cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/paulprimus/tail [INFO] finished tweaking git repo https://github.com/paulprimus/tail [INFO] tweaked toml for git repo https://github.com/paulprimus/tail written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/paulprimus/tail already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+f88e9a4452e792c29632101b348a1df9876d45cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "RUSTFLAGS=--cap-lints=forbid" "-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" "+f88e9a4452e792c29632101b348a1df9876d45cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 5af9b6651c42489cac7ba9fab1656c02952beab2cceb2429a883c01a95c028dd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "5af9b6651c42489cac7ba9fab1656c02952beab2cceb2429a883c01a95c028dd"` [INFO] [stderr] Checking tail v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Read` [INFO] [stderr] --> src/main.rs:5:35 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{BufRead, BufReader, Read, Write}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Read` [INFO] [stderr] --> src/main.rs:5:35 [INFO] [stderr] | [INFO] [stderr] 5 | use std::io::{BufRead, BufReader, Read, Write}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `File: std::io::Read` is not satisfied [INFO] [stderr] --> src/main.rs:34:50 [INFO] [stderr] | [INFO] [stderr] 34 | let lines = lines_with_ending(BufReader::new(input)); [INFO] [stderr] | ^^^^^ the trait `std::io::Read` is not implemented for `File` [INFO] [stderr] | [INFO] [stderr] help: consider restricting this type parameter with `File: std::io::Read` [INFO] [stderr] --> src/main.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | fn tail(input: File, output: W, num: usize) -> io::Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] = note: required by `std::io::BufReader::::new` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `File: std::io::Read` is not satisfied [INFO] [stderr] --> src/main.rs:34:35 [INFO] [stderr] | [INFO] [stderr] 28 | fn lines_with_ending(reader: B) -> LinesWithEnding { [INFO] [stderr] | ----------------- ------- required by this bound in `lines_with_ending` [INFO] [stderr] ... [INFO] [stderr] 34 | let lines = lines_with_ending(BufReader::new(input)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ the trait `std::io::Read` is not implemented for `File` [INFO] [stderr] | [INFO] [stderr] help: consider restricting this type parameter with `File: std::io::Read` [INFO] [stderr] --> src/main.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | fn tail(input: File, output: W, num: usize) -> io::Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] = note: required because of the requirements on the impl of `std::io::BufRead` for `std::io::BufReader` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `File: std::io::Read` is not satisfied [INFO] [stderr] --> src/main.rs:38:15 [INFO] [stderr] | [INFO] [stderr] 38 | for lr in lines { [INFO] [stderr] | ^^^^^ the trait `std::io::Read` is not implemented for `File` [INFO] [stderr] | [INFO] [stderr] help: consider restricting this type parameter with `File: std::io::Read` [INFO] [stderr] --> src/main.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | fn tail(input: File, output: W, num: usize) -> io::Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] = note: required because of the requirements on the impl of `std::io::BufRead` for `std::io::BufReader` [INFO] [stderr] = note: required because of the requirements on the impl of `std::iter::Iterator` for `LinesWithEnding>` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `File: std::io::Read` is not satisfied [INFO] [stderr] --> src/main.rs:34:50 [INFO] [stderr] | [INFO] [stderr] 34 | let lines = lines_with_ending(BufReader::new(input)); [INFO] [stderr] | ^^^^^ the trait `std::io::Read` is not implemented for `File` [INFO] [stderr] | [INFO] [stderr] help: consider restricting this type parameter with `File: std::io::Read` [INFO] [stderr] --> src/main.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | fn tail(input: File, output: W, num: usize) -> io::Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] = note: required by `std::io::BufReader::::new` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `File: std::io::Read` is not satisfied [INFO] [stderr] --> src/main.rs:34:35 [INFO] [stderr] | [INFO] [stderr] 28 | fn lines_with_ending(reader: B) -> LinesWithEnding { [INFO] [stderr] | ----------------- ------- required by this bound in `lines_with_ending` [INFO] [stderr] ... [INFO] [stderr] 34 | let lines = lines_with_ending(BufReader::new(input)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ the trait `std::io::Read` is not implemented for `File` [INFO] [stderr] | [INFO] [stderr] help: consider restricting this type parameter with `File: std::io::Read` [INFO] [stderr] --> src/main.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | fn tail(input: File, output: W, num: usize) -> io::Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] = note: required because of the requirements on the impl of `std::io::BufRead` for `std::io::BufReader` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `File: std::io::Read` is not satisfied [INFO] [stderr] --> src/main.rs:38:15 [INFO] [stderr] | [INFO] [stderr] 38 | for lr in lines { [INFO] [stderr] | ^^^^^ the trait `std::io::Read` is not implemented for `File` [INFO] [stderr] | [INFO] [stderr] help: consider restricting this type parameter with `File: std::io::Read` [INFO] [stderr] --> src/main.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 32 | fn tail(input: File, output: W, num: usize) -> io::Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] = note: required because of the requirements on the impl of `std::io::BufRead` for `std::io::BufReader` [INFO] [stderr] = note: required because of the requirements on the impl of `std::iter::Iterator` for `LinesWithEnding>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `tail`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tail`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "5af9b6651c42489cac7ba9fab1656c02952beab2cceb2429a883c01a95c028dd"` [INFO] running `"docker" "rm" "-f" "5af9b6651c42489cac7ba9fab1656c02952beab2cceb2429a883c01a95c028dd"` [INFO] [stdout] 5af9b6651c42489cac7ba9fab1656c02952beab2cceb2429a883c01a95c028dd