[INFO] cloning repository https://github.com/algon-320/msh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/algon-320/msh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falgon-320%2Fmsh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falgon-320%2Fmsh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dbf68fde36a5c99c626315c8e1066e2e832f08f9 [INFO] checking algon-320/msh against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falgon-320%2Fmsh" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/algon-320/msh on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5/source/Cargo.toml [INFO] crate git repo https://github.com/algon-320/msh already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ed9e522afbe1b2e8af5f875be7040a04b6098c6fecd2e7da954c17c8a33f8ac [INFO] running `Command { std: "docker" "start" "-a" "6ed9e522afbe1b2e8af5f875be7040a04b6098c6fecd2e7da954c17c8a33f8ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ed9e522afbe1b2e8af5f875be7040a04b6098c6fecd2e7da954c17c8a33f8ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ed9e522afbe1b2e8af5f875be7040a04b6098c6fecd2e7da954c17c8a33f8ac", kill_on_drop: false }` [INFO] [stdout] 6ed9e522afbe1b2e8af5f875be7040a04b6098c6fecd2e7da954c17c8a33f8ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22c505ea900228508f8211075b48943778c3782c03dd8830e03c4542c956b164 [INFO] running `Command { std: "docker" "start" "-a" "22c505ea900228508f8211075b48943778c3782c03dd8830e03c4542c956b164", kill_on_drop: false }` [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling peg v0.5.7 [INFO] [stderr] Compiling msh v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `nix::sys::signal` [INFO] [stdout] --> src/execute.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nix::sys::signal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/execute.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/msh-1c5d0ec24ca436cc/out/msh_grammar.rs:151:314 [INFO] [stdout] | [INFO] [stdout] 151 | ...nge_at ( __input , __pos ) ; match __ch { 'a' ... 'z' | 'A' ... 'Z' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos ... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/msh-1c5d0ec24ca436cc/out/msh_grammar.rs:151:328 [INFO] [stdout] | [INFO] [stdout] 151 | ...ut , __pos ) ; match __ch { 'a' ... 'z' | 'A' ... 'Z' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[a-zA-Z]" )... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/msh-1c5d0ec24ca436cc/out/msh_grammar.rs:151:701 [INFO] [stdout] | [INFO] [stdout] 151 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[0-9]" ) , ... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nix::sys::signal` [INFO] [stdout] --> src/execute.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nix::sys::signal; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/execute.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/msh-1c5d0ec24ca436cc/out/msh_grammar.rs:151:314 [INFO] [stdout] | [INFO] [stdout] 151 | ...nge_at ( __input , __pos ) ; match __ch { 'a' ... 'z' | 'A' ... 'Z' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos ... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/msh-1c5d0ec24ca436cc/out/msh_grammar.rs:151:328 [INFO] [stdout] | [INFO] [stdout] 151 | ...ut , __pos ) ; match __ch { 'a' ... 'z' | 'A' ... 'Z' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[a-zA-Z]" )... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/msh-1c5d0ec24ca436cc/out/msh_grammar.rs:151:701 [INFO] [stdout] | [INFO] [stdout] 151 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[0-9]" ) , ... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argv` [INFO] [stdout] --> src/builtin_commands.rs:113:40 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn exit(_: &mut structures::Shell, argv: Vec) -> execute::ExitCode { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_of_string` [INFO] [stdout] --> src/execute.rs:168:33 [INFO] [stdout] | [INFO] [stdout] 168 | RedirectIn::Heredoc(end_of_string) => unimplemented!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_of_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child` [INFO] [stdout] --> src/execute.rs:261:61 [INFO] [stdout] | [INFO] [stdout] 261 | ... Ok(unistd::ForkResult::Parent { child, .. }) => {} [INFO] [stdout] | ^^^^^ help: try ignoring the field: `child: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child` [INFO] [stdout] --> src/execute.rs:322:53 [INFO] [stdout] | [INFO] [stdout] 322 | Ok(unistd::ForkResult::Parent { child, .. }) => {} [INFO] [stdout] | ^^^^^ help: try ignoring the field: `child: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argv` [INFO] [stdout] --> src/builtin_commands.rs:113:40 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn exit(_: &mut structures::Shell, argv: Vec) -> execute::ExitCode { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `end_of_string` [INFO] [stdout] --> src/execute.rs:168:33 [INFO] [stdout] | [INFO] [stdout] 168 | RedirectIn::Heredoc(end_of_string) => unimplemented!(), [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_end_of_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child` [INFO] [stdout] --> src/execute.rs:261:61 [INFO] [stdout] | [INFO] [stdout] 261 | ... Ok(unistd::ForkResult::Parent { child, .. }) => {} [INFO] [stdout] | ^^^^^ help: try ignoring the field: `child: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `child` [INFO] [stdout] --> src/execute.rs:322:53 [INFO] [stdout] | [INFO] [stdout] 322 | Ok(unistd::ForkResult::Parent { child, .. }) => {} [INFO] [stdout] | ^^^^^ help: try ignoring the field: `child: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `INDENT_WIDTH` [INFO] [stdout] --> src/structures.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | static INDENT_WIDTH: usize = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gen_indent` [INFO] [stdout] --> src/structures.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn gen_indent(d: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/structures.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn print(&self, indent: usize) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/structures.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn print(&self, indent: usize) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/structures.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn print(&self, indent: usize) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/structures.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn print(&self, indent: usize) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/structures.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn print(&self, indent: usize) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/structures.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn print(&self, indent: usize) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fromParent` should have a snake case name [INFO] [stdout] --> src/execute.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn fromParent(parent: &'a Shell<'a>) -> Shell<'a> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `from_parent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/execute.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | cmds.exec(&mut subsehll, 0, 1, 2, Vec::new()); [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/execute.rs:328:25 [INFO] [stdout] | [INFO] [stdout] 328 | unistd::dup2(stdin, 0).map_err(error_then_exit); [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/execute.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | unistd::dup2(stdout, 1).map_err(error_then_exit); [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/execute.rs:330:25 [INFO] [stdout] | [INFO] [stdout] 330 | unistd::dup2(stderr, 2).map_err(error_then_exit); [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/execute.rs:331:25 [INFO] [stdout] | [INFO] [stdout] 331 | child_shell.exec(cmds).map_err(error_then_exit); [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/execute.rs:393:25 [INFO] [stdout] | [INFO] [stdout] 393 | unistd::dup2(pfd.1, 1).map_err(error_then_exit); [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: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `INDENT_WIDTH` [INFO] [stdout] --> src/structures.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | static INDENT_WIDTH: usize = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gen_indent` [INFO] [stdout] --> src/structures.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn gen_indent(d: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/structures.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn print(&self, indent: usize) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/structures.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn print(&self, indent: usize) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/structures.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn print(&self, indent: usize) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/structures.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn print(&self, indent: usize) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/structures.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn print(&self, indent: usize) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/structures.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn print(&self, indent: usize) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fromParent` should have a snake case name [INFO] [stdout] --> src/execute.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn fromParent(parent: &'a Shell<'a>) -> Shell<'a> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `from_parent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/execute.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | cmds.exec(&mut subsehll, 0, 1, 2, Vec::new()); [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/execute.rs:328:25 [INFO] [stdout] | [INFO] [stdout] 328 | unistd::dup2(stdin, 0).map_err(error_then_exit); [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/execute.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | unistd::dup2(stdout, 1).map_err(error_then_exit); [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/execute.rs:330:25 [INFO] [stdout] | [INFO] [stdout] 330 | unistd::dup2(stderr, 2).map_err(error_then_exit); [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/execute.rs:331:25 [INFO] [stdout] | [INFO] [stdout] 331 | child_shell.exec(cmds).map_err(error_then_exit); [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/execute.rs:393:25 [INFO] [stdout] | [INFO] [stdout] 393 | unistd::dup2(pfd.1, 1).map_err(error_then_exit); [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: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.63s [INFO] running `Command { std: "docker" "inspect" "22c505ea900228508f8211075b48943778c3782c03dd8830e03c4542c956b164", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22c505ea900228508f8211075b48943778c3782c03dd8830e03c4542c956b164", kill_on_drop: false }` [INFO] [stdout] 22c505ea900228508f8211075b48943778c3782c03dd8830e03c4542c956b164