[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7a479ceb813e47e50a1999708003816485738fb5 [INFO] testing TheHene/discord-tui against beta-2020-07-24 for beta-1.46-1 [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-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-2020-07-24" "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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8104f1480a156116569a78583f3ba5e6d47dfe02373c640b8f6fcea2d2fd84d9 [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" "8104f1480a156116569a78583f3ba5e6d47dfe02373c640b8f6fcea2d2fd84d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8104f1480a156116569a78583f3ba5e6d47dfe02373c640b8f6fcea2d2fd84d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8104f1480a156116569a78583f3ba5e6d47dfe02373c640b8f6fcea2d2fd84d9", kill_on_drop: false }` [INFO] [stdout] 8104f1480a156116569a78583f3ba5e6d47dfe02373c640b8f6fcea2d2fd84d9 [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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8caac6aa516bbfd93f8abd56d7046895b065062c42d8cb815563756267721802 [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" "8caac6aa516bbfd93f8abd56d7046895b065062c42d8cb815563756267721802", kill_on_drop: false }` [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling signal-hook v0.1.15 [INFO] [stderr] Compiling crossterm v0.17.5 [INFO] [stderr] Compiling tui v0.9.5 [INFO] [stderr] Compiling 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] 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: 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] running `Command { std: "docker" "inspect" "8caac6aa516bbfd93f8abd56d7046895b065062c42d8cb815563756267721802", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8caac6aa516bbfd93f8abd56d7046895b065062c42d8cb815563756267721802", kill_on_drop: false }` [INFO] [stdout] 8caac6aa516bbfd93f8abd56d7046895b065062c42d8cb815563756267721802