[INFO] fetching crate tokio_env 0.1.0...
[INFO] testing tokio_env-0.1.0 against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1
[INFO] extracting crate tokio_env 0.1.0 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate tokio_env 0.1.0
[INFO] finished tweaking crates.io crate tokio_env 0.1.0
[INFO] tweaked toml for crates.io crate tokio_env 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate tokio_env 0.1.0 on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 7 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio_env_macro v0.1.0
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e646436c332f1f6a047fb64679ac01a4400d8c2571d39864b9eadbf21312881d
[INFO] running `Command { std: "docker" "start" "-a" "e646436c332f1f6a047fb64679ac01a4400d8c2571d39864b9eadbf21312881d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e646436c332f1f6a047fb64679ac01a4400d8c2571d39864b9eadbf21312881d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e646436c332f1f6a047fb64679ac01a4400d8c2571d39864b9eadbf21312881d", kill_on_drop: false }`
[INFO] [stdout] e646436c332f1f6a047fb64679ac01a4400d8c2571d39864b9eadbf21312881d
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5bb646db950a87938281635fc2e5d06bb3c4c5fc3bdaf62529fb64bb659c90da
[INFO] running `Command { std: "docker" "start" "-a" "5bb646db950a87938281635fc2e5d06bb3c4c5fc3bdaf62529fb64bb659c90da", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio v1.52.3
[INFO] [stderr]    Compiling tokio_env_macro v0.1.0
[INFO] [stderr]    Compiling tokio_env v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.46s
[INFO] running `Command { std: "docker" "inspect" "5bb646db950a87938281635fc2e5d06bb3c4c5fc3bdaf62529fb64bb659c90da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5bb646db950a87938281635fc2e5d06bb3c4c5fc3bdaf62529fb64bb659c90da", kill_on_drop: false }`
[INFO] [stdout] 5bb646db950a87938281635fc2e5d06bb3c4c5fc3bdaf62529fb64bb659c90da
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e5098fe9923c0c1e74c418bf9a5820de274feaac4d2bfb6355512ef1c5894927
[INFO] running `Command { std: "docker" "start" "-a" "e5098fe9923c0c1e74c418bf9a5820de274feaac4d2bfb6355512ef1c5894927", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio_env v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s
[INFO] running `Command { std: "docker" "inspect" "e5098fe9923c0c1e74c418bf9a5820de274feaac4d2bfb6355512ef1c5894927", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e5098fe9923c0c1e74c418bf9a5820de274feaac4d2bfb6355512ef1c5894927", kill_on_drop: false }`
[INFO] [stdout] e5098fe9923c0c1e74c418bf9a5820de274feaac4d2bfb6355512ef1c5894927
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a85fac870ec152bd49b61c7978077aa9a77208c1dc5c36de96dc72cbc07a2d67
[INFO] running `Command { std: "docker" "start" "-a" "a85fac870ec152bd49b61c7978077aa9a77208c1dc5c36de96dc72cbc07a2d67", 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/tokio_env-b0e60a86bd091747)
[INFO] [stderr]    Doc-tests tokio_env
[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] [stdout] running 3 tests
[INFO] [stdout] test src/lib.rs - start_with (line 19) ... FAILED
[INFO] [stdout] test src/lib.rs - start_with (line 42) ... FAILED
[INFO] [stdout] test src/lib.rs - start_with (line 30) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - start_with (line 19) stdout ----
[INFO] [stdout] error[E0599]: `&mut tokio::runtime::Builder` is not an iterator
[INFO] [stdout]   --> src/lib.rs:23:6
[INFO] [stdout]    |
[INFO] [stdout] 21 | / tokio::runtime::Builder::new_multi_thread()
[INFO] [stdout] 22 | |     .enable_all()
[INFO] [stdout] 23 | |     .map(|runtime| runtime.block_on(fun));
[INFO] [stdout]    | |     -^^^ `&mut tokio::runtime::Builder` is not an iterator
[INFO] [stdout]    | |_____|
[INFO] [stdout]    |
[INFO] [stdout]    |
[INFO] [stdout]   ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.52.3/src/runtime/builder.rs:55:1
[INFO] [stdout]    |
[INFO] [stdout] 55 |   pub struct Builder {
[INFO] [stdout]    |   ------------------ doesn't satisfy `tokio::runtime::Builder: Iterator`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the following trait bounds were not satisfied:
[INFO] [stdout]            `tokio::runtime::Builder: Iterator`
[INFO] [stdout]            which is required by `&mut tokio::runtime::Builder: Iterator`
[INFO] [stdout]            `&mut tokio::runtime::Builder: Iterator`
[INFO] [stdout]            which is required by `&mut &mut tokio::runtime::Builder: Iterator`
[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/lib.rs - start_with (line 42) stdout ----
[INFO] [stdout] error[E0277]: `fn() -> impl Future<Output = i32> {run}` is not a future
[INFO] [stdout]   --> src/lib.rs:46:43
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let exit_code = tokio_env::start_with(run)
[INFO] [stdout]    |                     --------------------- ^^^ `fn() -> impl Future<Output = i32> {run}` is not a future
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Future` is not implemented for fn item `fn() -> impl Future<Output = i32> {run}`
[INFO] [stdout] note: required by a bound in `start_with`
[INFO] [stdout]   --> src/lib.rs:57:22
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn start_with<F: core::future::Future>(fun: F) -> tokio::io::Result<F::Output> {
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^ required by this bound in `start_with`
[INFO] [stdout] help: use parentheses to call this function
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let exit_code = tokio_env::start_with(run())
[INFO] [stdout]    |                                              ++
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `fn() -> impl Future<Output = i32> {run}` is not a future
[INFO] [stdout]   --> src/lib.rs:46:21
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let exit_code = tokio_env::start_with(run)
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ `fn() -> impl Future<Output = i32> {run}` is not a future
[INFO] [stdout] ...
[INFO] [stdout] 51 | async fn run() -> i32 {
[INFO] [stdout]    |          --- consider calling this function
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Future` is not implemented for fn item `fn() -> impl Future<Output = i32> {run}`
[INFO] [stdout]    = help: use parentheses to call this function: `run()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - start_with (line 30) stdout ----
[INFO] [stdout] error[E0277]: `main` has invalid return type `i32`
[INFO] [stdout]   --> src/lib.rs:33:20
[INFO] [stdout]    |
[INFO] [stdout] 33 | async fn main() -> i32 {
[INFO] [stdout]    |                    ^^^ `main` can only return types that implement `Termination`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using `()`, or a `Result`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - start_with (line 19)
[INFO] [stdout]     src/lib.rs - start_with (line 30)
[INFO] [stdout]     src/lib.rs - start_with (line 42)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "a85fac870ec152bd49b61c7978077aa9a77208c1dc5c36de96dc72cbc07a2d67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a85fac870ec152bd49b61c7978077aa9a77208c1dc5c36de96dc72cbc07a2d67", kill_on_drop: false }`
[INFO] [stdout] a85fac870ec152bd49b61c7978077aa9a77208c1dc5c36de96dc72cbc07a2d67
