[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 beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomastaylor312%2Fblob-unpin" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thomastaylor312/blob-unpin on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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-5/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" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/Azure/azure-sdk-for-rust` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pin-project-lite v0.2.1 [INFO] [stderr] Downloaded smallvec v1.6.0 [INFO] [stderr] Downloaded ntapi v0.3.6 [INFO] [stderr] Downloaded mio v0.7.7 [INFO] [stderr] Downloaded tokio-rustls v0.22.0 [INFO] [stderr] Downloaded webpki v0.21.4 [INFO] [stderr] Downloaded try-lock v0.2.3 [INFO] [stderr] Downloaded schannel v0.1.19 [INFO] [stderr] Downloaded num-integer v0.1.44 [INFO] [stderr] Downloaded num-traits v0.2.14 [INFO] [stderr] Downloaded base64 v0.12.3 [INFO] [stderr] Downloaded chrono v0.4.19 [INFO] [stderr] Downloaded time v0.2.23 [INFO] [stderr] Downloaded rustls v0.19.0 [INFO] [stderr] Downloaded security-framework v2.0.0 [INFO] [stderr] Downloaded futures-sink v0.3.8 [INFO] [stderr] Downloaded futures-util v0.3.8 [INFO] [stderr] Downloaded futures-channel v0.3.8 [INFO] [stderr] Downloaded openssl-sys v0.9.60 [INFO] [stderr] Downloaded reqwest v0.11.0 [INFO] [stderr] Downloaded winreg v0.7.0 [INFO] [stderr] Downloaded hyper-tls v0.5.0 [INFO] [stderr] Downloaded ipnet v2.3.0 [INFO] [stderr] Downloaded http-body v0.4.0 [INFO] [stderr] Downloaded RustyXML v0.3.0 [INFO] [stderr] Downloaded pin-project v1.0.3 [INFO] [stderr] Downloaded openssl v0.10.32 [INFO] [stderr] Downloaded web-sys v0.3.46 [INFO] [stderr] Downloaded http v0.2.2 [INFO] [stderr] Downloaded sct v0.6.0 [INFO] [stderr] Downloaded serde-xml-rs v0.4.0 [INFO] [stderr] Downloaded want v0.3.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.19 [INFO] [stderr] Downloaded webpki-roots v0.21.0 [INFO] [stderr] Downloaded tokio-util v0.6.0 [INFO] [stderr] Downloaded remove_dir_all v0.5.3 [INFO] [stderr] Downloaded oauth2 v4.0.0-alpha.3 [INFO] [stderr] Downloaded libc v0.2.81 [INFO] [stderr] Downloaded tokio-macros v1.0.0 [INFO] [stderr] Downloaded serde v1.0.118 [INFO] [stderr] Downloaded tokio v1.0.1 [INFO] [stderr] Downloaded failure_derive v0.1.8 [INFO] [stderr] Downloaded openssl-probe v0.1.2 [INFO] [stderr] Downloaded log v0.4.11 [INFO] [stderr] Downloaded serde_derive v1.0.118 [INFO] [stderr] Downloaded futures-macro v0.3.8 [INFO] [stderr] Downloaded security-framework-sys v2.0.0 [INFO] [stderr] Downloaded futures-core v0.3.8 [INFO] [stderr] Downloaded tokio-stream v0.1.1 [INFO] [stderr] Downloaded ring v0.16.19 [INFO] [stderr] Downloaded sha2 v0.9.2 [INFO] [stderr] Downloaded paste v1.0.4 [INFO] [stderr] Downloaded httpdate v0.3.2 [INFO] [stderr] Downloaded tower-service v0.3.0 [INFO] [stderr] Downloaded native-tls v0.2.7 [INFO] [stderr] Downloaded failure v0.1.8 [INFO] [stderr] Downloaded md5 v0.7.0 [INFO] [stderr] Downloaded synstructure v0.12.4 [INFO] [stderr] Downloaded ct-logs v0.8.0 [INFO] [stderr] Downloaded core-foundation v0.9.1 [INFO] [stderr] Downloaded rustls-native-certs v0.5.0 [INFO] [stderr] Downloaded xml-rs v0.8.3 [INFO] [stderr] Downloaded futures-executor v0.3.8 [INFO] [stderr] Downloaded futures v0.3.8 [INFO] [stderr] Downloaded futures-io v0.3.8 [INFO] [stderr] Downloaded futures-task v0.3.8 [INFO] [stderr] Downloaded proc-macro-nested v0.1.6 [INFO] [stderr] Downloaded pin-project-internal v1.0.3 [INFO] [stderr] Downloaded hyper v0.14.2 [INFO] [stderr] Downloaded h2 v0.3.0 [INFO] [stderr] Downloaded js-sys v0.3.46 [INFO] [stderr] Downloaded uuid v0.8.1 [INFO] [stderr] Downloaded miow v0.3.6 [INFO] [stderr] Downloaded bytes v1.0.0 [INFO] [stderr] Downloaded tokio-native-tls v0.3.0 [INFO] [stderr] Downloaded core-foundation-sys v0.8.2 [INFO] [stderr] Downloaded hyper-rustls v0.22.1 [INFO] [stderr] Downloaded untrusted v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 780ffb2289d00db96768b42b995627d145b79e35b5fecedc1527b31b77ded411 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "780ffb2289d00db96768b42b995627d145b79e35b5fecedc1527b31b77ded411", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "780ffb2289d00db96768b42b995627d145b79e35b5fecedc1527b31b77ded411", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "780ffb2289d00db96768b42b995627d145b79e35b5fecedc1527b31b77ded411", kill_on_drop: false }` [INFO] [stdout] 780ffb2289d00db96768b42b995627d145b79e35b5fecedc1527b31b77ded411 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3021b197f87feda576b26346f310474f9d65267174c97cfb090f6d1dfc62ce35 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3021b197f87feda576b26346f310474f9d65267174c97cfb090f6d1dfc62ce35", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling pin-project-lite v0.2.1 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling paste v1.0.4 [INFO] [stderr] Compiling RustyXML v0.3.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling standback v0.2.14 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Compiling http v0.2.2 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.2 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling http-body v0.4.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 native-tls v0.2.7 [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 pin-project-internal v0.4.27 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling pin-project v1.0.3 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling futures-util v0.3.8 [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 chrono v0.4.19 [INFO] [stderr] Compiling serde_json v1.0.61 [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-rustls v0.22.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.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-rustls v0.22.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [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}]>` 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}]>` [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}]>` 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}]>` [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` due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "3021b197f87feda576b26346f310474f9d65267174c97cfb090f6d1dfc62ce35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3021b197f87feda576b26346f310474f9d65267174c97cfb090f6d1dfc62ce35", kill_on_drop: false }` [INFO] [stdout] 3021b197f87feda576b26346f310474f9d65267174c97cfb090f6d1dfc62ce35