[INFO] fetching crate o-o 0.5.4... [INFO] testing o-o-0.5.4 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate o-o 0.5.4 into /workspace/builds/worker-3-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate o-o 0.5.4 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de942b04dbdc26bf4fc8035f6dc1d98e7fe0d2fc56ca1d562482bc72419b2df7 [INFO] running `Command { std: "docker" "start" "-a" "de942b04dbdc26bf4fc8035f6dc1d98e7fe0d2fc56ca1d562482bc72419b2df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de942b04dbdc26bf4fc8035f6dc1d98e7fe0d2fc56ca1d562482bc72419b2df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de942b04dbdc26bf4fc8035f6dc1d98e7fe0d2fc56ca1d562482bc72419b2df7", kill_on_drop: false }` [INFO] [stdout] de942b04dbdc26bf4fc8035f6dc1d98e7fe0d2fc56ca1d562482bc72419b2df7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61f063ad60d0188ea4403bea19d64513be95f94bad99d79c2aed4b9eaebba04e [INFO] running `Command { std: "docker" "start" "-a" "61f063ad60d0188ea4403bea19d64513be95f94bad99d79c2aed4b9eaebba04e", 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 getrandom v0.3.3 [INFO] [stderr] Compiling os_pipe v1.2.1 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling duct v0.13.7 [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.32s [INFO] running `Command { std: "docker" "inspect" "61f063ad60d0188ea4403bea19d64513be95f94bad99d79c2aed4b9eaebba04e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61f063ad60d0188ea4403bea19d64513be95f94bad99d79c2aed4b9eaebba04e", kill_on_drop: false }` [INFO] [stdout] 61f063ad60d0188ea4403bea19d64513be95f94bad99d79c2aed4b9eaebba04e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 081c10f745440e49436d2f13ce8c76060dc7d9628f2fb969d55d4edf80c77b9f [INFO] running `Command { std: "docker" "start" "-a" "081c10f745440e49436d2f13ce8c76060dc7d9628f2fb969d55d4edf80c77b9f", 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.91s [INFO] running `Command { std: "docker" "inspect" "081c10f745440e49436d2f13ce8c76060dc7d9628f2fb969d55d4edf80c77b9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "081c10f745440e49436d2f13ce8c76060dc7d9628f2fb969d55d4edf80c77b9f", kill_on_drop: false }` [INFO] [stdout] 081c10f745440e49436d2f13ce8c76060dc7d9628f2fb969d55d4edf80c77b9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a7d44bf73cdddfbc2b93af2ad57a34115f7c482d7680f7cd9cd5cebae72b6a14 [INFO] running `Command { std: "docker" "start" "-a" "a7d44bf73cdddfbc2b93af2ad57a34115f7c482d7680f7cd9cd5cebae72b6a14", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [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] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/o_o-491fed1e2277cd6f) [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.08s [INFO] [stderr] Running `/opt/rustwide/target/debug/o-o -d /tmp/.tmp0DUtxg - - - ls --a-option-ls-must-not-have` [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] ls: unrecognized option '--a-option-ls-must-not-have' [INFO] [stderr] Try 'ls --help' for more information. [INFO] [stderr] Running `/opt/rustwide/target/debug/o-o -d /tmp/.tmpQZ5B9a - +/tmp/.tmpQZ5B9a/out.txt - echo '1st line'` [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running `/opt/rustwide/target/debug/o-o` [INFO] [stdout] Run a sub-process and customize how it handles standard I/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] [stdout] test executable_tests::sub_oo_redirection ... FAILED [INFO] [stdout] test executable_tests::run_ls ... FAILED [INFO] [stdout] test executable_tests::run_ls_with_wrong_option ... ok [INFO] [stdout] test executable_tests::stdout_devnull ... ok [INFO] [stderr] Blocking Blocking waiting for file lock on build directory [INFO] [stderr] waiting for file lock on build directory [INFO] [stdout] test executable_tests::sequential_run_commands ... ok [INFO] [stderr] Blocking waiting for file lock on build directory [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running `/opt/rustwide/target/debug/o-o -d /tmp/.tmpsvO4p5 /tmp/.tmpsvO4p5/a.txt = - wc` [INFO] [stdout] test executable_tests::sequential_run_commands_sub_oo_invalid_option ... ok [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running `/opt/rustwide/target/debug/o-o -d /tmp/.tmp2ZpFsT /tmp/.tmp2ZpFsT/a.txt = - bash /tmp/.tmp2ZpFsT/echo_and_fail.sh` [INFO] [stderr] bash: /tmp/.tmpS6s94c/echo_and_fail.sh: No such file or directory [INFO] [stdout] test executable_tests::process_which_fails ... ok [INFO] [stdout] test executable_tests::environment_variable ... ok [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stdout] test executable_tests::overwrite_input_file ... ok [INFO] [stderr] Running `/opt/rustwide/target/debug/o-o -F -d /tmp/.tmpKYUfkm /tmp/.tmpKYUfkm/a.txt = - bash /tmp/.tmpKYUfkm/echo_and_fail.sh` [INFO] [stderr] Blocking waiting for file lock on build directory [INFO] [stdout] test executable_tests::sink_to_stdin ... ok [INFO] [stdout] test executable_tests::overwrite_with_process_which_fails ... ok [INFO] [stdout] test executable_tests::capture_stdout_and_stderr ... ok [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running `/opt/rustwide/target/debug/o-o -d /tmp/.tmpQZ5B9a - +/tmp/.tmpQZ5B9a/out.txt - echo '2ne line'` [INFO] [stdout] test executable_tests::stderr_devnull ... ok [INFO] [stdout] test executable_tests::pipe_commands ... ok [INFO] [stdout] test executable_tests::redirect_stderr_to_stdout ... ok [INFO] [stderr] error: test failed, to rerun pass `--test executable-tests` [INFO] [stdout] test executable_tests::append_to_output_file ... ok [INFO] [stdout] [INFO] [stdout] failures: [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] ---- executable_tests::run_ls 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 1.27s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a7d44bf73cdddfbc2b93af2ad57a34115f7c482d7680f7cd9cd5cebae72b6a14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7d44bf73cdddfbc2b93af2ad57a34115f7c482d7680f7cd9cd5cebae72b6a14", kill_on_drop: false }` [INFO] [stdout] a7d44bf73cdddfbc2b93af2ad57a34115f7c482d7680f7cd9cd5cebae72b6a14