[INFO] cloning repository https://github.com/HankelBao/tide [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HankelBao/tide" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHankelBao%2Ftide", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHankelBao%2Ftide'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 78541c16ef620223cffd12b0245593aa9459b2fc [INFO] checking HankelBao/tide against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHankelBao%2Ftide" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HankelBao/tide on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HankelBao/tide [INFO] finished tweaking git repo https://github.com/HankelBao/tide [INFO] tweaked toml for git repo https://github.com/HankelBao/tide written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/HankelBao/tide 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded same-file v1.0.4 [INFO] [stderr] Downloaded walkdir v2.2.7 [INFO] [stderr] Downloaded linked-hash-map v0.5.1 [INFO] [stderr] Downloaded safemem v0.3.0 [INFO] [stderr] Downloaded bincode v1.0.1 [INFO] [stderr] Downloaded plist v0.3.0 [INFO] [stderr] Downloaded pkg-config v0.3.14 [INFO] [stderr] Downloaded crc32fast v1.1.2 [INFO] [stderr] Downloaded flate2 v1.0.6 [INFO] [stderr] Downloaded cc v1.0.28 [INFO] [stderr] Downloaded onig v4.3.1 [INFO] [stderr] Downloaded onig_sys v69.1.0 [INFO] [stderr] Downloaded syntect v3.0.2 [INFO] [stderr] Downloaded serde v1.0.87 [INFO] [stderr] Downloaded byteorder v1.3.1 [INFO] [stderr] Downloaded humantime v1.2.0 [INFO] [stderr] Downloaded yaml-rust v0.4.2 [INFO] [stderr] Downloaded serde_derive v1.0.87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 455fa4900221d58ae5fdb9015b6ed8a9c605cd3e23785be820edef0f915f9aff [INFO] running `Command { std: "docker" "start" "-a" "455fa4900221d58ae5fdb9015b6ed8a9c605cd3e23785be820edef0f915f9aff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "455fa4900221d58ae5fdb9015b6ed8a9c605cd3e23785be820edef0f915f9aff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "455fa4900221d58ae5fdb9015b6ed8a9c605cd3e23785be820edef0f915f9aff", kill_on_drop: false }` [INFO] [stdout] 455fa4900221d58ae5fdb9015b6ed8a9c605cd3e23785be820edef0f915f9aff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 424884a1d80a177fec731a0bb2d1fcd908d3a64cc65ac7aea32425c8d3be7693 [INFO] running `Command { std: "docker" "start" "-a" "424884a1d80a177fec731a0bb2d1fcd908d3a64cc65ac7aea32425c8d3be7693", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling serde v1.0.87 [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling crc32fast v1.1.2 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling plist v0.3.0 [INFO] [stderr] Checking safemem v0.3.0 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking linked-hash-map v0.5.1 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Checking xml-rs v0.7.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking walkdir v2.2.7 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking regex-syntax v0.6.5 [INFO] [stderr] Checking yaml-rust v0.4.2 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling onig_sys v69.1.0 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking termion v1.5.1 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking flate2 v1.0.6 [INFO] [stderr] Compiling serde_derive v1.0.87 [INFO] [stderr] Checking serde_json v1.0.38 [INFO] [stderr] Checking bincode v1.0.1 [INFO] [stderr] Checking onig v4.3.1 [INFO] [stderr] Checking syntect v3.0.2 [INFO] [stderr] Checking tide v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/components/projecttree.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::core::{Message, MessageSender}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UISelector` [INFO] [stdout] --> src/components/projecttree.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ui::{UIComponent, UISelector}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::fuzzyfinder::FuzzyFinder` [INFO] [stdout] --> src/components/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use self::fuzzyfinder::FuzzyFinder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::HighlightEngine` [INFO] [stdout] --> src/terminal.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::core::HighlightEngine; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MouseEvent` [INFO] [stdout] --> src/terminal.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | pub use termion::event::{Key, Event, MouseEvent}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `termion::input::TermRead` [INFO] [stdout] --> src/terminal.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use termion::input::TermRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syntect::parsing::SyntaxReference` [INFO] [stdout] --> src/core/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use syntect::parsing::SyntaxReference; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/ui/viewmanager.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc` [INFO] [stdout] --> src/ui/viewmanager.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> src/ui/terminalevent_watcher.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Stdin` [INFO] [stdout] --> src/ui/terminalevent_watcher.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Stdin; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, `mpsc` [INFO] [stdout] --> src/main.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::{Arc, Mutex, mpsc}; [INFO] [stdout] | ^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::stdin` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::io::stdin; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::Message` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::core::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UIComponent`, `UISelector` [INFO] [stdout] --> src/main.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::ui::{UIComponent, UISelector}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/messagemanager.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | message_listeners: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | message_listeners: Vec>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui/componentmanager.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | components: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | components: Vec>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui/selectormanager.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | focus_selector: Option>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | focus_selector: Option>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/messagemanager.rs:25:60 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn register(&mut self, messagelistener: Rc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | pub fn register(&mut self, messagelistener: Rc>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui/componentmanager.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn register(&mut self, uicomponent: Rc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | pub fn register(&mut self, uicomponent: Rc>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui/selectormanager.rs:19:59 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn switch_focus(&mut self, uiselector: Rc>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | pub fn switch_focus(&mut self, uiselector: Rc>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/components/projecttree.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::core::{Message, MessageSender}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UISelector` [INFO] [stdout] --> src/components/projecttree.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ui::{UIComponent, UISelector}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::fuzzyfinder::FuzzyFinder` [INFO] [stdout] --> src/components/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use self::fuzzyfinder::FuzzyFinder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::HighlightEngine` [INFO] [stdout] --> src/terminal.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::core::HighlightEngine; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MouseEvent` [INFO] [stdout] --> src/terminal.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | pub use termion::event::{Key, Event, MouseEvent}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `termion::input::TermRead` [INFO] [stdout] --> src/terminal.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use termion::input::TermRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syntect::parsing::SyntaxReference` [INFO] [stdout] --> src/core/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use syntect::parsing::SyntaxReference; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/ui/viewmanager.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc` [INFO] [stdout] --> src/ui/viewmanager.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> src/ui/terminalevent_watcher.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Stdin` [INFO] [stdout] --> src/ui/terminalevent_watcher.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Stdin; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, `mpsc` [INFO] [stdout] --> src/main.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::{Arc, Mutex, mpsc}; [INFO] [stdout] | ^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::stdin` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::io::stdin; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::Message` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::core::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UIComponent`, `UISelector` [INFO] [stdout] --> src/main.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::ui::{UIComponent, UISelector}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/messagemanager.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | message_listeners: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | message_listeners: Vec>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui/componentmanager.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | components: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | components: Vec>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui/selectormanager.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | focus_selector: Option>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | focus_selector: Option>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/messagemanager.rs:25:60 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn register(&mut self, messagelistener: Rc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | pub fn register(&mut self, messagelistener: Rc>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui/componentmanager.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn register(&mut self, uicomponent: Rc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | pub fn register(&mut self, uicomponent: Rc>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui/selectormanager.rs:19:59 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn switch_focus(&mut self, uiselector: Rc>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | pub fn switch_focus(&mut self, uiselector: Rc>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/statusline.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut v = self.view.borrow_mut(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/log.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut log = Log { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_width` [INFO] [stdout] --> src/ui/viewmanager.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | let (t_width, t_height) = (0, 0); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_height` [INFO] [stdout] --> src/ui/viewmanager.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | let (t_width, t_height) = (0, 0); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `messagesender` is never read [INFO] [stdout] --> src/components/statusline.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Statusline { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 13 | messagesender: MessageSender, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FuzzyFinder` is never constructed [INFO] [stdout] --> src/components/fuzzyfinder.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct FuzzyFinder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeLine` is never constructed [INFO] [stdout] --> src/components/projecttree.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct NodeLine { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `messagesender` and `display_lines` are never read [INFO] [stdout] --> src/components/projecttree.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct ProjectTree { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 59 | messagesender: MessageSender, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | display_lines: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/terminal.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl DisplayLine { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 37 | pub fn new() -> DisplayLine { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_stdin` and `get_scale` are never used [INFO] [stdout] --> src/terminal.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl Terminal { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn get_stdin(&self) -> Stdin { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn get_scale(&mut self) -> (u16, u16) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `goto_line` is never used [INFO] [stdout] --> src/core/textediting.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait TextEditing { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn goto_line(&mut self, line_num: u32); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ts` is never read [INFO] [stdout] --> src/core/highlightengine.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct HighlightEngine { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 8 | pub ps: SyntaxSet, [INFO] [stdout] 9 | ts: ThemeSet, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/core/log.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Log { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_width` and `get_height` are never used [INFO] [stdout] --> src/ui/view.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl View { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn with_width(terminal: Rc>, width: u16) -> View { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn get_height(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/core/filerw.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 39 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 39 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `GLog` should have an upper case name [INFO] [stdout] --> src/core/log.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub static ref GLog: Arc> = { [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `GLOG` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core/log.rs:56:49 [INFO] [stdout] | [INFO] [stdout] 56 | let mut f = match File::create(file_path.clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/core/log.rs:58:30 [INFO] [stdout] | [INFO] [stdout] 58 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 58 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 58 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/statusline.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut v = self.view.borrow_mut(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/log.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut log = Log { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_width` [INFO] [stdout] --> src/ui/viewmanager.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | let (t_width, t_height) = (0, 0); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_height` [INFO] [stdout] --> src/ui/viewmanager.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | let (t_width, t_height) = (0, 0); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `messagesender` is never read [INFO] [stdout] --> src/components/statusline.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Statusline { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 13 | messagesender: MessageSender, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FuzzyFinder` is never constructed [INFO] [stdout] --> src/components/fuzzyfinder.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct FuzzyFinder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeLine` is never constructed [INFO] [stdout] --> src/components/projecttree.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct NodeLine { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `messagesender` and `display_lines` are never read [INFO] [stdout] --> src/components/projecttree.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct ProjectTree { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 59 | messagesender: MessageSender, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | display_lines: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/terminal.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl DisplayLine { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 37 | pub fn new() -> DisplayLine { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_stdin` and `get_scale` are never used [INFO] [stdout] --> src/terminal.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl Terminal { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn get_stdin(&self) -> Stdin { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn get_scale(&mut self) -> (u16, u16) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `goto_line` is never used [INFO] [stdout] --> src/core/textediting.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait TextEditing { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn goto_line(&mut self, line_num: u32); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ts` is never read [INFO] [stdout] --> src/core/highlightengine.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct HighlightEngine { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 8 | pub ps: SyntaxSet, [INFO] [stdout] 9 | ts: ThemeSet, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/core/log.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Log { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_width` and `get_height` are never used [INFO] [stdout] --> src/ui/view.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl View { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn with_width(terminal: Rc>, width: u16) -> View { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn get_height(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/core/filerw.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 39 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 39 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `GLog` should have an upper case name [INFO] [stdout] --> src/core/log.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub static ref GLog: Arc> = { [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `GLOG` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core/log.rs:56:49 [INFO] [stdout] | [INFO] [stdout] 56 | let mut f = match File::create(file_path.clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/core/log.rs:58:30 [INFO] [stdout] | [INFO] [stdout] 58 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 58 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 58 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.05s [INFO] running `Command { std: "docker" "inspect" "424884a1d80a177fec731a0bb2d1fcd908d3a64cc65ac7aea32425c8d3be7693", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "424884a1d80a177fec731a0bb2d1fcd908d3a64cc65ac7aea32425c8d3be7693", kill_on_drop: false }` [INFO] [stdout] 424884a1d80a177fec731a0bb2d1fcd908d3a64cc65ac7aea32425c8d3be7693 [INFO] checking HankelBao/tide against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHankelBao%2Ftide" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HankelBao/tide on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/HankelBao/tide [INFO] finished tweaking git repo https://github.com/HankelBao/tide [INFO] tweaked toml for git repo https://github.com/HankelBao/tide written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/HankelBao/tide 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2a0164f1ad5cec95edb2325897da96942ab67cccf9a171ec53950b946003e9b [INFO] running `Command { std: "docker" "start" "-a" "a2a0164f1ad5cec95edb2325897da96942ab67cccf9a171ec53950b946003e9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2a0164f1ad5cec95edb2325897da96942ab67cccf9a171ec53950b946003e9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2a0164f1ad5cec95edb2325897da96942ab67cccf9a171ec53950b946003e9b", kill_on_drop: false }` [INFO] [stdout] a2a0164f1ad5cec95edb2325897da96942ab67cccf9a171ec53950b946003e9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 970dde4179e683496d3ded5523390d8cfb89c276c37771a30696c55eae8071f3 [INFO] running `Command { std: "docker" "start" "-a" "970dde4179e683496d3ded5523390d8cfb89c276c37771a30696c55eae8071f3", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling serde v1.0.87 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling crc32fast v1.1.2 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Checking safemem v0.3.0 [INFO] [stderr] Compiling plist v0.3.0 [INFO] [stderr] Checking same-file v1.0.4 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking linked-hash-map v0.5.1 [INFO] [stderr] Checking xml-rs v0.7.0 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking regex-syntax v0.6.5 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Checking walkdir v2.2.7 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking yaml-rust v0.4.2 [INFO] [stderr] Compiling onig_sys v69.1.0 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking termion v1.5.1 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking flate2 v1.0.6 [INFO] [stderr] Compiling serde_derive v1.0.87 [INFO] [stderr] Checking serde_json v1.0.38 [INFO] [stderr] Checking bincode v1.0.1 [INFO] [stderr] Checking onig v4.3.1 [INFO] [stderr] Checking syntect v3.0.2 [INFO] [stderr] Checking tide v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/components/projecttree.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::core::{Message, MessageSender}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UISelector` [INFO] [stdout] --> src/components/projecttree.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ui::{UIComponent, UISelector}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::fuzzyfinder::FuzzyFinder` [INFO] [stdout] --> src/components/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use self::fuzzyfinder::FuzzyFinder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::HighlightEngine` [INFO] [stdout] --> src/terminal.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::core::HighlightEngine; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MouseEvent` [INFO] [stdout] --> src/terminal.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | pub use termion::event::{Key, Event, MouseEvent}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `termion::input::TermRead` [INFO] [stdout] --> src/terminal.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use termion::input::TermRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syntect::parsing::SyntaxReference` [INFO] [stdout] --> src/core/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use syntect::parsing::SyntaxReference; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/ui/viewmanager.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc` [INFO] [stdout] --> src/ui/viewmanager.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> src/ui/terminalevent_watcher.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Stdin` [INFO] [stdout] --> src/ui/terminalevent_watcher.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Stdin; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, `mpsc` [INFO] [stdout] --> src/main.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::{Arc, Mutex, mpsc}; [INFO] [stdout] | ^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::stdin` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::io::stdin; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::Message` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::core::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UIComponent`, `UISelector` [INFO] [stdout] --> src/main.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::ui::{UIComponent, UISelector}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/messagemanager.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | message_listeners: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | message_listeners: Vec>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui/componentmanager.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | components: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | components: Vec>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui/selectormanager.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | focus_selector: Option>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | focus_selector: Option>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/components/projecttree.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::core::{Message, MessageSender}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UISelector` [INFO] [stdout] --> src/components/projecttree.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ui::{UIComponent, UISelector}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::fuzzyfinder::FuzzyFinder` [INFO] [stdout] --> src/components/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use self::fuzzyfinder::FuzzyFinder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::HighlightEngine` [INFO] [stdout] --> src/terminal.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::core::HighlightEngine; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MouseEvent` [INFO] [stdout] --> src/terminal.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | pub use termion::event::{Key, Event, MouseEvent}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `termion::input::TermRead` [INFO] [stdout] --> src/terminal.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use termion::input::TermRead; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `syntect::parsing::SyntaxReference` [INFO] [stdout] --> src/core/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use syntect::parsing::SyntaxReference; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/ui/viewmanager.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::mpsc` [INFO] [stdout] --> src/ui/viewmanager.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::mpsc; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex` [INFO] [stdout] --> src/ui/terminalevent_watcher.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Stdin` [INFO] [stdout] --> src/ui/terminalevent_watcher.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Stdin; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, `mpsc` [INFO] [stdout] --> src/main.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::{Arc, Mutex, mpsc}; [INFO] [stdout] | ^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::stdin` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::io::stdin; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::Message` [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use crate::core::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UIComponent`, `UISelector` [INFO] [stdout] --> src/main.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::ui::{UIComponent, UISelector}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/messagemanager.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | message_listeners: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | message_listeners: Vec>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui/componentmanager.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | components: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | components: Vec>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui/selectormanager.rs:9:39 [INFO] [stdout] | [INFO] [stdout] 9 | focus_selector: Option>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | focus_selector: Option>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/messagemanager.rs:25:60 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn register(&mut self, messagelistener: Rc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | pub fn register(&mut self, messagelistener: Rc>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui/componentmanager.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn register(&mut self, uicomponent: Rc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | pub fn register(&mut self, uicomponent: Rc>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui/selectormanager.rs:19:59 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn switch_focus(&mut self, uiselector: Rc>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | pub fn switch_focus(&mut self, uiselector: Rc>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/core/messagemanager.rs:25:60 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn register(&mut self, messagelistener: Rc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | pub fn register(&mut self, messagelistener: Rc>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui/componentmanager.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn register(&mut self, uicomponent: Rc>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | pub fn register(&mut self, uicomponent: Rc>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ui/selectormanager.rs:19:59 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn switch_focus(&mut self, uiselector: Rc>) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | pub fn switch_focus(&mut self, uiselector: Rc>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/statusline.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut v = self.view.borrow_mut(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/statusline.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | let mut v = self.view.borrow_mut(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/log.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut log = Log { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_width` [INFO] [stdout] --> src/ui/viewmanager.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | let (t_width, t_height) = (0, 0); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_height` [INFO] [stdout] --> src/ui/viewmanager.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | let (t_width, t_height) = (0, 0); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/core/log.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut log = Log { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `messagesender` is never read [INFO] [stdout] --> src/components/statusline.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Statusline { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 13 | messagesender: MessageSender, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FuzzyFinder` is never constructed [INFO] [stdout] --> src/components/fuzzyfinder.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct FuzzyFinder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeLine` is never constructed [INFO] [stdout] --> src/components/projecttree.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct NodeLine { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `messagesender` and `display_lines` are never read [INFO] [stdout] --> src/components/projecttree.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct ProjectTree { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 59 | messagesender: MessageSender, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | display_lines: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/terminal.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl DisplayLine { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 37 | pub fn new() -> DisplayLine { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_stdin` and `get_scale` are never used [INFO] [stdout] --> src/terminal.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl Terminal { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn get_stdin(&self) -> Stdin { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn get_scale(&mut self) -> (u16, u16) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `goto_line` is never used [INFO] [stdout] --> src/core/textediting.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait TextEditing { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn goto_line(&mut self, line_num: u32); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ts` is never read [INFO] [stdout] --> src/core/highlightengine.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct HighlightEngine { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 8 | pub ps: SyntaxSet, [INFO] [stdout] 9 | ts: ThemeSet, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/core/log.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Log { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_width` [INFO] [stdout] --> src/ui/viewmanager.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 44 | let (t_width, t_height) = (0, 0); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_width` and `get_height` are never used [INFO] [stdout] --> src/ui/view.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl View { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn with_width(terminal: Rc>, width: u16) -> View { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn get_height(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t_height` [INFO] [stdout] --> src/ui/viewmanager.rs:44:23 [INFO] [stdout] | [INFO] [stdout] 44 | let (t_width, t_height) = (0, 0); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_t_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/core/filerw.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 39 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 39 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `GLog` should have an upper case name [INFO] [stdout] --> src/core/log.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub static ref GLog: Arc> = { [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `GLOG` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core/log.rs:56:49 [INFO] [stdout] | [INFO] [stdout] 56 | let mut f = match File::create(file_path.clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/core/log.rs:58:30 [INFO] [stdout] | [INFO] [stdout] 58 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 58 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 58 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `messagesender` is never read [INFO] [stdout] --> src/components/statusline.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Statusline { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 13 | messagesender: MessageSender, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FuzzyFinder` is never constructed [INFO] [stdout] --> src/components/fuzzyfinder.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct FuzzyFinder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeLine` is never constructed [INFO] [stdout] --> src/components/projecttree.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct NodeLine { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `messagesender` and `display_lines` are never read [INFO] [stdout] --> src/components/projecttree.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct ProjectTree { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 59 | messagesender: MessageSender, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | display_lines: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/terminal.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl DisplayLine { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 37 | pub fn new() -> DisplayLine { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_stdin` and `get_scale` are never used [INFO] [stdout] --> src/terminal.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl Terminal { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn get_stdin(&self) -> Stdin { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn get_scale(&mut self) -> (u16, u16) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `goto_line` is never used [INFO] [stdout] --> src/core/textediting.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait TextEditing { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn goto_line(&mut self, line_num: u32); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ts` is never read [INFO] [stdout] --> src/core/highlightengine.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct HighlightEngine { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 8 | pub ps: SyntaxSet, [INFO] [stdout] 9 | ts: ThemeSet, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/core/log.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Log { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_width` and `get_height` are never used [INFO] [stdout] --> src/ui/view.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl View { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn with_width(terminal: Rc>, width: u16) -> View { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn get_height(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/core/filerw.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 39 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 39 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `GLog` should have an upper case name [INFO] [stdout] --> src/core/log.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | pub static ref GLog: Arc> = { [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `GLOG` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/core/log.rs:56:49 [INFO] [stdout] | [INFO] [stdout] 56 | let mut f = match File::create(file_path.clone()) { [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/core/log.rs:58:30 [INFO] [stdout] | [INFO] [stdout] 58 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 58 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 58 | Err(e) => std::panic::panic_any(e), [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.26s [INFO] running `Command { std: "docker" "inspect" "970dde4179e683496d3ded5523390d8cfb89c276c37771a30696c55eae8071f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "970dde4179e683496d3ded5523390d8cfb89c276c37771a30696c55eae8071f3", kill_on_drop: false }` [INFO] [stdout] 970dde4179e683496d3ded5523390d8cfb89c276c37771a30696c55eae8071f3