[INFO] fetching crate stream-body 0.1.1...
[INFO] checking stream-body-0.1.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] extracting crate stream-body 0.1.1 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate stream-body 0.1.1
[INFO] finished tweaking crates.io crate stream-body 0.1.1
[INFO] tweaked toml for crates.io crate stream-body 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate stream-body 0.1.1 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate stream-body 0.1.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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 07962406485e648bdf3cda120ad50f5e1e4d8f2382a25288db07a66b56586899
[INFO] running `Command { std: "docker" "start" "-a" "07962406485e648bdf3cda120ad50f5e1e4d8f2382a25288db07a66b56586899", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "07962406485e648bdf3cda120ad50f5e1e4d8f2382a25288db07a66b56586899", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "07962406485e648bdf3cda120ad50f5e1e4d8f2382a25288db07a66b56586899", kill_on_drop: false }`
[INFO] [stdout] 07962406485e648bdf3cda120ad50f5e1e4d8f2382a25288db07a66b56586899
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 011d6c9d089b08af13eac1b362b8480d0d9a1313ad93de40f77c7946b30cf3f3
[INFO] running `Command { std: "docker" "start" "-a" "011d6c9d089b08af13eac1b362b8480d0d9a1313ad93de40f77c7946b30cf3f3", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.68
[INFO] [stderr]    Compiling proc-macro2 v1.0.10
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]     Checking futures-core v0.3.4
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]     Checking bytes v0.5.4
[INFO] [stderr]     Checking fnv v1.0.6
[INFO] [stderr]     Checking arc-swap v0.4.5
[INFO] [stderr]     Checking pin-project-lite v0.1.4
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]     Checking itoa v0.4.5
[INFO] [stderr]     Checking futures-sink v0.3.4
[INFO] [stderr]     Checking futures-task v0.3.4
[INFO] [stderr]     Checking pin-utils v0.1.0-alpha.4
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]     Checking try-lock v0.2.2
[INFO] [stderr]     Checking tower-service v0.3.0
[INFO] [stderr]     Checking futures-util v0.3.4
[INFO] [stderr]     Checking futures-channel v0.3.4
[INFO] [stderr]     Checking http v0.2.1
[INFO] [stderr]    Compiling indexmap v1.3.2
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking net2 v0.2.33
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking num_cpus v1.12.0
[INFO] [stderr]     Checking signal-hook-registry v1.2.0
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]     Checking mio v0.6.21
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]     Checking mio-uds v0.6.7
[INFO] [stderr]     Checking http-body v0.3.1
[INFO] [stderr]    Compiling tokio-macros v0.2.5
[INFO] [stderr]    Compiling pin-project-internal v0.4.8
[INFO] [stderr]     Checking tokio v0.2.16
[INFO] [stderr]     Checking pin-project v0.4.8
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking async-pipe v0.1.2
[INFO] [stderr]     Checking stream-body v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> src/body.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | / pin_project! {
[INFO] [stdout] 37 | |     struct ChannelInner {
[INFO] [stdout] 38 | |         #[pin]
[INFO] [stdout] 39 | |         reader: PipeReader,
[INFO] [stdout] ...  |
[INFO] [stdout] 45 | | }
[INFO] [stdout]    | |_^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]    = note: this warning originates in the macro `$crate::pin_project` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking h2 v0.2.4
[INFO] [stderr]     Checking hyper v0.13.4
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> src/body.rs:36:1
[INFO] [stdout]    |
[INFO] [stdout] 36 | / pin_project! {
[INFO] [stdout] 37 | |     struct ChannelInner {
[INFO] [stdout] 38 | |         #[pin]
[INFO] [stdout] 39 | |         reader: PipeReader,
[INFO] [stdout] ...  |
[INFO] [stdout] 45 | | }
[INFO] [stdout]    | |_^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]    = note: this warning originates in the macro `$crate::pin_project` which comes from the expansion of the macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<StreamBody>, Infallible>
[INFO] [stdout]   --> examples/from-reader.rs:7:79
[INFO] [stdout]    |
[INFO] [stdout]  7 |   async fn handle(_: Request<Body>) -> Result<Response<StreamBody>, Infallible> {
[INFO] [stdout]    |  _______________________________________________________________________________^
[INFO] [stdout]  8 | |     let f = File::open("large-file.pdf").await.unwrap();
[INFO] [stdout]  9 | |     let file_size = f.metadata().await.unwrap().len();
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | |         .unwrap())
[INFO] [stdout] 16 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<StreamBody>, Infallible>
[INFO] [stdout]   --> examples/from-reader.rs:7:79
[INFO] [stdout]    |
[INFO] [stdout]  7 |   async fn handle(_: Request<Body>) -> Result<Response<StreamBody>, Infallible> {
[INFO] [stdout]    |  _______________________________________________________________________________^
[INFO] [stdout]  8 | |     let f = File::open("large-file.pdf").await.unwrap();
[INFO] [stdout]  9 | |     let file_size = f.metadata().await.unwrap().len();
[INFO] [stdout] ...  |
[INFO] [stdout] 15 | |         .unwrap())
[INFO] [stdout] 16 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<StreamBody>, Infallible>
[INFO] [stdout]   --> examples/from-reader.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | /     Ok(Response::builder()
[INFO] [stdout] 12 | |         .header("Content-Type", "application/pdf")
[INFO] [stdout] 13 | |         .header("Content-Length", file_size.to_string())
[INFO] [stdout] 14 | |         .body(StreamBody::from_reader(f))
[INFO] [stdout] 15 | |         .unwrap())
[INFO] [stdout]    | |__________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<hyper::service::util::ServiceFn<fn(hyper::Request<Body>) -> impl std::future::Future<Output = Result<Response<StreamBody>, Infallible>> {handle}, Body>, Infallible>
[INFO] [stdout]   --> examples/from-reader.rs:22:50
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let make_svc = make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(handle)) });
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<hyper::service::util::ServiceFn<fn(hyper::Request<Body>) -> impl std::future::Future<Output = Result<Response<StreamBody>, Infallible>> {handle}, Body>, Infallible>
[INFO] [stdout]   --> examples/from-reader.rs:22:52
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let make_svc = make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(handle)) });
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `stream-body` (example "from-reader") due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: this type will no longer be must used: Result<Response<StreamBody>, Infallible>
[INFO] [stdout]   --> examples/create-channel.rs:8:79
[INFO] [stdout]    |
[INFO] [stdout]  8 |   async fn handle(_: Request<Body>) -> Result<Response<StreamBody>, Infallible> {
[INFO] [stdout]    |  _______________________________________________________________________________^
[INFO] [stdout]  9 | |     let (mut writer, body) = StreamBody::channel();
[INFO] [stdout] 10 | |
[INFO] [stdout] 11 | |     tokio::spawn(async move {
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | |     Ok(Response::builder().body(body).unwrap())
[INFO] [stdout] 25 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<StreamBody>, Infallible>
[INFO] [stdout]   --> examples/create-channel.rs:8:79
[INFO] [stdout]    |
[INFO] [stdout]  8 |   async fn handle(_: Request<Body>) -> Result<Response<StreamBody>, Infallible> {
[INFO] [stdout]    |  _______________________________________________________________________________^
[INFO] [stdout]  9 | |     let (mut writer, body) = StreamBody::channel();
[INFO] [stdout] 10 | |
[INFO] [stdout] 11 | |     tokio::spawn(async move {
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | |     Ok(Response::builder().body(body).unwrap())
[INFO] [stdout] 25 | | }
[INFO] [stdout]    | |_^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<Response<StreamBody>, Infallible>
[INFO] [stdout]   --> examples/create-channel.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     Ok(Response::builder().body(body).unwrap())
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<hyper::service::util::ServiceFn<fn(hyper::Request<Body>) -> impl std::future::Future<Output = Result<Response<StreamBody>, Infallible>> {handle}, Body>, Infallible>
[INFO] [stdout]   --> examples/create-channel.rs:31:50
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let make_svc = make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(handle)) });
[INFO] [stdout]    |                                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<hyper::service::util::ServiceFn<fn(hyper::Request<Body>) -> impl std::future::Future<Output = Result<Response<StreamBody>, Infallible>> {handle}, Body>, Infallible>
[INFO] [stdout]   --> examples/create-channel.rs:31:52
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let make_svc = make_service_fn(|_conn| async { Ok::<_, Infallible>(service_fn(handle)) });
[INFO] [stdout]    |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `stream-body` (example "create-channel") due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "011d6c9d089b08af13eac1b362b8480d0d9a1313ad93de40f77c7946b30cf3f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "011d6c9d089b08af13eac1b362b8480d0d9a1313ad93de40f77c7946b30cf3f3", kill_on_drop: false }`
[INFO] [stdout] 011d6c9d089b08af13eac1b362b8480d0d9a1313ad93de40f77c7946b30cf3f3
