[INFO] cloning repository https://github.com/jinyuanZhou-Leo/jsh
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jinyuanZhou-Leo/jsh" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjinyuanZhou-Leo%2Fjsh"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjinyuanZhou-Leo%2Fjsh'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 66cdd338ee8a77228f12ca8548fb8daf7af20075
[INFO] testing jinyuanZhou-Leo/jsh against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjinyuanZhou-Leo%2Fjsh" "/workspace/builds/worker-2-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jinyuanZhou-Leo/jsh
[INFO] finished tweaking git repo https://github.com/jinyuanZhou-Leo/jsh
[INFO] tweaked toml for git repo https://github.com/jinyuanZhou-Leo/jsh written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jinyuanZhou-Leo/jsh on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/jinyuanZhou-Leo/jsh already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 783826ab93149eab2b081bc340ad5b86ace5aa120f04e336eec7e8a144626def
[INFO] running `"docker" "start" "783826ab93149eab2b081bc340ad5b86ace5aa120f04e336eec7e8a144626def"`
[INFO] running `"docker" "inspect" "783826ab93149eab2b081bc340ad5b86ace5aa120f04e336eec7e8a144626def"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "783826ab93149eab2b081bc340ad5b86ace5aa120f04e336eec7e8a144626def" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "783826ab93149eab2b081bc340ad5b86ace5aa120f04e336eec7e8a144626def"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "783826ab93149eab2b081bc340ad5b86ace5aa120f04e336eec7e8a144626def" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling nix v0.31.3
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling nibble_vec v0.1.0
[INFO] [stderr]    Compiling endian-type v0.2.0
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling home v0.5.12
[INFO] [stderr]    Compiling log v0.4.33
[INFO] [stderr]    Compiling unicode-segmentation v1.13.3
[INFO] [stderr]    Compiling bytes v1.7.1
[INFO] [stderr]    Compiling is_executable v1.0.6
[INFO] [stderr]    Compiling radix_trie v0.3.0
[INFO] [stderr]    Compiling syn v2.0.75
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling rustyline v18.0.1
[INFO] [stderr]    Compiling jsh v0.6.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `SaveHistory` is never constructed
[INFO] [stdout]    --> src/main.rs:179:5
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub(crate) enum ReplError {
[INFO] [stdout]     |                 --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 179 |     SaveHistory(#[source] ReadlineError),
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ReplError` 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] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `stdin` is never read
[INFO] [stdout]   --> src/builtin/mod.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub(crate) struct BuiltinIo<'io> {
[INFO] [stdout]    |                   --------- field in this struct
[INFO] [stdout] 28 |     stdin: &'io mut dyn Read,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `stdin` is never used
[INFO] [stdout]   --> src/builtin/mod.rs:62:19
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl<'io> BuiltinIo<'io> {
[INFO] [stdout]    | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub(crate) fn stdin(&mut self) -> &mut (dyn Read + '_) {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `env` is never read
[INFO] [stdout]   --> src/expander.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub(crate) struct Expander<'env> {
[INFO] [stdout]    |                   -------- field in this struct
[INFO] [stdout] 27 |     env: &'env HashMap<String, String>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `loaded_command` is never read
[INFO] [stdout]   --> src/external.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub(crate) struct CommandLoader {
[INFO] [stdout]    |                   ------------- field in this struct
[INFO] [stdout] 10 |     dirs: Vec<PathBuf>,
[INFO] [stdout] 11 |     loaded_command: HashMap<String, PathBuf>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UnexpectedError` is never constructed
[INFO] [stdout]    --> src/lexer.rs:532:5
[INFO] [stdout]     |
[INFO] [stdout] 517 | pub(crate) enum LexerError {
[INFO] [stdout]     |                 ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 532 |     UnexpectedError(String),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `LexerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UnexpectedError` is never constructed
[INFO] [stdout]    --> src/parser.rs:117:5
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub(crate) enum ParserError {
[INFO] [stdout]     |                 ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 117 |     UnexpectedError,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `bytes`
[INFO] [stderr]  --> Cargo.toml:2:1
[INFO] [stderr]   |
[INFO] [stderr] 2 | bytes = "1.3.0"
[INFO] [stderr]   | ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `bytes`
[INFO] [stderr] warning: `jsh` (manifest) generated 1 warning
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 11.58s
[INFO] running `"docker" "inspect" "783826ab93149eab2b081bc340ad5b86ace5aa120f04e336eec7e8a144626def"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "783826ab93149eab2b081bc340ad5b86ace5aa120f04e336eec7e8a144626def" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling jsh v0.6.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variant `SaveHistory` is never constructed
[INFO] [stdout]    --> src/main.rs:179:5
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub(crate) enum ReplError {
[INFO] [stdout]     |                 --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 179 |     SaveHistory(#[source] ReadlineError),
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ReplError` 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] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `stdin` is never read
[INFO] [stdout]   --> src/builtin/mod.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub(crate) struct BuiltinIo<'io> {
[INFO] [stdout]    |                   --------- field in this struct
[INFO] [stdout] 28 |     stdin: &'io mut dyn Read,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `stdin` is never used
[INFO] [stdout]   --> src/builtin/mod.rs:62:19
[INFO] [stdout]    |
[INFO] [stdout] 33 | impl<'io> BuiltinIo<'io> {
[INFO] [stdout]    | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub(crate) fn stdin(&mut self) -> &mut (dyn Read + '_) {
[INFO] [stdout]    |                   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `env` is never read
[INFO] [stdout]   --> src/expander.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub(crate) struct Expander<'env> {
[INFO] [stdout]    |                   -------- field in this struct
[INFO] [stdout] 27 |     env: &'env HashMap<String, String>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `loaded_command` is never read
[INFO] [stdout]   --> src/external.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub(crate) struct CommandLoader {
[INFO] [stdout]    |                   ------------- field in this struct
[INFO] [stdout] 10 |     dirs: Vec<PathBuf>,
[INFO] [stdout] 11 |     loaded_command: HashMap<String, PathBuf>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UnexpectedError` is never constructed
[INFO] [stdout]    --> src/lexer.rs:532:5
[INFO] [stdout]     |
[INFO] [stdout] 517 | pub(crate) enum LexerError {
[INFO] [stdout]     |                 ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 532 |     UnexpectedError(String),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `LexerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UnexpectedError` is never constructed
[INFO] [stdout]    --> src/parser.rs:117:5
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub(crate) enum ParserError {
[INFO] [stdout]     |                 ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 117 |     UnexpectedError,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `SaveHistory` is never constructed
[INFO] [stdout]    --> src/main.rs:179:5
[INFO] [stdout]     |
[INFO] [stdout] 165 | pub(crate) enum ReplError {
[INFO] [stdout]     |                 --------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 179 |     SaveHistory(#[source] ReadlineError),
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ReplError` 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] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `env` is never read
[INFO] [stdout]   --> src/expander.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub(crate) struct Expander<'env> {
[INFO] [stdout]    |                   -------- field in this struct
[INFO] [stdout] 27 |     env: &'env HashMap<String, String>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `loaded_command` is never read
[INFO] [stdout]   --> src/external.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub(crate) struct CommandLoader {
[INFO] [stdout]    |                   ------------- field in this struct
[INFO] [stdout] 10 |     dirs: Vec<PathBuf>,
[INFO] [stdout] 11 |     loaded_command: HashMap<String, PathBuf>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UnexpectedError` is never constructed
[INFO] [stdout]    --> src/lexer.rs:532:5
[INFO] [stdout]     |
[INFO] [stdout] 517 | pub(crate) enum LexerError {
[INFO] [stdout]     |                 ---------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 532 |     UnexpectedError(String),
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `LexerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UnexpectedError` is never constructed
[INFO] [stdout]    --> src/parser.rs:117:5
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub(crate) enum ParserError {
[INFO] [stdout]     |                 ----------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 117 |     UnexpectedError,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `bytes`
[INFO] [stderr]  --> Cargo.toml:2:1
[INFO] [stderr]   |
[INFO] [stderr] 2 | bytes = "1.3.0"
[INFO] [stderr]   | ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `bytes`
[INFO] [stderr] warning: `jsh` (manifest) generated 1 warning
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 4.31s
[INFO] running `"docker" "inspect" "783826ab93149eab2b081bc340ad5b86ace5aa120f04e336eec7e8a144626def"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "783826ab93149eab2b081bc340ad5b86ace5aa120f04e336eec7e8a144626def" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"`
[INFO] [stderr] warning: variant `SaveHistory` is never constructed
[INFO] [stderr]    --> src/main.rs:179:5
[INFO] [stderr]     |
[INFO] [stderr] 165 | pub(crate) enum ReplError {
[INFO] [stderr]     |                 --------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 179 |     SaveHistory(#[source] ReadlineError),
[INFO] [stderr]     |     ^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `ReplError` 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] 
[INFO] [stderr] warning: field `stdin` is never read
[INFO] [stderr]   --> src/builtin/mod.rs:28:5
[INFO] [stderr]    |
[INFO] [stderr] 27 | pub(crate) struct BuiltinIo<'io> {
[INFO] [stderr]    |                   --------- field in this struct
[INFO] [stderr] 28 |     stdin: &'io mut dyn Read,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `stdin` is never used
[INFO] [stderr]   --> src/builtin/mod.rs:62:19
[INFO] [stderr]    |
[INFO] [stderr] 33 | impl<'io> BuiltinIo<'io> {
[INFO] [stderr]    | ------------------------ method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 62 |     pub(crate) fn stdin(&mut self) -> &mut (dyn Read + '_) {
[INFO] [stderr]    |                   ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `env` is never read
[INFO] [stderr]   --> src/expander.rs:27:5
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub(crate) struct Expander<'env> {
[INFO] [stderr]    |                   -------- field in this struct
[INFO] [stderr] 27 |     env: &'env HashMap<String, String>,
[INFO] [stderr]    |     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `loaded_command` is never read
[INFO] [stderr]   --> src/external.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr]  9 | pub(crate) struct CommandLoader {
[INFO] [stderr]    |                   ------------- field in this struct
[INFO] [stderr] 10 |     dirs: Vec<PathBuf>,
[INFO] [stderr] 11 |     loaded_command: HashMap<String, PathBuf>,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `UnexpectedError` is never constructed
[INFO] [stderr]    --> src/lexer.rs:532:5
[INFO] [stderr]     |
[INFO] [stderr] 517 | pub(crate) enum LexerError {
[INFO] [stderr]     |                 ---------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 532 |     UnexpectedError(String),
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `LexerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: variant `UnexpectedError` is never constructed
[INFO] [stderr]    --> src/parser.rs:117:5
[INFO] [stderr]     |
[INFO] [stderr] 103 | pub(crate) enum ParserError {
[INFO] [stderr]     |                 ----------- variant in this enum
[INFO] [stderr] ...
[INFO] [stderr] 117 |     UnexpectedError,
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `ParserError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `jsh` (bin "jsh") generated 7 warnings
[INFO] [stderr] warning: `jsh` (bin "jsh" test) generated 5 warnings (5 duplicates)
[INFO] [stderr] warning: unused dependency `bytes`
[INFO] [stderr]  --> Cargo.toml:2:1
[INFO] [stderr]   |
[INFO] [stderr] 2 | bytes = "1.3.0"
[INFO] [stderr]   | ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `bytes`
[INFO] [stderr] warning: `jsh` (manifest) generated 1 warning
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/jsh/e5afde9b57d256fd/out/jsh-e5afde9b57d256fd)
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/build/jsh/41fb1a24c0b70c2f/out/jsh-41fb1a24c0b70c2f)
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 56 tests
[INFO] [stdout] test builtin::type_command::tests::missing_command_returns_failure_status ... ok
[INFO] [stdout] test executor::tests::and_if_executes_the_right_side_only_after_success ... ok
[INFO] [stdout] test executor::tests::executes_a_builtin_with_output_redirection ... ok
[INFO] [stdout] test executor::tests::missing_input_file_reports_the_resolved_target_path ... ok
[INFO] [stdout] test executor::tests::command_not_found_uses_status_127_and_obeys_stderr_redirection ... ok
[INFO] [stdout] test executor::tests::or_if_executes_the_right_side_only_after_failure ... ok
[INFO] [stdout] test executor::tests::noninteractive_pipeline_keeps_inherited_group_out_of_cleanup ... ok
[INFO] [stdout] test executor::tests::absolute_executable_path_runs_from_another_shell_cwd ... ok
[INFO] [stdout] test executor::tests::later_launch_error_terminates_noninteractive_children ... ok
[INFO] [stdout] test executor::tests::output_append_preserves_existing_content ... ok
[INFO] [stdout] test executor::tests::rejects_an_unsupported_redirection_without_creating_the_target ... ok
[INFO] [stdout] test executor::tests::builtin_io_contract_is_identical_in_parent_and_pipeline_child ... ok
[INFO] [stdout] test expander::tests::does_not_expand_a_quoted_or_non_initial_tilde ... ok
[INFO] [stdout] test expander::tests::expands_all_word_parts_in_order ... ok
[INFO] [stdout] test expander::tests::expands_only_the_leading_tilde ... ok
[INFO] [stdout] test expander::tests::expands_tilde_only_at_the_start_of_the_first_unquoted_part ... ok
[INFO] [stdout] test job_control::tests::job_is_stopped_only_after_every_live_process_stops ... ok
[INFO] [stdout] test job_control::tests::pipeline_status_comes_from_the_last_stage ... ok
[INFO] [stdout] test job_control::tests::snapshots_do_not_consume_completion_notifications ... ok
[INFO] [stdout] test lexer::tests::cannot_pop_the_normal_base_state ... ok
[INFO] [stdout] test expander::tests::rejects_a_non_numeric_file_descriptor_after_expansion ... ok
[INFO] [stdout] test lexer::tests::a_quoted_number_before_redirect_is_a_word ... ok
[INFO] [stdout] test expander::tests::expands_command_arguments_and_redirection_operands ... ok
[INFO] [stdout] test expander::tests::resolves_redirection_operands_according_to_the_operator ... ok
[INFO] [stdout] test lexer::tests::keeps_file_descriptor_duplication_rhs_as_a_word ... ok
[INFO] [stdout] test lexer::tests::lexes_redirections_io_numbers_and_and_if ... ok
[INFO] [stdout] test lexer::tests::lexes_word_parts_without_losing_quote_boundaries ... ok
[INFO] [stdout] test lexer::tests::closing_a_quote_keeps_the_normal_base_state ... ok
[INFO] [stdout] test lexer::tests::reports_incomplete_constructs_and_unsupported_operators ... ok
[INFO] [stdout] test executor::tests::launch_cleanup_kills_a_child_that_ignores_sigterm ... ok
[INFO] [stdout] test parser::tests::formats_job_text_without_ast_debug_syntax ... ok
[INFO] [stdout] test parser::tests::keeps_redirection_operand_unexpanded ... ok
[INFO] [stdout] test parser::tests::parses_and_if_left_associatively ... ok
[INFO] [stdout] test parser::tests::parses_command_arguments_and_ordered_redirections ... ok
[INFO] [stdout] test parser::tests::parses_empty_input_as_no_ast ... ok
[INFO] [stdout] test parser::tests::parses_or_if_left_associatively ... ok
[INFO] [stdout] test parser::tests::parses_pipeline_commands_in_order ... ok
[INFO] [stdout] test parser::tests::permits_a_redirection_only_command ... ok
[INFO] [stdout] test parser::tests::rejects_incomplete_redirections ... ok
[INFO] [stdout] test parser::tests::rejects_missing_commands_around_and_if ... ok
[INFO] [stdout] test lexer::tests::reports_an_io_number_that_does_not_fit_i32 ... ok
[INFO] [stdout] test parser::tests::pipeline_binds_tighter_than_and_or ... ok
[INFO] [stdout] test lexer::tests::state_manager_rejects_pushing_another_base_state ... ok
[INFO] [stdout] test parser::tests::parses_background_commands_in_a_sequence ... ok
[INFO] [stdout] test parser::tests::rejects_missing_commands_around_or_if ... ok
[INFO] [stdout] test job_control::tests::waiting_consumes_process_and_preserves_last_stage_status ... ok
[INFO] [stdout] test parser::tests::rejects_missing_commands_around_pipeline ... ok
[INFO] [stdout] test lexer::tests::closing_quotes_does_not_fail_lexing ... ok
[INFO] [stdout] test executor::tests::relative_path_dir_is_resolved_against_the_shell_current_dir ... ok
[INFO] [stdout] test lexer::tests::double_quotes_only_escape_supported_characters ... ok
[INFO] [stdout] test executor::tests::pipeline_passes_output_to_the_next_stage ... ok
[INFO] [stdout] test executor::tests::relative_executable_is_resolved_against_the_shell_cwd_after_cd ... ok
[INFO] [stdout] test executor::tests::launch_failure_status_and_redirection_match_for_single_and_pipeline_commands ... ok
[INFO] [stdout] test executor::tests::command_redirection_overrides_the_pipeline_output ... ok
[INFO] [stdout] test executor::tests::pipeline_returns_the_last_stage_status ... ok
[INFO] [stderr]      Running tests/executor_pipeline.rs (/opt/rustwide/target/release/build/jsh/cc3e754011a4f056/out/executor_pipeline-cc3e754011a4f056)
[INFO] [stdout] test executor::tests::later_stage_redirection_failure_does_not_leave_a_running_child ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 56 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 7 tests
[INFO] [stdout] test builtin_pipeline_does_not_reexec_the_shell_binary ... FAILED
[INFO] [stdout] test diagnostic_failure_after_launch_keeps_shell_responsive ... ok
[INFO] [stdout] test builtin_pipeline_uses_the_shell_current_directory ... FAILED
[INFO] [stdout] test redirected_missing_command_does_not_feed_pipeline_stdout ... ok
[INFO] [stdout] test builtin_output_flows_through_an_external_pipeline_stage ... FAILED
[INFO] [stdout] test builtin_closes_unrelated_pipe_fds_before_writing ... FAILED
[INFO] [stdout] test large_missing_command_diagnostic_waits_until_consumer_is_started ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- builtin_pipeline_does_not_reexec_the_shell_binary stdout ----
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--test executor_pipeline`
[INFO] [stdout] thread 'builtin_pipeline_does_not_reexec_the_shell_binary' (638) panicked at tests/executor_pipeline.rs:116:5:
[INFO] [stdout] builtin should execute without re-execing jsh: "fork-direct\n"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5eea563d7291 - <<std[218a0f7bb9a8af32]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[5c14b8d5a259cc4e]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5eea563ec0da - core[5c14b8d5a259cc4e]::fmt::write
[INFO] [stdout]    2:     0x5eea563dbc5c - <alloc[f65cf102c2e86268]::vec::Vec<u8> as core[5c14b8d5a259cc4e]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x5eea563b0f16 - std[218a0f7bb9a8af32]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5eea563cda99 - std[218a0f7bb9a8af32]::panicking::default_hook
[INFO] [stdout]    5:     0x5eea56369200 - test[2df5162924bba3e2]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x5eea563cdc52 - std[218a0f7bb9a8af32]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5eea563b0fc2 - std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5eea563a92b9 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_end_short_backtrace::<std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x5eea563b1c8d - __rustc[abc93889656912e2]::rust_begin_unwind
[INFO] [stdout]   10:     0x5eea563ecdec - core[5c14b8d5a259cc4e]::panicking::panic_fmt
[INFO] [stdout]   11:     0x5eea56358de8 - <executor_pipeline[bf63f81465e201b2]::builtin_pipeline_does_not_reexec_the_shell_binary::{closure#0} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   12:     0x5eea5635c06b - test[2df5162924bba3e2]::__rust_begin_short_backtrace::<core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>, fn() -> core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>>
[INFO] [stdout]   13:     0x5eea56369825 - test[2df5162924bba3e2]::run_test::{closure#0}
[INFO] [stdout]   14:     0x5eea56362c74 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_begin_short_backtrace::<test[2df5162924bba3e2]::run_test::{closure#1}, ()>
[INFO] [stdout]   15:     0x5eea5636c7b2 - <std[218a0f7bb9a8af32]::thread::lifecycle::spawn_unchecked<test[2df5162924bba3e2]::run_test::{closure#1}, ()>::{closure#1} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   16:     0x5eea563d652f - <std[218a0f7bb9a8af32]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   17:     0x7361d09d9dfa - <unknown>
[INFO] [stdout]   18:     0x7361d0a6d3d4 - clone
[INFO] [stdout]   19:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- builtin_pipeline_uses_the_shell_current_directory stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'builtin_pipeline_uses_the_shell_current_directory' (639) panicked at tests/executor_pipeline.rs:65:5:
[INFO] [stdout] builtin pipeline should use the shell current directory: "/tmp\n"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5eea563d7291 - <<std[218a0f7bb9a8af32]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[5c14b8d5a259cc4e]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5eea563ec0da - core[5c14b8d5a259cc4e]::fmt::write
[INFO] [stdout]    2:     0x5eea563dbc5c - <alloc[f65cf102c2e86268]::vec::Vec<u8> as core[5c14b8d5a259cc4e]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x5eea563b0f16 - std[218a0f7bb9a8af32]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5eea563cda99 - std[218a0f7bb9a8af32]::panicking::default_hook
[INFO] [stdout]    5:     0x5eea56369200 - test[2df5162924bba3e2]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x5eea563cdc52 - std[218a0f7bb9a8af32]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5eea563b0fc2 - std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5eea563a92b9 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_end_short_backtrace::<std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x5eea563b1c8d - __rustc[abc93889656912e2]::rust_begin_unwind
[INFO] [stdout]   10:     0x5eea563ecdec - core[5c14b8d5a259cc4e]::panicking::panic_fmt
[INFO] [stdout]   11:     0x5eea5635972b - <executor_pipeline[bf63f81465e201b2]::builtin_pipeline_uses_the_shell_current_directory::{closure#0} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   12:     0x5eea5635c06b - test[2df5162924bba3e2]::__rust_begin_short_backtrace::<core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>, fn() -> core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>>
[INFO] [stdout]   13:     0x5eea56369825 - test[2df5162924bba3e2]::run_test::{closure#0}
[INFO] [stdout]   14:     0x5eea56362c74 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_begin_short_backtrace::<test[2df5162924bba3e2]::run_test::{closure#1}, ()>
[INFO] [stdout]   15:     0x5eea5636c7b2 - <std[218a0f7bb9a8af32]::thread::lifecycle::spawn_unchecked<test[2df5162924bba3e2]::run_test::{closure#1}, ()>::{closure#1} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   16:     0x5eea563d652f - <std[218a0f7bb9a8af32]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   17:     0x7361d09d9dfa - <unknown>
[INFO] [stdout]   18:     0x7361d0a6d3d4 - clone
[INFO] [stdout]   19:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- builtin_output_flows_through_an_external_pipeline_stage stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'builtin_output_flows_through_an_external_pipeline_stage' (637) panicked at tests/executor_pipeline.rs:31:5:
[INFO] [stdout] builtin output should reach the external pipeline stage: "builtin-pipeline-output\n"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5eea563d7291 - <<std[218a0f7bb9a8af32]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[5c14b8d5a259cc4e]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5eea563ec0da - core[5c14b8d5a259cc4e]::fmt::write
[INFO] [stdout]    2:     0x5eea563dbc5c - <alloc[f65cf102c2e86268]::vec::Vec<u8> as core[5c14b8d5a259cc4e]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x5eea563b0f16 - std[218a0f7bb9a8af32]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5eea563cda99 - std[218a0f7bb9a8af32]::panicking::default_hook
[INFO] [stdout]    5:     0x5eea56369200 - test[2df5162924bba3e2]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x5eea563cdc52 - std[218a0f7bb9a8af32]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5eea563b0fc2 - std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5eea563a92b9 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_end_short_backtrace::<std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x5eea563b1c8d - __rustc[abc93889656912e2]::rust_begin_unwind
[INFO] [stdout]   10:     0x5eea563ecdec - core[5c14b8d5a259cc4e]::panicking::panic_fmt
[INFO] [stdout]   11:     0x5eea56359fa8 - <executor_pipeline[bf63f81465e201b2]::builtin_output_flows_through_an_external_pipeline_stage::{closure#0} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   12:     0x5eea5635c06b - test[2df5162924bba3e2]::__rust_begin_short_backtrace::<core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>, fn() -> core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>>
[INFO] [stdout]   13:     0x5eea56369825 - test[2df5162924bba3e2]::run_test::{closure#0}
[INFO] [stdout]   14:     0x5eea56362c74 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_begin_short_backtrace::<test[2df5162924bba3e2]::run_test::{closure#1}, ()>
[INFO] [stdout]   15:     0x5eea5636c7b2 - <std[218a0f7bb9a8af32]::thread::lifecycle::spawn_unchecked<test[2df5162924bba3e2]::run_test::{closure#1}, ()>::{closure#1} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   16:     0x5eea563d652f - <std[218a0f7bb9a8af32]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   17:     0x7361d09d9dfa - <unknown>
[INFO] [stdout]   18:     0x7361d0a6d3d4 - clone
[INFO] [stdout]   19:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- builtin_closes_unrelated_pipe_fds_before_writing stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'builtin_closes_unrelated_pipe_fds_before_writing' (636) panicked at tests/executor_pipeline.rs:172:5:
[INFO] [stdout] downstream stage output: "x"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5eea563d7291 - <<std[218a0f7bb9a8af32]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[5c14b8d5a259cc4e]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x5eea563ec0da - core[5c14b8d5a259cc4e]::fmt::write
[INFO] [stdout]    2:     0x5eea563dbc5c - <alloc[f65cf102c2e86268]::vec::Vec<u8> as core[5c14b8d5a259cc4e]::io::write::Write>::write_fmt
[INFO] [stdout]    3:     0x5eea563b0f16 - std[218a0f7bb9a8af32]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x5eea563cda99 - std[218a0f7bb9a8af32]::panicking::default_hook
[INFO] [stdout]    5:     0x5eea56369200 - test[2df5162924bba3e2]::test_main_inner::{closure#0}
[INFO] [stdout]    6:     0x5eea563cdc52 - std[218a0f7bb9a8af32]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x5eea563b0fc2 - std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x5eea563a92b9 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_end_short_backtrace::<std[218a0f7bb9a8af32]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x5eea563b1c8d - __rustc[abc93889656912e2]::rust_begin_unwind
[INFO] [stdout]   10:     0x5eea563ecdec - core[5c14b8d5a259cc4e]::panicking::panic_fmt
[INFO] [stdout]   11:     0x5eea56358704 - <executor_pipeline[bf63f81465e201b2]::builtin_closes_unrelated_pipe_fds_before_writing::{closure#0} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   12:     0x5eea5635c06b - test[2df5162924bba3e2]::__rust_begin_short_backtrace::<core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>, fn() -> core[5c14b8d5a259cc4e]::result::Result<(), alloc[f65cf102c2e86268]::string::String>>
[INFO] [stdout]   13:     0x5eea56369825 - test[2df5162924bba3e2]::run_test::{closure#0}
[INFO] [stdout]   14:     0x5eea56362c74 - std[218a0f7bb9a8af32]::sys::backtrace::__rust_begin_short_backtrace::<test[2df5162924bba3e2]::run_test::{closure#1}, ()>
[INFO] [stdout]   15:     0x5eea5636c7b2 - <std[218a0f7bb9a8af32]::thread::lifecycle::spawn_unchecked<test[2df5162924bba3e2]::run_test::{closure#1}, ()>::{closure#1} as core[5c14b8d5a259cc4e]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   16:     0x5eea563d652f - <std[218a0f7bb9a8af32]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   17:     0x7361d09d9dfa - <unknown>
[INFO] [stdout]   18:     0x7361d0a6d3d4 - clone
[INFO] [stdout]   19:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     builtin_closes_unrelated_pipe_fds_before_writing
[INFO] [stdout]     builtin_output_flows_through_an_external_pipeline_stage
[INFO] [stdout]     builtin_pipeline_does_not_reexec_the_shell_binary
[INFO] [stdout]     builtin_pipeline_uses_the_shell_current_directory
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 3 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s
[INFO] [stdout] 
[INFO] running `"docker" "inspect" "783826ab93149eab2b081bc340ad5b86ace5aa120f04e336eec7e8a144626def"`
[INFO] running `"docker" "rm" "-f" "783826ab93149eab2b081bc340ad5b86ace5aa120f04e336eec7e8a144626def"`
[INFO] [stdout] 783826ab93149eab2b081bc340ad5b86ace5aa120f04e336eec7e8a144626def
