[INFO] fetching crate io-process 0.0.1... [INFO] checking io-process-0.0.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate io-process 0.0.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate io-process 0.0.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate io-process 0.0.1 [INFO] tweaked toml for crates.io crate io-process 0.0.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate io-process 0.0.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate io-process 0.0.1 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0218bc63c068fabaf13625b03df6315acea0fb143edb2ae29e8fa9a27d0d776a [INFO] running `Command { std: "docker" "start" "-a" "0218bc63c068fabaf13625b03df6315acea0fb143edb2ae29e8fa9a27d0d776a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0218bc63c068fabaf13625b03df6315acea0fb143edb2ae29e8fa9a27d0d776a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0218bc63c068fabaf13625b03df6315acea0fb143edb2ae29e8fa9a27d0d776a", kill_on_drop: false }` [INFO] [stdout] 0218bc63c068fabaf13625b03df6315acea0fb143edb2ae29e8fa9a27d0d776a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2dd81f3317cbcd55e0f9ae960b5e6ccc4030c5d25dce96be0cb93f03bcce9e83 [INFO] running `Command { std: "docker" "start" "-a" "2dd81f3317cbcd55e0f9ae960b5e6ccc4030c5d25dce96be0cb93f03bcce9e83", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking jiff v0.2.14 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking io-process v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/command.rs:148:24 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn get_program(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | pub fn get_program(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/command.rs:191:21 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn get_args(&self) -> Option>> { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 191 | pub fn get_args(&self) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] error: could not compile `io-process` (example "std-exit-status") due to 1 previous error [INFO] [stdout] error[E0601]: `main` function not found in crate `std_exit_status` [INFO] [stdout] --> examples/std-exit-status.rs:28:2 [INFO] [stdout] | [INFO] [stdout] 28 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/std-exit-status.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0601]: `main` function not found in crate `tokio_pipeline` [INFO] [stdout] --> examples/tokio-pipeline.rs:53:2 [INFO] [stdout] | [INFO] [stdout] 53 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/tokio-pipeline.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `std_output_stderr` [INFO] [stdout] --> examples/std-output-stderr.rs:24:2 [INFO] [stdout] | [INFO] [stdout] 24 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/std-output-stderr.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `io_process::runtimes::std` [INFO] [stdout] --> tests/expand.rs:1:65 [INFO] [stdout] | [INFO] [stdout] 1 | use io_process::{coroutines::SpawnThenWaitWithOutput, runtimes::std::handle, Command}; [INFO] [stdout] | ^^^ could not find `std` in `runtimes` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/runtimes/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | #[cfg(feature = "std")] [INFO] [stdout] | --------------- the item is gated behind the `std` feature [INFO] [stdout] 12 | pub mod std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `io-process` (example "tokio-pipeline") due to 1 previous error [INFO] [stderr] error: could not compile `io-process` (example "std-output-stderr") due to 1 previous error [INFO] [stdout] error[E0609]: no field `expand` on type `io_process::Command` [INFO] [stdout] --> tests/expand.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | command.expand = true; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `envs`, `current_dir`, `stdin`, `stdout`, `stderr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `tokio_exit_status` [INFO] [stdout] --> examples/tokio-exit-status.rs:29:2 [INFO] [stdout] | [INFO] [stdout] 29 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/tokio-exit-status.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `io-process` (test "expand") due to 2 previous errors [INFO] [stderr] error: could not compile `io-process` (example "tokio-exit-status") due to 1 previous error [INFO] [stdout] error[E0601]: `main` function not found in crate `tokio_output` [INFO] [stdout] --> examples/tokio-output.rs:24:2 [INFO] [stdout] | [INFO] [stdout] 24 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/tokio-output.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `io-process` (example "tokio-output") due to 1 previous error [INFO] [stdout] error[E0601]: `main` function not found in crate `std_output_stdout` [INFO] [stdout] --> examples/std-output-stdout.rs:23:2 [INFO] [stdout] | [INFO] [stdout] 23 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/std-output-stdout.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `std_pipeline` [INFO] [stdout] --> examples/std-pipeline.rs:53:2 [INFO] [stdout] | [INFO] [stdout] 53 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/std-pipeline.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `io-process` (example "std-output-stdout") due to 1 previous error [INFO] [stdout] error[E0601]: `main` function not found in crate `std_expand` [INFO] [stdout] --> examples/std-expand.rs:26:2 [INFO] [stdout] | [INFO] [stdout] 26 | } [INFO] [stdout] | ^ consider adding a `main` function to `examples/std-expand.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/command.rs:148:24 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn get_program(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | pub fn get_program(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/command.rs:191:21 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn get_args(&self) -> Option>> { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 191 | pub fn get_args(&self) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `io-process` (example "std-pipeline") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `io-process` (example "std-expand") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "2dd81f3317cbcd55e0f9ae960b5e6ccc4030c5d25dce96be0cb93f03bcce9e83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dd81f3317cbcd55e0f9ae960b5e6ccc4030c5d25dce96be0cb93f03bcce9e83", kill_on_drop: false }` [INFO] [stdout] 2dd81f3317cbcd55e0f9ae960b5e6ccc4030c5d25dce96be0cb93f03bcce9e83