[INFO] cloning repository https://github.com/patte/xstdin-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patte/xstdin-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatte%2Fxstdin-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatte%2Fxstdin-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 064cc41cfbce54ccd377c3ea164f1ba3fef2791e [INFO] testing patte/xstdin-rs against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatte%2Fxstdin-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/patte/xstdin-rs [INFO] finished tweaking git repo https://github.com/patte/xstdin-rs [INFO] tweaked toml for git repo https://github.com/patte/xstdin-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/patte/xstdin-rs on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/patte/xstdin-rs 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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rstest v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84ccc8b60abfef4f46c80dd9896c8b054d3264543412e122780f852699ab8571 [INFO] running `Command { std: "docker" "start" "-a" "84ccc8b60abfef4f46c80dd9896c8b054d3264543412e122780f852699ab8571", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84ccc8b60abfef4f46c80dd9896c8b054d3264543412e122780f852699ab8571", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84ccc8b60abfef4f46c80dd9896c8b054d3264543412e122780f852699ab8571", kill_on_drop: false }` [INFO] [stdout] 84ccc8b60abfef4f46c80dd9896c8b054d3264543412e122780f852699ab8571 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcb158a998a469f47a65f268f03d675d9fe9b7d470c1e91f85a4cc1e55784e00 [INFO] running `Command { std: "docker" "start" "-a" "bcb158a998a469f47a65f268f03d675d9fe9b7d470c1e91f85a4cc1e55784e00", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling xstdin v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.18s [INFO] running `Command { std: "docker" "inspect" "bcb158a998a469f47a65f268f03d675d9fe9b7d470c1e91f85a4cc1e55784e00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcb158a998a469f47a65f268f03d675d9fe9b7d470c1e91f85a4cc1e55784e00", kill_on_drop: false }` [INFO] [stdout] bcb158a998a469f47a65f268f03d675d9fe9b7d470c1e91f85a4cc1e55784e00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a938add54f3f9ae91112d3b22ed35bf092c1170a99b9c8386b740a79239413d [INFO] running `Command { std: "docker" "start" "-a" "8a938add54f3f9ae91112d3b22ed35bf092c1170a99b9c8386b740a79239413d", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling rstest v0.11.0 [INFO] [stderr] Compiling xstdin v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rstest v0.11.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "8a938add54f3f9ae91112d3b22ed35bf092c1170a99b9c8386b740a79239413d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a938add54f3f9ae91112d3b22ed35bf092c1170a99b9c8386b740a79239413d", kill_on_drop: false }` [INFO] [stdout] 8a938add54f3f9ae91112d3b22ed35bf092c1170a99b9c8386b740a79239413d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b7d08d24e36abf8daf25b08ade906bfe27dacf3175ee7ce17432e56e7f6e5982 [INFO] running `Command { std: "docker" "start" "-a" "b7d08d24e36abf8daf25b08ade906bfe27dacf3175ee7ce17432e56e7f6e5982", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rstest v0.11.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/xstdin-fc47adb6ba64f3f7) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test chunk_reader::tests::chunks ... ok [INFO] [stdout] test chunk_reader::tests::lines ... ok [INFO] [stdout] test chunk_reader::tests::simple ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-a8abed2108c6cc12) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stderr] Blocking waiting for file lock on artifact directory [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running `/opt/rustwide/target/debug/xstdin -l -n 2 -- sh -c 'sleep 1; echo done'` [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running `/opt/rustwide/target/debug/xstdin -n 2 -- sh -c 'sleep 1; echo done'` [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running `/opt/rustwide/target/debug/xstdin -b8 -n 2 -- sh -c 'sleep 1; echo done'` [INFO] [stderr] Finished Blocking waiting for file lock on artifact directory [INFO] [stderr] Blocking `dev` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] waiting for file lock on artifact directory [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running `/opt/rustwide/target/debug/xstdin -n 2 -l cat` [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running `/opt/rustwide/target/debug/xstdin -b8 cat` [INFO] [stderr] Blocking waiting for file lock on artifact directory [INFO] [stderr] Running `/opt/rustwide/target/debug/xstdin -b8 -l cat` [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running `/opt/rustwide/target/debug/xstdin -n 2 -b8 cat` [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running `/opt/rustwide/target/debug/xstdin -n 2 echo 'worker {}'` [INFO] [stdout] test tests::test_execution::case_3_small_buffer ... ok [INFO] [stdout] test tests::test_large_input::case_2_line_mode ... ok [INFO] [stderr] Error: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" } [INFO] [stdout] test tests::test_worker_id_substitution ... ok [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running `/opt/rustwide/target/debug/xstdin cat` [INFO] [stdout] test tests::test_execution::case_4_small_buffer_line_mode ... ok [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running `/opt/rustwide/target/debug/xstdin -n 2 cat` [INFO] [stdout] test tests::test_large_input::case_3_small_buffer ... ok [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running `/opt/rustwide/target/debug/xstdin -b8 -l -n 2 -- sh -c 'sleep 1; echo done'` [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running `/opt/rustwide/target/debug/xstdin -n 2 -b8 -l cat` [INFO] [stdout] test tests::test_large_input::case_1_default ... ok [INFO] [stdout] test tests::test_execution::case_1_default ... ok [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running `/opt/rustwide/target/debug/xstdin -l cat` [INFO] [stdout] test tests::test_execution::case_2_line_mode ... ok [INFO] [stdout] test tests::test_large_input::case_4_small_buffer_line_mode ... ok [INFO] [stdout] test tests::test_concurrency::case_1_default ... ok [INFO] [stdout] test tests::test_concurrency::case_2_line_mode ... ok [INFO] [stdout] test tests::test_concurrency::case_3_small_buffer ... ok [INFO] [stdout] test tests::test_concurrency::case_4_small_buffer_line_mode ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.30s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b7d08d24e36abf8daf25b08ade906bfe27dacf3175ee7ce17432e56e7f6e5982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7d08d24e36abf8daf25b08ade906bfe27dacf3175ee7ce17432e56e7f6e5982", kill_on_drop: false }` [INFO] [stdout] b7d08d24e36abf8daf25b08ade906bfe27dacf3175ee7ce17432e56e7f6e5982