[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#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsouvik1997%2Fradish" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/souvik1997/radish on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-4-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_syscall v0.1.33 [INFO] [stderr] Downloaded rayon v0.9.0 [INFO] [stderr] Downloaded users v0.6.0 [INFO] [stderr] Downloaded rlua v0.10.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2bcde6ae1dea25a54c1d559dbf941c4ea7a0720d6ad345c7830a900c82d2204 [INFO] running `Command { std: "docker" "start" "-a" "b2bcde6ae1dea25a54c1d559dbf941c4ea7a0720d6ad345c7830a900c82d2204", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2bcde6ae1dea25a54c1d559dbf941c4ea7a0720d6ad345c7830a900c82d2204", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2bcde6ae1dea25a54c1d559dbf941c4ea7a0720d6ad345c7830a900c82d2204", kill_on_drop: false }` [INFO] [stdout] b2bcde6ae1dea25a54c1d559dbf941c4ea7a0720d6ad345c7830a900c82d2204 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c00e85e213a3ca01bfab9c0507c8237582b377cf115b6bc35c0c7c555c0001e9 [INFO] running `Command { std: "docker" "start" "-a" "c00e85e213a3ca01bfab9c0507c8237582b377cf115b6bc35c0c7c555c0001e9", kill_on_drop: false }` [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] Compiling syn v0.11.11 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking unicode-normalization v0.1.5 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking unicode-segmentation v1.2.0 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking glob v0.2.11 [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 num-integer v0.1.35 [INFO] [stderr] Checking termion v1.5.1 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Compiling libsqlite3-sys v0.8.1 [INFO] [stderr] Compiling rlua v0.10.2 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking num v0.1.41 [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: 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` 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] 224 | | } [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] 224 | | } [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] 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: 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: the item `termion` is imported redundantly [INFO] [stdout] --> src/shell/readline/line_editor/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::termion; [INFO] [stdout] | ^^^^^^^^^^^^^^ the item `termion` is already defined by prelude [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: 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: the item `nix` is imported redundantly [INFO] [stdout] --> src/shell/jobs/job.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nix; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate nix; [INFO] [stdout] | ----------------- the item `nix` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nix` is imported redundantly [INFO] [stdout] --> src/shell/jobs/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use nix; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate nix; [INFO] [stdout] | ----------------- the item `nix` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cmp` is imported redundantly [INFO] [stdout] --> src/shell/completion/fuzzy.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `cmp` is already imported here [INFO] [stdout] 2 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BTreeSet` is imported redundantly [INFO] [stdout] --> src/shell/completion/fuzzy.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BTreeSet` is already imported here [INFO] [stdout] 2 | use std::cmp; [INFO] [stdout] 3 | use std::collections::BTreeSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: the item `timestamp` is imported redundantly [INFO] [stdout] --> src/shell/history/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | use self::schema::history::dsl::*; [INFO] [stdout] | ----------------------------- the item `timestamp` is already imported here [INFO] [stdout] 12 | use self::schema::history::columns::timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nom` is imported redundantly [INFO] [stdout] --> src/shell/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use nom; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate nom; [INFO] [stdout] | ----------------- the item `nom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nix` is imported redundantly [INFO] [stdout] --> src/shell/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use nix; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate nix; [INFO] [stdout] | ----------------- the item `nix` is already imported here [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] 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] 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] 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] 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] 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 | engines: Vec>, [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] | ^^^^^^^ use of undeclared type `History` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [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] | ^^^^^^^ use of undeclared type `History` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [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] | ^^^^^^^ use of undeclared type `History` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [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] | ^^^^^^^ use of undeclared type `History` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 1 + use shell::History; [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 an object-safe 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: 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: 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 an object-safe 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: 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` 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: 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 an object-safe 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: 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` 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: 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 an object-safe 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: 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` 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: 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 | pub fn new(engines: Vec>) -> Completer<'a> { [INFO] [stdout] | +++ [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: the item `termion` is imported redundantly [INFO] [stdout] --> src/shell/readline/line_editor/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::termion; [INFO] [stdout] | ^^^^^^^^^^^^^^ the item `termion` is already defined by prelude [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: 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: the item `nix` is imported redundantly [INFO] [stdout] --> src/shell/jobs/job.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nix; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate nix; [INFO] [stdout] | ----------------- the item `nix` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nix` is imported redundantly [INFO] [stdout] --> src/shell/jobs/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use nix; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate nix; [INFO] [stdout] | ----------------- the item `nix` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cmp` is imported redundantly [INFO] [stdout] --> src/shell/completion/fuzzy.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `cmp` is already imported here [INFO] [stdout] 2 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BTreeSet` is imported redundantly [INFO] [stdout] --> src/shell/completion/fuzzy.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `BTreeSet` is already imported here [INFO] [stdout] 2 | use std::cmp; [INFO] [stdout] 3 | use std::collections::BTreeSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: the item `timestamp` is imported redundantly [INFO] [stdout] --> src/shell/history/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | use self::schema::history::dsl::*; [INFO] [stdout] | ----------------------------- the item `timestamp` is already imported here [INFO] [stdout] 12 | use self::schema::history::columns::timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nom` is imported redundantly [INFO] [stdout] --> src/shell/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use nom; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate nom; [INFO] [stdout] | ----------------- the item `nom` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `nix` is imported redundantly [INFO] [stdout] --> src/shell/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use nix; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate nix; [INFO] [stdout] | ----------------- the item `nix` is already imported here [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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 106 | pub fn new(engines: Vec>) -> Completer<'a> { [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 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] 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: 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 an object-safe 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] 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-6f17d22bba15001f/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] 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 73 | let mut completion_engines: Vec> = vec![ [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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/result.rs:502:1 [INFO] [stdout] ::: /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/result.rs:506: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/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: 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] error: aborting due to 2 previous errors; 48 warnings emitted [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 3 previous errors; 48 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-6f17d22bba15001f/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/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/result.rs:502:1 [INFO] [stdout] ::: /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/result.rs:506: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] error: aborting due to 18 previous errors; 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0004, E0425, E0432, E0433, 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 19 previous errors; 48 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c00e85e213a3ca01bfab9c0507c8237582b377cf115b6bc35c0c7c555c0001e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c00e85e213a3ca01bfab9c0507c8237582b377cf115b6bc35c0c7c555c0001e9", kill_on_drop: false }` [INFO] [stdout] c00e85e213a3ca01bfab9c0507c8237582b377cf115b6bc35c0c7c555c0001e9 [INFO] checking souvik1997/radish against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsouvik1997%2Fradish" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/souvik1997/radish on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-4-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30c44eedf964a81d27c91729dad5907f8ad58183021b68b4044b71e845056983 [INFO] running `Command { std: "docker" "start" "-a" "30c44eedf964a81d27c91729dad5907f8ad58183021b68b4044b71e845056983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30c44eedf964a81d27c91729dad5907f8ad58183021b68b4044b71e845056983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30c44eedf964a81d27c91729dad5907f8ad58183021b68b4044b71e845056983", kill_on_drop: false }` [INFO] [stdout] 30c44eedf964a81d27c91729dad5907f8ad58183021b68b4044b71e845056983 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21b191ac77605c87859820eea7df7e86293f349fb5b60d1b5b895cbe2d2ee917 [INFO] running `Command { std: "docker" "start" "-a" "21b191ac77605c87859820eea7df7e86293f349fb5b60d1b5b895cbe2d2ee917", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "21b191ac77605c87859820eea7df7e86293f349fb5b60d1b5b895cbe2d2ee917", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21b191ac77605c87859820eea7df7e86293f349fb5b60d1b5b895cbe2d2ee917", kill_on_drop: false }` [INFO] [stdout] 21b191ac77605c87859820eea7df7e86293f349fb5b60d1b5b895cbe2d2ee917