[INFO] cloning repository https://github.com/kngwyu/fugu-shell [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kngwyu/fugu-shell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkngwyu%2Ffugu-shell", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkngwyu%2Ffugu-shell'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 716142a7c4f7c9b29a8a46bd6f51d05efc30cf9b [INFO] testing kngwyu/fugu-shell against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkngwyu%2Ffugu-shell" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kngwyu/fugu-shell on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kngwyu/fugu-shell [INFO] finished tweaking git repo https://github.com/kngwyu/fugu-shell [INFO] tweaked toml for git repo https://github.com/kngwyu/fugu-shell written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/kngwyu/fugu-shell already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0d2988574a7508c527780690f6cf9ba55955bb35fbdbf1d78fe92d7b3925b92 [INFO] running `Command { std: "docker" "start" "-a" "d0d2988574a7508c527780690f6cf9ba55955bb35fbdbf1d78fe92d7b3925b92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0d2988574a7508c527780690f6cf9ba55955bb35fbdbf1d78fe92d7b3925b92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0d2988574a7508c527780690f6cf9ba55955bb35fbdbf1d78fe92d7b3925b92", kill_on_drop: false }` [INFO] [stdout] d0d2988574a7508c527780690f6cf9ba55955bb35fbdbf1d78fe92d7b3925b92 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a8e083c05237ed017f21752a4df9d2f17a139993d8e890b24450bbf9ba6abc5 [INFO] running `Command { std: "docker" "start" "-a" "9a8e083c05237ed017f21752a4df9d2f17a139993d8e890b24450bbf9ba6abc5", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v0.2.10 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling slog v2.0.12 [INFO] [stderr] Compiling crossbeam v0.2.10 [INFO] [stderr] Compiling take_mut v0.1.3 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling serde v1.0.21 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling same-file v1.0.0 [INFO] [stderr] Compiling ascii v0.8.6 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling isatty v0.1.6 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling atty v0.2.3 [INFO] [stderr] Compiling termion v1.5.1 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling trackable v0.2.8 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling clap v2.29.0 [INFO] [stderr] Compiling walkdir v2.0.1 [INFO] [stderr] Compiling slog-scope v4.0.1 [INFO] [stderr] Compiling slog-async v2.1.0 [INFO] [stderr] Compiling regex v0.2.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling slog-stdlog v3.0.2 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling num v0.1.40 [INFO] [stderr] Compiling chrono v0.4.0 [INFO] [stderr] Compiling serde_derive_internals v0.17.0 [INFO] [stderr] Compiling slog-term v2.3.0 [INFO] [stderr] Compiling serde_derive v1.0.21 [INFO] [stderr] Compiling sloggers v0.2.4 [INFO] [stderr] Compiling fugu-shell v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/settings.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/settings.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/settings.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fugu_screen.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | fn reset_scr(&mut self, u16, &PromptSetting) -> Result; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u16` [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fugu_screen.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | fn reset_scr(&mut self, u16, &PromptSetting) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &PromptSetting` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fugu_screen.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | fn move_csr(&mut self, &Editor) -> Result<(), ScreenError>; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Editor` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fugu_screen.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | fn print_editor(&mut self, &Editor, Range) -> Result<(), ScreenError>; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Editor` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fugu_screen.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | fn print_editor(&mut self, &Editor, Range) -> Result<(), ScreenError>; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Range` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fugu_screen.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | fn print_selector(&mut self, &Selector, &FuguEnv, &Editor) -> Result<(), ScreenError>; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Selector` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fugu_screen.rs:46:45 [INFO] [stdout] | [INFO] [stdout] 46 | fn print_selector(&mut self, &Selector, &FuguEnv, &Editor) -> Result<(), ScreenError>; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &FuguEnv` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fugu_screen.rs:46:55 [INFO] [stdout] | [INFO] [stdout] 46 | fn print_selector(&mut self, &Selector, &FuguEnv, &Editor) -> Result<(), ScreenError>; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Editor` [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] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ScreenError` [INFO] [stdout] --> src/main.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | use fugu_screen::{FuguScreen, ScreenError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ascii::AsciiChar` [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use ascii::AsciiChar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/common.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static!{ [INFO] [stdout] 11 | | pub static ref MATCHES: ArgMatches<'static> = [INFO] [stdout] 12 | | clap_app!(fugu_shell => [INFO] [stdout] 13 | | (version: "0.0.1") [INFO] [stdout] ... | [INFO] [stdout] 40 | | }.ok().unwrap(); [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/common.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static!{ [INFO] [stdout] 11 | | pub static ref MATCHES: ArgMatches<'static> = [INFO] [stdout] 12 | | clap_app!(fugu_shell => [INFO] [stdout] 13 | | (version: "0.0.1") [INFO] [stdout] ... | [INFO] [stdout] 40 | | }.ok().unwrap(); [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [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/fugu_env.rs:56:65 [INFO] [stdout] | [INFO] [stdout] 56 | info!(LOGGER, "Regex Compile Failed, {:?}", why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [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/main.rs:58:52 [INFO] [stdout] | [INFO] [stdout] 58 | Err(why) => panic!("Init Error, {:?}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [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/fugu_screen.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | ScreenError(why.description().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | impl_from_error!(io::Error); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_from_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/exec.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let s = ""; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/builtin/mod.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn builtin_exit(cmd: &CommandStore) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_len` [INFO] [stdout] --> src/editor.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | let current_len = self.buffer[self.cursor_buf.y].len(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_len` [INFO] [stdout] --> src/editor.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | let current_len = self.buffer[self.cursor_buf.y].len(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_len` [INFO] [stdout] --> src/editor.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | let current_len = self.buffer[self.cursor_buf.y].len(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/settings.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | mut stdout: &mut W, [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/main.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut cmd_list = CommandList::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_stderr` [INFO] [stdout] --> src/exec.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn add_stderr(&mut self, s: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `upd_wd_commands` [INFO] [stdout] --> src/exec.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn upd_wd_commands(&mut self, wd: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `debug` [INFO] [stdout] --> src/editor.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn debug(&self, stdout: &mut W) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parse_result` [INFO] [stdout] --> src/parser.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | parse_result: ParseResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fugu_vars` [INFO] [stdout] --> src/fugu_env.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | fugu_vars: Vec, // Fugu変数 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `env_vars` [INFO] [stdout] --> src/fugu_env.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | env_vars: Vec, // 環境変数 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `User` [INFO] [stdout] --> src/fugu_env.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | User, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CommandType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/fugu_env.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | screen.init_msg(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | screen.print_selector(&selector, &fuguenv, &editor); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | screen.print_selector(&selector, &fuguenv, &editor); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | screen.print_editor(&editor, 0..1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/fugu_screen.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | self.move_csr(e); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/fugu_screen.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | self.move_csr(&edit); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.56s [INFO] running `Command { std: "docker" "inspect" "9a8e083c05237ed017f21752a4df9d2f17a139993d8e890b24450bbf9ba6abc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a8e083c05237ed017f21752a4df9d2f17a139993d8e890b24450bbf9ba6abc5", kill_on_drop: false }` [INFO] [stdout] 9a8e083c05237ed017f21752a4df9d2f17a139993d8e890b24450bbf9ba6abc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19430197749dc67f257573a2f8b608eecde42bdf73a891ce42beda31d5e733f1 [INFO] running `Command { std: "docker" "start" "-a" "19430197749dc67f257573a2f8b608eecde42bdf73a891ce42beda31d5e733f1", kill_on_drop: false }` [INFO] [stderr] Compiling fugu-shell v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/settings.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/settings.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/settings.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fugu_screen.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | fn reset_scr(&mut self, u16, &PromptSetting) -> Result; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u16` [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: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fugu_screen.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | fn reset_scr(&mut self, u16, &PromptSetting) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &PromptSetting` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fugu_screen.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | fn move_csr(&mut self, &Editor) -> Result<(), ScreenError>; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Editor` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fugu_screen.rs:45:32 [INFO] [stdout] | [INFO] [stdout] 45 | fn print_editor(&mut self, &Editor, Range) -> Result<(), ScreenError>; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Editor` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fugu_screen.rs:45:41 [INFO] [stdout] | [INFO] [stdout] 45 | fn print_editor(&mut self, &Editor, Range) -> Result<(), ScreenError>; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Range` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fugu_screen.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | fn print_selector(&mut self, &Selector, &FuguEnv, &Editor) -> Result<(), ScreenError>; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Selector` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fugu_screen.rs:46:45 [INFO] [stdout] | [INFO] [stdout] 46 | fn print_selector(&mut self, &Selector, &FuguEnv, &Editor) -> Result<(), ScreenError>; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &FuguEnv` [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] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/fugu_screen.rs:46:55 [INFO] [stdout] | [INFO] [stdout] 46 | fn print_selector(&mut self, &Selector, &FuguEnv, &Editor) -> Result<(), ScreenError>; [INFO] [stdout] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Editor` [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] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ScreenError` [INFO] [stdout] --> src/main.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | use fugu_screen::{FuguScreen, ScreenError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ascii::AsciiChar` [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use ascii::AsciiChar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/common.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static!{ [INFO] [stdout] 11 | | pub static ref MATCHES: ArgMatches<'static> = [INFO] [stdout] 12 | | clap_app!(fugu_shell => [INFO] [stdout] 13 | | (version: "0.0.1") [INFO] [stdout] ... | [INFO] [stdout] 40 | | }.ok().unwrap(); [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/common.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / lazy_static!{ [INFO] [stdout] 11 | | pub static ref MATCHES: ArgMatches<'static> = [INFO] [stdout] 12 | | clap_app!(fugu_shell => [INFO] [stdout] 13 | | (version: "0.0.1") [INFO] [stdout] ... | [INFO] [stdout] 40 | | }.ok().unwrap(); [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [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/fugu_env.rs:56:65 [INFO] [stdout] | [INFO] [stdout] 56 | info!(LOGGER, "Regex Compile Failed, {:?}", why.description()); [INFO] [stdout] | ^^^^^^^^^^^ [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/main.rs:58:52 [INFO] [stdout] | [INFO] [stdout] 58 | Err(why) => panic!("Init Error, {:?}", why.description()), [INFO] [stdout] | ^^^^^^^^^^^ [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/fugu_screen.rs:33:33 [INFO] [stdout] | [INFO] [stdout] 33 | ScreenError(why.description().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | impl_from_error!(io::Error); [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_from_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/exec.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let s = ""; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/builtin/mod.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | fn builtin_exit(cmd: &CommandStore) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_len` [INFO] [stdout] --> src/editor.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | let current_len = self.buffer[self.cursor_buf.y].len(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_len` [INFO] [stdout] --> src/editor.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | let current_len = self.buffer[self.cursor_buf.y].len(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_len` [INFO] [stdout] --> src/editor.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | let current_len = self.buffer[self.cursor_buf.y].len(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/settings.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | mut stdout: &mut W, [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/main.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut cmd_list = CommandList::new(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_stderr` [INFO] [stdout] --> src/exec.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn add_stderr(&mut self, s: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `upd_wd_commands` [INFO] [stdout] --> src/exec.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn upd_wd_commands(&mut self, wd: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `debug` [INFO] [stdout] --> src/editor.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn debug(&self, stdout: &mut W) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parse_result` [INFO] [stdout] --> src/parser.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | parse_result: ParseResult, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Parser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/parser.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fugu_vars` [INFO] [stdout] --> src/fugu_env.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | fugu_vars: Vec, // Fugu変数 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `env_vars` [INFO] [stdout] --> src/fugu_env.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | env_vars: Vec, // 環境変数 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `User` [INFO] [stdout] --> src/fugu_env.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | User, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CommandType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/fugu_env.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | screen.init_msg(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | screen.print_selector(&selector, &fuguenv, &editor); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | screen.print_selector(&selector, &fuguenv, &editor); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | screen.print_editor(&editor, 0..1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/fugu_screen.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | self.move_csr(e); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/fugu_screen.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | self.move_csr(&edit); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.78s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/fugu_shell-fa778212693af528) [INFO] running `Command { std: "docker" "inspect" "19430197749dc67f257573a2f8b608eecde42bdf73a891ce42beda31d5e733f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19430197749dc67f257573a2f8b608eecde42bdf73a891ce42beda31d5e733f1", kill_on_drop: false }` [INFO] [stdout] 19430197749dc67f257573a2f8b608eecde42bdf73a891ce42beda31d5e733f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4f6800031d6427450e8088dab59a9e7c87a259973b7acf107af9c0669ac7a157 [INFO] running `Command { std: "docker" "start" "-a" "4f6800031d6427450e8088dab59a9e7c87a259973b7acf107af9c0669ac7a157", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/settings.rs:1:15 [INFO] [stderr] | [INFO] [stderr] 1 | use std::io::{self, Write}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::str::FromStr` [INFO] [stderr] --> src/settings.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::str::FromStr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/settings.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/fugu_screen.rs:43:29 [INFO] [stderr] | [INFO] [stderr] 43 | fn reset_scr(&mut self, u16, &PromptSetting) -> Result; [INFO] [stderr] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u16` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/fugu_screen.rs:43:34 [INFO] [stderr] | [INFO] [stderr] 43 | fn reset_scr(&mut self, u16, &PromptSetting) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &PromptSetting` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/fugu_screen.rs:44:28 [INFO] [stderr] | [INFO] [stderr] 44 | fn move_csr(&mut self, &Editor) -> Result<(), ScreenError>; [INFO] [stderr] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Editor` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/fugu_screen.rs:45:32 [INFO] [stderr] | [INFO] [stderr] 45 | fn print_editor(&mut self, &Editor, Range) -> Result<(), ScreenError>; [INFO] [stderr] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Editor` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/fugu_screen.rs:45:41 [INFO] [stderr] | [INFO] [stderr] 45 | fn print_editor(&mut self, &Editor, Range) -> Result<(), ScreenError>; [INFO] [stderr] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Range` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/fugu_screen.rs:46:34 [INFO] [stderr] | [INFO] [stderr] 46 | fn print_selector(&mut self, &Selector, &FuguEnv, &Editor) -> Result<(), ScreenError>; [INFO] [stderr] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Selector` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/fugu_screen.rs:46:45 [INFO] [stderr] | [INFO] [stderr] 46 | fn print_selector(&mut self, &Selector, &FuguEnv, &Editor) -> Result<(), ScreenError>; [INFO] [stderr] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &FuguEnv` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/fugu_screen.rs:46:55 [INFO] [stderr] | [INFO] [stderr] 46 | fn print_selector(&mut self, &Selector, &FuguEnv, &Editor) -> Result<(), ScreenError>; [INFO] [stderr] | ^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Editor` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: unused import: `ScreenError` [INFO] [stderr] --> src/main.rs:27:31 [INFO] [stderr] | [INFO] [stderr] 27 | use fugu_screen::{FuguScreen, ScreenError}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ascii::AsciiChar` [INFO] [stderr] --> src/main.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | use ascii::AsciiChar; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/common.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / lazy_static!{ [INFO] [stderr] 11 | | pub static ref MATCHES: ArgMatches<'static> = [INFO] [stderr] 12 | | clap_app!(fugu_shell => [INFO] [stderr] 13 | | (version: "0.0.1") [INFO] [stderr] ... | [INFO] [stderr] 40 | | }.ok().unwrap(); [INFO] [stderr] 41 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/common.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | / lazy_static!{ [INFO] [stderr] 11 | | pub static ref MATCHES: ArgMatches<'static> = [INFO] [stderr] 12 | | clap_app!(fugu_shell => [INFO] [stderr] 13 | | (version: "0.0.1") [INFO] [stderr] ... | [INFO] [stderr] 40 | | }.ok().unwrap(); [INFO] [stderr] 41 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/fugu_env.rs:56:65 [INFO] [stderr] | [INFO] [stderr] 56 | info!(LOGGER, "Regex Compile Failed, {:?}", why.description()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/main.rs:58:52 [INFO] [stderr] | [INFO] [stderr] 58 | Err(why) => panic!("Init Error, {:?}", why.description()), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/fugu_screen.rs:33:33 [INFO] [stderr] | [INFO] [stderr] 33 | ScreenError(why.description().to_owned()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | impl_from_error!(io::Error); [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_from_error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/exec.rs:60:13 [INFO] [stderr] | [INFO] [stderr] 60 | let s = ""; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cmd` [INFO] [stderr] --> src/builtin/mod.rs:32:17 [INFO] [stderr] | [INFO] [stderr] 32 | fn builtin_exit(cmd: &CommandStore) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `current_len` [INFO] [stderr] --> src/editor.rs:56:17 [INFO] [stderr] | [INFO] [stderr] 56 | let current_len = self.buffer[self.cursor_buf.y].len(); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_len` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `current_len` [INFO] [stderr] --> src/editor.rs:104:25 [INFO] [stderr] | [INFO] [stderr] 104 | let current_len = self.buffer[self.cursor_buf.y].len(); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_len` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `current_len` [INFO] [stderr] --> src/editor.rs:127:25 [INFO] [stderr] | [INFO] [stderr] 127 | let current_len = self.buffer[self.cursor_buf.y].len(); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_len` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/settings.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 24 | mut stdout: &mut W, [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:64:9 [INFO] [stderr] | [INFO] [stderr] 64 | let mut cmd_list = CommandList::new(); [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_stderr` [INFO] [stderr] --> src/exec.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn add_stderr(&mut self, s: &str) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `upd_wd_commands` [INFO] [stderr] --> src/exec.rs:85:12 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn upd_wd_commands(&mut self, wd: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `debug` [INFO] [stderr] --> src/editor.rs:33:12 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn debug(&self, stdout: &mut W) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `parse_result` [INFO] [stderr] --> src/parser.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | parse_result: ParseResult, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Parser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/parser.rs:19:10 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `fugu_vars` [INFO] [stderr] --> src/fugu_env.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | fugu_vars: Vec, // Fugu変数 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `env_vars` [INFO] [stderr] --> src/fugu_env.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | env_vars: Vec, // 環境変数 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `User` [INFO] [stderr] --> src/fugu_env.rs:104:5 [INFO] [stderr] | [INFO] [stderr] 104 | User, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CommandType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/fugu_env.rs:100:10 [INFO] [stderr] | [INFO] [stderr] 100 | #[derive(Clone, Copy, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | screen.init_msg(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:72:21 [INFO] [stderr] | [INFO] [stderr] 72 | screen.print_selector(&selector, &fuguenv, &editor); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:76:21 [INFO] [stderr] | [INFO] [stderr] 76 | screen.print_selector(&selector, &fuguenv, &editor); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:85:25 [INFO] [stderr] | [INFO] [stderr] 85 | screen.print_editor(&editor, 0..1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/fugu_screen.rs:80:9 [INFO] [stderr] | [INFO] [stderr] 80 | self.move_csr(e); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/fugu_screen.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 125 | self.move_csr(&edit); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `fugu-shell` (bin "fugu-shell" test) generated 38 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/fugu_shell-fa778212693af528) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4f6800031d6427450e8088dab59a9e7c87a259973b7acf107af9c0669ac7a157", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f6800031d6427450e8088dab59a9e7c87a259973b7acf107af9c0669ac7a157", kill_on_drop: false }` [INFO] [stdout] 4f6800031d6427450e8088dab59a9e7c87a259973b7acf107af9c0669ac7a157