[INFO] cloning repository https://github.com/xamroot/ctfterm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xamroot/ctfterm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxamroot%2Fctfterm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxamroot%2Fctfterm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6c6b7c0ea0739098418c16d71c21f9cd02ad8aa5 [INFO] building xamroot/ctfterm against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxamroot%2Fctfterm" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/xamroot/ctfterm [INFO] finished tweaking git repo https://github.com/xamroot/ctfterm [INFO] tweaked toml for git repo https://github.com/xamroot/ctfterm written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xamroot/ctfterm on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xamroot/ctfterm already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded signal-hook-mio v0.2.1 [INFO] [stderr] Downloaded log v0.4.16 [INFO] [stderr] Downloaded mio v0.7.14 [INFO] [stderr] Downloaded matches v0.1.9 [INFO] [stderr] Downloaded siphasher v0.3.10 [INFO] [stderr] Downloaded quote v1.0.16 [INFO] [stderr] Downloaded selectors v0.22.0 [INFO] [stderr] Downloaded parking_lot_core v0.9.1 [INFO] [stderr] Downloaded slab v0.4.5 [INFO] [stderr] Downloaded unicode-bidi v0.3.7 [INFO] [stderr] Downloaded crossbeam-queue v0.3.5 [INFO] [stderr] Downloaded crossterm v0.23.1 [INFO] [stderr] Downloaded crossbeam-deque v0.8.1 [INFO] [stderr] Downloaded crossbeam-utils v0.8.8 [INFO] [stderr] Downloaded tinyvec v1.5.1 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.8 [INFO] [stderr] Downloaded parking_lot v0.12.0 [INFO] [stderr] Downloaded crossbeam-channel v0.5.4 [INFO] [stderr] Downloaded openssl v0.10.38 [INFO] [stderr] Downloaded object v0.27.1 [INFO] [stderr] Downloaded pkg-config v0.3.24 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.79 [INFO] [stderr] Downloaded encoding_rs v0.8.30 [INFO] [stderr] Downloaded openssl-sys v0.9.72 [INFO] [stderr] Downloaded addr2line v0.17.0 [INFO] [stderr] Downloaded tracing-core v0.1.23 [INFO] [stderr] Downloaded tokio-util v0.6.9 [INFO] [stderr] Downloaded security-framework v2.6.1 [INFO] [stderr] Downloaded backtrace v0.3.64 [INFO] [stderr] Downloaded tracing v0.1.32 [INFO] [stderr] Downloaded ipnet v2.4.0 [INFO] [stderr] Downloaded security-framework-sys v2.6.1 [INFO] [stderr] Downloaded web-sys v0.3.56 [INFO] [stderr] Downloaded js-sys v0.3.56 [INFO] [stderr] Downloaded h2 v0.3.12 [INFO] [stderr] Downloaded servo_arc v0.1.1 [INFO] [stderr] Downloaded quick-xml v0.23.0-alpha3 [INFO] [stderr] Downloaded cssparser-macros v0.6.0 [INFO] [stderr] Downloaded phf_codegen v0.8.0 [INFO] [stderr] Downloaded tendril v0.4.2 [INFO] [stderr] Downloaded bytes v1.1.0 [INFO] [stderr] Downloaded remove_dir_all v0.5.3 [INFO] [stderr] Downloaded memchr v2.4.1 [INFO] [stderr] Downloaded redox_syscall v0.2.11 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.32.0 [INFO] [stderr] Downloaded dtoa v0.4.8 [INFO] [stderr] Downloaded dtoa-short v0.3.3 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.32.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.32.0 [INFO] [stderr] Downloaded winreg v0.10.1 [INFO] [stderr] Downloaded windows_i686_msvc v0.32.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.32.0 [INFO] [stderr] Downloaded select v0.6.0-alpha.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.36 [INFO] [stderr] Downloaded crossterm_winapi v0.9.0 [INFO] [stderr] Downloaded http v0.2.6 [INFO] [stderr] Downloaded core-foundation-sys v0.8.3 [INFO] [stderr] Downloaded phf v0.8.0 [INFO] [stderr] Downloaded tokio v1.17.0 [INFO] [stderr] Downloaded tokio-native-tls v0.3.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.29 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.79 [INFO] [stderr] Downloaded serde v1.0.136 [INFO] [stderr] Downloaded indexmap v1.8.0 [INFO] [stderr] Downloaded schannel v0.1.19 [INFO] [stderr] Downloaded phf_shared v0.8.0 [INFO] [stderr] Downloaded syn v1.0.89 [INFO] [stderr] Downloaded http-body v0.4.4 [INFO] [stderr] Downloaded tower-service v0.3.1 [INFO] [stderr] Downloaded serde_json v1.0.79 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.79 [INFO] [stderr] Downloaded new_debug_unreachable v1.0.4 [INFO] [stderr] Downloaded hyper v0.14.18 [INFO] [stderr] Downloaded wasm-bindgen v0.2.79 [INFO] [stderr] Downloaded cssparser v0.27.2 [INFO] [stderr] Downloaded string_cache v0.8.3 [INFO] [stderr] Downloaded crossbeam v0.8.1 [INFO] [stderr] Downloaded gimli v0.26.1 [INFO] [stderr] Downloaded html5ever v0.25.1 [INFO] [stderr] Downloaded socket2 v0.4.4 [INFO] [stderr] Downloaded reqwest v0.11.10 [INFO] [stderr] Downloaded ego-tree v0.6.2 [INFO] [stderr] Downloaded phf_macros v0.8.0 [INFO] [stderr] Downloaded xml5ever v0.16.2 [INFO] [stderr] Downloaded mio v0.8.2 [INFO] [stderr] Downloaded pin-project-lite v0.2.8 [INFO] [stderr] Downloaded httpdate v1.0.2 [INFO] [stderr] Downloaded cc v1.0.73 [INFO] [stderr] Downloaded fastrand v1.7.0 [INFO] [stderr] Downloaded tempfile v3.3.0 [INFO] [stderr] Downloaded native-tls v0.2.8 [INFO] [stderr] Downloaded thin-slice v0.1.1 [INFO] [stderr] Downloaded scraper v0.12.0 [INFO] [stderr] Downloaded phf_generator v0.8.0 [INFO] [stderr] Downloaded string_cache_codegen v0.5.1 [INFO] [stderr] Downloaded error-chain v0.12.4 [INFO] [stderr] Downloaded httparse v1.6.0 [INFO] [stderr] Downloaded core-foundation v0.9.3 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.79 [INFO] [stderr] Downloaded semver v1.0.6 [INFO] [stderr] Downloaded bit-set v0.5.2 [INFO] [stderr] Downloaded markup5ever_rcdom v0.1.0 [INFO] [stderr] Downloaded markup5ever v0.10.1 [INFO] [stderr] Downloaded tokio-macros v1.7.0 [INFO] [stderr] Downloaded lock_api v0.4.6 [INFO] [stderr] Downloaded ntapi v0.3.7 [INFO] [stderr] Downloaded libc v0.2.121 [INFO] [stderr] Downloaded crossterm v0.22.1 [INFO] [stderr] Downloaded tui v0.17.0 [INFO] [stderr] Downloaded signal-hook v0.3.13 [INFO] [stderr] Downloaded unicode-segmentation v1.9.0 [INFO] [stderr] Downloaded windows-sys v0.32.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6c1c2c4674c287923bebc193a980c42a8205ab4e769ce1d52eea6ab34c62cb7 [INFO] running `Command { std: "docker" "start" "-a" "d6c1c2c4674c287923bebc193a980c42a8205ab4e769ce1d52eea6ab34c62cb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6c1c2c4674c287923bebc193a980c42a8205ab4e769ce1d52eea6ab34c62cb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6c1c2c4674c287923bebc193a980c42a8205ab4e769ce1d52eea6ab34c62cb7", kill_on_drop: false }` [INFO] [stdout] d6c1c2c4674c287923bebc193a980c42a8205ab4e769ce1d52eea6ab34c62cb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74a532e4d77eab9a4295fc453306e4534b94a4de57b2752209a69b1edf26d028 [INFO] running `Command { std: "docker" "start" "-a" "74a532e4d77eab9a4295fc453306e4534b94a4de57b2752209a69b1edf26d028", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling quote v1.0.16 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling tendril v0.4.2 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.1 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling dtoa-short v0.3.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling servo_arc v0.1.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling thin-slice v0.1.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling crossterm v0.22.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling ipnet v2.4.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ego-tree v0.6.2 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling selectors v0.22.0 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling tui v0.17.0 [INFO] [stderr] Compiling crossterm v0.23.1 [INFO] [stderr] Compiling quick-xml v0.23.0-alpha3 [INFO] [stderr] Compiling markup5ever v0.10.1 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling string_cache v0.8.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling cssparser v0.27.2 [INFO] [stderr] Compiling cssparser-macros v0.6.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling xml5ever v0.16.2 [INFO] [stderr] Compiling markup5ever_rcdom v0.1.0 [INFO] [stderr] Compiling select v0.6.0-alpha.1 [INFO] [stderr] Compiling scraper v0.12.0 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.12 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling ctfterm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BorderType`, `ListState`, and `TableState` [INFO] [stdout] --> src/main.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | widgets::{List, ListItem, ListState, Block, BorderType, Borders, Cell, Row, Table, TableState}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::runtime::Runtime` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::runtime::Runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::*` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio::time::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio::task; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::executor::block_on` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/loaders.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, io}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::executor::block_on` [INFO] [stdout] --> src/loaders.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/crawler.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / error_chain! { [INFO] [stdout] 7 | | foreign_links { [INFO] [stdout] 8 | | ReqError(reqwest::Error); [INFO] [stdout] 9 | | IoError(std::io::Error); [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/crawler.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | s.replace_range((comma_idx1..dash_idx), ""); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 36 - s.replace_range((comma_idx1..dash_idx), ""); [INFO] [stdout] 36 + s.replace_range(comma_idx1..dash_idx , ""); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/crawler.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | s.replace_range((comma_idx2..end_idx), ""); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - s.replace_range((comma_idx2..end_idx), ""); [INFO] [stdout] 40 + s.replace_range(comma_idx2..end_idx , ""); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::Error` and `io` [INFO] [stdout] --> src/types.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, io}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alignment`, `Backend`, `Block`, `BorderType`, `Borders`, `Cell`, `Color`, `Constraint`, `CrosstermBackend`, `Direction`, `Frame`, `Layout`, `ListItem`, `List`, `Modifier`, `Row`, `Span`, `Spans`, `Style`, `TableState`, `Table`, and `Terminal` [INFO] [stdout] --> src/types.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | backend::{Backend, CrosstermBackend}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | layout::{Alignment, Constraint, Direction, Layout}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] 5 | style::{Color, Modifier, Style}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] 6 | text::{Span,Spans}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] 7 | widgets::{List, ListItem, ListState, Block, BorderType, Borders, Cell, Row, Table, TableState}, [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^ ^^^ ^^^^^ ^^^^^^^^^^ [INFO] [stdout] 8 | Frame, Terminal, [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:173:16 [INFO] [stdout] | [INFO] [stdout] 173 | if (app.focused == 3) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 173 - if (app.focused == 3) [INFO] [stdout] 173 + if app.focused == 3 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | else if (app.focused == 4) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 177 - else if (app.focused == 4) [INFO] [stdout] 177 + else if app.focused == 4 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:185:16 [INFO] [stdout] | [INFO] [stdout] 185 | if (app.focused == 3) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 185 - if (app.focused == 3) [INFO] [stdout] 185 + if app.focused == 3 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | else if (app.focused == 4) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 189 - else if (app.focused == 4) [INFO] [stdout] 189 + else if app.focused == 4 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crawler.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | let mut resp = reqwest::get("https://ctftime.org/event/list/past").await.unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crawler.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | let mut resp = reqwest::get("https://ctftime.org/writeups").await.unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crawler.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | let mut s: String = String::from( elem[0] ); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crawler.rs:112:6 [INFO] [stdout] | [INFO] [stdout] 112 | let mut resp = reqwest::get("https://ctftime.org/stats/").await.unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crawler.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | let mut s: String = String::from( elem[0] ); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count` is assigned to, but never used [INFO] [stdout] --> src/crawler.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let mut count = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/loaders.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn load_past_events(mut past_events_items: &mut Vec<(String, String)>)->io::Result<()> [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/loaders.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn load_leaderboard(mut leaderboard_items: &mut Vec<(String, String, String, String)>)->io::Result<()> [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `evt` [INFO] [stdout] --> src/loaders.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | for evt in &evts{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_evt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> src/loaders.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | for ch in evts[i].chars() [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/loaders.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn load_current_events(mut current_events_items: &mut Vec)->io::Result<()> [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/loaders.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn load_writeups(mut writeup_items: &mut Vec<(String,String,String,String,String)>)->io::Result<()> [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dataThreadRunning` [INFO] [stdout] --> src/main.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let dataThreadRunning = arc.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dataThreadRunning` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `needs_load_` [INFO] [stdout] --> src/main.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let needs_load_ = needs_load.clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_needs_load_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `curr_event_s` is never read [INFO] [stdout] --> src/main.rs:208:29 [INFO] [stdout] | [INFO] [stdout] 208 | let mut curr_event_s = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 77 | let mut autoscroll = true; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let res = run_app(&mut terminal, &mut app).await; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/main.rs:395:48 [INFO] [stdout] | [INFO] [stdout] 395 | fn build_writeups<'a>(app :&'a mut types::App, width: usize) -> List<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w1` [INFO] [stdout] --> src/main.rs:417:16 [INFO] [stdout] | [INFO] [stdout] 417 | .map(|(w1, w2, w3, w4, w5)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_w1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w4` [INFO] [stdout] --> src/main.rs:417:28 [INFO] [stdout] | [INFO] [stdout] 417 | .map(|(w1, w2, w3, w4, w5)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_w4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w5` [INFO] [stdout] --> src/main.rs:417:32 [INFO] [stdout] | [INFO] [stdout] 417 | .map(|(w1, w2, w3, w4, w5)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_w5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/types.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct StatefulList { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 12 | state: ListState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `scroll`, `next`, `previous`, and `unselect` are never used [INFO] [stdout] --> src/types.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl StatefulList { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn scroll(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn previous(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn unselect(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `term_height`, `current_events_list`, and `events` are never read [INFO] [stdout] --> src/types.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct App<'a> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 103 | pub focused: i16, [INFO] [stdout] 104 | pub term_height: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 105 | pub curr_events: StatefulList, [INFO] [stdout] 106 | pub current_events_list: StatefulList, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub events: Vec<(&'a str, &'a str)>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on_tick` is never used [INFO] [stdout] --> src/types.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl<'a> App<'a> { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn on_tick(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inputThreadUp` should have a snake case name [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let inputThreadUp = up.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `input_thread_up` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inputThreadDown` should have a snake case name [INFO] [stdout] --> src/main.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let inputThreadDown = down.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `input_thread_down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inputThreadRight` should have a snake case name [INFO] [stdout] --> src/main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let inputThreadRight = right.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `input_thread_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inputThreadLeft` should have a snake case name [INFO] [stdout] --> src/main.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let inputThreadLeft = left.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `input_thread_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inputThreadRunning` should have a snake case name [INFO] [stdout] --> src/main.rs:71:6 [INFO] [stdout] | [INFO] [stdout] 71 | let inputThreadRunning = arc.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `input_thread_running` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dataThreadRunning` should have a snake case name [INFO] [stdout] --> src/main.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let dataThreadRunning = arc.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `data_thread_running` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `scrollCounter` should have a snake case name [INFO] [stdout] --> src/main.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | let mut scrollCounter = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `scroll_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `scrollTimer` should have a snake case name [INFO] [stdout] --> src/main.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 76 | let scrollTimer = 100; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `scroll_timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | ... loaders::load_current_events(&mut curr_events).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 94 | let _ = loaders::load_current_events(&mut curr_events).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:102:29 [INFO] [stdout] | [INFO] [stdout] 102 | ... loaders::load_leaderboard(&mut stats).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = loaders::load_leaderboard(&mut stats).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:110:29 [INFO] [stdout] | [INFO] [stdout] 110 | ... loaders::load_past_events(&mut past_events).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 110 | let _ = loaders::load_past_events(&mut past_events).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:118:29 [INFO] [stdout] | [INFO] [stdout] 118 | ... loaders::load_writeups(&mut writeups).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 118 | let _ = loaders::load_writeups(&mut writeups).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inputThreadHandle` should have a snake case name [INFO] [stdout] --> src/main.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let inputThreadHandle = std::thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `input_thread_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | terminal.draw(|f| ui(f, app)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 228 | let _ = terminal.draw(|f| ui(f, app)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.53s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: html5ever v0.25.1, xml5ever v0.16.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "74a532e4d77eab9a4295fc453306e4534b94a4de57b2752209a69b1edf26d028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74a532e4d77eab9a4295fc453306e4534b94a4de57b2752209a69b1edf26d028", kill_on_drop: false }` [INFO] [stdout] 74a532e4d77eab9a4295fc453306e4534b94a4de57b2752209a69b1edf26d028 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8e3eb08692d87a72c72d286b4a42acb6f25efb5ac0670cec106caa87e494575 [INFO] running `Command { std: "docker" "start" "-a" "c8e3eb08692d87a72c72d286b4a42acb6f25efb5ac0670cec106caa87e494575", kill_on_drop: false }` [INFO] [stderr] Compiling ctfterm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BorderType`, `ListState`, and `TableState` [INFO] [stdout] --> src/main.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | widgets::{List, ListItem, ListState, Block, BorderType, Borders, Cell, Row, Table, TableState}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::runtime::Runtime` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::runtime::Runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::*` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio::time::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::task` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use tokio::task; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::executor::block_on` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::Error` [INFO] [stdout] --> src/loaders.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, io}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::executor::block_on` [INFO] [stdout] --> src/loaders.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `has_error_description_deprecated` [INFO] [stdout] --> src/crawler.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / error_chain! { [INFO] [stdout] 7 | | foreign_links { [INFO] [stdout] 8 | | ReqError(reqwest::Error); [INFO] [stdout] 9 | | IoError(std::io::Error); [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `impl_error_chain_processed` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `impl_error_chain_processed` may come from an old version of the `error_chain` crate, try updating your dependency with `cargo update -p error_chain` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_error_chain_processed` which comes from the expansion of the macro `error_chain` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/crawler.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | s.replace_range((comma_idx1..dash_idx), ""); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 36 - s.replace_range((comma_idx1..dash_idx), ""); [INFO] [stdout] 36 + s.replace_range(comma_idx1..dash_idx , ""); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/crawler.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | s.replace_range((comma_idx2..end_idx), ""); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - s.replace_range((comma_idx2..end_idx), ""); [INFO] [stdout] 40 + s.replace_range(comma_idx2..end_idx , ""); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::Error` and `io` [INFO] [stdout] --> src/types.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{error::Error, io}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Alignment`, `Backend`, `Block`, `BorderType`, `Borders`, `Cell`, `Color`, `Constraint`, `CrosstermBackend`, `Direction`, `Frame`, `Layout`, `ListItem`, `List`, `Modifier`, `Row`, `Span`, `Spans`, `Style`, `TableState`, `Table`, and `Terminal` [INFO] [stdout] --> src/types.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | backend::{Backend, CrosstermBackend}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 4 | layout::{Alignment, Constraint, Direction, Layout}, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] 5 | style::{Color, Modifier, Style}, [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] 6 | text::{Span,Spans}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] 7 | widgets::{List, ListItem, ListState, Block, BorderType, Borders, Cell, Row, Table, TableState}, [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^ ^^^ ^^^^^ ^^^^^^^^^^ [INFO] [stdout] 8 | Frame, Terminal, [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:173:16 [INFO] [stdout] | [INFO] [stdout] 173 | if (app.focused == 3) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 173 - if (app.focused == 3) [INFO] [stdout] 173 + if app.focused == 3 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:177:21 [INFO] [stdout] | [INFO] [stdout] 177 | else if (app.focused == 4) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 177 - else if (app.focused == 4) [INFO] [stdout] 177 + else if app.focused == 4 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:185:16 [INFO] [stdout] | [INFO] [stdout] 185 | if (app.focused == 3) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 185 - if (app.focused == 3) [INFO] [stdout] 185 + if app.focused == 3 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | else if (app.focused == 4) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 189 - else if (app.focused == 4) [INFO] [stdout] 189 + else if app.focused == 4 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crawler.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 14 | let mut resp = reqwest::get("https://ctftime.org/event/list/past").await.unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crawler.rs:52:6 [INFO] [stdout] | [INFO] [stdout] 52 | let mut resp = reqwest::get("https://ctftime.org/writeups").await.unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crawler.rs:94:25 [INFO] [stdout] | [INFO] [stdout] 94 | let mut s: String = String::from( elem[0] ); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crawler.rs:112:6 [INFO] [stdout] | [INFO] [stdout] 112 | let mut resp = reqwest::get("https://ctftime.org/stats/").await.unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crawler.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | let mut s: String = String::from( elem[0] ); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count` is assigned to, but never used [INFO] [stdout] --> src/crawler.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 150 | let mut count = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/loaders.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn load_past_events(mut past_events_items: &mut Vec<(String, String)>)->io::Result<()> [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/loaders.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn load_leaderboard(mut leaderboard_items: &mut Vec<(String, String, String, String)>)->io::Result<()> [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `evt` [INFO] [stdout] --> src/loaders.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | for evt in &evts{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_evt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ch` [INFO] [stdout] --> src/loaders.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | for ch in evts[i].chars() [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/loaders.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn load_current_events(mut current_events_items: &mut Vec)->io::Result<()> [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/loaders.rs:65:28 [INFO] [stdout] | [INFO] [stdout] 65 | pub async fn load_writeups(mut writeup_items: &mut Vec<(String,String,String,String,String)>)->io::Result<()> [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dataThreadRunning` [INFO] [stdout] --> src/main.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let dataThreadRunning = arc.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dataThreadRunning` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `needs_load_` [INFO] [stdout] --> src/main.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let needs_load_ = needs_load.clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_needs_load_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `curr_event_s` is never read [INFO] [stdout] --> src/main.rs:208:29 [INFO] [stdout] | [INFO] [stdout] 208 | let mut curr_event_s = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 77 | let mut autoscroll = true; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let res = run_app(&mut terminal, &mut app).await; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/main.rs:395:48 [INFO] [stdout] | [INFO] [stdout] 395 | fn build_writeups<'a>(app :&'a mut types::App, width: usize) -> List<'a> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w1` [INFO] [stdout] --> src/main.rs:417:16 [INFO] [stdout] | [INFO] [stdout] 417 | .map(|(w1, w2, w3, w4, w5)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_w1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w4` [INFO] [stdout] --> src/main.rs:417:28 [INFO] [stdout] | [INFO] [stdout] 417 | .map(|(w1, w2, w3, w4, w5)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_w4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w5` [INFO] [stdout] --> src/main.rs:417:32 [INFO] [stdout] | [INFO] [stdout] 417 | .map(|(w1, w2, w3, w4, w5)| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_w5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `state` is never read [INFO] [stdout] --> src/types.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct StatefulList { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 12 | state: ListState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `scroll`, `next`, `previous`, and `unselect` are never used [INFO] [stdout] --> src/types.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl StatefulList { [INFO] [stdout] | ------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn scroll(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn next(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn previous(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn unselect(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `term_height`, `current_events_list`, and `events` are never read [INFO] [stdout] --> src/types.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct App<'a> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 103 | pub focused: i16, [INFO] [stdout] 104 | pub term_height: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 105 | pub curr_events: StatefulList, [INFO] [stdout] 106 | pub current_events_list: StatefulList, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub events: Vec<(&'a str, &'a str)>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `on_tick` is never used [INFO] [stdout] --> src/types.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 113 | impl<'a> App<'a> { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn on_tick(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inputThreadUp` should have a snake case name [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | let inputThreadUp = up.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `input_thread_up` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inputThreadDown` should have a snake case name [INFO] [stdout] --> src/main.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | let inputThreadDown = down.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `input_thread_down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inputThreadRight` should have a snake case name [INFO] [stdout] --> src/main.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | let inputThreadRight = right.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `input_thread_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inputThreadLeft` should have a snake case name [INFO] [stdout] --> src/main.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let inputThreadLeft = left.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `input_thread_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inputThreadRunning` should have a snake case name [INFO] [stdout] --> src/main.rs:71:6 [INFO] [stdout] | [INFO] [stdout] 71 | let inputThreadRunning = arc.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `input_thread_running` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dataThreadRunning` should have a snake case name [INFO] [stdout] --> src/main.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let dataThreadRunning = arc.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `data_thread_running` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `scrollCounter` should have a snake case name [INFO] [stdout] --> src/main.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | let mut scrollCounter = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `scroll_counter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `scrollTimer` should have a snake case name [INFO] [stdout] --> src/main.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 76 | let scrollTimer = 100; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `scroll_timer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | ... loaders::load_current_events(&mut curr_events).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 94 | let _ = loaders::load_current_events(&mut curr_events).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:102:29 [INFO] [stdout] | [INFO] [stdout] 102 | ... loaders::load_leaderboard(&mut stats).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = loaders::load_leaderboard(&mut stats).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:110:29 [INFO] [stdout] | [INFO] [stdout] 110 | ... loaders::load_past_events(&mut past_events).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 110 | let _ = loaders::load_past_events(&mut past_events).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:118:29 [INFO] [stdout] | [INFO] [stdout] 118 | ... loaders::load_writeups(&mut writeups).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 118 | let _ = loaders::load_writeups(&mut writeups).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inputThreadHandle` should have a snake case name [INFO] [stdout] --> src/main.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let inputThreadHandle = std::thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `input_thread_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | terminal.draw(|f| ui(f, app)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 228 | let _ = terminal.draw(|f| ui(f, app)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.87s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: html5ever v0.25.1, xml5ever v0.16.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "c8e3eb08692d87a72c72d286b4a42acb6f25efb5ac0670cec106caa87e494575", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8e3eb08692d87a72c72d286b4a42acb6f25efb5ac0670cec106caa87e494575", kill_on_drop: false }` [INFO] [stdout] c8e3eb08692d87a72c72d286b4a42acb6f25efb5ac0670cec106caa87e494575