[INFO] fetching crate o-o 0.5.4... [INFO] testing o-o-0.5.4 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate o-o 0.5.4 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate o-o 0.5.4 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate o-o 0.5.4 [INFO] tweaked toml for crates.io crate o-o 0.5.4 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate o-o 0.5.4 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate o-o 0.5.4 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded os_pipe v1.2.1 [INFO] [stderr] Downloaded shared_child v1.0.2 [INFO] [stderr] Downloaded ng-clp v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d45618cda74d1335f0b10de6a8fdfff2c9b92ccbae8cd4ce06cf7f94b57d4d3c [INFO] running `Command { std: "docker" "start" "-a" "d45618cda74d1335f0b10de6a8fdfff2c9b92ccbae8cd4ce06cf7f94b57d4d3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d45618cda74d1335f0b10de6a8fdfff2c9b92ccbae8cd4ce06cf7f94b57d4d3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d45618cda74d1335f0b10de6a8fdfff2c9b92ccbae8cd4ce06cf7f94b57d4d3c", kill_on_drop: false }` [INFO] [stdout] d45618cda74d1335f0b10de6a8fdfff2c9b92ccbae8cd4ce06cf7f94b57d4d3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ef1544996826e9653586846b8b9adc323765d3e75b53993e2f2f1b855cb2554 [INFO] running `Command { std: "docker" "start" "-a" "9ef1544996826e9653586846b8b9adc323765d3e75b53993e2f2f1b855cb2554", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling shared_child v1.0.2 [INFO] [stderr] Compiling os_pipe v1.2.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling duct v0.13.7 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ng-clp v0.3.1 [INFO] [stderr] Compiling o-o v0.5.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.40s [INFO] running `Command { std: "docker" "inspect" "9ef1544996826e9653586846b8b9adc323765d3e75b53993e2f2f1b855cb2554", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ef1544996826e9653586846b8b9adc323765d3e75b53993e2f2f1b855cb2554", kill_on_drop: false }` [INFO] [stdout] 9ef1544996826e9653586846b8b9adc323765d3e75b53993e2f2f1b855cb2554 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69aae8f5c795697272cbbc5ba06f1a35f1608ea1d356ee1a252833319e16b147 [INFO] running `Command { std: "docker" "start" "-a" "69aae8f5c795697272cbbc5ba06f1a35f1608ea1d356ee1a252833319e16b147", kill_on_drop: false }` [INFO] [stderr] Compiling o-o v0.5.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "69aae8f5c795697272cbbc5ba06f1a35f1608ea1d356ee1a252833319e16b147", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69aae8f5c795697272cbbc5ba06f1a35f1608ea1d356ee1a252833319e16b147", kill_on_drop: false }` [INFO] [stdout] 69aae8f5c795697272cbbc5ba06f1a35f1608ea1d356ee1a252833319e16b147 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3ed1dd6f08667f3c6127571d0ff9035d76962b74cfc6906904bdcaba34a16eb0 [INFO] running `Command { std: "docker" "start" "-a" "3ed1dd6f08667f3c6127571d0ff9035d76962b74cfc6906904bdcaba34a16eb0", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/o_o-c0eabd1a73fa1203) [INFO] [stdout] [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/o_o-491fed1e2277cd6f) [INFO] [stdout] [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] [stderr] Running tests/executable-tests.rs (/opt/rustwide/target/debug/deps/executable_tests-e4cd961a05fcf3a9) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Blocking waiting for file lock on build directory [INFO] [stderr] Blocking waiting for file lock on build directory [INFO] [stdout] Run a sub-process and customize how it handles standard I/O. [INFO] [stderr] Running `/opt/rustwide/target/debug/o-o` [INFO] [stdout] [INFO] [stdout] Usage: [INFO] [stdout] o-o [options] [--] ... [INFO] [stdout] o-o --help [INFO] [stdout] o-o --version [INFO] [stdout] [INFO] [stdout] Options: [INFO] [stdout] File served as the standard input. Use `-` for no redirection. [INFO] [stdout] File served as the standard output. Use `-` for no redirection, `=` for the same file as the standard input, and `.` for /dev/null. [INFO] [stdout] File served as the standard error. Use `-` for no redirection, `=` for the same file as the standard output, and `.` for /dev/null. [INFO] [stdout] Prefix with `+` to append to the file (akin to the `>>` redirection in shell). [INFO] [stdout] -e VAR=VALUE Set environment variables. [INFO] [stdout] --pipe=STR, -p STR String for pipe to connect subprocesses (`|` in shell) [default: `I`]. [INFO] [stdout] --separator=STR, -s STR String for separator of command lines (`;` in shell) [default: `J`]. [INFO] [stdout] --tempdir-placeholder=STR, -t STR Placeholder string for temporary directory [default: `T`]. [INFO] [stdout] --force-overwrite, -F Overwrite the file even if subprocess fails (exit status != 0). Valid only when is `=`. [INFO] [stdout] --keep-going, -k Only effective when multiple command lines are chained with the separator. Even if one command line fails, subsequent command lines continue to be executed. [INFO] [stdout] --working-directory=DIR, -d DIR Working directory. [INFO] [stdout] --version, -V Version information. [INFO] [stdout] --help, -h Shows this help message. [INFO] [stdout] test executable_tests::run_simple ... ok [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running `/opt/rustwide/target/debug/o-o -d /tmp/.tmpgPS8z5 - - - ls --a-option-ls-must-not-have` [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running `/opt/rustwide/target/debug/o-o -d /tmp/.tmpjC62tX - +/tmp/.tmpjC62tX/out.txt - echo '1st line'` [INFO] [stderr] ls: unrecognized option '--a-option-ls-must-not-have' [INFO] [stderr] Try 'ls --help' for more information. [INFO] [stdout] test executable_tests::run_ls ... FAILED [INFO] [stdout] test executable_tests::run_ls_with_wrong_option ... ok [INFO] [stdout] test executable_tests::sub_oo_redirection ... FAILED [INFO] [stdout] test executable_tests::stdout_devnull ... ok [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running `/opt/rustwide/target/debug/o-o -d /tmp/.tmpjC62tX - +/tmp/.tmpjC62tX/out.txt - echo '2ne line'` [INFO] [stdout] test executable_tests::sink_to_stdin ... ok [INFO] [stderr] Blocking waiting for file lock on build directory [INFO] [stdout] test executable_tests::pipe_commands ... ok [INFO] [stdout] test executable_tests::append_to_output_file ... ok [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running `/opt/rustwide/target/debug/o-o -d /tmp/.tmpTB8Wut /tmp/.tmpTB8Wut/a.txt = - bash /tmp/.tmpTB8Wut/echo_and_fail.sh` [INFO] [stdout] test executable_tests::redirect_stderr_to_stdout ... ok [INFO] [stdout] test executable_tests::sequential_run_commands_sub_oo_invalid_option ... ok [INFO] [stdout] test executable_tests::process_which_fails ... ok [INFO] [stdout] test executable_tests::stderr_devnull ... ok [INFO] [stdout] test executable_tests::capture_stdout_and_stderr ... ok [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running `/opt/rustwide/target/debug/o-o -d /tmp/.tmpatm14H /tmp/.tmpatm14H/a.txt = - wc` [INFO] [stderr] Blocking waiting for file lock on build directory [INFO] [stdout] test executable_tests::overwrite_input_file ... ok [INFO] [stdout] test executable_tests::environment_variable ... ok [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] [stderr] Running `/opt/rustwide/target/debug/o-o -F -d /tmp/.tmpejHPAK /tmp/.tmpejHPAK/a.txt = - bash /tmp/.tmpejHPAK/echo_and_fail.sh` [INFO] [stdout] test executable_tests::sequential_run_commands ... ok [INFO] [stdout] test executable_tests::overwrite_with_process_which_fails ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- executable_tests::run_ls stdout ---- [INFO] [stdout] Error: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] [INFO] [stdout] ---- executable_tests::sub_oo_redirection stdout ---- [INFO] [stdout] Error: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] executable_tests::run_ls [INFO] [stdout] executable_tests::sub_oo_redirection [INFO] [stdout] [INFO] [stdout] test result: FAILED. 15 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.13s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test executable-tests` [INFO] running `Command { std: "docker" "inspect" "3ed1dd6f08667f3c6127571d0ff9035d76962b74cfc6906904bdcaba34a16eb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ed1dd6f08667f3c6127571d0ff9035d76962b74cfc6906904bdcaba34a16eb0", kill_on_drop: false }` [INFO] [stdout] 3ed1dd6f08667f3c6127571d0ff9035d76962b74cfc6906904bdcaba34a16eb0