[INFO] cloning repository https://github.com/souvik1997/radish [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/souvik1997/radish" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsouvik1997%2Fradish", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsouvik1997%2Fradish'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 398b7f0bba49ff0789344013632e1b4886e9f620 [INFO] checking souvik1997/radish/398b7f0bba49ff0789344013632e1b4886e9f620 against master#cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 for pr-135841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsouvik1997%2Fradish" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/souvik1997/radish on toolchain cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/souvik1997/radish [INFO] finished tweaking git repo https://github.com/souvik1997/radish [INFO] tweaked toml for git repo https://github.com/souvik1997/radish written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/souvik1997/radish 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" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded users v0.6.0 [INFO] [stderr] Downloaded rlua v0.10.2 [INFO] [stderr] Downloaded libsqlite3-sys v0.8.1 [INFO] [stderr] Downloaded diesel_derives v1.0.0 [INFO] [stderr] Downloaded diesel v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f627151c933b863090cd7df4c8daf9a57c68d13bdff6d8d3ae9bbe10eeb0cb07 [INFO] running `Command { std: "docker" "start" "-a" "f627151c933b863090cd7df4c8daf9a57c68d13bdff6d8d3ae9bbe10eeb0cb07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f627151c933b863090cd7df4c8daf9a57c68d13bdff6d8d3ae9bbe10eeb0cb07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f627151c933b863090cd7df4c8daf9a57c68d13bdff6d8d3ae9bbe10eeb0cb07", kill_on_drop: false }` [INFO] [stdout] f627151c933b863090cd7df4c8daf9a57c68d13bdff6d8d3ae9bbe10eeb0cb07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6b2e0eafee11e981f0c2df47515d35e5a51056c0cfcaec0645fcf12c8a7ab62 [INFO] running `Command { std: "docker" "start" "-a" "a6b2e0eafee11e981f0c2df47515d35e5a51056c0cfcaec0645fcf12c8a7ab62", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.34 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Checking num-traits v0.1.41 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking unicode-segmentation v1.2.0 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking unicode-normalization v0.1.5 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking time v0.1.39 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking termion v1.5.1 [INFO] [stderr] Checking nix v0.9.0 [INFO] [stderr] Checking num v0.1.41 [INFO] [stderr] Compiling libsqlite3-sys v0.8.1 [INFO] [stderr] Compiling rlua v0.10.2 [INFO] [stderr] Checking users v0.6.0 [INFO] [stderr] Checking chrono v0.4.0 [INFO] [stderr] Compiling diesel_derives v1.0.0 [INFO] [stderr] Checking diesel v1.0.0 [INFO] [stderr] Checking radish v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/shell/readline/display/mod.rs:87:33 [INFO] [stdout] | [INFO] [stdout] 86 | impl<'a> ::std::convert::From<&'a str> for DisplayString<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 87 | fn from(string: &'a str) -> DisplayString { [INFO] [stdout] | ^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/shell/readline/display/mod.rs:137:33 [INFO] [stdout] | [INFO] [stdout] 136 | impl<'a> ::std::convert::From<&'a str> for DisplayStringComponent<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 137 | fn from(string: &'a str) -> DisplayStringComponent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shell/readline/display/mod.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | / bitflags! { [INFO] [stdout] 219 | | pub struct Style: u8 { [INFO] [stdout] 220 | | const BOLD = 0x1; [INFO] [stdout] 221 | | const ITALIC = 0x2; [INFO] [stdout] ... | [INFO] [stdout] 225 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shell/readline/display/mod.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | / bitflags! { [INFO] [stdout] 219 | | pub struct Style: u8 { [INFO] [stdout] 220 | | const BOLD = 0x1; [INFO] [stdout] 221 | | const ITALIC = 0x2; [INFO] [stdout] ... | [INFO] [stdout] 225 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shell/readline/display/mod.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | / bitflags! { [INFO] [stdout] 219 | | pub struct Style: u8 { [INFO] [stdout] 220 | | const BOLD = 0x1; [INFO] [stdout] 221 | | const ITALIC = 0x2; [INFO] [stdout] ... | [INFO] [stdout] 225 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/shell/readline/display/mod.rs:247:42 [INFO] [stdout] | [INFO] [stdout] 247 | fn render(&mut self, &mut F, width: usize); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut F` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::event::*` [INFO] [stdout] --> src/shell/readline/line_editor/liner/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use self::event::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shell/readline/line_editor/liner/buffer.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | try!(f.write_char(c)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::emacs::Emacs` [INFO] [stdout] --> src/shell/readline/line_editor/liner/keymap/mod.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub use self::emacs::Emacs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec_deque` [INFO] [stdout] --> src/shell/readline/line_editor/liner/history.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{vec_deque, VecDeque}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::IntoIterator` [INFO] [stdout] --> src/shell/readline/line_editor/liner/history.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/shell/readline/line_editor/liner/history.rs:21:58 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a> HistoryManager<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 20 | /// Create new History structure. [INFO] [stdout] 21 | pub fn new(history_instance: Option<&'a History>) -> HistoryManager { [INFO] [stdout] | ^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::history::*` [INFO] [stdout] --> src/shell/readline/line_editor/liner/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use self::history::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/shell/readline/line_editor/liner/util.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | 'A'...'Z' | 'a'...'z' => s = AnsiState::Norm, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/shell/readline/line_editor/liner/util.rs:69:36 [INFO] [stdout] | [INFO] [stdout] 69 | 'A'...'Z' | 'a'...'z' => s = AnsiState::Norm, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/shell/syntax/lexer.rs:252:39 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn lex<'a>(s: &'a str) -> IResult<&str, Vec>> { [INFO] [stdout] | -- ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'a` declared here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/shell/completion/fuzzy.rs:74:6 [INFO] [stdout] | [INFO] [stdout] 74 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::history::History` [INFO] [stdout] --> src/shell/completion/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::history::History; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::Cell` [INFO] [stdout] --> src/shell/history/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::diesel::prelude::*` [INFO] [stdout] --> src/shell/history/schema.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::diesel::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::diesel::prelude::*` [INFO] [stdout] --> src/shell/history/model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::diesel::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `context` [INFO] [stdout] --> src/shell/readline/line_editor/liner/test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use context; [INFO] [stdout] | ^^^^^^^ no `context` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `CursorPosition` [INFO] [stdout] --> src/shell/readline/line_editor/liner/test.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | use CursorPosition::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a similar path exists: `self::CursorPosition` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/shell/completion/engines/path_completion.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | if let Some(home) = home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/shell/completion/engines/path_completion.rs:93:33 [INFO] [stdout] | [INFO] [stdout] 93 | use std::env::{current_dir, home_dir}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `collections_range` has been stable since 1.28.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(collections_range)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shell/completion/mod.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | engines: 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 | engines: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shell/readline/mod.rs:61:145 [INFO] [stdout] | [INFO] [stdout] 61 | ...r: &mut TerminalBuffer, terminal_width: usize, mut stdout: &mut Write) { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | fn render(&self, editor: &mut Editor, cursor: &mut CursorManager, term_buffer: &mut TerminalBuffer, terminal_width: usize, mut stdout: &mut dyn Write) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shell/readline/mod.rs:222:43 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn render(&mut self, writer: &mut Write) -> io::Result<()> { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 222 | pub fn render(&mut self, writer: &mut dyn Write) -> io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shell/readline/mod.rs:390:77 [INFO] [stdout] | [INFO] [stdout] 390 | fn render_displaystring(&self, string: &DisplayString, mut writer: &mut fmt::Write) -> fmt::Result { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 390 | fn render_displaystring(&self, string: &DisplayString, mut writer: &mut dyn fmt::Write) -> fmt::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shell/readline/line_editor/liner/event.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | pub type EventHandler<'a> = FnMut(Event) + 'a; [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 | pub type EventHandler<'a> = dyn FnMut(Event) + 'a; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shell/completion/mod.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn new(engines: Vec>) -> Completer<'a> { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 | pub fn new(engines: Vec>) -> Completer<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/shell/readline/display/mod.rs:87:33 [INFO] [stdout] | [INFO] [stdout] 86 | impl<'a> ::std::convert::From<&'a str> for DisplayString<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 87 | fn from(string: &'a str) -> DisplayString { [INFO] [stdout] | ^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/shell/readline/display/mod.rs:137:33 [INFO] [stdout] | [INFO] [stdout] 136 | impl<'a> ::std::convert::From<&'a str> for DisplayStringComponent<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 137 | fn from(string: &'a str) -> DisplayStringComponent { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shell/readline/display/mod.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | / bitflags! { [INFO] [stdout] 219 | | pub struct Style: u8 { [INFO] [stdout] 220 | | const BOLD = 0x1; [INFO] [stdout] 221 | | const ITALIC = 0x2; [INFO] [stdout] ... | [INFO] [stdout] 225 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shell/readline/display/mod.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | / bitflags! { [INFO] [stdout] 219 | | pub struct Style: u8 { [INFO] [stdout] 220 | | const BOLD = 0x1; [INFO] [stdout] 221 | | const ITALIC = 0x2; [INFO] [stdout] ... | [INFO] [stdout] 225 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shell/readline/display/mod.rs:218:1 [INFO] [stdout] | [INFO] [stdout] 218 | / bitflags! { [INFO] [stdout] 219 | | pub struct Style: u8 { [INFO] [stdout] 220 | | const BOLD = 0x1; [INFO] [stdout] 221 | | const ITALIC = 0x2; [INFO] [stdout] ... | [INFO] [stdout] 225 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/shell/readline/display/mod.rs:247:42 [INFO] [stdout] | [INFO] [stdout] 247 | fn render(&mut self, &mut F, width: usize); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut F` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::event::*` [INFO] [stdout] --> src/shell/readline/line_editor/liner/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use self::event::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/shell/readline/line_editor/liner/buffer.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | try!(f.write_char(c)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::emacs::Emacs` [INFO] [stdout] --> src/shell/readline/line_editor/liner/keymap/mod.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub use self::emacs::Emacs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec_deque` [INFO] [stdout] --> src/shell/readline/line_editor/liner/history.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::{vec_deque, VecDeque}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::IntoIterator` [INFO] [stdout] --> src/shell/readline/line_editor/liner/history.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/shell/readline/line_editor/liner/history.rs:21:58 [INFO] [stdout] | [INFO] [stdout] 19 | impl<'a> HistoryManager<'a> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 20 | /// Create new History structure. [INFO] [stdout] 21 | pub fn new(history_instance: Option<&'a History>) -> HistoryManager { [INFO] [stdout] | ^^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self::history::*` [INFO] [stdout] --> src/shell/readline/line_editor/liner/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub use self::history::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/shell/readline/line_editor/liner/util.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 69 | 'A'...'Z' | 'a'...'z' => s = AnsiState::Norm, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/shell/readline/line_editor/liner/util.rs:69:36 [INFO] [stdout] | [INFO] [stdout] 69 | 'A'...'Z' | 'a'...'z' => s = AnsiState::Norm, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/shell/syntax/lexer.rs:252:39 [INFO] [stdout] | [INFO] [stdout] 252 | pub fn lex<'a>(s: &'a str) -> IResult<&str, Vec>> { [INFO] [stdout] | -- ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'a` declared here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/shell/completion/fuzzy.rs:74:6 [INFO] [stdout] | [INFO] [stdout] 74 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::history::History` [INFO] [stdout] --> src/shell/completion/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::history::History; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::Cell` [INFO] [stdout] --> src/shell/history/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cell::Cell; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::diesel::prelude::*` [INFO] [stdout] --> src/shell/history/schema.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::diesel::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::diesel::prelude::*` [INFO] [stdout] --> src/shell/history/model.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::diesel::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/shell/completion/engines/path_completion.rs:103:29 [INFO] [stdout] | [INFO] [stdout] 103 | if let Some(home) = home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/shell/completion/engines/path_completion.rs:93:33 [INFO] [stdout] | [INFO] [stdout] 93 | use std::env::{current_dir, home_dir}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `collections_range` has been stable since 1.28.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(collections_range)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shell/completion/mod.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | engines: 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 | engines: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shell/readline/mod.rs:61:145 [INFO] [stdout] | [INFO] [stdout] 61 | ...r: &mut TerminalBuffer, terminal_width: usize, mut stdout: &mut Write) { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | fn render(&self, editor: &mut Editor, cursor: &mut CursorManager, term_buffer: &mut TerminalBuffer, terminal_width: usize, mut stdout: &mut dyn Write) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shell/readline/mod.rs:222:43 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn render(&mut self, writer: &mut Write) -> io::Result<()> { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 222 | pub fn render(&mut self, writer: &mut dyn Write) -> io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shell/readline/mod.rs:390:77 [INFO] [stdout] | [INFO] [stdout] 390 | fn render_displaystring(&self, string: &DisplayString, mut writer: &mut fmt::Write) -> fmt::Result { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 390 | fn render_displaystring(&self, string: &DisplayString, mut writer: &mut dyn fmt::Write) -> fmt::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shell/readline/line_editor/liner/event.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | pub type EventHandler<'a> = FnMut(Event) + 'a; [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 4 | pub type EventHandler<'a> = dyn FnMut(Event) + 'a; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shell/completion/mod.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn new(engines: Vec>) -> Completer<'a> { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 | pub fn new(engines: Vec>) -> Completer<'a> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `print_rest` found for struct `buffer::Buffer` in the current scope [INFO] [stdout] --> src/shell/readline/line_editor/liner/buffer.rs:474:13 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct Buffer { [INFO] [stdout] | ----------------- method `print_rest` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 474 | buf.print_rest(&mut out, buf2.data.len()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/shell/completion/fuzzy.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 100 | panic!("searched"); [INFO] [stdout] | ------------------ any code following this expression is unreachable [INFO] [stdout] 101 | result [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/shell/history/mod.rs:34:58 [INFO] [stdout] | [INFO] [stdout] 34 | ConnectionError::BadConnection(e.description().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shell/mod.rs:73:45 [INFO] [stdout] | [INFO] [stdout] 73 | let mut completion_engines: Vec> = 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | let mut completion_engines: Vec> = vec![ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shell/readline/line_editor/liner/editor.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | let mut completions = completer.completions(word.as_ref(), &buf.data); [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: unreachable expression [INFO] [stdout] --> src/shell/completion/fuzzy.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 100 | panic!("searched"); [INFO] [stdout] | ------------------ any code following this expression is unreachable [INFO] [stdout] 101 | result [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/shell/history/mod.rs:34:58 [INFO] [stdout] | [INFO] [stdout] 34 | ConnectionError::BadConnection(e.description().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shell/mod.rs:73:45 [INFO] [stdout] | [INFO] [stdout] 73 | let mut completion_engines: Vec> = 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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | let mut completion_engines: Vec> = vec![ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shell/readline/line_editor/liner/editor.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 181 | let mut completions = completer.completions(word.as_ref(), &buf.data); [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] error[E0004]: non-exhaustive patterns: `WaitStatus::PtraceSyscall(_)` not covered [INFO] [stdout] --> src/shell/jobs/mod.rs:82:31 [INFO] [stdout] | [INFO] [stdout] 82 | match status { [INFO] [stdout] | ^^^^^^ pattern `WaitStatus::PtraceSyscall(_)` not covered [INFO] [stdout] | [INFO] [stdout] note: `WaitStatus` defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.9.0/src/sys/wait.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum WaitStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | PtraceSyscall(Pid), [INFO] [stdout] | ------------- not covered [INFO] [stdout] = note: the matched value is of type `WaitStatus` [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown [INFO] [stdout] | [INFO] [stdout] 115~ }, [INFO] [stdout] 116+ WaitStatus::PtraceSyscall(_) => todo!() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `Ok(WaitStatus::PtraceSyscall(_))` not covered [INFO] [stdout] --> src/shell/jobs/mod.rs:83:120 [INFO] [stdout] | [INFO] [stdout] 83 | ...tinued(_) => match job.wait(Some(nix::sys::wait::WUNTRACED)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pattern `Ok(WaitStatus::PtraceSyscall(_))` not covered [INFO] [stdout] | [INFO] [stdout] note: `Result` defined here [INFO] [stdout] --> /rustc/cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3/library/core/src/result.rs:528:1 [INFO] [stdout] ::: /rustc/cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3/library/core/src/result.rs:532:5 [INFO] [stdout] | [INFO] [stdout] = note: not covered [INFO] [stdout] = note: the matched value is of type `Result` [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown [INFO] [stdout] | [INFO] [stdout] 101~ }, [INFO] [stdout] 102+ Ok(WaitStatus::PtraceSyscall(_)) => todo!() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/shell/completion/engines/path_completion.rs:10:51 [INFO] [stdout] | [INFO] [stdout] 10 | fn completions<'a>(&'a mut self, start: &str, line: &str) -> Option, Cow<'a, str>)>> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/shell/completion/engines/user_completion.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | fn completions<'b>(&'b mut self, start: &str, line: &str) -> Option, Cow<'b, str>)>> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/shell/completion/engines/user_completion.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | fn completions<'b>(&'b mut self, start: &str, line: &str) -> Option, Cow<'b, str>)>> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_distance` [INFO] [stdout] --> src/shell/completion/fuzzy.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let max_distance = search_term.len() + c.replacement.len(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shell/mod.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let mut lua = Lua::new(); [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/shell/mod.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let mut completion_engines: Vec> = vec![ [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/shell/mod.rs:88:36 [INFO] [stdout] | [INFO] [stdout] 88 | fn run_interactive<'a, 'b: 'a>(mut history: &'a mut History, mut completer: &'a mut Completer<'b>, mut job_manager: &mut JobManager, ... [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/shell/mod.rs:88:104 [INFO] [stdout] | [INFO] [stdout] 88 | fn run_interactive<'a, 'b: 'a>(mut history: &'a mut History, mut completer: &'a mut Completer<'b>, mut job_manager: &mut JobManager, ... [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/shell/mod.rs:88:138 [INFO] [stdout] | [INFO] [stdout] 88 | ...mut Completer<'b>, mut job_manager: &mut JobManager, mut readline: &mut Readline) -> i8 { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `radish` (bin "radish") due to 2 previous errors; 44 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0004]: non-exhaustive patterns: `WaitStatus::PtraceSyscall(_)` not covered [INFO] [stdout] --> src/shell/jobs/mod.rs:82:31 [INFO] [stdout] | [INFO] [stdout] 82 | match status { [INFO] [stdout] | ^^^^^^ pattern `WaitStatus::PtraceSyscall(_)` not covered [INFO] [stdout] | [INFO] [stdout] note: `WaitStatus` defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/nix-0.9.0/src/sys/wait.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum WaitStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | PtraceSyscall(Pid), [INFO] [stdout] | ------------- not covered [INFO] [stdout] = note: the matched value is of type `WaitStatus` [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown [INFO] [stdout] | [INFO] [stdout] 115~ }, [INFO] [stdout] 116+ WaitStatus::PtraceSyscall(_) => todo!() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `Ok(WaitStatus::PtraceSyscall(_))` not covered [INFO] [stdout] --> src/shell/jobs/mod.rs:83:120 [INFO] [stdout] | [INFO] [stdout] 83 | ...tinued(_) => match job.wait(Some(nix::sys::wait::WUNTRACED)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pattern `Ok(WaitStatus::PtraceSyscall(_))` not covered [INFO] [stdout] | [INFO] [stdout] note: `Result` defined here [INFO] [stdout] --> /rustc/cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3/library/core/src/result.rs:528:1 [INFO] [stdout] ::: /rustc/cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3/library/core/src/result.rs:532:5 [INFO] [stdout] | [INFO] [stdout] = note: not covered [INFO] [stdout] = note: the matched value is of type `Result` [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown [INFO] [stdout] | [INFO] [stdout] 101~ }, [INFO] [stdout] 102+ Ok(WaitStatus::PtraceSyscall(_)) => todo!() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/shell/completion/engines/path_completion.rs:10:51 [INFO] [stdout] | [INFO] [stdout] 10 | fn completions<'a>(&'a mut self, start: &str, line: &str) -> Option, Cow<'a, str>)>> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/shell/completion/engines/user_completion.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | fn completions<'b>(&'b mut self, start: &str, line: &str) -> Option, Cow<'b, str>)>> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/shell/completion/engines/user_completion.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | fn completions<'b>(&'b mut self, start: &str, line: &str) -> Option, Cow<'b, str>)>> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_distance` [INFO] [stdout] --> src/shell/completion/fuzzy.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let max_distance = search_term.len() + c.replacement.len(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/shell/mod.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | let mut lua = Lua::new(); [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/shell/mod.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let mut completion_engines: Vec> = vec![ [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/shell/mod.rs:88:36 [INFO] [stdout] | [INFO] [stdout] 88 | fn run_interactive<'a, 'b: 'a>(mut history: &'a mut History, mut completer: &'a mut Completer<'b>, mut job_manager: &mut JobManager, ... [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/shell/mod.rs:88:104 [INFO] [stdout] | [INFO] [stdout] 88 | fn run_interactive<'a, 'b: 'a>(mut history: &'a mut History, mut completer: &'a mut Completer<'b>, mut job_manager: &mut JobManager, ... [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/shell/mod.rs:88:138 [INFO] [stdout] | [INFO] [stdout] 88 | ...mut Completer<'b>, mut job_manager: &mut JobManager, mut readline: &mut Readline) -> i8 { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0004, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `radish` (bin "radish" test) due to 5 previous errors; 44 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a6b2e0eafee11e981f0c2df47515d35e5a51056c0cfcaec0645fcf12c8a7ab62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6b2e0eafee11e981f0c2df47515d35e5a51056c0cfcaec0645fcf12c8a7ab62", kill_on_drop: false }` [INFO] [stdout] a6b2e0eafee11e981f0c2df47515d35e5a51056c0cfcaec0645fcf12c8a7ab62