[INFO] cloning repository https://github.com/thomastaylor312/blob-unpin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thomastaylor312/blob-unpin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomastaylor312%2Fblob-unpin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomastaylor312%2Fblob-unpin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c58232484bb27e8fae00de97264b55e35988104 [INFO] testing thomastaylor312/blob-unpin against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomastaylor312%2Fblob-unpin" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thomastaylor312/blob-unpin on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thomastaylor312/blob-unpin [INFO] finished tweaking git repo https://github.com/thomastaylor312/blob-unpin [INFO] tweaked toml for git repo https://github.com/thomastaylor312/blob-unpin written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/thomastaylor312/blob-unpin already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a69a854ec322807beba02deed030c8cdea971fb97a2307a3d57bb07a275b3b3 [INFO] running `Command { std: "docker" "start" "-a" "6a69a854ec322807beba02deed030c8cdea971fb97a2307a3d57bb07a275b3b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a69a854ec322807beba02deed030c8cdea971fb97a2307a3d57bb07a275b3b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a69a854ec322807beba02deed030c8cdea971fb97a2307a3d57bb07a275b3b3", kill_on_drop: false }` [INFO] [stdout] 6a69a854ec322807beba02deed030c8cdea971fb97a2307a3d57bb07a275b3b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48cf8f24002778a6d67b19aa4a71aa732f0ab524d494f791af1535216df55ad5 [INFO] running `Command { std: "docker" "start" "-a" "48cf8f24002778a6d67b19aa4a71aa732f0ab524d494f791af1535216df55ad5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling pin-project-lite v0.2.1 [INFO] [stderr] Compiling bytes v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling RustyXML v0.3.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling paste v1.0.4 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling standback v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling tinyvec v1.1.0 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling http v0.2.2 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling sha2 v0.9.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling http-body v0.4.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling ct-logs v0.8.0 [INFO] [stderr] Compiling rustls v0.19.0 [INFO] [stderr] Compiling webpki-roots v0.21.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Compiling pin-project-internal v1.0.3 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling pin-project v1.0.3 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling smallvec v1.6.0 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde-xml-rs v0.4.0 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling tokio-stream v0.1.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-util v0.6.0 [INFO] [stderr] Compiling h2 v0.3.0 [INFO] [stderr] Compiling hyper v0.14.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling reqwest v0.11.0 [INFO] [stderr] Compiling oauth2 v4.0.0-alpha.3 [INFO] [stderr] Compiling azure_core v0.1.0 (https://github.com/Azure/azure-sdk-for-rust#76f6b285) [INFO] [stderr] Compiling azure_storage v0.1.0 (https://github.com/Azure/azure-sdk-for-rust#76f6b285) [INFO] [stderr] Compiling blob-unpin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `UnexpectedHTTPResult` [INFO] [stdout] --> src/main.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use azure_core::errors::{AzureError, UnexpectedHTTPResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `client` does not live long enough [INFO] [stdout] --> src/main.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 21 | fn get_blob_stream(client: KeyClient) -> impl Stream, AzureError>> { [INFO] [stdout] | ----------------------------------------------- opaque type requires that `client` is borrowed for `'static` [INFO] [stdout] 22 | let stream = client [INFO] [stdout] | ^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 29 | } [INFO] [stdout] | - `client` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] help: you can add a bound to the opaque type to make it last less than `'static` and match `'static` [INFO] [stdout] | [INFO] [stdout] 21 | fn get_blob_stream(client: KeyClient) -> impl Stream, AzureError>> + 'static { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/main.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 21 | fn get_blob_stream(client: KeyClient) -> impl Stream, AzureError>> { [INFO] [stdout] | ----------------------------------------------- opaque type requires that borrow lasts for `'static` [INFO] [stdout] ... [INFO] [stdout] 26 | .with_range(&Range::new(0, 2000)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ creates a temporary which is freed while still in use [INFO] [stdout] 27 | .finalize(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] help: you can add a bound to the opaque type to make it last less than `'static` and match `'static` [INFO] [stdout] | [INFO] [stdout] 21 | fn get_blob_stream(client: KeyClient) -> impl Stream, AzureError>> + 'static { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `from_generator::GenFuture<[static generator@BlobStreamBuilder<', KeyClient, Yes, Yes, Yes>::finalize::{closure#1}::{closure#0} for<'r, 's, 't0> {ResumeTy, azure_core::prelude::Range, GetBlobBuilder<'r, KeyClient, Yes, Yes>, impl Future, ()}]>` cannot be unpinned [INFO] [stdout] --> src/main.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | while let Some(res) = stream.next().await { [INFO] [stdout] | ^^^^ within `futures_util::stream::unfold::_::__Unfold<'_, Option, [closure@BlobStreamBuilder<', KeyClient, Yes, Yes, Yes>::finalize::{closure#1}], impl Future>`, the trait `Unpin` is not implemented for `from_generator::GenFuture<[static generator@BlobStreamBuilder<', KeyClient, Yes, Yes, Yes>::finalize::{closure#1}::{closure#0} for<'r, 's, 't0> {ResumeTy, azure_core::prelude::Range, GetBlobBuilder<'r, KeyClient, Yes, Yes>, impl Future, ()}]>` [INFO] [stdout] | [INFO] [stdout] = note: consider using `Box::pin` [INFO] [stdout] = note: required because it appears within the type `impl Future` [INFO] [stdout] = note: required because it appears within the type `Option` [INFO] [stdout] = note: required because it appears within the type `futures_util::stream::unfold::_::__Unfold<'_, Option, [closure@BlobStreamBuilder<', KeyClient, Yes, Yes, Yes>::finalize::{closure#1}], impl Future>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `futures_util::stream::unfold::Unfold, [closure@BlobStreamBuilder<', KeyClient, Yes, Yes, Yes>::finalize::{closure#1}], impl Future>` [INFO] [stdout] = note: required because it appears within the type `impl tokio_stream::Stream` [INFO] [stdout] = note: required because it appears within the type `impl tokio_stream::Stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `from_generator::GenFuture<[static generator@BlobStreamBuilder<', KeyClient, Yes, Yes, Yes>::finalize::{closure#1}::{closure#0} for<'r, 's, 't0> {ResumeTy, azure_core::prelude::Range, GetBlobBuilder<'r, KeyClient, Yes, Yes>, impl Future, ()}]>` cannot be unpinned [INFO] [stdout] --> src/main.rs:16:27 [INFO] [stdout] | [INFO] [stdout] 16 | while let Some(res) = stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ within `futures_util::stream::unfold::_::__Unfold<'_, Option, [closure@BlobStreamBuilder<', KeyClient, Yes, Yes, Yes>::finalize::{closure#1}], impl Future>`, the trait `Unpin` is not implemented for `from_generator::GenFuture<[static generator@BlobStreamBuilder<', KeyClient, Yes, Yes, Yes>::finalize::{closure#1}::{closure#0} for<'r, 's, 't0> {ResumeTy, azure_core::prelude::Range, GetBlobBuilder<'r, KeyClient, Yes, Yes>, impl Future, ()}]>` [INFO] [stdout] | [INFO] [stdout] = note: consider using `Box::pin` [INFO] [stdout] = note: required because it appears within the type `impl Future` [INFO] [stdout] = note: required because it appears within the type `Option` [INFO] [stdout] = note: required because it appears within the type `futures_util::stream::unfold::_::__Unfold<'_, Option, [closure@BlobStreamBuilder<', KeyClient, Yes, Yes, Yes>::finalize::{closure#1}], impl Future>` [INFO] [stdout] = note: required because of the requirements on the impl of `Unpin` for `futures_util::stream::unfold::Unfold, [closure@BlobStreamBuilder<', KeyClient, Yes, Yes, Yes>::finalize::{closure#1}], impl Future>` [INFO] [stdout] = note: required because it appears within the type `impl tokio_stream::Stream` [INFO] [stdout] = note: required because it appears within the type `impl tokio_stream::Stream` [INFO] [stdout] = note: required because of the requirements on the impl of `Future` for `tokio_stream::stream_ext::next::Next<'_, impl tokio_stream::Stream>` [INFO] [stdout] = note: required by `poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0597, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `blob-unpin` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "48cf8f24002778a6d67b19aa4a71aa732f0ab524d494f791af1535216df55ad5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48cf8f24002778a6d67b19aa4a71aa732f0ab524d494f791af1535216df55ad5", kill_on_drop: false }` [INFO] [stdout] 48cf8f24002778a6d67b19aa4a71aa732f0ab524d494f791af1535216df55ad5