[INFO] cloning repository https://github.com/Skynse/mycanvas [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Skynse/mycanvas" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkynse%2Fmycanvas", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkynse%2Fmycanvas'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3336a64064000b9c759e6a12e723f18214bc323a [INFO] building Skynse/mycanvas against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSkynse%2Fmycanvas" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Skynse/mycanvas on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Skynse/mycanvas [INFO] finished tweaking git repo https://github.com/Skynse/mycanvas [INFO] tweaked toml for git repo https://github.com/Skynse/mycanvas written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/Skynse/mycanvas already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b624fda214afb763f3ae27984bab9669fe59778ca6cde7c10a19bfbf86fe846f [INFO] running `Command { std: "docker" "start" "-a" "b624fda214afb763f3ae27984bab9669fe59778ca6cde7c10a19bfbf86fe846f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b624fda214afb763f3ae27984bab9669fe59778ca6cde7c10a19bfbf86fe846f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b624fda214afb763f3ae27984bab9669fe59778ca6cde7c10a19bfbf86fe846f", kill_on_drop: false }` [INFO] [stdout] b624fda214afb763f3ae27984bab9669fe59778ca6cde7c10a19bfbf86fe846f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b0ef917d098c17ac1ff6fbc06ed14d582adc6af56d39569f091186378b28362 [INFO] running `Command { std: "docker" "start" "-a" "2b0ef917d098c17ac1ff6fbc06ed14d582adc6af56d39569f091186378b28362", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling ipnet v2.4.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling clap v3.1.6 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.1 [INFO] [stderr] Compiling atoi v0.3.3 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling crossterm v0.22.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tui v0.17.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling mini-redis v0.4.1 [INFO] [stderr] Compiling h2 v0.3.12 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling mycanvas v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DisableMouseCapture`, `EnableMouseCapture`, `EnterAlternateScreen`, `LeaveAlternateScreen`, `disable_raw_mode`, `enable_raw_mode`, `execute` [INFO] [stdout] --> src/ui/window.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | event::{self, DisableMouseCapture, EnableMouseCapture, Event, KeyCode}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | execute, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 5 | terminal::{disable_raw_mode, enable_raw_mode, EnterAlternateScreen, LeaveAlternateScreen}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/ui/window.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{error::Error, io}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CrosstermBackend`, `Modifier`, `Paragraph`, `Tabs`, `Widget` [INFO] [stdout] --> src/ui/window.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | backend::{Backend, CrosstermBackend}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | layout::{Constraint, Direction, Layout}, [INFO] [stdout] 11 | style::{Color, Modifier, Style}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | text::{Span, Spans}, [INFO] [stdout] 13 | widgets::{BorderType, Borders, Block, Tabs, Widget, List, ListItem, ListState, Paragraph}, [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec::IntoIter` [INFO] [stdout] --> src/ui/window.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::vec::IntoIter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_courses` [INFO] [stdout] --> src/ui/window.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | use super::course::{Course, get_courses}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ui::course` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ui::course; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `KeyCode`, `self` [INFO] [stdout] --> src/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | event::{self, DisableMouseCapture, EnableMouseCapture, Event, KeyCode}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/main.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{error::Error, io}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `Borders`, `Color`, `Constraint`, `Direction`, `Frame`, `Layout`, `Modifier`, `Span`, `Spans`, `Style`, `Tabs` [INFO] [stdout] --> src/main.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | layout::{Constraint, Direction, Layout}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] 13 | style::{Color, Modifier, Style}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] 14 | text::{Span, Spans}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] 15 | widgets::{Block, Borders, Tabs}, [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] 16 | Frame, Terminal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Backend` [INFO] [stdout] --> src/main.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | backend::{Backend, CrosstermBackend}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let res = app.run_app(&mut terminal); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `assignment_list_statte` [INFO] [stdout] --> src/ui/window.rs:80:38 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn render_assignments(&self, assignment_list_statte: &ListState) -> List { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_assignment_list_statte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `course_list_state` [INFO] [stdout] --> src/ui/window.rs:83:34 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn render_courses(&self, course_list_state: &ListState) -> List { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_course_list_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `description_chunks` [INFO] [stdout] --> src/ui/window.rs:171:21 [INFO] [stdout] | [INFO] [stdout] 171 | let description_chunks = Layout::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description_chunks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/ui/window.rs:107:48 [INFO] [stdout] | [INFO] [stdout] 107 | fn ui(&self, f: &mut Frame, app: &Window) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `menu_down` [INFO] [stdout] --> src/ui/window.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn menu_down(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `menu_up` [INFO] [stdout] --> src/ui/window.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn menu_up(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render_assignments` [INFO] [stdout] --> src/ui/window.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn render_assignments(&self, assignment_list_statte: &ListState) -> List { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/ui/course.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Course` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui/course.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_assignments` [INFO] [stdout] --> src/ui/course.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn get_assignments(course_id: String) -> Result, > { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "2b0ef917d098c17ac1ff6fbc06ed14d582adc6af56d39569f091186378b28362", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b0ef917d098c17ac1ff6fbc06ed14d582adc6af56d39569f091186378b28362", kill_on_drop: false }` [INFO] [stdout] 2b0ef917d098c17ac1ff6fbc06ed14d582adc6af56d39569f091186378b28362 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f3b2cf6d632e858f84feb57ccc845f9a3e6c6c6d635b37c4b8c6820808c4bad [INFO] running `Command { std: "docker" "start" "-a" "2f3b2cf6d632e858f84feb57ccc845f9a3e6c6c6d635b37c4b8c6820808c4bad", kill_on_drop: false }` [INFO] [stderr] Compiling mycanvas v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DisableMouseCapture`, `EnableMouseCapture`, `EnterAlternateScreen`, `LeaveAlternateScreen`, `disable_raw_mode`, `enable_raw_mode`, `execute` [INFO] [stdout] --> src/ui/window.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | event::{self, DisableMouseCapture, EnableMouseCapture, Event, KeyCode}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | execute, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 5 | terminal::{disable_raw_mode, enable_raw_mode, EnterAlternateScreen, LeaveAlternateScreen}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/ui/window.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{error::Error, io}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CrosstermBackend`, `Modifier`, `Paragraph`, `Tabs`, `Widget` [INFO] [stdout] --> src/ui/window.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | backend::{Backend, CrosstermBackend}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | layout::{Constraint, Direction, Layout}, [INFO] [stdout] 11 | style::{Color, Modifier, Style}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | text::{Span, Spans}, [INFO] [stdout] 13 | widgets::{BorderType, Borders, Block, Tabs, Widget, List, ListItem, ListState, Paragraph}, [INFO] [stdout] | ^^^^ ^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::vec::IntoIter` [INFO] [stdout] --> src/ui/window.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::vec::IntoIter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_courses` [INFO] [stdout] --> src/ui/window.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | use super::course::{Course, get_courses}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ui::course` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ui::course; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event`, `KeyCode`, `self` [INFO] [stdout] --> src/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | event::{self, DisableMouseCapture, EnableMouseCapture, Event, KeyCode}, [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/main.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{error::Error, io}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Block`, `Borders`, `Color`, `Constraint`, `Direction`, `Frame`, `Layout`, `Modifier`, `Span`, `Spans`, `Style`, `Tabs` [INFO] [stdout] --> src/main.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | layout::{Constraint, Direction, Layout}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] 13 | style::{Color, Modifier, Style}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] 14 | text::{Span, Spans}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] 15 | widgets::{Block, Borders, Tabs}, [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] 16 | Frame, Terminal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Backend` [INFO] [stdout] --> src/main.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | backend::{Backend, CrosstermBackend}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let res = app.run_app(&mut terminal); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `assignment_list_statte` [INFO] [stdout] --> src/ui/window.rs:80:38 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn render_assignments(&self, assignment_list_statte: &ListState) -> List { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_assignment_list_statte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `course_list_state` [INFO] [stdout] --> src/ui/window.rs:83:34 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn render_courses(&self, course_list_state: &ListState) -> List { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_course_list_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `description_chunks` [INFO] [stdout] --> src/ui/window.rs:171:21 [INFO] [stdout] | [INFO] [stdout] 171 | let description_chunks = Layout::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description_chunks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/ui/window.rs:107:48 [INFO] [stdout] | [INFO] [stdout] 107 | fn ui(&self, f: &mut Frame, app: &Window) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `menu_down` [INFO] [stdout] --> src/ui/window.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn menu_down(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `menu_up` [INFO] [stdout] --> src/ui/window.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn menu_up(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render_assignments` [INFO] [stdout] --> src/ui/window.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn render_assignments(&self, assignment_list_statte: &ListState) -> List { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/ui/course.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Course` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui/course.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_assignments` [INFO] [stdout] --> src/ui/course.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn get_assignments(course_id: String) -> Result, > { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.30s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/mycanvas-4db34f2cd7a6f69e) [INFO] running `Command { std: "docker" "inspect" "2f3b2cf6d632e858f84feb57ccc845f9a3e6c6c6d635b37c4b8c6820808c4bad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f3b2cf6d632e858f84feb57ccc845f9a3e6c6c6d635b37c4b8c6820808c4bad", kill_on_drop: false }` [INFO] [stdout] 2f3b2cf6d632e858f84feb57ccc845f9a3e6c6c6d635b37c4b8c6820808c4bad