[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] testing tmzt/idemsh against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftmzt%2Fidemsh" "/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/tmzt/idemsh on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-5/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 479950846af4671a9a5ea55deb09c50d5225eb3ddbb66ba9f2ca74db83a93a77 [INFO] running `Command { std: "docker" "start" "-a" "479950846af4671a9a5ea55deb09c50d5225eb3ddbb66ba9f2ca74db83a93a77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "479950846af4671a9a5ea55deb09c50d5225eb3ddbb66ba9f2ca74db83a93a77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "479950846af4671a9a5ea55deb09c50d5225eb3ddbb66ba9f2ca74db83a93a77", kill_on_drop: false }` [INFO] [stdout] 479950846af4671a9a5ea55deb09c50d5225eb3ddbb66ba9f2ca74db83a93a77 [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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d02fcae64df2b2c3db9eda6e1a1bcb10cdf27721648deb052f783de529d5fe3 [INFO] running `Command { std: "docker" "start" "-a" "9d02fcae64df2b2c3db9eda6e1a1bcb10cdf27721648deb052f783de529d5fe3", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling 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 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: variant is never constructed: `Directory` [INFO] [stdout] --> src/ast.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Directory(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `IdemPathLocalPartType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `File` [INFO] [stdout] --> src/ast.rs:5:5 [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] --> src/ast.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Directory` [INFO] [stdout] --> src/ast.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Directory(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] --> src/ast.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Host` [INFO] [stdout] --> src/ast.rs:14:5 [INFO] [stdout] | [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] --> src/ast.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `File` [INFO] [stdout] --> src/ast.rs:15:5 [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] --> src/ast.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `LitString` [INFO] [stdout] --> src/ast.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | LitString(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] --> src/ast.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ExtendedString` [INFO] [stdout] --> src/ast.rs:21:5 [INFO] [stdout] | [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] --> src/ast.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `PathSpec` [INFO] [stdout] --> src/ast.rs:22:5 [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] --> src/ast.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InsertStart` [INFO] [stdout] --> src/ast.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | InsertStart(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] --> src/ast.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InsertEnd` [INFO] [stdout] --> src/ast.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | InsertEnd(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] --> src/ast.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InsertAfter` [INFO] [stdout] --> src/ast.rs:36:5 [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] --> src/ast.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FlagKeyword` [INFO] [stdout] --> src/ast.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | FlagKeyword(String), [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] --> src/ast.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ShortFlags` [INFO] [stdout] --> src/ast.rs:47:5 [INFO] [stdout] | [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] --> src/ast.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `KeyValue` [INFO] [stdout] --> src/ast.rs:48:5 [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] --> src/ast.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Each` [INFO] [stdout] --> src/ast.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | Each(String, IdemValueType, 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] --> src/ast.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WithPaths` [INFO] [stdout] --> src/ast.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | WithPaths(IdemRawCommandWithPaths), [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] --> src/ast.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `WithBlock` [INFO] [stdout] --> src/ast.rs:61:5 [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] --> src/ast.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StaticString` [INFO] [stdout] --> src/traits.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | StaticString(String) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Message` [INFO] [stdout] --> src/errors.rs:11:5 [INFO] [stdout] | [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] --> src/errors.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_new_relative_working_dir` [INFO] [stdout] --> src/local_exec.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn with_new_relative_working_dir>(dir: P) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_single_path` [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 is never used: `find_single_flag_keyword` [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 is never used: `create_ignore_existing` [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 is never used: `find_single_path` [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 is never used: `find_single_flag_keyword` [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 function is never used: `new` [INFO] [stdout] --> src/handle_exec.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new(driver: &'e mut E) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_raw_script_command` [INFO] [stdout] --> src/handle_exec.rs:40:12 [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: `#[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 `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] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.01s [INFO] running `Command { std: "docker" "inspect" "9d02fcae64df2b2c3db9eda6e1a1bcb10cdf27721648deb052f783de529d5fe3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d02fcae64df2b2c3db9eda6e1a1bcb10cdf27721648deb052f783de529d5fe3", kill_on_drop: false }` [INFO] [stdout] 9d02fcae64df2b2c3db9eda6e1a1bcb10cdf27721648deb052f783de529d5fe3 [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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 500cf0cf09a95dc00918761bf781afc52819b6982966090eab319a50813f06a2 [INFO] running `Command { std: "docker" "start" "-a" "500cf0cf09a95dc00918761bf781afc52819b6982966090eab319a50813f06a2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling 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: `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: 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 is never constructed: `Host` [INFO] [stdout] --> src/ast.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Host(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `IdemResourceType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/ast.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ExtendedString` [INFO] [stdout] --> src/ast.rs:21:5 [INFO] [stdout] | [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] --> src/ast.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InsertStart` [INFO] [stdout] --> src/ast.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | InsertStart(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] --> src/ast.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InsertEnd` [INFO] [stdout] --> src/ast.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | InsertEnd(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] --> src/ast.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `InsertAfter` [INFO] [stdout] --> src/ast.rs:36:5 [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] --> src/ast.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ShortFlags` [INFO] [stdout] --> src/ast.rs:47:5 [INFO] [stdout] | [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] --> src/ast.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, PartialEq, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `StaticString` [INFO] [stdout] --> src/traits.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | StaticString(String) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Message` [INFO] [stdout] --> src/errors.rs:11:5 [INFO] [stdout] | [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] --> src/errors.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_single_path` [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 is never used: `find_single_flag_keyword` [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 is never used: `create_ignore_existing` [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: `#[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 `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] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 27.31s [INFO] running `Command { std: "docker" "inspect" "500cf0cf09a95dc00918761bf781afc52819b6982966090eab319a50813f06a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "500cf0cf09a95dc00918761bf781afc52819b6982966090eab319a50813f06a2", kill_on_drop: false }` [INFO] [stdout] 500cf0cf09a95dc00918761bf781afc52819b6982966090eab319a50813f06a2 [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=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ec3979606b7c89245de50719dbfc07a24e35b02a49f4bf45841682ae03cfcf2f [INFO] running `Command { std: "docker" "start" "-a" "ec3979606b7c89245de50719dbfc07a24e35b02a49f4bf45841682ae03cfcf2f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `nom::anychar` [INFO] [stderr] --> src/parser.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use nom::anychar; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::parser::*` [INFO] [stderr] --> src/local_exec.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use super::parser::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `nom::types::CompleteStr` [INFO] [stderr] --> src/local_exec.rs:91:9 [INFO] [stderr] | [INFO] [stderr] 91 | use nom::types::CompleteStr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stderr] --> src/parser.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stderr] --> src/parser.rs:171:5 [INFO] [stderr] | [INFO] [stderr] 171 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stderr] --> src/local_exec.rs:93:5 [INFO] [stderr] | [INFO] [stderr] 93 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stderr] --> src/handle_exec.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dir` [INFO] [stderr] --> src/local_exec.rs:38:36 [INFO] [stderr] | [INFO] [stderr] 38 | fn change_directory(&mut self, dir: &str) -> ExecResult<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `local_part` [INFO] [stderr] --> src/local_exec.rs:53:38 [INFO] [stderr] | [INFO] [stderr] 53 | fn ensure_file_exists(&mut self, local_part: &str) -> ExecResult<()> { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_part` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `local_part` [INFO] [stderr] --> src/local_exec.rs:57:40 [INFO] [stderr] | [INFO] [stderr] 57 | fn ensure_file_contents(&mut self, local_part: &str, contents: FileContents) -> ExecResult<()> { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_part` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `contents` [INFO] [stderr] --> src/local_exec.rs:57:58 [INFO] [stderr] | [INFO] [stderr] 57 | fn ensure_file_contents(&mut self, local_part: &str, contents: FileContents) -> ExecResult<()> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dir` [INFO] [stderr] --> src/handle_exec.rs:106:40 [INFO] [stderr] | [INFO] [stderr] 106 | fn change_directory(&mut self, dir: &str) -> ExecResult<()> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `contents` [INFO] [stderr] --> src/handle_exec.rs:122:62 [INFO] [stderr] | [INFO] [stderr] 122 | fn ensure_file_contents(&mut self, local_part: &str, contents: FileContents) -> ExecResult<()> { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contents` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Host` [INFO] [stderr] --> src/ast.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | Host(String), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `IdemResourceType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:11:10 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Debug, PartialEq, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ExtendedString` [INFO] [stderr] --> src/ast.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | ExtendedString(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IdemValueType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug, PartialEq, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InsertStart` [INFO] [stderr] --> src/ast.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | InsertStart(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IdemEditCommandType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | #[derive(Debug, PartialEq, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InsertEnd` [INFO] [stderr] --> src/ast.rs:35:5 [INFO] [stderr] | [INFO] [stderr] 35 | InsertEnd(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IdemEditCommandType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | #[derive(Debug, PartialEq, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `InsertAfter` [INFO] [stderr] --> src/ast.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | InsertAfter(String, String), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IdemEditCommandType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | #[derive(Debug, PartialEq, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ShortFlags` [INFO] [stderr] --> src/ast.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | ShortFlags(Vec), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `IdemParamType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/ast.rs:44:10 [INFO] [stderr] | [INFO] [stderr] 44 | #[derive(Debug, PartialEq, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `StaticString` [INFO] [stderr] --> src/traits.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | StaticString(String) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Message` [INFO] [stderr] --> src/errors.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | Message(String), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ErrorType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/errors.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `find_single_path` [INFO] [stderr] --> src/local_exec.rs:67:4 [INFO] [stderr] | [INFO] [stderr] 67 | fn find_single_path<'a>(obj: &'a IdemRawCommandWithPaths) -> Option<&'a IdemPath> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `find_single_flag_keyword` [INFO] [stderr] --> src/local_exec.rs:73:4 [INFO] [stderr] | [INFO] [stderr] 73 | fn find_single_flag_keyword(params: &[IdemParamType]) -> Option<&str> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `create_ignore_existing` [INFO] [stderr] --> src/local_exec.rs:85:4 [INFO] [stderr] | [INFO] [stderr] 85 | fn create_ignore_existing>(path: T) -> IOResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/local_exec.rs:29:28 [INFO] [stderr] | [INFO] [stderr] 29 | if !cwd.exists() { fs::create_dir_all(&cwd); } [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/handle_exec.rs:46:21 [INFO] [stderr] | [INFO] [stderr] 46 | / match flag.unwrap() { [INFO] [stderr] 47 | | "exists" => { [INFO] [stderr] 48 | | let path = find_single_path(obj); [INFO] [stderr] 49 | | assert!(path.is_some(), "exists flag expects to follow a single path"); [INFO] [stderr] ... | [INFO] [stderr] 62 | | _ => unimplemented!("Flag keyword not implemented") [INFO] [stderr] 63 | | }; [INFO] [stderr] | |______________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `idemsh` (bin "idemsh" test) generated 26 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.22s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/idemsh-8a79a6934e521eaa) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test handle_exec::tests::test_file_exists ... ok [INFO] [stdout] test handle_exec::tests::test_directory_exists ... ok [INFO] [stdout] test parser::tests::test_parse_param_key_value ... ok [INFO] [stdout] test parser::tests::test_parse_param_flag_keyword ... ok [INFO] [stdout] test parser::tests::test_parse_path2 ... ok [INFO] [stdout] test parser::tests::test_parse_path1 ... ok [INFO] [stdout] test parser::tests::test_parse_path3 ... ok [INFO] [stdout] test parser::tests::test_parse_path4 ... ok [INFO] [stdout] test parser::tests::test_parse_raw_command_each ... ok [INFO] [stdout] test parser::tests::test_parse_raw_command_with_block ... ok [INFO] [stdout] test parser::tests::test_parse_raw_command_with_paths1 ... ok [INFO] [stdout] test parser::tests::test_parse_raw_command_with_paths2 ... ok [INFO] [stdout] test parser::tests::test_parse_value_litstring ... ok [INFO] [stdout] test parser::tests::test_parse_value_path_spec2 ... ok [INFO] [stdout] test parser::tests::test_parse_value_path_spec1 ... ok [INFO] [stdout] test parser::tests::test_parse_raw_script1 ... ok [INFO] [stdout] test local_exec::tests::test_ensure_directory_exists ... FAILED [INFO] [stdout] test local_exec::tests::test_ensure_file_exists ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- local_exec::tests::test_ensure_directory_exists stdout ---- [INFO] [stdout] Checking for path "/opt/rustwide/workdir/./testing/./adir" [INFO] [stdout] Creating path "/opt/rustwide/workdir/./testing/./adir" [INFO] [stdout] thread 'local_exec::tests::test_ensure_directory_exists' panicked at 'assertion failed: local_exec.ensure_directory(\"./adir\").ok().is_some()', src/local_exec.rs:114:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55ade367d16c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55ade367d16c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55ade367d16c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55ade367d16c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55ade36a24ac - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55ade36787a8 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55ade367f437 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55ade367f437 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55ade367f437 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55ade367f16b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55ade367fb8a - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55ade367f839 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:586:13 [INFO] [stdout] 12: 0x55ade367d634 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55ade367f589 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55ade35e1133 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55ade35e0ffd - core::panicking::panic::h33838847634b5d2d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:48:5 [INFO] [stdout] 16: 0x55ade361487d - idemsh::local_exec::tests::test_ensure_directory_exists::hfb6e3bfa3d2f8471 [INFO] [stdout] at /opt/rustwide/workdir/src/local_exec.rs:114:9 [INFO] [stdout] 17: 0x55ade361478a - idemsh::local_exec::tests::test_ensure_directory_exists::{{closure}}::h02c2c73286085c50 [INFO] [stdout] at /opt/rustwide/workdir/src/local_exec.rs:111:5 [INFO] [stdout] 18: 0x55ade36093ce - core::ops::function::FnOnce::call_once::hcc078a024fa4947b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 19: 0x55ade364a793 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55ade364a793 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 21: 0x55ade36494c1 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 22: 0x55ade36494c1 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 23: 0x55ade36494c1 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 24: 0x55ade36494c1 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 25: 0x55ade36494c1 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 26: 0x55ade36494c1 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 27: 0x55ade36494c1 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 28: 0x55ade3652da1 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 29: 0x55ade3652da1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 30: 0x55ade361f4ff - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 31: 0x55ade361f4ff - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 32: 0x55ade361f4ff - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 33: 0x55ade361f4ff - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 34: 0x55ade361f4ff - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 35: 0x55ade361f4ff - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 36: 0x55ade361f4ff - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 37: 0x55ade3685823 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 38: 0x55ade3685823 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 39: 0x55ade3685823 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 40: 0x7fd74966a609 - start_thread [INFO] [stdout] 41: 0x7fd74943c293 - clone [INFO] [stdout] 42: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- local_exec::tests::test_ensure_file_exists stdout ---- [INFO] [stdout] thread 'local_exec::tests::test_ensure_file_exists' panicked at './testing/afile does not exist or is not a file.', src/local_exec.rs:107:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55ade367d16c - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55ade367d16c - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55ade367d16c - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55ade367d16c - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55ade36a24ac - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55ade36787a8 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55ade367f437 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55ade367f437 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55ade367f437 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55ade367f16b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55ade367fb8a - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55ade3616824 - std::panicking::begin_panic::{{closure}}::h219029d7aa32f400 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:617:9 [INFO] [stdout] 12: 0x55ade36166f8 - std::sys_common::backtrace::__rust_end_short_backtrace::h65981be8297b76da [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55ade361679f - std::panicking::begin_panic::hc3f57742eb2c9a01 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:616:12 [INFO] [stdout] 14: 0x55ade3614768 - idemsh::local_exec::tests::test_ensure_file_exists::hde0246289990becd [INFO] [stdout] at /opt/rustwide/workdir/src/local_exec.rs:107:9 [INFO] [stdout] 15: 0x55ade361462a - idemsh::local_exec::tests::test_ensure_file_exists::{{closure}}::hec9a6ffffa099af6 [INFO] [stdout] at /opt/rustwide/workdir/src/local_exec.rs:101:5 [INFO] [stdout] 16: 0x55ade360938e - core::ops::function::FnOnce::call_once::hc5eb8b54f3b2c6e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 17: 0x55ade364a793 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 18: 0x55ade364a793 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 19: 0x55ade36494c1 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 20: 0x55ade36494c1 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 21: 0x55ade36494c1 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 22: 0x55ade36494c1 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 23: 0x55ade36494c1 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 24: 0x55ade36494c1 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 25: 0x55ade36494c1 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 26: 0x55ade3652da1 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 27: 0x55ade3652da1 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 28: 0x55ade361f4ff - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stderr] error: test failed, to rerun pass '--bin idemsh' [INFO] [stdout] 29: 0x55ade361f4ff - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 30: 0x55ade361f4ff - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 31: 0x55ade361f4ff - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 32: 0x55ade361f4ff - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 33: 0x55ade361f4ff - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 34: 0x55ade361f4ff - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 35: 0x55ade3685823 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 36: 0x55ade3685823 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 37: 0x55ade3685823 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 38: 0x7fd74966a609 - start_thread [INFO] [stdout] 39: 0x7fd74943c293 - clone [INFO] [stdout] 40: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] local_exec::tests::test_ensure_directory_exists [INFO] [stdout] local_exec::tests::test_ensure_file_exists [INFO] [stdout] [INFO] [stdout] test result: FAILED. 16 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ec3979606b7c89245de50719dbfc07a24e35b02a49f4bf45841682ae03cfcf2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec3979606b7c89245de50719dbfc07a24e35b02a49f4bf45841682ae03cfcf2f", kill_on_drop: false }` [INFO] [stdout] ec3979606b7c89245de50719dbfc07a24e35b02a49f4bf45841682ae03cfcf2f