[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 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsouvik1997%2Fradish" "/workspace/builds/worker-55/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-55/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/souvik1997/radish on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-55/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: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1817c0ea27c260e35e3ba3aa82eee6a4cf0c7b34a40c84d7b521cfc882373f78 [INFO] running `Command { std: "docker" "start" "-a" "1817c0ea27c260e35e3ba3aa82eee6a4cf0c7b34a40c84d7b521cfc882373f78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1817c0ea27c260e35e3ba3aa82eee6a4cf0c7b34a40c84d7b521cfc882373f78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1817c0ea27c260e35e3ba3aa82eee6a4cf0c7b34a40c84d7b521cfc882373f78", kill_on_drop: false }` [INFO] [stdout] 1817c0ea27c260e35e3ba3aa82eee6a4cf0c7b34a40c84d7b521cfc882373f78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-55/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 487c09301832f8874b793e5d1e47ae5addd08862291f77aabd96e0436333c3d6 [INFO] running `Command { std: "docker" "start" "-a" "487c09301832f8874b793e5d1e47ae5addd08862291f77aabd96e0436333c3d6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 void v1.0.2 [INFO] [stderr] Checking byteorder v1.2.1 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking unicode-segmentation v1.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.5 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling libsqlite3-sys v0.8.1 [INFO] [stderr] Compiling rlua v0.10.2 [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 nix v0.9.0 [INFO] [stderr] Checking users v0.6.0 [INFO] [stderr] Checking termion v1.5.1 [INFO] [stderr] Compiling diesel_derives v1.0.0 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking num v0.1.41 [INFO] [stderr] Checking chrono v0.4.0 [INFO] [stderr] Checking diesel v1.0.0 [INFO] [stderr] Checking radish v0.1.0 (/opt/rustwide/workdir) [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] error[E0425]: cannot find function, tuple struct or tuple variant `OnWordLeftEdge` in this scope [INFO] [stdout] --> src/shell/readline/line_editor/liner/test.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | ("hi", 0, OnWordLeftEdge(0)), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use shell::readline::line_editor::liner::CursorPosition::OnWordLeftEdge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InWord` in this scope [INFO] [stdout] --> src/shell/readline/line_editor/liner/test.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | ("hi", 1, InWord(0)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use shell::readline::line_editor::liner::CursorPosition::InWord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OnWordRightEdge` in this scope [INFO] [stdout] --> src/shell/readline/line_editor/liner/test.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | ("hi", 2, OnWordRightEdge(0)), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use shell::readline::line_editor::liner::CursorPosition::OnWordRightEdge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InSpace` in this scope [INFO] [stdout] --> src/shell/readline/line_editor/liner/test.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | ("abc abc", 4, InSpace(Some(0), Some(1))), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use shell::readline::line_editor::liner::CursorPosition::InSpace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OnWordLeftEdge` in this scope [INFO] [stdout] --> src/shell/readline/line_editor/liner/test.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | ("abc abc", 5, OnWordLeftEdge(1)), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use shell::readline::line_editor::liner::CursorPosition::OnWordLeftEdge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InWord` in this scope [INFO] [stdout] --> src/shell/readline/line_editor/liner/test.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | ("abc abc", 6, InWord(1)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use shell::readline::line_editor::liner::CursorPosition::InWord; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OnWordRightEdge` in this scope [INFO] [stdout] --> src/shell/readline/line_editor/liner/test.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | ("abc abc", 8, OnWordRightEdge(1)), [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use shell::readline::line_editor::liner::CursorPosition::OnWordRightEdge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InSpace` in this scope [INFO] [stdout] --> src/shell/readline/line_editor/liner/test.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | (" a", 0, InSpace(None, Some(0))), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use shell::readline::line_editor::liner::CursorPosition::InSpace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `InSpace` in this scope [INFO] [stdout] --> src/shell/readline/line_editor/liner/test.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | ("a ", 2, InSpace(Some(0), None)), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 | use shell::readline::line_editor::liner::CursorPosition::InSpace; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `History` [INFO] [stdout] --> src/shell/readline/line_editor/liner/test.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | let mut h = History::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use shell::History; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `History` [INFO] [stdout] --> src/shell/readline/line_editor/liner/test.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | let mut h = History::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use shell::History; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `History` [INFO] [stdout] --> src/shell/readline/line_editor/liner/test.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | let mut h = History::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use shell::History; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `History` [INFO] [stdout] --> src/shell/readline/line_editor/liner/test.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | let mut h = History::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use shell::History; [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: 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] 224 | | } [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` (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] 224 | | } [INFO] [stdout] 225 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 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] 224 | | } [INFO] [stdout] 225 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_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] 224 | | } [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` (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] 224 | | } [INFO] [stdout] 225 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_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] 224 | | } [INFO] [stdout] 225 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_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] = note: `#[warn(anonymous_parameters)]` on by default [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] [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] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Event) + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: 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: `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: `...` 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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: `...` 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shell/readline/mod.rs:61:145 [INFO] [stdout] | [INFO] [stdout] 61 | ...alBuffer, terminal_width: usize, mut stdout: &mut Write) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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: 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] | ^^^^^ help: use `dyn`: `dyn Write` [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: 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] | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write` [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: 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] 224 | | } [INFO] [stdout] 225 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_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] 224 | | } [INFO] [stdout] 225 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__impl_bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [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: 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] | ^^^^^^^^^^^ help: use `dyn`: `dyn Engine + 'a` [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: 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] | ^^^^^^^^^^^ help: use `dyn`: `dyn Engine + 'a` [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: 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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn completion::engines::Engine` [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: 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] = note: `#[warn(anonymous_parameters)]` on by default [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] [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] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Event) + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: 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: `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: `...` 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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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: `...` 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/shell/readline/mod.rs:61:145 [INFO] [stdout] | [INFO] [stdout] 61 | ...alBuffer, terminal_width: usize, mut stdout: &mut Write) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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: 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] | ^^^^^ help: use `dyn`: `dyn Write` [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: 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] | ^^^^^^^^^^ help: use `dyn`: `dyn fmt::Write` [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: 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: 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] | ^^^^^^^^^^^ help: use `dyn`: `dyn Engine + 'a` [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: 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] | ^^^^^^^^^^^ help: use `dyn`: `dyn Engine + 'a` [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: 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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn completion::engines::Engine` [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: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. 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 is unexpected and probably not what you want. 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: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. 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 is unexpected and probably not what you want. 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: 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 associated function `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] 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 [INFO] [stdout] ... [INFO] [stdout] 474 | buf.print_rest(&mut out, buf2.data.len()).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ method not found in `buffer::Buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `Ok(PtraceSyscall(_))` not covered [INFO] [stdout] --> src/shell/jobs/mod.rs:83:120 [INFO] [stdout] | [INFO] [stdout] 83 | ...s::Continued(_) => match job.wait(Some(nix::sys::wait::WUNTRACED)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ pattern `Ok(PtraceSyscall(_))` not covered [INFO] [stdout] | [INFO] [stdout] = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms [INFO] [stdout] = note: the matched value is of type `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `PtraceSyscall(_)` not covered [INFO] [stdout] --> src/shell/jobs/mod.rs:82:31 [INFO] [stdout] | [INFO] [stdout] 82 | match status { [INFO] [stdout] | ^^^^^^ pattern `PtraceSyscall(_)` not covered [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nix-0.9.0/src/sys/wait.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | PtraceSyscall(Pid), [INFO] [stdout] | ------------- not covered [INFO] [stdout] | [INFO] [stdout] = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms [INFO] [stdout] = note: the matched value is of type `WaitStatus` [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] = note: `#[warn(unused_mut)]` on by default [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] 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: 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] [INFO] [stdout] warning: use of deprecated associated function `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] error: aborting due to 16 previous errors; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `radish` due to 17 previous errors; 27 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "487c09301832f8874b793e5d1e47ae5addd08862291f77aabd96e0436333c3d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "487c09301832f8874b793e5d1e47ae5addd08862291f77aabd96e0436333c3d6", kill_on_drop: false }` [INFO] [stdout] 487c09301832f8874b793e5d1e47ae5addd08862291f77aabd96e0436333c3d6