[INFO] cloning repository https://github.com/TheHene/discord-tui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheHene/discord-tui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheHene%2Fdiscord-tui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheHene%2Fdiscord-tui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7a479ceb813e47e50a1999708003816485738fb5 [INFO] checking TheHene/discord-tui against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheHene%2Fdiscord-tui" "/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/TheHene/discord-tui on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TheHene/discord-tui [INFO] finished tweaking git repo https://github.com/TheHene/discord-tui [INFO] tweaked toml for git repo https://github.com/TheHene/discord-tui written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/TheHene/discord-tui already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "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] 6f6775bb26d7512b3f69692713c24ef82dd7d165ab27e7d9d6a37eab15dd00da [INFO] running `Command { std: "docker" "start" "-a" "6f6775bb26d7512b3f69692713c24ef82dd7d165ab27e7d9d6a37eab15dd00da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f6775bb26d7512b3f69692713c24ef82dd7d165ab27e7d9d6a37eab15dd00da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f6775bb26d7512b3f69692713c24ef82dd7d165ab27e7d9d6a37eab15dd00da", kill_on_drop: false }` [INFO] [stdout] 6f6775bb26d7512b3f69692713c24ef82dd7d165ab27e7d9d6a37eab15dd00da [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" "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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b913915e5c20d68ff3de9f5dc154ee3c99daf50a46969ccd0afb64b8c255d063 [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" "b913915e5c20d68ff3de9f5dc154ee3c99daf50a46969ccd0afb64b8c255d063", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking arc-swap v0.4.6 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking signal-hook v0.1.15 [INFO] [stderr] Checking crossterm v0.17.5 [INFO] [stderr] Checking tui v0.9.5 [INFO] [stderr] Checking discord-tui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/ui/mod.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn draw_main_layout(terminal) -> Result<(), ()> { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 9 | pub fn draw_main_layout(self: terminal) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 9 | pub fn draw_main_layout(terminal: TypeName) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 9 | pub fn draw_main_layout(_: terminal) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/ui/mod.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | fn draw_text_chanels(terminal) {} [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 16 | fn draw_text_chanels(self: terminal) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 16 | fn draw_text_chanels(terminal: TypeName) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 16 | fn draw_text_chanels(_: terminal) {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/ui/mod.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn draw_main_layout(terminal) -> Result<(), ()> { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 9 | pub fn draw_main_layout(self: terminal) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 9 | pub fn draw_main_layout(terminal: TypeName) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 9 | pub fn draw_main_layout(_: terminal) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/ui/mod.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | fn draw_text_chanels(terminal) {} [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 16 | fn draw_text_chanels(self: terminal) {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 16 | fn draw_text_chanels(terminal: TypeName) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 16 | fn draw_text_chanels(_: terminal) {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Constraint`, `Direction`, `Layout` [INFO] [stdout] --> src/main.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use tui::layout::{Constraint, Direction, Layout}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `Borders`, `Widget` [INFO] [stdout] --> src/main.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use tui::widgets::{Block, Borders, Widget}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alignment`, `Block`, `Borders`, `Clear`, `Constraint`, `Direction`, `Frame`, `Gauge`, `Layout`, `ListState`, `List`, `Modifier`, `Paragraph`, `Rect`, `Row`, `Style`, `Table`, `Text`, `backend::Backend` [INFO] [stdout] --> src/ui/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | backend::Backend, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | layout::{Alignment, Constraint, Direction, Layout, Rect}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] 4 | style::{Modifier, Style}, [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] 5 | widgets::{Block, Borders, Clear, Gauge, List, ListState, Paragraph, Row, Table, Text}, [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^ ^^^^^ ^^^^ [INFO] [stdout] 6 | Frame, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Constraint`, `Direction`, `Layout` [INFO] [stdout] --> src/main.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use tui::layout::{Constraint, Direction, Layout}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `Borders`, `Widget` [INFO] [stdout] --> src/main.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use tui::widgets::{Block, Borders, Widget}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alignment`, `Block`, `Borders`, `Clear`, `Constraint`, `Direction`, `Frame`, `Gauge`, `Layout`, `ListState`, `List`, `Modifier`, `Paragraph`, `Rect`, `Row`, `Style`, `Table`, `Text`, `backend::Backend` [INFO] [stdout] --> src/ui/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | backend::Backend, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | layout::{Alignment, Constraint, Direction, Layout, Rect}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^ [INFO] [stdout] 4 | style::{Modifier, Style}, [INFO] [stdout] | ^^^^^^^^ ^^^^^ [INFO] [stdout] 5 | widgets::{Block, Borders, Clear, Gauge, List, ListState, Paragraph, Row, Table, Text}, [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^^ ^^^^^ ^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^ ^^^^^ ^^^^ [INFO] [stdout] 6 | Frame, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ui/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn draw_main_layout(terminal) -> Result<(), ()> { [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), ()>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ui/mod.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn draw_main_layout(terminal) -> Result<(), ()> { [INFO] [stdout] | ---------------- ^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), ()>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `discord-tui` [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: build failed [INFO] running `Command { std: "docker" "inspect" "b913915e5c20d68ff3de9f5dc154ee3c99daf50a46969ccd0afb64b8c255d063", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b913915e5c20d68ff3de9f5dc154ee3c99daf50a46969ccd0afb64b8c255d063", kill_on_drop: false }` [INFO] [stdout] b913915e5c20d68ff3de9f5dc154ee3c99daf50a46969ccd0afb64b8c255d063