[INFO] cloning repository https://github.com/tmzt/idemsh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tmzt/idemsh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmzt%2Fidemsh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmzt%2Fidemsh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f58bcf6d0643f425b61cb72aedfe6c2be0db3baf [INFO] checking tmzt/idemsh against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmzt%2Fidemsh" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tmzt/idemsh on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tmzt/idemsh [INFO] finished tweaking git repo https://github.com/tmzt/idemsh [INFO] tweaked toml for git repo https://github.com/tmzt/idemsh written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tmzt/idemsh already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bafae4be03be4f2528284ec2b4954d9fa195177cdf8e0279527d0f212e241a11 [INFO] running `Command { std: "docker" "start" "-a" "bafae4be03be4f2528284ec2b4954d9fa195177cdf8e0279527d0f212e241a11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bafae4be03be4f2528284ec2b4954d9fa195177cdf8e0279527d0f212e241a11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bafae4be03be4f2528284ec2b4954d9fa195177cdf8e0279527d0f212e241a11", kill_on_drop: false }` [INFO] [stdout] bafae4be03be4f2528284ec2b4954d9fa195177cdf8e0279527d0f212e241a11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8b311a31414d2c1d10038b34f22ffc627997ae71185a9dc0ba5719402a47ea6 [INFO] running `Command { std: "docker" "start" "-a" "a8b311a31414d2c1d10038b34f22ffc627997ae71185a9dc0ba5719402a47ea6", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking idemsh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `nom::anychar` [INFO] [stdout] --> src/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nom::anychar; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::parser::*` [INFO] [stdout] --> src/local_exec.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::parser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::parser::*` [INFO] [stdout] --> src/handle_exec.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::parser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/parser.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::anychar` [INFO] [stdout] --> src/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nom::anychar; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::parser::*` [INFO] [stdout] --> src/local_exec.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::parser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::types::CompleteStr` [INFO] [stdout] --> src/local_exec.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/parser.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/parser.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/local_exec.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/handle_exec.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/local_exec.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | fn change_directory(&mut self, dir: &str) -> ExecResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_part` [INFO] [stdout] --> src/local_exec.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | fn ensure_file_exists(&mut self, local_part: &str) -> ExecResult<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_part` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_part` [INFO] [stdout] --> src/local_exec.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | fn ensure_file_contents(&mut self, local_part: &str, contents: FileContents) -> ExecResult<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_part` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contents` [INFO] [stdout] --> src/local_exec.rs:57:58 [INFO] [stdout] | [INFO] [stdout] 57 | fn ensure_file_contents(&mut self, local_part: &str, contents: FileContents) -> ExecResult<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Directory` and `File` are never constructed [INFO] [stdout] --> src/ast.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum IdemPathLocalPartType { [INFO] [stdout] | --------------------- variants in this enum [INFO] [stdout] 4 | Directory(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | File(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdemPathLocalPartType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Directory`, `Host`, and `File` are never constructed [INFO] [stdout] --> src/ast.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum IdemResourceType { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 13 | Directory(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | Host(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | File(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdemResourceType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LitString`, `ExtendedString`, and `PathSpec` are never constructed [INFO] [stdout] --> src/ast.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum IdemValueType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 20 | LitString(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | ExtendedString(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 22 | PathSpec(IdemPath), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdemValueType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InsertStart`, `InsertEnd`, and `InsertAfter` are never constructed [INFO] [stdout] --> src/ast.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum IdemEditCommandType { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 34 | InsertStart(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | InsertEnd(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | InsertAfter(String, String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdemEditCommandType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FlagKeyword`, `ShortFlags`, and `KeyValue` are never constructed [INFO] [stdout] --> src/ast.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum IdemParamType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 46 | FlagKeyword(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 47 | ShortFlags(Vec), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | KeyValue(String, IdemValueType), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdemParamType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Each`, `WithPaths`, and `WithBlock` are never constructed [INFO] [stdout] --> src/ast.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub enum IdemRawCommandType { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 59 | Each(String, IdemValueType, Vec>), [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | WithPaths(IdemRawCommandWithPaths), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 61 | WithBlock(IdemResourceType, Option, Vec>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdemRawCommandType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `StaticString` is never constructed [INFO] [stdout] --> src/traits.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum FileContents { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 5 | StaticString(String) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `change_directory`, `ensure_directory`, `ensure_file_exists`, `ensure_file_contents`, and `get_cwd` are never used [INFO] [stdout] --> src/traits.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Exec { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 9 | fn change_directory(&mut self, dir: &str) -> ExecResult<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | fn ensure_directory(&mut self, local_part: &str) -> ExecResult<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | fn ensure_file_exists(&mut self, local_part: &str) -> ExecResult<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | fn ensure_file_contents(&mut self, local_part: &str, contents: FileContents) -> ExecResult<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | fn get_cwd(&mut self) -> ExecResult; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Message` is never constructed [INFO] [stdout] --> src/errors.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ErrorType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 10 | IOError(Box), [INFO] [stdout] 11 | Message(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_new_relative_working_dir` is never used [INFO] [stdout] --> src/local_exec.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl LocalExec { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 26 | fn with_new_relative_working_dir>(dir: P) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_single_path` is never used [INFO] [stdout] --> src/local_exec.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn find_single_path<'a>(obj: &'a IdemRawCommandWithPaths) -> Option<&'a IdemPath> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_single_flag_keyword` is never used [INFO] [stdout] --> src/local_exec.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn find_single_flag_keyword(params: &[IdemParamType]) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_ignore_existing` is never used [INFO] [stdout] --> src/local_exec.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn create_ignore_existing>(path: T) -> IOResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_single_path` is never used [INFO] [stdout] --> src/handle_exec.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn find_single_path<'a>(obj: &'a IdemRawCommandWithPaths) -> Option<&'a IdemPath> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_single_flag_keyword` is never used [INFO] [stdout] --> src/handle_exec.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn find_single_flag_keyword(params: &[IdemParamType]) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `execute_raw_script_command` are never used [INFO] [stdout] --> src/handle_exec.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl<'e, E: Exec> HandleExec<'e, E> { [INFO] [stdout] | ----------------------------------- associated items in this implementation [INFO] [stdout] 33 | pub fn new(driver: &'e mut E) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn execute_raw_script_command(&mut self, cmd: &IdemRawCommandType) -> ExecResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/local_exec.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | if !cwd.exists() { fs::create_dir_all(&cwd); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | if !cwd.exists() { let _ = fs::create_dir_all(&cwd); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/handle_exec.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | / match flag.unwrap() { [INFO] [stdout] 47 | | "exists" => { [INFO] [stdout] 48 | | let path = find_single_path(obj); [INFO] [stdout] 49 | | assert!(path.is_some(), "exists flag expects to follow a single path"); [INFO] [stdout] ... | [INFO] [stdout] 62 | | _ => unimplemented!("Flag keyword not implemented") [INFO] [stdout] 63 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = match flag.unwrap() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/local_exec.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | fn change_directory(&mut self, dir: &str) -> ExecResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_part` [INFO] [stdout] --> src/local_exec.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | fn ensure_file_exists(&mut self, local_part: &str) -> ExecResult<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_part` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_part` [INFO] [stdout] --> src/local_exec.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | fn ensure_file_contents(&mut self, local_part: &str, contents: FileContents) -> ExecResult<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_part` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contents` [INFO] [stdout] --> src/local_exec.rs:57:58 [INFO] [stdout] | [INFO] [stdout] 57 | fn ensure_file_contents(&mut self, local_part: &str, contents: FileContents) -> ExecResult<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/handle_exec.rs:106:40 [INFO] [stdout] | [INFO] [stdout] 106 | fn change_directory(&mut self, dir: &str) -> ExecResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contents` [INFO] [stdout] --> src/handle_exec.rs:122:62 [INFO] [stdout] | [INFO] [stdout] 122 | fn ensure_file_contents(&mut self, local_part: &str, contents: FileContents) -> ExecResult<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Host` is never constructed [INFO] [stdout] --> src/ast.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum IdemResourceType { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 13 | Directory(String), [INFO] [stdout] 14 | Host(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdemResourceType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ExtendedString` is never constructed [INFO] [stdout] --> src/ast.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum IdemValueType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 20 | LitString(String), [INFO] [stdout] 21 | ExtendedString(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdemValueType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InsertStart`, `InsertEnd`, and `InsertAfter` are never constructed [INFO] [stdout] --> src/ast.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum IdemEditCommandType { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 34 | InsertStart(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | InsertEnd(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | InsertAfter(String, String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdemEditCommandType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ShortFlags` is never constructed [INFO] [stdout] --> src/ast.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum IdemParamType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 46 | FlagKeyword(String), [INFO] [stdout] 47 | ShortFlags(Vec), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdemParamType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `StaticString` is never constructed [INFO] [stdout] --> src/traits.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum FileContents { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 5 | StaticString(String) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `change_directory`, `ensure_file_contents`, and `get_cwd` are never used [INFO] [stdout] --> src/traits.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Exec { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 9 | fn change_directory(&mut self, dir: &str) -> ExecResult<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn ensure_file_contents(&mut self, local_part: &str, contents: FileContents) -> ExecResult<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | fn get_cwd(&mut self) -> ExecResult; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Message` is never constructed [INFO] [stdout] --> src/errors.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ErrorType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 10 | IOError(Box), [INFO] [stdout] 11 | Message(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_single_path` is never used [INFO] [stdout] --> src/local_exec.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn find_single_path<'a>(obj: &'a IdemRawCommandWithPaths) -> Option<&'a IdemPath> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_single_flag_keyword` is never used [INFO] [stdout] --> src/local_exec.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn find_single_flag_keyword(params: &[IdemParamType]) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_ignore_existing` is never used [INFO] [stdout] --> src/local_exec.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn create_ignore_existing>(path: T) -> IOResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/local_exec.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | if !cwd.exists() { fs::create_dir_all(&cwd); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | if !cwd.exists() { let _ = fs::create_dir_all(&cwd); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/handle_exec.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | / match flag.unwrap() { [INFO] [stdout] 47 | | "exists" => { [INFO] [stdout] 48 | | let path = find_single_path(obj); [INFO] [stdout] 49 | | assert!(path.is_some(), "exists flag expects to follow a single path"); [INFO] [stdout] ... | [INFO] [stdout] 62 | | _ => unimplemented!("Flag keyword not implemented") [INFO] [stdout] 63 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = match flag.unwrap() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.88s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "a8b311a31414d2c1d10038b34f22ffc627997ae71185a9dc0ba5719402a47ea6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8b311a31414d2c1d10038b34f22ffc627997ae71185a9dc0ba5719402a47ea6", kill_on_drop: false }` [INFO] [stdout] a8b311a31414d2c1d10038b34f22ffc627997ae71185a9dc0ba5719402a47ea6 [INFO] checking tmzt/idemsh against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmzt%2Fidemsh" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tmzt/idemsh on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tmzt/idemsh [INFO] finished tweaking git repo https://github.com/tmzt/idemsh [INFO] tweaked toml for git repo https://github.com/tmzt/idemsh written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tmzt/idemsh already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30c13baa6ae8f61055e2ce077cdc7d3a60beaa9dc3616b118c4b477dde9d4b0e [INFO] running `Command { std: "docker" "start" "-a" "30c13baa6ae8f61055e2ce077cdc7d3a60beaa9dc3616b118c4b477dde9d4b0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30c13baa6ae8f61055e2ce077cdc7d3a60beaa9dc3616b118c4b477dde9d4b0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30c13baa6ae8f61055e2ce077cdc7d3a60beaa9dc3616b118c4b477dde9d4b0e", kill_on_drop: false }` [INFO] [stdout] 30c13baa6ae8f61055e2ce077cdc7d3a60beaa9dc3616b118c4b477dde9d4b0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c754e532d3fee5973d085e6d9affd8efd504f6ba1fa7ce2bcaff684069226b3d [INFO] running `Command { std: "docker" "start" "-a" "c754e532d3fee5973d085e6d9affd8efd504f6ba1fa7ce2bcaff684069226b3d", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking idemsh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `nom::anychar` [INFO] [stdout] --> src/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nom::anychar; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::parser::*` [INFO] [stdout] --> src/local_exec.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::parser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::parser::*` [INFO] [stdout] --> src/handle_exec.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use super::parser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::anychar` [INFO] [stdout] --> src/parser.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nom::anychar; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::parser::*` [INFO] [stdout] --> src/local_exec.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::parser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::types::CompleteStr` [INFO] [stdout] --> src/local_exec.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | use nom::types::CompleteStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/parser.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/parser.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/parser.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/local_exec.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/handle_exec.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/local_exec.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | fn change_directory(&mut self, dir: &str) -> ExecResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_part` [INFO] [stdout] --> src/local_exec.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | fn ensure_file_exists(&mut self, local_part: &str) -> ExecResult<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_part` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_part` [INFO] [stdout] --> src/local_exec.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | fn ensure_file_contents(&mut self, local_part: &str, contents: FileContents) -> ExecResult<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_part` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contents` [INFO] [stdout] --> src/local_exec.rs:57:58 [INFO] [stdout] | [INFO] [stdout] 57 | fn ensure_file_contents(&mut self, local_part: &str, contents: FileContents) -> ExecResult<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/handle_exec.rs:106:40 [INFO] [stdout] | [INFO] [stdout] 106 | fn change_directory(&mut self, dir: &str) -> ExecResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contents` [INFO] [stdout] --> src/handle_exec.rs:122:62 [INFO] [stdout] | [INFO] [stdout] 122 | fn ensure_file_contents(&mut self, local_part: &str, contents: FileContents) -> ExecResult<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Host` is never constructed [INFO] [stdout] --> src/ast.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum IdemResourceType { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 13 | Directory(String), [INFO] [stdout] 14 | Host(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdemResourceType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ExtendedString` is never constructed [INFO] [stdout] --> src/ast.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum IdemValueType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 20 | LitString(String), [INFO] [stdout] 21 | ExtendedString(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdemValueType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InsertStart`, `InsertEnd`, and `InsertAfter` are never constructed [INFO] [stdout] --> src/ast.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum IdemEditCommandType { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 34 | InsertStart(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | InsertEnd(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | InsertAfter(String, String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdemEditCommandType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ShortFlags` is never constructed [INFO] [stdout] --> src/ast.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum IdemParamType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 46 | FlagKeyword(String), [INFO] [stdout] 47 | ShortFlags(Vec), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdemParamType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `StaticString` is never constructed [INFO] [stdout] --> src/traits.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum FileContents { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 5 | StaticString(String) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `change_directory`, `ensure_file_contents`, and `get_cwd` are never used [INFO] [stdout] --> src/traits.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Exec { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 9 | fn change_directory(&mut self, dir: &str) -> ExecResult<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn ensure_file_contents(&mut self, local_part: &str, contents: FileContents) -> ExecResult<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | fn get_cwd(&mut self) -> ExecResult; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Message` is never constructed [INFO] [stdout] --> src/errors.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ErrorType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 10 | IOError(Box), [INFO] [stdout] 11 | Message(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_single_path` is never used [INFO] [stdout] --> src/local_exec.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn find_single_path<'a>(obj: &'a IdemRawCommandWithPaths) -> Option<&'a IdemPath> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_single_flag_keyword` is never used [INFO] [stdout] --> src/local_exec.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn find_single_flag_keyword(params: &[IdemParamType]) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_ignore_existing` is never used [INFO] [stdout] --> src/local_exec.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn create_ignore_existing>(path: T) -> IOResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/errors.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 34 | fn from(e: IOError) -> Self { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Error { repr: ErrorType::IOError(Box::new(e)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/local_exec.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | if !cwd.exists() { fs::create_dir_all(&cwd); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | if !cwd.exists() { let _ = fs::create_dir_all(&cwd); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/local_exec.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | fn create_ignore_existing>(path: T) -> IOResult<()> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | fs::OpenOptions::new().create(true).write(true).open(path).map(|_| ()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/handle_exec.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | / match flag.unwrap() { [INFO] [stdout] 47 | | "exists" => { [INFO] [stdout] 48 | | let path = find_single_path(obj); [INFO] [stdout] 49 | | assert!(path.is_some(), "exists flag expects to follow a single path"); [INFO] [stdout] ... | [INFO] [stdout] 62 | | _ => unimplemented!("Flag keyword not implemented") [INFO] [stdout] 63 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = match flag.unwrap() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/local_exec.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | fn change_directory(&mut self, dir: &str) -> ExecResult<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_part` [INFO] [stdout] --> src/local_exec.rs:53:38 [INFO] [stdout] | [INFO] [stdout] 53 | fn ensure_file_exists(&mut self, local_part: &str) -> ExecResult<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_part` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_part` [INFO] [stdout] --> src/local_exec.rs:57:40 [INFO] [stdout] | [INFO] [stdout] 57 | fn ensure_file_contents(&mut self, local_part: &str, contents: FileContents) -> ExecResult<()> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_part` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contents` [INFO] [stdout] --> src/local_exec.rs:57:58 [INFO] [stdout] | [INFO] [stdout] 57 | fn ensure_file_contents(&mut self, local_part: &str, contents: FileContents) -> ExecResult<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `idemsh` (bin "idemsh" test) due to 3 previous errors; 25 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variants `Directory` and `File` are never constructed [INFO] [stdout] --> src/ast.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum IdemPathLocalPartType { [INFO] [stdout] | --------------------- variants in this enum [INFO] [stdout] 4 | Directory(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 5 | File(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdemPathLocalPartType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Directory`, `Host`, and `File` are never constructed [INFO] [stdout] --> src/ast.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum IdemResourceType { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 13 | Directory(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | Host(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | File(String), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdemResourceType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LitString`, `ExtendedString`, and `PathSpec` are never constructed [INFO] [stdout] --> src/ast.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | pub enum IdemValueType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 20 | LitString(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | ExtendedString(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 22 | PathSpec(IdemPath), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdemValueType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InsertStart`, `InsertEnd`, and `InsertAfter` are never constructed [INFO] [stdout] --> src/ast.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub enum IdemEditCommandType { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 34 | InsertStart(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 35 | InsertEnd(String), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 36 | InsertAfter(String, String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdemEditCommandType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FlagKeyword`, `ShortFlags`, and `KeyValue` are never constructed [INFO] [stdout] --> src/ast.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum IdemParamType { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 46 | FlagKeyword(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 47 | ShortFlags(Vec), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 48 | KeyValue(String, IdemValueType), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdemParamType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Each`, `WithPaths`, and `WithBlock` are never constructed [INFO] [stdout] --> src/ast.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 58 | pub enum IdemRawCommandType { [INFO] [stdout] | ------------------ variants in this enum [INFO] [stdout] 59 | Each(String, IdemValueType, Vec>), [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | WithPaths(IdemRawCommandWithPaths), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 61 | WithBlock(IdemResourceType, Option, Vec>), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IdemRawCommandType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `StaticString` is never constructed [INFO] [stdout] --> src/traits.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum FileContents { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 5 | StaticString(String) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `change_directory`, `ensure_directory`, `ensure_file_exists`, `ensure_file_contents`, and `get_cwd` are never used [INFO] [stdout] --> src/traits.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Exec { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 9 | fn change_directory(&mut self, dir: &str) -> ExecResult<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | fn ensure_directory(&mut self, local_part: &str) -> ExecResult<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | fn ensure_file_exists(&mut self, local_part: &str) -> ExecResult<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | fn ensure_file_contents(&mut self, local_part: &str, contents: FileContents) -> ExecResult<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | fn get_cwd(&mut self) -> ExecResult; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Message` is never constructed [INFO] [stdout] --> src/errors.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum ErrorType { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 10 | IOError(Box), [INFO] [stdout] 11 | Message(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_new_relative_working_dir` is never used [INFO] [stdout] --> src/local_exec.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl LocalExec { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 26 | fn with_new_relative_working_dir>(dir: P) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_single_path` is never used [INFO] [stdout] --> src/local_exec.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn find_single_path<'a>(obj: &'a IdemRawCommandWithPaths) -> Option<&'a IdemPath> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_single_flag_keyword` is never used [INFO] [stdout] --> src/local_exec.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn find_single_flag_keyword(params: &[IdemParamType]) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_ignore_existing` is never used [INFO] [stdout] --> src/local_exec.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn create_ignore_existing>(path: T) -> IOResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_single_path` is never used [INFO] [stdout] --> src/handle_exec.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn find_single_path<'a>(obj: &'a IdemRawCommandWithPaths) -> Option<&'a IdemPath> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_single_flag_keyword` is never used [INFO] [stdout] --> src/handle_exec.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn find_single_flag_keyword(params: &[IdemParamType]) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `execute_raw_script_command` are never used [INFO] [stdout] --> src/handle_exec.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl<'e, E: Exec> HandleExec<'e, E> { [INFO] [stdout] | ----------------------------------- associated items in this implementation [INFO] [stdout] 33 | pub fn new(driver: &'e mut E) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn execute_raw_script_command(&mut self, cmd: &IdemRawCommandType) -> ExecResult<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/errors.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 34 | fn from(e: IOError) -> Self { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Error { repr: ErrorType::IOError(Box::new(e)) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/local_exec.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | if !cwd.exists() { fs::create_dir_all(&cwd); } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 29 | if !cwd.exists() { let _ = fs::create_dir_all(&cwd); } [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/local_exec.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 85 | fn create_ignore_existing>(path: T) -> IOResult<()> { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 86 | fs::OpenOptions::new().create(true).write(true).open(path).map(|_| ()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/handle_exec.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | / match flag.unwrap() { [INFO] [stdout] 47 | | "exists" => { [INFO] [stdout] 48 | | let path = find_single_path(obj); [INFO] [stdout] 49 | | assert!(path.is_some(), "exists flag expects to follow a single path"); [INFO] [stdout] ... | [INFO] [stdout] 62 | | _ => unimplemented!("Flag keyword not implemented") [INFO] [stdout] 63 | | }; [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = match flag.unwrap() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `idemsh` (bin "idemsh") due to 3 previous errors; 26 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c754e532d3fee5973d085e6d9affd8efd504f6ba1fa7ce2bcaff684069226b3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c754e532d3fee5973d085e6d9affd8efd504f6ba1fa7ce2bcaff684069226b3d", kill_on_drop: false }` [INFO] [stdout] c754e532d3fee5973d085e6d9affd8efd504f6ba1fa7ce2bcaff684069226b3d