[INFO] fetching crate o-o 0.5.4... [INFO] testing o-o-0.5.4 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate o-o 0.5.4 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate o-o 0.5.4 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4d7ec895058fbf30f5bd76a105405295af1a1877bd2d74e7d2b86996592349c [INFO] running `Command { std: "docker" "start" "-a" "e4d7ec895058fbf30f5bd76a105405295af1a1877bd2d74e7d2b86996592349c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4d7ec895058fbf30f5bd76a105405295af1a1877bd2d74e7d2b86996592349c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4d7ec895058fbf30f5bd76a105405295af1a1877bd2d74e7d2b86996592349c", kill_on_drop: false }` [INFO] [stdout] e4d7ec895058fbf30f5bd76a105405295af1a1877bd2d74e7d2b86996592349c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ea70adcd8932fd3e7a7acbc858f8679c65b8852e3ca809b9ebda371017bc690f [INFO] running `Command { std: "docker" "start" "-a" "ea70adcd8932fd3e7a7acbc858f8679c65b8852e3ca809b9ebda371017bc690f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling os_pipe v1.2.1 [INFO] [stderr] Compiling shared_child v1.0.2 [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 10.96s [INFO] running `Command { std: "docker" "inspect" "ea70adcd8932fd3e7a7acbc858f8679c65b8852e3ca809b9ebda371017bc690f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea70adcd8932fd3e7a7acbc858f8679c65b8852e3ca809b9ebda371017bc690f", kill_on_drop: false }` [INFO] [stdout] ea70adcd8932fd3e7a7acbc858f8679c65b8852e3ca809b9ebda371017bc690f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 44fd5a7ea2f728526ab2b706d2c9c929bae2ea52ba674b3d2da1245e26543e2b [INFO] running `Command { std: "docker" "start" "-a" "44fd5a7ea2f728526ab2b706d2c9c929bae2ea52ba674b3d2da1245e26543e2b", 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 1.72s [INFO] running `Command { std: "docker" "inspect" "44fd5a7ea2f728526ab2b706d2c9c929bae2ea52ba674b3d2da1245e26543e2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44fd5a7ea2f728526ab2b706d2c9c929bae2ea52ba674b3d2da1245e26543e2b", kill_on_drop: false }` [INFO] [stdout] 44fd5a7ea2f728526ab2b706d2c9c929bae2ea52ba674b3d2da1245e26543e2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] fb8f8bbfcc1a31ed561002a09cb744dfcfbf95ba0b3d33f63c381a70accd72b4 [INFO] running `Command { std: "docker" "start" "-a" "fb8f8bbfcc1a31ed561002a09cb744dfcfbf95ba0b3d33f63c381a70accd72b4", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/o_o-facfab3194795d07) [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/x86_64-unknown-linux-musl/debug/deps/o_o-650ff941fc68c431) [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/x86_64-unknown-linux-musl/debug/deps/executable_tests-505309d950edb41f) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Blocking waiting for file lock on build directory [INFO] [stderr] Blocking waiting for file lock on build directory [INFO] [stderr] Blocking waiting for file lock on build directory [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling os_pipe v1.2.1 [INFO] [stderr] Compiling shared_child v1.0.2 [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 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 9.42s [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.97s [INFO] [stderr] Running `/opt/rustwide/target/debug/o-o -d /tmp/.tmpqCjcka - +/tmp/.tmpqCjcka/out.txt - echo '1st line'` [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.08s [INFO] [stderr] Running `/opt/rustwide/target/debug/o-o -d /tmp/.tmp65ESL2 /tmp/.tmp65ESL2/a.txt = - wc` [INFO] [stderr] Running `/opt/rustwide/target/debug/o-o -d /tmp/.tmpwKgROl /tmp/.tmpwKgROl/a.txt = - bash /tmp/.tmpwKgROl/echo_and_fail.sh` [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.26s [INFO] [stderr] Running `/opt/rustwide/target/debug/o-o -F -d /tmp/.tmpGyPqpV /tmp/.tmpGyPqpV/a.txt = - bash /tmp/.tmpGyPqpV/echo_and_fail.sh` [INFO] [stdout] test executable_tests::capture_stdout_and_stderr ... ok [INFO] [stdout] test executable_tests::redirect_stderr_to_stdout ... ok [INFO] [stdout] test executable_tests::pipe_commands ... ok [INFO] [stdout] test executable_tests::environment_variable ... ok [INFO] [stdout] test executable_tests::process_which_fails ... ok [INFO] [stdout] test executable_tests::overwrite_input_file ... ok [INFO] [stdout] test executable_tests::run_ls ... FAILED [INFO] [stdout] test executable_tests::overwrite_with_process_which_fails ... ok [INFO] [stderr] Blocking waiting for file lock on build directory [INFO] [stdout] test executable_tests::sink_to_stdin ... ok [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Blocking waiting for file lock on build directory [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] [stderr] Blocking waiting for file lock on build directory [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running `/opt/rustwide/target/debug/o-o -d /tmp/.tmpqCjcka - +/tmp/.tmpqCjcka/out.txt - echo '2ne line'` [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running `/opt/rustwide/target/debug/o-o -d /tmp/.tmprPq9Cw - - - ls --a-option-ls-must-not-have` [INFO] [stderr] ls: unrecognized option '--a-option-ls-must-not-have' [INFO] [stderr] Try 'ls --help' for more information. [INFO] [stdout] test executable_tests::stdout_devnull ... ok [INFO] [stdout] test executable_tests::stderr_devnull ... ok [INFO] [stdout] test executable_tests::sub_oo_redirection ... FAILED [INFO] [stdout] test executable_tests::run_ls_with_wrong_option ... ok [INFO] [stdout] test executable_tests::sequential_run_commands_sub_oo_invalid_option ... ok [INFO] [stdout] test executable_tests::append_to_output_file ... ok [INFO] [stdout] test executable_tests::sequential_run_commands ... 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 10.56s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test executable-tests` [INFO] running `Command { std: "docker" "inspect" "fb8f8bbfcc1a31ed561002a09cb744dfcfbf95ba0b3d33f63c381a70accd72b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb8f8bbfcc1a31ed561002a09cb744dfcfbf95ba0b3d33f63c381a70accd72b4", kill_on_drop: false }` [INFO] [stdout] fb8f8bbfcc1a31ed561002a09cb744dfcfbf95ba0b3d33f63c381a70accd72b4