[INFO] fetching crate creche 0.2.1...
[INFO] testing creche-0.2.1 against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] extracting crate creche 0.2.1 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate creche 0.2.1
[INFO] finished tweaking crates.io crate creche 0.2.1
[INFO] tweaked toml for crates.io crate creche 0.2.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate creche 0.2.1 on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate creche 0.2.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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] de097ded6a459af1158c9f41bd063e95c7337b8dd68af34f9bedacf6716ebe18
[INFO] running `Command { std: "docker" "start" "-a" "de097ded6a459af1158c9f41bd063e95c7337b8dd68af34f9bedacf6716ebe18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "de097ded6a459af1158c9f41bd063e95c7337b8dd68af34f9bedacf6716ebe18", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "de097ded6a459af1158c9f41bd063e95c7337b8dd68af34f9bedacf6716ebe18", kill_on_drop: false }`
[INFO] [stdout] de097ded6a459af1158c9f41bd063e95c7337b8dd68af34f9bedacf6716ebe18
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1cf769572f299a35a79092d10100147ef40ee9d0f7315f8d14e90f13e3658c04
[INFO] running `Command { std: "docker" "start" "-a" "1cf769572f299a35a79092d10100147ef40ee9d0f7315f8d14e90f13e3658c04", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling creche v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.88s
[INFO] running `Command { std: "docker" "inspect" "1cf769572f299a35a79092d10100147ef40ee9d0f7315f8d14e90f13e3658c04", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1cf769572f299a35a79092d10100147ef40ee9d0f7315f8d14e90f13e3658c04", kill_on_drop: false }`
[INFO] [stdout] 1cf769572f299a35a79092d10100147ef40ee9d0f7315f8d14e90f13e3658c04
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b406472c442f6f33859e2420c38ea81ba85ff6ae5a00cf1beb4654a98eeaa77e
[INFO] running `Command { std: "docker" "start" "-a" "b406472c442f6f33859e2420c38ea81ba85ff6ae5a00cf1beb4654a98eeaa77e", kill_on_drop: false }`
[INFO] [stderr]    Compiling creche v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s
[INFO] running `Command { std: "docker" "inspect" "b406472c442f6f33859e2420c38ea81ba85ff6ae5a00cf1beb4654a98eeaa77e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b406472c442f6f33859e2420c38ea81ba85ff6ae5a00cf1beb4654a98eeaa77e", kill_on_drop: false }`
[INFO] [stdout] b406472c442f6f33859e2420c38ea81ba85ff6ae5a00cf1beb4654a98eeaa77e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c11636860e7c9eeffa6a01b11de6400408e4f15fc306ffcd9148bee3ec82393f
[INFO] running `Command { std: "docker" "start" "-a" "c11636860e7c9eeffa6a01b11de6400408e4f15fc306ffcd9148bee3ec82393f", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/creche-ecb60d7a9c7e94ff)
[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]    Doc-tests creche
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test src/ioconfig.rs - ioconfig::interprocess_pipe (line 172) ... FAILED
[INFO] [stdout] test src/creche.rs - creche::ChildHandle (line 281) ... FAILED
[INFO] [stdout] test src/envconfig.rs - envconfig::EnvironmentBuilder (line 77) ... FAILED
[INFO] [stdout] test src/ioconfig.rs - ioconfig::RedirectToFd (line 271) ... FAILED
[INFO] [stdout] test src/creche.rs - creche::ChildBuilder (line 21) ... FAILED
[INFO] [stdout] test src/creche.rs - creche::ChildBuilder (line 35) ... FAILED
[INFO] [stdout] test src/ioconfig.rs - ioconfig::RedirectToFd (line 254) ... FAILED
[INFO] [stdout] test src/pipeline.rs - pipeline::SimplePipelineBuilder (line 23) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/ioconfig.rs - ioconfig::interprocess_pipe (line 172) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ioconfig`
[INFO] [stdout]    --> src/ioconfig.rs:175:22
[INFO] [stdout]     |
[INFO] [stdout] 175 | let (mut r, mut w) = ioconfig::interprocess_pipe(0, 1);
[INFO] [stdout]     |                      ^^^^^^^^ use of unresolved module or unlinked crate `ioconfig`
[INFO] [stdout]     |
[INFO] [stdout] help: to make use of source file src/ioconfig.rs, use `mod ioconfig` in this file to declare the module
[INFO] [stdout]     |
[INFO] [stdout] 172 + mod ioconfig;
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]     |
[INFO] [stdout] 172 + use creche::ioconfig;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChildBuilder`
[INFO] [stdout]    --> src/ioconfig.rs:178:18
[INFO] [stdout]     |
[INFO] [stdout] 178 | let mut tr_cmd = ChildBuilder::new("tr");
[INFO] [stdout]     |                  ^^^^^^^^^^^^ use of undeclared type `ChildBuilder`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 172 + use creche::ChildBuilder;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChildBuilder`
[INFO] [stdout]    --> src/ioconfig.rs:181:20
[INFO] [stdout]     |
[INFO] [stdout] 181 | let mut sort_cmd = ChildBuilder::new("sort");
[INFO] [stdout]     |                    ^^^^^^^^^^^^ use of undeclared type `ChildBuilder`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 172 + use creche::ChildBuilder;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: cannot write into `File`
[INFO] [stdout]    --> src/ioconfig.rs:194:14
[INFO] [stdout]     |
[INFO] [stdout] 194 |     writeln!(f, "{}", line);
[INFO] [stdout]     |              ^
[INFO] [stdout]     |
[INFO] [stdout]    --> /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/io/mod.rs:1990:7
[INFO] [stdout]     |
[INFO] [stdout]     = note: the method is available for `File` here
[INFO] [stdout] note: must implement `io::Write`, `fmt::Write`, or have a `write_fmt` method
[INFO] [stdout]    --> src/ioconfig.rs:194:14
[INFO] [stdout]     |
[INFO] [stdout] 194 |     writeln!(f, "{}", line);
[INFO] [stdout]     |              ^
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write_fmt` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout] 172 + use std::io::Write;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/creche.rs - creche::ChildHandle (line 281) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChildBuilder`
[INFO] [stdout]    --> src/creche.rs:283:15
[INFO] [stdout]     |
[INFO] [stdout] 283 | let mut cmd = ChildBuilder::new("sleep");
[INFO] [stdout]     |               ^^^^^^^^^^^^ use of undeclared type `ChildBuilder`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 281 + use creche::ChildBuilder;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope
[INFO] [stdout]    --> src/creche.rs:292:1
[INFO] [stdout]     |
[INFO] [stdout] 292 | spawn( move || {
[INFO] [stdout]     | ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 281 + use std::thread::spawn;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope
[INFO] [stdout]    --> src/creche.rs:293:5
[INFO] [stdout]     |
[INFO] [stdout] 293 |     sleep(Duration::from_secs(2));
[INFO] [stdout]     |     ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]     |
[INFO] [stdout] 281 + use std::thread::sleep;
[INFO] [stdout]     |
[INFO] [stdout] 281 + use nix::unistd::sleep;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration`
[INFO] [stdout]    --> src/creche.rs:293:11
[INFO] [stdout]     |
[INFO] [stdout] 293 |     sleep(Duration::from_secs(2));
[INFO] [stdout]     |           ^^^^^^^^ use of undeclared type `Duration`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 281 + use std::time::Duration;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/envconfig.rs - envconfig::EnvironmentBuilder (line 77) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `envconfig`
[INFO] [stdout]   --> src/envconfig.rs:79:15
[INFO] [stdout]    |
[INFO] [stdout] 79 | let mut env = envconfig::EnvironmentBuilder::new();
[INFO] [stdout]    |               ^^^^^^^^^ use of unresolved module or unlinked crate `envconfig`
[INFO] [stdout]    |
[INFO] [stdout] help: to make use of source file src/envconfig.rs, use `mod envconfig` in this file to declare the module
[INFO] [stdout]    |
[INFO] [stdout] 77 + mod envconfig;
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 77 + use creche::envconfig::EnvironmentBuilder;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `EnvironmentBuilder`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 79 - let mut env = envconfig::EnvironmentBuilder::new();
[INFO] [stdout] 79 + let mut env = EnvironmentBuilder::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChildBuilder`
[INFO] [stdout]   --> src/envconfig.rs:83:15
[INFO] [stdout]    |
[INFO] [stdout] 83 | let mut cmd = ChildBuilder::new("env");
[INFO] [stdout]    |               ^^^^^^^^^^^^ use of undeclared type `ChildBuilder`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 77 + use creche::ChildBuilder;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/ioconfig.rs - ioconfig::RedirectToFd (line 271) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChildBuilder`
[INFO] [stdout]    --> src/ioconfig.rs:277:15
[INFO] [stdout]     |
[INFO] [stdout] 277 | let mut cmd = ChildBuilder::new("cat");
[INFO] [stdout]     |               ^^^^^^^^^^^^ use of undeclared type `ChildBuilder`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 271 + use creche::ChildBuilder;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ioconfig`
[INFO] [stdout]    --> src/ioconfig.rs:278:22
[INFO] [stdout]     |
[INFO] [stdout] 278 | let file_io_config = ioconfig::RedirectToFd::new(file, 0);
[INFO] [stdout]     |                      ^^^^^^^^ use of unresolved module or unlinked crate `ioconfig`
[INFO] [stdout]     |
[INFO] [stdout] help: to make use of source file src/ioconfig.rs, use `mod ioconfig` in this file to declare the module
[INFO] [stdout]     |
[INFO] [stdout] 271 + mod ioconfig;
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 271 + use creche::ioconfig::RedirectToFd;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `RedirectToFd`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 278 - let file_io_config = ioconfig::RedirectToFd::new(file, 0);
[INFO] [stdout] 278 + let file_io_config = RedirectToFd::new(file, 0);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/ioconfig.rs:275:34
[INFO] [stdout]     |
[INFO] [stdout] 271 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_ioconfig_rs_271_0() {
[INFO] [stdout]     |                                      ---------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 275 | let file = f_opts.open("logfile")?;
[INFO] [stdout]     |                                  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 271 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_ioconfig_rs_271_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 272 | // set up the file to read from
[INFO] [stdout] ...
[INFO] [stdout] 282 | println!("{:?}", child.wait());
[INFO] [stdout] 283 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/creche.rs - creche::ChildBuilder (line 21) stdout ----
[INFO] [stdout] error[E0599]: cannot write into `File`
[INFO] [stdout]   --> src/creche.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 | writeln!(f, "this is a test message");
[INFO] [stdout]    |          ^
[INFO] [stdout]    |
[INFO] [stdout]   --> /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/io/mod.rs:1990:7
[INFO] [stdout]    |
[INFO] [stdout]    = note: the method is available for `File` here
[INFO] [stdout] note: must implement `io::Write`, `fmt::Write`, or have a `write_fmt` method
[INFO] [stdout]   --> src/creche.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 | writeln!(f, "this is a test message");
[INFO] [stdout]    |          ^
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `Write` which provides `write_fmt` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 20 + use std::io::Write;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/creche.rs - creche::ChildBuilder (line 35) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChildBuilder`
[INFO] [stdout]   --> src/creche.rs:37:15
[INFO] [stdout]    |
[INFO] [stdout] 37 | let mut cmd = ChildBuilder::new("ls");
[INFO] [stdout]    |               ^^^^^^^^^^^^ use of undeclared type `ChildBuilder`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 35 + use creche::ChildBuilder;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/creche.rs:46:40
[INFO] [stdout]    |
[INFO] [stdout] 35 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_creche_rs_35_0() {
[INFO] [stdout]    |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 46 | let output = std::io::read_to_string(f)?;
[INFO] [stdout]    |                                        ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 35 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_creche_rs_35_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 36 | // configure the child process
[INFO] [stdout] ...
[INFO] [stdout] 49 | println!("exit status: {:?}", child.wait());
[INFO] [stdout] 50 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/ioconfig.rs - ioconfig::RedirectToFd (line 254) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChildBuilder`
[INFO] [stdout]    --> src/ioconfig.rs:261:15
[INFO] [stdout]     |
[INFO] [stdout] 261 | let mut cmd = ChildBuilder::new("cat");
[INFO] [stdout]     |               ^^^^^^^^^^^^ use of undeclared type `ChildBuilder`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 254 + use creche::ChildBuilder;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `ioconfig`
[INFO] [stdout]    --> src/ioconfig.rs:263:25
[INFO] [stdout]     |
[INFO] [stdout] 263 | let logfile_io_config = ioconfig::RedirectToFd::new(file, 2);
[INFO] [stdout]     |                         ^^^^^^^^ use of unresolved module or unlinked crate `ioconfig`
[INFO] [stdout]     |
[INFO] [stdout] help: to make use of source file src/ioconfig.rs, use `mod ioconfig` in this file to declare the module
[INFO] [stdout]     |
[INFO] [stdout] 254 + mod ioconfig;
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 254 + use creche::ioconfig::RedirectToFd;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `RedirectToFd`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 263 - let logfile_io_config = ioconfig::RedirectToFd::new(file, 2);
[INFO] [stdout] 263 + let logfile_io_config = RedirectToFd::new(file, 2);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/ioconfig.rs:258:34
[INFO] [stdout]     |
[INFO] [stdout] 254 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_ioconfig_rs_254_0() {
[INFO] [stdout]     |                                      ---------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 258 | let file = f_opts.open("logfile")?;
[INFO] [stdout]     |                                  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 254 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_ioconfig_rs_254_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 255 | // set up log file
[INFO] [stdout] ...
[INFO] [stdout] 267 | println!("{:?}", child.wait());
[INFO] [stdout] 268 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/pipeline.rs - pipeline::SimplePipelineBuilder (line 23) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChildBuilder`
[INFO] [stdout]   --> src/pipeline.rs:24:18
[INFO] [stdout]    |
[INFO] [stdout] 24 | let mut ls_cmd = ChildBuilder::new("ls");
[INFO] [stdout]    |                  ^^^^^^^^^^^^ use of undeclared type `ChildBuilder`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 23 + use creche::ChildBuilder;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChildBuilder`
[INFO] [stdout]   --> src/pipeline.rs:26:23
[INFO] [stdout]    |
[INFO] [stdout] 26 |    let mut sort_cmd = ChildBuilder::new("sort");
[INFO] [stdout]    |                       ^^^^^^^^^^^^ use of undeclared type `ChildBuilder`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 23 + use creche::ChildBuilder;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ChildBuilder`
[INFO] [stdout]   --> src/pipeline.rs:28:21
[INFO] [stdout]    |
[INFO] [stdout] 28 |    let mut tr_cmd = ChildBuilder::new("tr");
[INFO] [stdout]    |                     ^^^^^^^^^^^^ use of undeclared type `ChildBuilder`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 23 + use creche::ChildBuilder;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SimplePipelineBuilder`
[INFO] [stdout]   --> src/pipeline.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 |    let mut pipeline = SimplePipelineBuilder::new();
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SimplePipelineBuilder`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 23 + use creche::SimplePipelineBuilder;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/creche.rs - creche::ChildBuilder (line 21)
[INFO] [stdout]     src/creche.rs - creche::ChildBuilder (line 35)
[INFO] [stdout]     src/creche.rs - creche::ChildHandle (line 281)
[INFO] [stdout]     src/envconfig.rs - envconfig::EnvironmentBuilder (line 77)
[INFO] [stdout]     src/ioconfig.rs - ioconfig::RedirectToFd (line 254)
[INFO] [stdout]     src/ioconfig.rs - ioconfig::RedirectToFd (line 271)
[INFO] [stdout]     src/ioconfig.rs - ioconfig::interprocess_pipe (line 172)
[INFO] [stdout]     src/pipeline.rs - pipeline::SimplePipelineBuilder (line 23)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.22s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "c11636860e7c9eeffa6a01b11de6400408e4f15fc306ffcd9148bee3ec82393f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c11636860e7c9eeffa6a01b11de6400408e4f15fc306ffcd9148bee3ec82393f", kill_on_drop: false }`
[INFO] [stdout] c11636860e7c9eeffa6a01b11de6400408e4f15fc306ffcd9148bee3ec82393f
