[INFO] fetching crate rushell 0.2.2... [INFO] testing rushell-0.2.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rushell 0.2.2 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate rushell 0.2.2 [INFO] finished tweaking crates.io crate rushell 0.2.2 [INFO] tweaked toml for crates.io crate rushell 0.2.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rushell 0.2.2 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rushell 0.2.2 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded whoami v0.9.0 [INFO] [stderr] Downloaded err-derive v0.3.0 [INFO] [stderr] Downloaded terminfo v0.7.3 [INFO] [stderr] Downloaded signal-hook v0.3.8 [INFO] [stderr] Downloaded mortal v0.2.2 [INFO] [stderr] Downloaded rushell_deps_linefeed v0.6.0-jeff.1 [INFO] [stderr] Downloaded rushell_deps_pom v3.2.0-jeff.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b3ca66bfd6fb3937afd1158523382f060f8dc7b410004e1ca8d9ec590d25700d [INFO] running `Command { std: "docker" "start" "-a" "b3ca66bfd6fb3937afd1158523382f060f8dc7b410004e1ca8d9ec590d25700d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3ca66bfd6fb3937afd1158523382f060f8dc7b410004e1ca8d9ec590d25700d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3ca66bfd6fb3937afd1158523382f060f8dc7b410004e1ca8d9ec590d25700d", kill_on_drop: false }` [INFO] [stdout] b3ca66bfd6fb3937afd1158523382f060f8dc7b410004e1ca8d9ec590d25700d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e04d4275bcd935203cc9cb392df700851091d1bb070861fee9b6ab1d9845d1c9 [INFO] running `Command { std: "docker" "start" "-a" "e04d4275bcd935203cc9cb392df700851091d1bb070861fee9b6ab1d9845d1c9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling rustversion v1.0.5 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling smallstr v0.2.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling signal-hook v0.3.8 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling rushell_deps_pom v3.2.0-jeff.2 [INFO] [stderr] Compiling whoami v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling err-derive v0.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling terminfo v0.7.3 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling mortal v0.2.2 [INFO] [stderr] Compiling rushell_deps_linefeed v0.6.0-jeff.1 [INFO] [stderr] Compiling rushell v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:1131:25 [INFO] [stdout] | [INFO] [stdout] 1131 | if let Some(mut last) = terms.last_mut() { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `expand` is never read [INFO] [stdout] --> src/pattern.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct PatternWord { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 15 | fragments: Vec, [INFO] [stdout] 16 | expand: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PatternWord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `variable` is never read [INFO] [stdout] --> src/builtins/unset.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct Opt { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | variable: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path_debug` and `repo_work_tree` are never read [INFO] [stdout] --> src/theme.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct PromptTheme { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub path_debug: Style, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub repo_work_tree: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `error` and `valid_path` are never read [INFO] [stdout] --> src/theme.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct SyntaxTheme { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 108 | pub error: Style, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 109 | pub quoted: Style, [INFO] [stdout] 110 | pub valid_path: Style, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/input.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Word { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub kind: Type, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Word` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Keyword` is never constructed [INFO] [stdout] --> src/input_parser.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | Keyword, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pattern.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_NoMatchesError` [INFO] [stdout] 7 | #[error(display = "No matches error")] [INFO] [stdout] 8 | pub struct NoMatchesError; [INFO] [stdout] | -------------- `NoMatchesError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pattern.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_NoMatchesError` [INFO] [stdout] 7 | #[error(display = "No matches error")] [INFO] [stdout] 8 | pub struct NoMatchesError; [INFO] [stdout] | -------------- `NoMatchesError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/builtins/mod.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_InternalCommandError` [INFO] [stdout] 37 | pub enum InternalCommandError { [INFO] [stdout] | -------------------- `InternalCommandError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/builtins/mod.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_InternalCommandError` [INFO] [stdout] 37 | pub enum InternalCommandError { [INFO] [stdout] | -------------------- `InternalCommandError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/completer.rs:496:19 [INFO] [stdout] | [INFO] [stdout] 496 | pub fn filter(&self, command: &str) -> btree_map::Range { [INFO] [stdout] | ^^^^^ -------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 496 | pub fn filter(&self, command: &str) -> btree_map::Range<'_, String, CommandValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/shell.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn exported_names(&self) -> std::collections::hash_set::Iter { [INFO] [stdout] | ^^^^^ ---------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 311 | pub fn exported_names(&self) -> std::collections::hash_set::Iter<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/shell.rs:315:20 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn aliases(&self) -> std::collections::hash_map::Iter { [INFO] [stdout] | ^^^^^ ------------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 315 | pub fn aliases(&self) -> std::collections::hash_map::Iter<'_, String, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/shell.rs:543:22 [INFO] [stdout] | [INFO] [stdout] 543 | pub fn variables(&self) -> hash_map::Iter> { [INFO] [stdout] | ^^^^^ ------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 543 | pub fn variables(&self) -> hash_map::Iter<'_, String, Arc> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/shell.rs:551:23 [INFO] [stdout] | [INFO] [stdout] 551 | pub fn completion(&self) -> btree_map::Iter>> { [INFO] [stdout] | ^^^^^ -------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 551 | pub fn completion(&self) -> btree_map::Iter<'_, String, Arc>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/utils.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_Error` [INFO] [stdout] 10 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/utils.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_Error` [INFO] [stdout] 10 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/variable.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn array(&self) -> Option> { [INFO] [stdout] | ^^^^^ ------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 46 | pub fn array(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/variable.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn iter(&self) -> hash_map::Iter> { [INFO] [stdout] | ^^^^^ ------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 87 | pub fn iter(&self) -> hash_map::Iter<'_, String, Arc> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/input.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn from(line: &'a str) -> Input { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 35 | pub fn from(line: &'a str) -> Input<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.28s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, terminfo v0.7.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e04d4275bcd935203cc9cb392df700851091d1bb070861fee9b6ab1d9845d1c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e04d4275bcd935203cc9cb392df700851091d1bb070861fee9b6ab1d9845d1c9", kill_on_drop: false }` [INFO] [stdout] e04d4275bcd935203cc9cb392df700851091d1bb070861fee9b6ab1d9845d1c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8ce456c46f78724ef4c017408d2de46876be12abce6323beb444efeeefa58079 [INFO] running `Command { std: "docker" "start" "-a" "8ce456c46f78724ef4c017408d2de46876be12abce6323beb444efeeefa58079", kill_on_drop: false }` [INFO] [stderr] Compiling rushell v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/parser.rs:1131:25 [INFO] [stdout] | [INFO] [stdout] 1131 | if let Some(mut last) = terms.last_mut() { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `expand` is never read [INFO] [stdout] --> src/pattern.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct PatternWord { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 15 | fragments: Vec, [INFO] [stdout] 16 | expand: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PatternWord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `variable` is never read [INFO] [stdout] --> src/builtins/unset.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 8 | struct Opt { [INFO] [stdout] | --- field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | variable: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path_debug` and `repo_work_tree` are never read [INFO] [stdout] --> src/theme.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct PromptTheme { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 8 | pub path_debug: Style, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub repo_work_tree: Style, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `error` and `valid_path` are never read [INFO] [stdout] --> src/theme.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 105 | pub struct SyntaxTheme { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 108 | pub error: Style, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 109 | pub quoted: Style, [INFO] [stdout] 110 | pub valid_path: Style, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `kind` is never read [INFO] [stdout] --> src/input.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Word { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub kind: Type, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Word` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Keyword` is never constructed [INFO] [stdout] --> src/input_parser.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Type { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | Keyword, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pattern.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_NoMatchesError` [INFO] [stdout] 7 | #[error(display = "No matches error")] [INFO] [stdout] 8 | pub struct NoMatchesError; [INFO] [stdout] | -------------- `NoMatchesError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pattern.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_NoMatchesError` [INFO] [stdout] 7 | #[error(display = "No matches error")] [INFO] [stdout] 8 | pub struct NoMatchesError; [INFO] [stdout] | -------------- `NoMatchesError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/builtins/mod.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_InternalCommandError` [INFO] [stdout] 37 | pub enum InternalCommandError { [INFO] [stdout] | -------------------- `InternalCommandError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/builtins/mod.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_InternalCommandError` [INFO] [stdout] 37 | pub enum InternalCommandError { [INFO] [stdout] | -------------------- `InternalCommandError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/completer.rs:496:19 [INFO] [stdout] | [INFO] [stdout] 496 | pub fn filter(&self, command: &str) -> btree_map::Range { [INFO] [stdout] | ^^^^^ -------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 496 | pub fn filter(&self, command: &str) -> btree_map::Range<'_, String, CommandValue> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/shell.rs:311:27 [INFO] [stdout] | [INFO] [stdout] 311 | pub fn exported_names(&self) -> std::collections::hash_set::Iter { [INFO] [stdout] | ^^^^^ ---------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 311 | pub fn exported_names(&self) -> std::collections::hash_set::Iter<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/shell.rs:315:20 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn aliases(&self) -> std::collections::hash_map::Iter { [INFO] [stdout] | ^^^^^ ------------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 315 | pub fn aliases(&self) -> std::collections::hash_map::Iter<'_, String, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/shell.rs:543:22 [INFO] [stdout] | [INFO] [stdout] 543 | pub fn variables(&self) -> hash_map::Iter> { [INFO] [stdout] | ^^^^^ ------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 543 | pub fn variables(&self) -> hash_map::Iter<'_, String, Arc> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/shell.rs:551:23 [INFO] [stdout] | [INFO] [stdout] 551 | pub fn completion(&self) -> btree_map::Iter>> { [INFO] [stdout] | ^^^^^ -------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 551 | pub fn completion(&self) -> btree_map::Iter<'_, String, Arc>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/utils.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_Error` [INFO] [stdout] 10 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/utils.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Error)] [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_Error` [INFO] [stdout] 10 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/variable.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn array(&self) -> Option> { [INFO] [stdout] | ^^^^^ ------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 46 | pub fn array(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/variable.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn iter(&self) -> hash_map::Iter> { [INFO] [stdout] | ^^^^^ ------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 87 | pub fn iter(&self) -> hash_map::Iter<'_, String, Arc> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/input.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn from(line: &'a str) -> Input { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 35 | pub fn from(line: &'a str) -> Input<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.37s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, terminfo v0.7.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "8ce456c46f78724ef4c017408d2de46876be12abce6323beb444efeeefa58079", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ce456c46f78724ef4c017408d2de46876be12abce6323beb444efeeefa58079", kill_on_drop: false }` [INFO] [stdout] 8ce456c46f78724ef4c017408d2de46876be12abce6323beb444efeeefa58079 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 85c817a556b6825ac0d01e7ad22a730126a1120f0cf9fc8481eb643a69641336 [INFO] running `Command { std: "docker" "start" "-a" "85c817a556b6825ac0d01e7ad22a730126a1120f0cf9fc8481eb643a69641336", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/parser.rs:1131:25 [INFO] [stderr] | [INFO] [stderr] 1131 | if let Some(mut last) = terms.last_mut() { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `expand` is never read [INFO] [stderr] --> src/pattern.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct PatternWord { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 15 | fragments: Vec, [INFO] [stderr] 16 | expand: bool, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PatternWord` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `variable` is never read [INFO] [stderr] --> src/builtins/unset.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 8 | struct Opt { [INFO] [stderr] | --- field in this struct [INFO] [stderr] ... [INFO] [stderr] 12 | variable: bool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `path_debug` and `repo_work_tree` are never read [INFO] [stderr] --> src/theme.rs:8:9 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct PromptTheme { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 8 | pub path_debug: Style, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 14 | pub repo_work_tree: Style, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `error` and `valid_path` are never read [INFO] [stderr] --> src/theme.rs:108:9 [INFO] [stderr] | [INFO] [stderr] 105 | pub struct SyntaxTheme { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 108 | pub error: Style, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 109 | pub quoted: Style, [INFO] [stderr] 110 | pub valid_path: Style, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `kind` is never read [INFO] [stderr] --> src/input.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Word { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] ... [INFO] [stderr] 10 | pub kind: Type, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Word` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variant `Keyword` is never constructed [INFO] [stderr] --> src/input_parser.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum Type { [INFO] [stderr] | ---- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 13 | Keyword, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Type` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pattern.rs:6:17 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug, Error)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Error` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_NoMatchesError` [INFO] [stderr] 7 | #[error(display = "No matches error")] [INFO] [stderr] 8 | pub struct NoMatchesError; [INFO] [stderr] | -------------- `NoMatchesError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/pattern.rs:6:17 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug, Error)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_NoMatchesError` [INFO] [stderr] 7 | #[error(display = "No matches error")] [INFO] [stderr] 8 | pub struct NoMatchesError; [INFO] [stderr] | -------------- `NoMatchesError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/builtins/mod.rs:36:17 [INFO] [stderr] | [INFO] [stderr] 36 | #[derive(Debug, Error)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Error` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_InternalCommandError` [INFO] [stderr] 37 | pub enum InternalCommandError { [INFO] [stderr] | -------------------- `InternalCommandError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/builtins/mod.rs:36:17 [INFO] [stderr] | [INFO] [stderr] 36 | #[derive(Debug, Error)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_InternalCommandError` [INFO] [stderr] 37 | pub enum InternalCommandError { [INFO] [stderr] | -------------------- `InternalCommandError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/completer.rs:496:19 [INFO] [stderr] | [INFO] [stderr] 496 | pub fn filter(&self, command: &str) -> btree_map::Range { [INFO] [stderr] | ^^^^^ -------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 496 | pub fn filter(&self, command: &str) -> btree_map::Range<'_, String, CommandValue> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/shell.rs:311:27 [INFO] [stderr] | [INFO] [stderr] 311 | pub fn exported_names(&self) -> std::collections::hash_set::Iter { [INFO] [stderr] | ^^^^^ ---------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 311 | pub fn exported_names(&self) -> std::collections::hash_set::Iter<'_, String> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/shell.rs:315:20 [INFO] [stderr] | [INFO] [stderr] 315 | pub fn aliases(&self) -> std::collections::hash_map::Iter { [INFO] [stderr] | ^^^^^ ------------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 315 | pub fn aliases(&self) -> std::collections::hash_map::Iter<'_, String, String> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/shell.rs:543:22 [INFO] [stderr] | [INFO] [stderr] 543 | pub fn variables(&self) -> hash_map::Iter> { [INFO] [stderr] | ^^^^^ ------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 543 | pub fn variables(&self) -> hash_map::Iter<'_, String, Arc> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/shell.rs:551:23 [INFO] [stderr] | [INFO] [stderr] 551 | pub fn completion(&self) -> btree_map::Iter>> { [INFO] [stderr] | ^^^^^ -------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 551 | pub fn completion(&self) -> btree_map::Iter<'_, String, Arc>> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/utils.rs:9:17 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Error)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Error` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_Error` [INFO] [stderr] 10 | pub enum Error { [INFO] [stderr] | ----- `Error` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/utils.rs:9:17 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug, Error)] [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_Error` [INFO] [stderr] 10 | pub enum Error { [INFO] [stderr] | ----- `Error` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Error` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/variable.rs:46:18 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn array(&self) -> Option> { [INFO] [stderr] | ^^^^^ ------------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 46 | pub fn array(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/variable.rs:87:17 [INFO] [stderr] | [INFO] [stderr] 87 | pub fn iter(&self) -> hash_map::Iter> { [INFO] [stderr] | ^^^^^ ------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 87 | pub fn iter(&self) -> hash_map::Iter<'_, String, Arc> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/input.rs:35:24 [INFO] [stderr] | [INFO] [stderr] 35 | pub fn from(line: &'a str) -> Input { [INFO] [stderr] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 35 | pub fn from(line: &'a str) -> Input<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rushell` (bin "rushell" test) generated 21 warnings (run `cargo fix --bin "rushell" --tests` to apply 9 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2, terminfo v0.7.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rushell-62312f1500187d34) [INFO] [stdout] [INFO] [stdout] running 39 tests [INFO] [stdout] test eval::test_expr ... ok [INFO] [stdout] test builtins::alias::test_parse_alias ... ok [INFO] [stdout] test builtins::set::tests::test_set_command ... ok [INFO] [stdout] test parser::test_debug ... ok [INFO] [stdout] test glob::tests::test_parse_glob ... FAILED [INFO] [stdout] test parser::test_brace_literal ... ok [INFO] [stdout] test parser::test_assign_like_prefix ... ok [INFO] [stdout] test parser::test_escape_sequences ... ok [INFO] [stdout] test parser::test_courner_cases ... ok [INFO] [stdout] test parser::test_external_command ... ok [INFO] [stdout] test parser::test_export_empty ... ok [INFO] [stdout] test parser::test_comments ... ok [INFO] [stdout] test parser::test_cond_test ... ok [INFO] [stdout] test parser::test_append ... ok [INFO] [stdout] test parser::test_cond_ex ... ok [INFO] [stdout] test parser::test_redirections ... ok [INFO] [stdout] test parser::test_grep ... ok [INFO] [stdout] test parser::test_regex ... ok [INFO] [stdout] test parser::test_patterns ... ok [INFO] [stdout] test parser::test_arith_expr ... ok [INFO] [stdout] test parser::test_tilde ... ok [INFO] [stdout] test input::test_split_words ... ok [INFO] [stdout] test expand::test_expand_span_into_vec ... ok [INFO] [stdout] test tests::test_init_dir ... FAILED [INFO] [stdout] test parser::test_assignments ... ok [INFO] [stdout] test expand::test_expand_param ... ok [INFO] [stdout] test syntaxer::test_syntax_parser ... ok [INFO] [stdout] test pattern::tests::complex_pattern ... ok [INFO] [stdout] test parser::test_string_literal ... ok [INFO] [stdout] test pattern::tests::literal_only ... ok [INFO] [stdout] test pattern::tests::wildcard ... ok [INFO] [stdout] test expand::test_expand_words ... ok [INFO] [stdout] test parser::test_simple_commands ... ok [INFO] [stdout] test parser::test_process_substitution ... ok [INFO] [stdout] test parser::test_heredoc ... ok [INFO] [stdout] test parser::test_expansions ... ok [INFO] [stdout] test parser::test_extra ... ok [INFO] [stdout] test parser::test_compound_commands ... ok [INFO] [stdout] test script_test::test_completion ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- glob::tests::test_parse_glob stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'glob::tests::test_parse_glob' panicked at src/glob.rs:267:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: ["src/completer.rs", "src/completion.rs", "src/eval.rs", "src/expand.rs", "src/git.rs", "src/glob.rs", "src/input.rs", "src/input_parser.rs", "src/macros.rs", "src/main.rs", "src/parser.rs", "src/pattern.rs", "src/process.rs", "src/prompt.rs", "src/script_test.rs", "src/shell.rs", "src/syntaxer.rs", "src/theme.rs", "src/utils.rs", "src/variable.rs"] [INFO] [stdout] right: ["src/[[:alnum:]]*.[^p]?"] [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x76d75c826292 - std::backtrace_rs::backtrace::libunwind::trace::h559918daaaf51ab7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x76d75c826292 - std::backtrace_rs::backtrace::trace_unsynchronized::hb04fbcf80d07af8b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x76d75c826292 - std::sys::backtrace::_print_fmt::h7c0bbbbfac0065d4 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x76d75c826292 - ::fmt::hb62c8ed31943daa5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x76d75c865493 - core::fmt::rt::Argument::fmt::he5eaa7dd607ed4c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x76d75c865493 - core::fmt::write::h375399f8cb90b45a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/fmt/mod.rs:1460:25 [INFO] [stdout] 6: 0x76d75c823323 - std::io::default_write_fmt::hdc1b4dd565dd0099 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x76d75c823323 - std::io::Write::write_fmt::h29f6044e9bc43c23 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x76d75c8260e2 - std::sys::backtrace::BacktraceLock::print::ha189c586374f916a [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x76d75c827d1c - std::panicking::default_hook::{{closure}}::ha3a26c98ff210e12 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x76d75c827b72 - std::panicking::default_hook::h8c8a86b4390ab794 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x76d75c510494 - as core::ops::function::Fn>::call::ha39ae63ed1e9a130 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x76d75c510494 - test::test_main_with_exit_callback::{{closure}}::h9df7c328ebe18c28 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x76d75c828783 - as core::ops::function::Fn>::call::h96b7201b552e9069 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x76d75c828783 - std::panicking::rust_panic_with_hook::hb3b66c2e80efa371 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x76d75c82846a - std::panicking::begin_panic_handler::{{closure}}::h9c68d0f839e62070 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x76d75c826799 - std::sys::backtrace::__rust_end_short_backtrace::h68d22ddde4a73ad6 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x76d75c8280fd - __rustc[f4ffc7196a45a630]::rust_begin_unwind [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x76d75c29c7e0 - core::panicking::panic_fmt::h8cdd4c81eb9069aa [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x76d75c29cb33 - core::panicking::assert_failed_inner::h483faaa3ae844fd5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:432:17 [INFO] [stdout] 20: 0x76d75c4738a0 - core::panicking::assert_failed::h6b38ffdccaf976fe [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panicking.rs:387:5 [INFO] [stdout] 21: 0x76d75c4a38f9 - rushell::glob::tests::compare_glob::h8cd6d8e4adfe56d9 [INFO] [stdout] at /opt/rustwide/workdir/src/glob.rs:267:9 [INFO] [stdout] 22: 0x76d75c4a7ef7 - rushell::glob::tests::test_parse_glob::hba2295e7b0241feb [INFO] [stdout] at /opt/rustwide/workdir/src/glob.rs:277:9 [INFO] [stdout] 23: 0x76d75c4a7e77 - rushell::glob::tests::test_parse_glob::{{closure}}::h295468ef33a9a6d3 [INFO] [stdout] at /opt/rustwide/workdir/src/glob.rs:271:25 [INFO] [stdout] 24: 0x76d75c4bcb56 - core::ops::function::FnOnce::call_once::h95f24e9b8c15b2a2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x76d75c515b8b - core::ops::function::FnOnce::call_once::h9633dcf760ae81b2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x76d75c515b8b - test::__rust_begin_short_backtrace::h12ad5e04c8d7b4a5 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:648:18 [INFO] [stdout] 27: 0x76d75c514dfe - test::run_test_in_process::{{closure}}::he596b4fd3fa4893c [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:74 [INFO] [stdout] 28: 0x76d75c514dfe - as core::ops::function::FnOnce<()>>::call_once::hc746bc3fa75190e0 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x76d75c514dfe - std::panicking::catch_unwind::do_call::hf4843906108d6299 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 30: 0x76d75c514dfe - std::panicking::catch_unwind::h849d4e8b03577bb9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 31: 0x76d75c514dfe - std::panic::catch_unwind::ha1f814c1dec025d2 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x76d75c514dfe - test::run_test_in_process::h542aad3fe61255e7 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:671:27 [INFO] [stdout] 33: 0x76d75c514dfe - test::run_test::{{closure}}::h612788d75908cb63 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:592:43 [INFO] [stdout] 34: 0x76d75c4d9c84 - test::run_test::{{closure}}::hbfeea3bcb7245123 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/test/src/lib.rs:622:41 [INFO] [stdout] 35: 0x76d75c4d9c84 - std::sys::backtrace::__rust_begin_short_backtrace::h72542b83b4f87d5b [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 36: 0x76d75c4dd47a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hff26a7547ea762c9 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x76d75c4dd47a - as core::ops::function::FnOnce<()>>::call_once::hbee49bc759312884 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x76d75c4dd47a - std::panicking::catch_unwind::do_call::h61de12ce5e04e28f [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:589:40 [INFO] [stdout] 39: 0x76d75c4dd47a - std::panicking::catch_unwind::h454dd49873d22e18 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panicking.rs:552:19 [INFO] [stdout] 40: 0x76d75c4dd47a - std::panic::catch_unwind::h5c15187324f8cebb [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x76d75c4dd47a - std::thread::Builder::spawn_unchecked_::{{closure}}::hbc9d9c7427673d42 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x76d75c4dd47a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hefd458a129ddca13 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x76d75c82b327 - as core::ops::function::FnOnce>::call_once::h2d6e2e526b02c3da [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x76d75c82b327 - as core::ops::function::FnOnce>::call_once::h1aefced482b33c72 [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 45: 0x76d75c82b327 - std::sys::pal::unix::thread::Thread::new::thread_start::h7c9c6951b48f721d [INFO] [stdout] at /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] [INFO] [stdout] ---- tests::test_init_dir stdout ---- [INFO] [stdout] Error: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] glob::tests::test_parse_glob [INFO] [stdout] tests::test_init_dir [INFO] [stdout] [INFO] [stdout] test result: FAILED. 37 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin rushell` [INFO] running `Command { std: "docker" "inspect" "85c817a556b6825ac0d01e7ad22a730126a1120f0cf9fc8481eb643a69641336", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85c817a556b6825ac0d01e7ad22a730126a1120f0cf9fc8481eb643a69641336", kill_on_drop: false }` [INFO] [stdout] 85c817a556b6825ac0d01e7ad22a730126a1120f0cf9fc8481eb643a69641336