[INFO] cloning repository https://github.com/thegedge/gesh [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thegedge/gesh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthegedge%2Fgesh", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthegedge%2Fgesh'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 379264e1b72d03985511de118929bb28cf8a088b [INFO] testing thegedge/gesh against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthegedge%2Fgesh" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thegedge/gesh [INFO] finished tweaking git repo https://github.com/thegedge/gesh [INFO] tweaked toml for git repo https://github.com/thegedge/gesh written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thegedge/gesh on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thegedge/gesh 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/gesh-geshl/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dirs v1.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbf5ac606b3b6222b08d315ca7e93e4ab53499cb04a5ce56b06754b69bc44602 [INFO] running `Command { std: "docker" "start" "-a" "fbf5ac606b3b6222b08d315ca7e93e4ab53499cb04a5ce56b06754b69bc44602", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbf5ac606b3b6222b08d315ca7e93e4ab53499cb04a5ce56b06754b69bc44602", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbf5ac606b3b6222b08d315ca7e93e4ab53499cb04a5ce56b06754b69bc44602", kill_on_drop: false }` [INFO] [stdout] fbf5ac606b3b6222b08d315ca7e93e4ab53499cb04a5ce56b06754b69bc44602 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e6ac8f0c74a9604b0c23c4dbf7a254d08a599fc2fc9f7811a7de9af690d3c18 [INFO] running `Command { std: "docker" "start" "-a" "9e6ac8f0c74a9604b0c23c4dbf7a254d08a599fc2fc9f7811a7de9af690d3c18", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/gesh-geshl/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling encode_unicode v0.1.3 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling dirs v1.0.2 [INFO] [stderr] Compiling nom v4.0.0 [INFO] [stderr] Compiling geshl v0.1.0 (/opt/rustwide/workdir/gesh-geshl) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> gesh-geshl/src/parser.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / /// Parses an arbitrary line. [INFO] [stdout] 33 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> gesh-geshl/src/parser.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / /// Parses one or more variable setting expressions. [INFO] [stdout] 44 | | /// [INFO] [stdout] 45 | | /// # Examples [INFO] [stdout] 46 | | /// [INFO] [stdout] 47 | | /// - `FOO=bar` [INFO] [stdout] 48 | | /// - `FOO=bar BAR=spam` [INFO] [stdout] 49 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> gesh-geshl/src/parser.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / /// Parses a variable setting expression. [INFO] [stdout] 59 | | /// [INFO] [stdout] 60 | | /// # Examples [INFO] [stdout] 61 | | /// [INFO] [stdout] 62 | | /// - `FOO=bar` [INFO] [stdout] 63 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> gesh-geshl/src/parser.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / /// Parses a command prefixed with zero or more environment variables to set. [INFO] [stdout] 78 | | /// [INFO] [stdout] 79 | | /// # Examples [INFO] [stdout] 80 | | /// [INFO] [stdout] 81 | | /// - `FOO=bar command` [INFO] [stdout] 82 | | /// - `FOO=bar BAR=spam command arg1 "arg2 in quotes" [INFO] [stdout] 83 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> gesh-geshl/src/parser.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | / /// Parses a string "piece". [INFO] [stdout] 97 | | /// [INFO] [stdout] 98 | | /// A piece could be a path, a glob, an unquoted string, an interpolated string, and so on. [INFO] [stdout] 99 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> gesh-geshl/src/parser.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | / /// Parses a glob [INFO] [stdout] 115 | | /// [INFO] [stdout] 116 | | /// A piece could be a path, a glob, an unquoted string, an interpolated string, and so on. [INFO] [stdout] 117 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> gesh-geshl/src/parser.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | / /// Parses a path-like component. [INFO] [stdout] 134 | | /// [INFO] [stdout] 135 | | /// ## Examples [INFO] [stdout] 136 | | /// [INFO] [stdout] ... | [INFO] [stdout] 142 | | /// - `~/home/directory` [INFO] [stdout] 143 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> gesh-geshl/src/parser.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | / /// Parses an interpolated string from the command line. [INFO] [stdout] 168 | | /// [INFO] [stdout] 169 | | /// ## Examples [INFO] [stdout] 170 | | /// [INFO] [stdout] 171 | | /// - `"just some text"` [INFO] [stdout] 172 | | /// - `"some text with an ${ENVVAR} interpolated"` [INFO] [stdout] 173 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> gesh-geshl/src/parser.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | / /// Parses an environment variable interpolation. [INFO] [stdout] 187 | | /// [INFO] [stdout] 188 | | /// ## Examples [INFO] [stdout] 189 | | /// [INFO] [stdout] 190 | | /// - `${HOME}` [INFO] [stdout] 191 | | /// - `${SOME_DIR}` [INFO] [stdout] 192 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> gesh-geshl/src/parser.rs:232:1 [INFO] [stdout] | [INFO] [stdout] 232 | / /// Parses regular text inside of an interpolated string. [INFO] [stdout] 233 | | /// [INFO] [stdout] 234 | | /// Some characters can be escaped with a backslash. [INFO] [stdout] 235 | | /// - `\n` becomes a newline [INFO] [stdout] ... | [INFO] [stdout] 247 | | /// - `C:\\Windows\\System\\folder` [INFO] [stdout] 248 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> gesh-geshl/src/parser.rs:268:1 [INFO] [stdout] | [INFO] [stdout] 268 | / /// Parses an uninterpolated string from the command line. [INFO] [stdout] 269 | | /// [INFO] [stdout] 270 | | /// Some characters can be escaped with a backslash: [INFO] [stdout] 271 | | /// - `\\` becomes a backslash [INFO] [stdout] ... | [INFO] [stdout] 278 | | /// - `'This isn't a newline, just a backslash and an n: \n'` [INFO] [stdout] 279 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> gesh-geshl/src/parser.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | 'a'...'z' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> gesh-geshl/src/parser.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | 'A'...'Z' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> gesh-geshl/src/parser.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 226 | '0'...'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> gesh-geshl/src/parser.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 315 | 'a'...'z' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> gesh-geshl/src/parser.rs:316:12 [INFO] [stdout] | [INFO] [stdout] 316 | 'A'...'Z' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> gesh-geshl/src/parser.rs:317:12 [INFO] [stdout] | [INFO] [stdout] 317 | '0'...'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustyline v1.0.0 [INFO] [stderr] Compiling gesh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `builtin::*` [INFO] [stdout] --> src/command/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | builtin::*, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/prompt/mod.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | fn set_prompt(&mut self, String); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `empty` is never used [INFO] [stdout] --> src/environment/mod.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Environment { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn empty() -> Environment { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/prompt/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 - Io(io::Error), [INFO] [stdout] 21 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/shell.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | CommandError(command::Error), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 49 - CommandError(command::Error), [INFO] [stdout] 49 + CommandError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/shell.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | VarError(env::VarError), [INFO] [stdout] | -------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 50 - VarError(env::VarError), [INFO] [stdout] 50 + VarError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/shell.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | PromptError(prompt::Error), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 52 - PromptError(prompt::Error), [INFO] [stdout] 52 + PromptError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::os::unix::process::CommandExt::exec` that must be used [INFO] [stdout] --> src/command/builtin/exec.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | / process::Command::new(path) [INFO] [stdout] 24 | | .args(args.iter().skip(1)) [INFO] [stdout] 25 | | .envs(env.exported_vars()) [INFO] [stdout] 26 | | .current_dir(env.working_directory()) [INFO] [stdout] 27 | | .exec(); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 23 | let _ = process::Command::new(path) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.56s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0, nom v4.0.0 [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" "9e6ac8f0c74a9604b0c23c4dbf7a254d08a599fc2fc9f7811a7de9af690d3c18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e6ac8f0c74a9604b0c23c4dbf7a254d08a599fc2fc9f7811a7de9af690d3c18", kill_on_drop: false }` [INFO] [stdout] 9e6ac8f0c74a9604b0c23c4dbf7a254d08a599fc2fc9f7811a7de9af690d3c18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed228824bb67ed95e929868c9ae6d705c583f69cd36342c4a8c520562bbddd62 [INFO] running `Command { std: "docker" "start" "-a" "ed228824bb67ed95e929868c9ae6d705c583f69cd36342c4a8c520562bbddd62", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/gesh-geshl/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> gesh-geshl/src/parser.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / /// Parses an arbitrary line. [INFO] [stdout] 33 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> gesh-geshl/src/parser.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / /// Parses one or more variable setting expressions. [INFO] [stdout] 44 | | /// [INFO] [stdout] 45 | | /// # Examples [INFO] [stdout] 46 | | /// [INFO] [stdout] 47 | | /// - `FOO=bar` [INFO] [stdout] 48 | | /// - `FOO=bar BAR=spam` [INFO] [stdout] 49 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> gesh-geshl/src/parser.rs:58:1 [INFO] [stdout] | [INFO] [stdout] 58 | / /// Parses a variable setting expression. [INFO] [stdout] 59 | | /// [INFO] [stdout] 60 | | /// # Examples [INFO] [stdout] 61 | | /// [INFO] [stdout] 62 | | /// - `FOO=bar` [INFO] [stdout] 63 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> gesh-geshl/src/parser.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / /// Parses a command prefixed with zero or more environment variables to set. [INFO] [stdout] 78 | | /// [INFO] [stdout] 79 | | /// # Examples [INFO] [stdout] 80 | | /// [INFO] [stdout] 81 | | /// - `FOO=bar command` [INFO] [stdout] 82 | | /// - `FOO=bar BAR=spam command arg1 "arg2 in quotes" [INFO] [stdout] 83 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> gesh-geshl/src/parser.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 96 | / /// Parses a string "piece". [INFO] [stdout] 97 | | /// [INFO] [stdout] 98 | | /// A piece could be a path, a glob, an unquoted string, an interpolated string, and so on. [INFO] [stdout] 99 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> gesh-geshl/src/parser.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | / /// Parses a glob [INFO] [stdout] 115 | | /// [INFO] [stdout] 116 | | /// A piece could be a path, a glob, an unquoted string, an interpolated string, and so on. [INFO] [stdout] 117 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> gesh-geshl/src/parser.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | / /// Parses a path-like component. [INFO] [stdout] 134 | | /// [INFO] [stdout] 135 | | /// ## Examples [INFO] [stdout] 136 | | /// [INFO] [stdout] ... | [INFO] [stdout] 142 | | /// - `~/home/directory` [INFO] [stdout] 143 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> gesh-geshl/src/parser.rs:167:1 [INFO] [stdout] | [INFO] [stdout] 167 | / /// Parses an interpolated string from the command line. [INFO] [stdout] 168 | | /// [INFO] [stdout] 169 | | /// ## Examples [INFO] [stdout] 170 | | /// [INFO] [stdout] 171 | | /// - `"just some text"` [INFO] [stdout] 172 | | /// - `"some text with an ${ENVVAR} interpolated"` [INFO] [stdout] 173 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> gesh-geshl/src/parser.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | / /// Parses an environment variable interpolation. [INFO] [stdout] 187 | | /// [INFO] [stdout] 188 | | /// ## Examples [INFO] [stdout] 189 | | /// [INFO] [stdout] 190 | | /// - `${HOME}` [INFO] [stdout] 191 | | /// - `${SOME_DIR}` [INFO] [stdout] 192 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> gesh-geshl/src/parser.rs:232:1 [INFO] [stdout] | [INFO] [stdout] 232 | / /// Parses regular text inside of an interpolated string. [INFO] [stdout] 233 | | /// [INFO] [stdout] 234 | | /// Some characters can be escaped with a backslash. [INFO] [stdout] 235 | | /// - `\n` becomes a newline [INFO] [stdout] ... | [INFO] [stdout] 247 | | /// - `C:\\Windows\\System\\folder` [INFO] [stdout] 248 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> gesh-geshl/src/parser.rs:268:1 [INFO] [stdout] | [INFO] [stdout] 268 | / /// Parses an uninterpolated string from the command line. [INFO] [stdout] 269 | | /// [INFO] [stdout] 270 | | /// Some characters can be escaped with a backslash: [INFO] [stdout] 271 | | /// - `\\` becomes a backslash [INFO] [stdout] ... | [INFO] [stdout] 278 | | /// - `'This isn't a newline, just a backslash and an n: \n'` [INFO] [stdout] 279 | | /// [INFO] [stdout] | |_--^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gesh v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> gesh-geshl/src/parser.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | 'a'...'z' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> gesh-geshl/src/parser.rs:225:12 [INFO] [stdout] | [INFO] [stdout] 225 | 'A'...'Z' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> gesh-geshl/src/parser.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 226 | '0'...'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> gesh-geshl/src/parser.rs:315:12 [INFO] [stdout] | [INFO] [stdout] 315 | 'a'...'z' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> gesh-geshl/src/parser.rs:316:12 [INFO] [stdout] | [INFO] [stdout] 316 | 'A'...'Z' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> gesh-geshl/src/parser.rs:317:12 [INFO] [stdout] | [INFO] [stdout] 317 | '0'...'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `target_famlily` [INFO] [stdout] --> src/command/registry.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 104 | #[cfg(target_famlily = "unix")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_famlily, values("unix"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_famlily, values(\"unix\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 104 - #[cfg(target_famlily = "unix")] [INFO] [stdout] 104 + #[cfg(target_family = "unix")] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `target_famlily` [INFO] [stdout] --> src/command/registry.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | #[cfg(target_famlily = "unix")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_famlily, values("unix"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_famlily, values(\"unix\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 112 - #[cfg(target_famlily = "unix")] [INFO] [stdout] 112 + #[cfg(target_family = "unix")] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `target_famlily` [INFO] [stdout] --> src/command/registry.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 120 | #[cfg(target_famlily = "unix")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_famlily, values("unix"))'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_famlily, values(\"unix\"))");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] help: there is a config with a similar name and value [INFO] [stdout] | [INFO] [stdout] 120 - #[cfg(target_famlily = "unix")] [INFO] [stdout] 120 + #[cfg(target_family = "unix")] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `builtin::*` [INFO] [stdout] --> src/command/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | builtin::*, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/prompt/mod.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | fn set_prompt(&mut self, String); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/prompt/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 - Io(io::Error), [INFO] [stdout] 21 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/shell.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | CommandError(command::Error), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 49 - CommandError(command::Error), [INFO] [stdout] 49 + CommandError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/shell.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 50 | VarError(env::VarError), [INFO] [stdout] | -------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 50 - VarError(env::VarError), [INFO] [stdout] 50 + VarError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/shell.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | PromptError(prompt::Error), [INFO] [stdout] | ----------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 52 - PromptError(prompt::Error), [INFO] [stdout] 52 + PromptError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::os::unix::process::CommandExt::exec` that must be used [INFO] [stdout] --> src/command/builtin/exec.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | / process::Command::new(path) [INFO] [stdout] 24 | | .args(args.iter().skip(1)) [INFO] [stdout] 25 | | .envs(env.exported_vars()) [INFO] [stdout] 26 | | .current_dir(env.working_directory()) [INFO] [stdout] 27 | | .exec(); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 23 | let _ = process::Command::new(path) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.72s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0, nom v4.0.0 [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" "ed228824bb67ed95e929868c9ae6d705c583f69cd36342c4a8c520562bbddd62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed228824bb67ed95e929868c9ae6d705c583f69cd36342c4a8c520562bbddd62", kill_on_drop: false }` [INFO] [stdout] ed228824bb67ed95e929868c9ae6d705c583f69cd36342c4a8c520562bbddd62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 99a02c647232629fc6b47784679e1c8ffd700291e1d839d56375c360d28aad1d [INFO] running `Command { std: "docker" "start" "-a" "99a02c647232629fc6b47784679e1c8ffd700291e1d839d56375c360d28aad1d", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/gesh-geshl/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> gesh-geshl/src/parser.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | / /// Parses an arbitrary line. [INFO] [stderr] 33 | | /// [INFO] [stderr] | |_--^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> gesh-geshl/src/parser.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | / /// Parses one or more variable setting expressions. [INFO] [stderr] 44 | | /// [INFO] [stderr] 45 | | /// # Examples [INFO] [stderr] 46 | | /// [INFO] [stderr] 47 | | /// - `FOO=bar` [INFO] [stderr] 48 | | /// - `FOO=bar BAR=spam` [INFO] [stderr] 49 | | /// [INFO] [stderr] | |_--^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> gesh-geshl/src/parser.rs:58:1 [INFO] [stderr] | [INFO] [stderr] 58 | / /// Parses a variable setting expression. [INFO] [stderr] 59 | | /// [INFO] [stderr] 60 | | /// # Examples [INFO] [stderr] 61 | | /// [INFO] [stderr] 62 | | /// - `FOO=bar` [INFO] [stderr] 63 | | /// [INFO] [stderr] | |_--^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> gesh-geshl/src/parser.rs:77:1 [INFO] [stderr] | [INFO] [stderr] 77 | / /// Parses a command prefixed with zero or more environment variables to set. [INFO] [stderr] 78 | | /// [INFO] [stderr] 79 | | /// # Examples [INFO] [stderr] 80 | | /// [INFO] [stderr] 81 | | /// - `FOO=bar command` [INFO] [stderr] 82 | | /// - `FOO=bar BAR=spam command arg1 "arg2 in quotes" [INFO] [stderr] 83 | | /// [INFO] [stderr] | |_--^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> gesh-geshl/src/parser.rs:96:1 [INFO] [stderr] | [INFO] [stderr] 96 | / /// Parses a string "piece". [INFO] [stderr] 97 | | /// [INFO] [stderr] 98 | | /// A piece could be a path, a glob, an unquoted string, an interpolated string, and so on. [INFO] [stderr] 99 | | /// [INFO] [stderr] | |_--^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> gesh-geshl/src/parser.rs:114:1 [INFO] [stderr] | [INFO] [stderr] 114 | / /// Parses a glob [INFO] [stderr] 115 | | /// [INFO] [stderr] 116 | | /// A piece could be a path, a glob, an unquoted string, an interpolated string, and so on. [INFO] [stderr] 117 | | /// [INFO] [stderr] | |_--^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> gesh-geshl/src/parser.rs:133:1 [INFO] [stderr] | [INFO] [stderr] 133 | / /// Parses a path-like component. [INFO] [stderr] 134 | | /// [INFO] [stderr] 135 | | /// ## Examples [INFO] [stderr] 136 | | /// [INFO] [stderr] ... | [INFO] [stderr] 142 | | /// - `~/home/directory` [INFO] [stderr] 143 | | /// [INFO] [stderr] | |_--^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> gesh-geshl/src/parser.rs:167:1 [INFO] [stderr] | [INFO] [stderr] 167 | / /// Parses an interpolated string from the command line. [INFO] [stderr] 168 | | /// [INFO] [stderr] 169 | | /// ## Examples [INFO] [stderr] 170 | | /// [INFO] [stderr] 171 | | /// - `"just some text"` [INFO] [stderr] 172 | | /// - `"some text with an ${ENVVAR} interpolated"` [INFO] [stderr] 173 | | /// [INFO] [stderr] | |_--^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> gesh-geshl/src/parser.rs:186:1 [INFO] [stderr] | [INFO] [stderr] 186 | / /// Parses an environment variable interpolation. [INFO] [stderr] 187 | | /// [INFO] [stderr] 188 | | /// ## Examples [INFO] [stderr] 189 | | /// [INFO] [stderr] 190 | | /// - `${HOME}` [INFO] [stderr] 191 | | /// - `${SOME_DIR}` [INFO] [stderr] 192 | | /// [INFO] [stderr] | |_--^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> gesh-geshl/src/parser.rs:232:1 [INFO] [stderr] | [INFO] [stderr] 232 | / /// Parses regular text inside of an interpolated string. [INFO] [stderr] 233 | | /// [INFO] [stderr] 234 | | /// Some characters can be escaped with a backslash. [INFO] [stderr] 235 | | /// - `\n` becomes a newline [INFO] [stderr] ... | [INFO] [stderr] 247 | | /// - `C:\\Windows\\System\\folder` [INFO] [stderr] 248 | | /// [INFO] [stderr] | |_--^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> gesh-geshl/src/parser.rs:268:1 [INFO] [stderr] | [INFO] [stderr] 268 | / /// Parses an uninterpolated string from the command line. [INFO] [stderr] 269 | | /// [INFO] [stderr] 270 | | /// Some characters can be escaped with a backslash: [INFO] [stderr] 271 | | /// - `\\` becomes a backslash [INFO] [stderr] ... | [INFO] [stderr] 278 | | /// - `'This isn't a newline, just a backslash and an n: \n'` [INFO] [stderr] 279 | | /// [INFO] [stderr] | |_--^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> gesh-geshl/src/parser.rs:224:12 [INFO] [stderr] | [INFO] [stderr] 224 | 'a'...'z' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> gesh-geshl/src/parser.rs:225:12 [INFO] [stderr] | [INFO] [stderr] 225 | 'A'...'Z' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> gesh-geshl/src/parser.rs:226:12 [INFO] [stderr] | [INFO] [stderr] 226 | '0'...'9' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> gesh-geshl/src/parser.rs:315:12 [INFO] [stderr] | [INFO] [stderr] 315 | 'a'...'z' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> gesh-geshl/src/parser.rs:316:12 [INFO] [stderr] | [INFO] [stderr] 316 | 'A'...'Z' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> gesh-geshl/src/parser.rs:317:12 [INFO] [stderr] | [INFO] [stderr] 317 | '0'...'9' => true, [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `geshl` (lib) generated 17 warnings (run `cargo fix --lib -p geshl` to apply 6 suggestions) [INFO] [stderr] warning: unexpected `cfg` condition name: `target_famlily` [INFO] [stderr] --> src/command/registry.rs:104:11 [INFO] [stderr] | [INFO] [stderr] 104 | #[cfg(target_famlily = "unix")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_famlily, values("unix"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_famlily, values(\"unix\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] help: there is a config with a similar name and value [INFO] [stderr] | [INFO] [stderr] 104 - #[cfg(target_famlily = "unix")] [INFO] [stderr] 104 + #[cfg(target_family = "unix")] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `target_famlily` [INFO] [stderr] --> src/command/registry.rs:112:11 [INFO] [stderr] | [INFO] [stderr] 112 | #[cfg(target_famlily = "unix")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_famlily, values("unix"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_famlily, values(\"unix\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] help: there is a config with a similar name and value [INFO] [stderr] | [INFO] [stderr] 112 - #[cfg(target_famlily = "unix")] [INFO] [stderr] 112 + #[cfg(target_family = "unix")] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `target_famlily` [INFO] [stderr] --> src/command/registry.rs:120:11 [INFO] [stderr] | [INFO] [stderr] 120 | #[cfg(target_famlily = "unix")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_famlily, values("unix"))'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_famlily, values(\"unix\"))");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] help: there is a config with a similar name and value [INFO] [stderr] | [INFO] [stderr] 120 - #[cfg(target_famlily = "unix")] [INFO] [stderr] 120 + #[cfg(target_family = "unix")] [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `builtin::*` [INFO] [stderr] --> src/command/mod.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | builtin::*, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/prompt/mod.rs:44:30 [INFO] [stderr] | [INFO] [stderr] 44 | fn set_prompt(&mut self, String); [INFO] [stderr] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: String` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/prompt/mod.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | Io(io::Error), [INFO] [stderr] | -- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 21 - Io(io::Error), [INFO] [stderr] 21 + Io(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/shell.rs:49:18 [INFO] [stderr] | [INFO] [stderr] 49 | CommandError(command::Error), [INFO] [stderr] | ------------ ^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 49 - CommandError(command::Error), [INFO] [stderr] 49 + CommandError(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/shell.rs:50:14 [INFO] [stderr] | [INFO] [stderr] 50 | VarError(env::VarError), [INFO] [stderr] | -------- ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 50 - VarError(env::VarError), [INFO] [stderr] 50 + VarError(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/shell.rs:52:17 [INFO] [stderr] | [INFO] [stderr] 52 | PromptError(prompt::Error), [INFO] [stderr] | ----------- ^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 52 - PromptError(prompt::Error), [INFO] [stderr] 52 + PromptError(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::os::unix::process::CommandExt::exec` that must be used [INFO] [stderr] --> src/command/builtin/exec.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | / process::Command::new(path) [INFO] [stderr] 24 | | .args(args.iter().skip(1)) [INFO] [stderr] 25 | | .envs(env.exported_vars()) [INFO] [stderr] 26 | | .current_dir(env.working_directory()) [INFO] [stderr] 27 | | .exec(); [INFO] [stderr] | |_______________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 23 | let _ = process::Command::new(path) [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `gesh` (bin "gesh" test) generated 10 warnings (run `cargo fix --bin "gesh" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0, nom v4.0.0 [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/debug/deps/gesh-14370577fbfd404b) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test command::builtin::cd::tests::test_cd_returns_error_when_too_many_arguments ... ok [INFO] [stdout] test command::builtin::cd::tests::test_cd_switches_to_home_dir_with_no_arguments ... ok [INFO] [stdout] test command::builtin::exit::tests::test_exit_returns_error_with_too_many_arguments ... ok [INFO] [stdout] test command::builtin::exit::tests::test_exit_returns_exit_with_given_status ... ok [INFO] [stdout] test command::builtin::exit::tests::test_exit_returns_nonzero_exit_status_with_non_integral_argument ... ok [INFO] [stdout] test command::builtin::exit::tests::test_exit_returns_zero_exit_status_with_no_arguments ... ok [INFO] [stdout] test command::builtin::export::tests::test_export_prints_all_exported_vars_with_no_arguments ... ok [INFO] [stdout] test command::builtin::popd::tests::test_popd_changes_working_directory_to_top_of_stack ... ok [INFO] [stdout] test command::builtin::export::tests::test_export_exports_all_vars_given_as_arguments ... ok [INFO] [stdout] test command::builtin::popd::tests::test_popd_returns_error_if_nothing_on_stack ... ok [INFO] [stdout] test command::builtin::popd::tests::test_popd_returns_error_with_wrong_number_of_arguments ... ok [INFO] [stdout] test command::builtin::pushd::tests::test_pushd_adds_given_directory_to_stack ... ok [INFO] [stdout] test command::builtin::pushd::tests::test_pushd_returns_error_with_too_many_arguments ... ok [INFO] [stdout] test environment::tests::test_export_moves_variable_to_exported_variables ... ok [INFO] [stdout] test environment::tests::test_new_uses_vars_from_given_map ... ok [INFO] [stdout] test strings::tests::test_adding_shellstrings_concatenates ... ok [INFO] [stdout] test environment::tests::test_push_and_pop ... ok [INFO] [stdout] test command::builtin::cd::tests::test_cd_switches_to_canonical_form_of_given_directory ... ok [INFO] [stdout] test strings::tests::test_to_string_returns_empty_string_when_var_doesnt_exist ... ok [INFO] [stdout] test strings::tests::test_to_string_returns_string_when_var_exists ... ok [INFO] [stdout] test strings::tests::test_to_string_vec_returns_paths_when_globbed ... ok [INFO] [stdout] test strings::tests::test_has_glob_false_with_globs ... ok [INFO] [stdout] test strings::tests::test_has_glob_false_with_no_globs ... ok [INFO] [stdout] test strings::tests::test_to_string_vec_returns_vec_of_strings ... ok [INFO] [stdout] test command::builtin::cd::tests::test_cd_returns_error_when_path_doesnt_exist ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "99a02c647232629fc6b47784679e1c8ffd700291e1d839d56375c360d28aad1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99a02c647232629fc6b47784679e1c8ffd700291e1d839d56375c360d28aad1d", kill_on_drop: false }` [INFO] [stdout] 99a02c647232629fc6b47784679e1c8ffd700291e1d839d56375c360d28aad1d