[INFO] updating cached repository https://github.com/algon-320/msh [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] dbf68fde36a5c99c626315c8e1066e2e832f08f9 [INFO] checking algon-320/msh against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falgon-320%2Fmsh" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/algon-320/msh on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/algon-320/msh [INFO] finished tweaking git repo https://github.com/algon-320/msh [INFO] tweaked toml for git repo https://github.com/algon-320/msh written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/algon-320/msh already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c7c49f4fa62a68748719f8f41c49388958f696a42612a25f217ee1e7df85ac93 [INFO] running `"docker" "start" "-a" "c7c49f4fa62a68748719f8f41c49388958f696a42612a25f217ee1e7df85ac93"` [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling peg v0.5.7 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling msh v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `nix::sys::signal` [INFO] [stderr] --> src/execute.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use nix::sys::signal; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cell::RefCell` [INFO] [stderr] --> src/execute.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use std::cell::RefCell; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/target/debug/build/msh-ad7b7e369942a0b1/out/msh_grammar.rs:150:314 [INFO] [stderr] | [INFO] [stderr] 150 | fn __parse_char_varname < 'input > ( __input : & 'input str , __state : & mut ParseState < 'input > , __pos : usize ) -> RuleResult < () > { # ! [ allow ( non_snake_case , unused ) ] { let __choice_res = if __input . len ( ) > __pos { let ( __ch , __next ) = char_range_at ( __input , __pos ) ; match __ch { 'a' ... 'z' | 'A' ... 'Z' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[a-zA-Z]" ) , } } else { __state . mark_failure ( __pos , "[a-zA-Z]" ) } ; match __choice_res { Matched ( __pos , __value ) => Matched ( __pos , __value ) , Failed => { let __choice_res = if __input . len ( ) > __pos { let ( __ch , __next ) = char_range_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[0-9]" ) , } } else { __state . mark_failure ( __pos , "[0-9]" ) } ; match __choice_res { Matched ( __pos , __value ) => Matched ( __pos , __value ) , Failed => if __input . len ( ) > __pos { let ( __ch , __next ) = char_range_at ( __input , __pos ) ; match __ch { '_' | '-' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[_-]" ) , } } else { __state . mark_failure ( __pos , "[_-]" ) } } } } } } [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/target/debug/build/msh-ad7b7e369942a0b1/out/msh_grammar.rs:150:328 [INFO] [stderr] | [INFO] [stderr] 150 | fn __parse_char_varname < 'input > ( __input : & 'input str , __state : & mut ParseState < 'input > , __pos : usize ) -> RuleResult < () > { # ! [ allow ( non_snake_case , unused ) ] { let __choice_res = if __input . len ( ) > __pos { let ( __ch , __next ) = char_range_at ( __input , __pos ) ; match __ch { 'a' ... 'z' | 'A' ... 'Z' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[a-zA-Z]" ) , } } else { __state . mark_failure ( __pos , "[a-zA-Z]" ) } ; match __choice_res { Matched ( __pos , __value ) => Matched ( __pos , __value ) , Failed => { let __choice_res = if __input . len ( ) > __pos { let ( __ch , __next ) = char_range_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[0-9]" ) , } } else { __state . mark_failure ( __pos , "[0-9]" ) } ; match __choice_res { Matched ( __pos , __value ) => Matched ( __pos , __value ) , Failed => if __input . len ( ) > __pos { let ( __ch , __next ) = char_range_at ( __input , __pos ) ; match __ch { '_' | '-' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[_-]" ) , } } else { __state . mark_failure ( __pos , "[_-]" ) } } } } } } [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/target/debug/build/msh-ad7b7e369942a0b1/out/msh_grammar.rs:150:701 [INFO] [stderr] | [INFO] [stderr] 150 | fn __parse_char_varname < 'input > ( __input : & 'input str , __state : & mut ParseState < 'input > , __pos : usize ) -> RuleResult < () > { # ! [ allow ( non_snake_case , unused ) ] { let __choice_res = if __input . len ( ) > __pos { let ( __ch , __next ) = char_range_at ( __input , __pos ) ; match __ch { 'a' ... 'z' | 'A' ... 'Z' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[a-zA-Z]" ) , } } else { __state . mark_failure ( __pos , "[a-zA-Z]" ) } ; match __choice_res { Matched ( __pos , __value ) => Matched ( __pos , __value ) , Failed => { let __choice_res = if __input . len ( ) > __pos { let ( __ch , __next ) = char_range_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[0-9]" ) , } } else { __state . mark_failure ( __pos , "[0-9]" ) } ; match __choice_res { Matched ( __pos , __value ) => Matched ( __pos , __value ) , Failed => if __input . len ( ) > __pos { let ( __ch , __next ) = char_range_at ( __input , __pos ) ; match __ch { '_' | '-' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[_-]" ) , } } else { __state . mark_failure ( __pos , "[_-]" ) } } } } } } [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: unused import: `nix::sys::signal` [INFO] [stderr] --> src/execute.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use nix::sys::signal; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cell::RefCell` [INFO] [stderr] --> src/execute.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use std::cell::RefCell; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/target/debug/build/msh-ad7b7e369942a0b1/out/msh_grammar.rs:150:314 [INFO] [stderr] | [INFO] [stderr] 150 | fn __parse_char_varname < 'input > ( __input : & 'input str , __state : & mut ParseState < 'input > , __pos : usize ) -> RuleResult < () > { # ! [ allow ( non_snake_case , unused ) ] { let __choice_res = if __input . len ( ) > __pos { let ( __ch , __next ) = char_range_at ( __input , __pos ) ; match __ch { 'a' ... 'z' | 'A' ... 'Z' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[a-zA-Z]" ) , } } else { __state . mark_failure ( __pos , "[a-zA-Z]" ) } ; match __choice_res { Matched ( __pos , __value ) => Matched ( __pos , __value ) , Failed => { let __choice_res = if __input . len ( ) > __pos { let ( __ch , __next ) = char_range_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[0-9]" ) , } } else { __state . mark_failure ( __pos , "[0-9]" ) } ; match __choice_res { Matched ( __pos , __value ) => Matched ( __pos , __value ) , Failed => if __input . len ( ) > __pos { let ( __ch , __next ) = char_range_at ( __input , __pos ) ; match __ch { '_' | '-' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[_-]" ) , } } else { __state . mark_failure ( __pos , "[_-]" ) } } } } } } [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/target/debug/build/msh-ad7b7e369942a0b1/out/msh_grammar.rs:150:328 [INFO] [stderr] | [INFO] [stderr] 150 | fn __parse_char_varname < 'input > ( __input : & 'input str , __state : & mut ParseState < 'input > , __pos : usize ) -> RuleResult < () > { # ! [ allow ( non_snake_case , unused ) ] { let __choice_res = if __input . len ( ) > __pos { let ( __ch , __next ) = char_range_at ( __input , __pos ) ; match __ch { 'a' ... 'z' | 'A' ... 'Z' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[a-zA-Z]" ) , } } else { __state . mark_failure ( __pos , "[a-zA-Z]" ) } ; match __choice_res { Matched ( __pos , __value ) => Matched ( __pos , __value ) , Failed => { let __choice_res = if __input . len ( ) > __pos { let ( __ch , __next ) = char_range_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[0-9]" ) , } } else { __state . mark_failure ( __pos , "[0-9]" ) } ; match __choice_res { Matched ( __pos , __value ) => Matched ( __pos , __value ) , Failed => if __input . len ( ) > __pos { let ( __ch , __next ) = char_range_at ( __input , __pos ) ; match __ch { '_' | '-' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[_-]" ) , } } else { __state . mark_failure ( __pos , "[_-]" ) } } } } } } [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/target/debug/build/msh-ad7b7e369942a0b1/out/msh_grammar.rs:150:701 [INFO] [stderr] | [INFO] [stderr] 150 | fn __parse_char_varname < 'input > ( __input : & 'input str , __state : & mut ParseState < 'input > , __pos : usize ) -> RuleResult < () > { # ! [ allow ( non_snake_case , unused ) ] { let __choice_res = if __input . len ( ) > __pos { let ( __ch , __next ) = char_range_at ( __input , __pos ) ; match __ch { 'a' ... 'z' | 'A' ... 'Z' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[a-zA-Z]" ) , } } else { __state . mark_failure ( __pos , "[a-zA-Z]" ) } ; match __choice_res { Matched ( __pos , __value ) => Matched ( __pos , __value ) , Failed => { let __choice_res = if __input . len ( ) > __pos { let ( __ch , __next ) = char_range_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[0-9]" ) , } } else { __state . mark_failure ( __pos , "[0-9]" ) } ; match __choice_res { Matched ( __pos , __value ) => Matched ( __pos , __value ) , Failed => if __input . len ( ) > __pos { let ( __ch , __next ) = char_range_at ( __input , __pos ) ; match __ch { '_' | '-' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[_-]" ) , } } else { __state . mark_failure ( __pos , "[_-]" ) } } } } } } [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] [INFO] [stderr] warning: unused variable: `argv` [INFO] [stderr] --> src/builtin_commands.rs:113:40 [INFO] [stderr] | [INFO] [stderr] 113 | pub fn exit(_: &mut structures::Shell, argv: Vec) -> execute::ExitCode { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argv` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `end_of_string` [INFO] [stderr] --> src/execute.rs:168:33 [INFO] [stderr] | [INFO] [stderr] 168 | RedirectIn::Heredoc(end_of_string) => unimplemented!(), [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_of_string` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `child` [INFO] [stderr] --> src/execute.rs:261:61 [INFO] [stderr] | [INFO] [stderr] 261 | ... Ok(unistd::ForkResult::Parent { child, .. }) => {} [INFO] [stderr] | ^^^^^ help: try ignoring the field: `child: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `child` [INFO] [stderr] --> src/execute.rs:322:53 [INFO] [stderr] | [INFO] [stderr] 322 | Ok(unistd::ForkResult::Parent { child, .. }) => {} [INFO] [stderr] | ^^^^^ help: try ignoring the field: `child: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `argv` [INFO] [stderr] --> src/builtin_commands.rs:113:40 [INFO] [stderr] | [INFO] [stderr] 113 | pub fn exit(_: &mut structures::Shell, argv: Vec) -> execute::ExitCode { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argv` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `end_of_string` [INFO] [stderr] --> src/execute.rs:168:33 [INFO] [stderr] | [INFO] [stderr] 168 | RedirectIn::Heredoc(end_of_string) => unimplemented!(), [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_of_string` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `child` [INFO] [stderr] --> src/execute.rs:261:61 [INFO] [stderr] | [INFO] [stderr] 261 | ... Ok(unistd::ForkResult::Parent { child, .. }) => {} [INFO] [stderr] | ^^^^^ help: try ignoring the field: `child: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `child` [INFO] [stderr] --> src/execute.rs:322:53 [INFO] [stderr] | [INFO] [stderr] 322 | Ok(unistd::ForkResult::Parent { child, .. }) => {} [INFO] [stderr] | ^^^^^ help: try ignoring the field: `child: _` [INFO] [stderr] [INFO] [stderr] warning: static item is never used: `INDENT_WIDTH` [INFO] [stderr] --> src/structures.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | static INDENT_WIDTH: usize = 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `gen_indent` [INFO] [stderr] --> src/structures.rs:88:4 [INFO] [stderr] | [INFO] [stderr] 88 | fn gen_indent(d: usize) -> String { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `print` [INFO] [stderr] --> src/structures.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn print(&self, indent: usize) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `print` [INFO] [stderr] --> src/structures.rs:105:5 [INFO] [stderr] | [INFO] [stderr] 105 | pub fn print(&self, indent: usize) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `print` [INFO] [stderr] --> src/structures.rs:136:5 [INFO] [stderr] | [INFO] [stderr] 136 | pub fn print(&self, indent: usize) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `print` [INFO] [stderr] --> src/structures.rs:149:5 [INFO] [stderr] | [INFO] [stderr] 149 | pub fn print(&self, indent: usize) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `print` [INFO] [stderr] --> src/structures.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 173 | pub fn print(&self, indent: usize) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `print` [INFO] [stderr] --> src/structures.rs:194:5 [INFO] [stderr] | [INFO] [stderr] 194 | pub fn print(&self, indent: usize) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `fromParent` should have a snake case name [INFO] [stderr] --> src/execute.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn fromParent(parent: &'a Shell<'a>) -> Shell<'a> { [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `from_parent` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/execute.rs:89:13 [INFO] [stderr] | [INFO] [stderr] 89 | cmds.exec(&mut subsehll, 0, 1, 2, Vec::new()); [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 `std::result::Result` that must be used [INFO] [stderr] --> src/execute.rs:328:25 [INFO] [stderr] | [INFO] [stderr] 328 | unistd::dup2(stdin, 0).map_err(error_then_exit); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/execute.rs:329:25 [INFO] [stderr] | [INFO] [stderr] 329 | unistd::dup2(stdout, 1).map_err(error_then_exit); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/execute.rs:330:25 [INFO] [stderr] | [INFO] [stderr] 330 | unistd::dup2(stderr, 2).map_err(error_then_exit); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/execute.rs:331:25 [INFO] [stderr] | [INFO] [stderr] 331 | child_shell.exec(cmds).map_err(error_then_exit); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/execute.rs:393:25 [INFO] [stderr] | [INFO] [stderr] 393 | unistd::dup2(pfd.1, 1).map_err(error_then_exit); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: static item is never used: `INDENT_WIDTH` [INFO] [stderr] --> src/structures.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | static INDENT_WIDTH: usize = 2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `gen_indent` [INFO] [stderr] --> src/structures.rs:88:4 [INFO] [stderr] | [INFO] [stderr] 88 | fn gen_indent(d: usize) -> String { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `print` [INFO] [stderr] --> src/structures.rs:92:5 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn print(&self, indent: usize) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `print` [INFO] [stderr] --> src/structures.rs:105:5 [INFO] [stderr] | [INFO] [stderr] 105 | pub fn print(&self, indent: usize) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `print` [INFO] [stderr] --> src/structures.rs:136:5 [INFO] [stderr] | [INFO] [stderr] 136 | pub fn print(&self, indent: usize) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `print` [INFO] [stderr] --> src/structures.rs:149:5 [INFO] [stderr] | [INFO] [stderr] 149 | pub fn print(&self, indent: usize) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `print` [INFO] [stderr] --> src/structures.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 173 | pub fn print(&self, indent: usize) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `print` [INFO] [stderr] --> src/structures.rs:194:5 [INFO] [stderr] | [INFO] [stderr] 194 | pub fn print(&self, indent: usize) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `fromParent` should have a snake case name [INFO] [stderr] --> src/execute.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn fromParent(parent: &'a Shell<'a>) -> Shell<'a> { [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `from_parent` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/execute.rs:89:13 [INFO] [stderr] | [INFO] [stderr] 89 | cmds.exec(&mut subsehll, 0, 1, 2, Vec::new()); [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 `std::result::Result` that must be used [INFO] [stderr] --> src/execute.rs:328:25 [INFO] [stderr] | [INFO] [stderr] 328 | unistd::dup2(stdin, 0).map_err(error_then_exit); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/execute.rs:329:25 [INFO] [stderr] | [INFO] [stderr] 329 | unistd::dup2(stdout, 1).map_err(error_then_exit); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/execute.rs:330:25 [INFO] [stderr] | [INFO] [stderr] 330 | unistd::dup2(stderr, 2).map_err(error_then_exit); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/execute.rs:331:25 [INFO] [stderr] | [INFO] [stderr] 331 | child_shell.exec(cmds).map_err(error_then_exit); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/execute.rs:393:25 [INFO] [stderr] | [INFO] [stderr] 393 | unistd::dup2(pfd.1, 1).map_err(error_then_exit); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: 24 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: 24 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.36s [INFO] running `"docker" "inspect" "c7c49f4fa62a68748719f8f41c49388958f696a42612a25f217ee1e7df85ac93"` [INFO] running `"docker" "rm" "-f" "c7c49f4fa62a68748719f8f41c49388958f696a42612a25f217ee1e7df85ac93"` [INFO] [stdout] c7c49f4fa62a68748719f8f41c49388958f696a42612a25f217ee1e7df85ac93