[INFO] cloning repository https://github.com/codechenx/tion [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codechenx/tion" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodechenx%2Ftion", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodechenx%2Ftion'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac9c7fdfe693395fbcc06a8cb5f8a79799fd3633 [INFO] checking codechenx/tion against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodechenx%2Ftion" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/codechenx/tion on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/codechenx/tion [INFO] finished tweaking git repo https://github.com/codechenx/tion [INFO] tweaked toml for git repo https://github.com/codechenx/tion written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/codechenx/tion already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f06e2c766abe2a10bb2098352b861ea93f6cd846d99454eb5ba20832f62aca01 [INFO] running `Command { std: "docker" "start" "-a" "f06e2c766abe2a10bb2098352b861ea93f6cd846d99454eb5ba20832f62aca01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f06e2c766abe2a10bb2098352b861ea93f6cd846d99454eb5ba20832f62aca01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f06e2c766abe2a10bb2098352b861ea93f6cd846d99454eb5ba20832f62aca01", kill_on_drop: false }` [INFO] [stdout] f06e2c766abe2a10bb2098352b861ea93f6cd846d99454eb5ba20832f62aca01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=forbid" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d6ac480df58840273594d418ef9f5b4628a04171f198547c9988ad19cf69622b [INFO] running `Command { std: "docker" "start" "-a" "d6ac480df58840273594d418ef9f5b4628a04171f198547c9988ad19cf69622b", kill_on_drop: false }` [INFO] [stderr] Checking termion v1.5.1 [INFO] [stderr] Checking tion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `clear`, `cursor` [INFO] [stdout] --> src/lib.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use termion::{color, cursor, clear}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `set_foreground_color`, `set_background_color` [INFO] [stdout] --> src/lib.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 37 | fn set_foreground_color(&self); [INFO] [stdout] | ------------------------------- `set_foreground_color` from trait [INFO] [stdout] 38 | fn set_background_color(&self); [INFO] [stdout] | ------------------------------- `set_background_color` from trait [INFO] [stdout] ... [INFO] [stdout] 72 | impl Draw for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ missing `set_foreground_color`, `set_background_color` in implementation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `clear`, `cursor` [INFO] [stdout] --> src/lib.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use termion::{color, cursor, clear}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `set_foreground_color`, `set_background_color` [INFO] [stdout] --> src/lib.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 37 | fn set_foreground_color(&self); [INFO] [stdout] | ------------------------------- `set_foreground_color` from trait [INFO] [stdout] 38 | fn set_background_color(&self); [INFO] [stdout] | ------------------------------- `set_background_color` from trait [INFO] [stdout] ... [INFO] [stdout] 72 | impl Draw for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ missing `set_foreground_color`, `set_background_color` in implementation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | size: termion::terminal_size(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(usize, usize, usize, usize)` [INFO] [stdout] found enum `Result<(u16, u16), std::io::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | size: termion::terminal_size(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(usize, usize, usize, usize)` [INFO] [stdout] found enum `Result<(u16, u16), std::io::Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 79 | foregroundColor: color::Fg, [INFO] [stdout] | ^^^^^^^^^ expected enum `Result`, found fn item [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::fmt::Error>` [INFO] [stdout] found fn item `fn(_) -> Fg<_> {Fg::<_>}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 79 | foregroundColor: color::Fg, [INFO] [stdout] | ^^^^^^^^^ expected enum `Result`, found fn item [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::fmt::Error>` [INFO] [stdout] found fn item `fn(_) -> Fg<_> {Fg::<_>}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:80:31 [INFO] [stdout] | [INFO] [stdout] 80 | backgroundColor: color::Fg(color::Red) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found struct `Fg` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::fmt::Error>` [INFO] [stdout] found struct `Fg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:80:31 [INFO] [stdout] | [INFO] [stdout] 80 | backgroundColor: color::Fg(color::Red) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found struct `Fg` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), std::fmt::Error>` [INFO] [stdout] found struct `Fg` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tion` [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] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d6ac480df58840273594d418ef9f5b4628a04171f198547c9988ad19cf69622b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6ac480df58840273594d418ef9f5b4628a04171f198547c9988ad19cf69622b", kill_on_drop: false }` [INFO] [stdout] d6ac480df58840273594d418ef9f5b4628a04171f198547c9988ad19cf69622b