[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 try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodechenx%2Ftion" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/codechenx/tion on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "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-3/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" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43c0f146638d332fbd680c59d635f08d91f8375d820dbdbdbecb42393ce4e9d1 [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" "43c0f146638d332fbd680c59d635f08d91f8375d820dbdbdbecb42393ce4e9d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43c0f146638d332fbd680c59d635f08d91f8375d820dbdbdbecb42393ce4e9d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43c0f146638d332fbd680c59d635f08d91f8375d820dbdbdbecb42393ce4e9d1", kill_on_drop: false }` [INFO] [stdout] 43c0f146638d332fbd680c59d635f08d91f8375d820dbdbdbecb42393ce4e9d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac8ade9a145215eef17241dee34662a54ebd35f16ce26b1f720b83e139be4865 [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" "ac8ade9a145215eef17241dee34662a54ebd35f16ce26b1f720b83e139be4865", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.51 [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: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] [stderr] error: could not compile `tion` due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ac8ade9a145215eef17241dee34662a54ebd35f16ce26b1f720b83e139be4865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac8ade9a145215eef17241dee34662a54ebd35f16ce26b1f720b83e139be4865", kill_on_drop: false }` [INFO] [stdout] ac8ade9a145215eef17241dee34662a54ebd35f16ce26b1f720b83e139be4865