[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-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthomastaylor312%2Fblob-unpin" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thomastaylor312/blob-unpin on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-0/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-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/Azure/azure-sdk-for-rust` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ct-logs v0.8.0 [INFO] [stderr] Downloaded RustyXML v0.3.0 [INFO] [stderr] Downloaded pin-project-lite v0.2.1 [INFO] [stderr] Downloaded oauth2 v4.0.0-alpha.3 [INFO] [stderr] Downloaded pin-project-internal v1.0.3 [INFO] [stderr] Downloaded reqwest v0.11.0 [INFO] [stderr] Downloaded uuid v0.8.1 [INFO] [stderr] Downloaded http v0.2.2 [INFO] [stderr] Downloaded hyper v0.14.2 [INFO] [stderr] Downloaded tokio v1.0.1 [INFO] [stderr] Downloaded tokio-stream v0.1.1 [INFO] [stderr] Downloaded bytes v1.0.0 [INFO] [stderr] Downloaded mio v0.7.7 [INFO] [stderr] Downloaded tokio-macros v1.0.0 [INFO] [stderr] Downloaded tokio-util v0.6.0 [INFO] [stderr] Downloaded h2 v0.3.0 [INFO] [stderr] Downloaded serde-xml-rs v0.4.0 [INFO] [stderr] Downloaded pin-project v1.0.3 [INFO] [stderr] Downloaded time v0.2.23 [INFO] [stderr] Downloaded rustls-native-certs v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 867739c3b95c1728662a17980a559182211e0c5159be4f6fe98aed151f293364 [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" "867739c3b95c1728662a17980a559182211e0c5159be4f6fe98aed151f293364", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "867739c3b95c1728662a17980a559182211e0c5159be4f6fe98aed151f293364", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "867739c3b95c1728662a17980a559182211e0c5159be4f6fe98aed151f293364", kill_on_drop: false }` [INFO] [stdout] 867739c3b95c1728662a17980a559182211e0c5159be4f6fe98aed151f293364 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ea804ec5a827f6b607fc1cec234d53f968ae512093293a8d05d14ad9cf1aaef [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" "0ea804ec5a827f6b607fc1cec234d53f968ae512093293a8d05d14ad9cf1aaef", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling pin-project-lite v0.2.1 [INFO] [stderr] Compiling bytes v1.0.0 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling paste v1.0.4 [INFO] [stderr] Compiling RustyXML v0.3.0 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling standback v0.2.14 [INFO] [stderr] Compiling http v0.2.2 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling sha2 v0.9.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling http-body v0.4.0 [INFO] [stderr] Compiling ct-logs v0.8.0 [INFO] [stderr] Compiling uuid v0.8.1 [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 rustls-native-certs v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.4 [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 failure_derive v0.1.8 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling time v0.2.23 [INFO] [stderr] Compiling failure v0.1.8 [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 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-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] 22 | let stream = client [INFO] [stdout] | __________________^ [INFO] [stdout] | |__________________| [INFO] [stdout] | || [INFO] [stdout] 23 | || .stream_blob() [INFO] [stdout] | ||______________________^ borrowed value does not live long enough [INFO] [stdout] 24 | | .with_container_name("foo") [INFO] [stdout] 25 | | .with_blob_name("foo") [INFO] [stdout] 26 | | .with_range(&Range::new(0, 2000)) [INFO] [stdout] 27 | | .finalize(); [INFO] [stdout] | |____________________- argument requires that `client` is borrowed for `'static` [INFO] [stdout] 28 | stream [INFO] [stdout] 29 | } [INFO] [stdout] | - `client` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/main.rs:26:22 [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] 28 | stream [INFO] [stdout] | ------ borrow later used here [INFO] [stdout] | [INFO] [stdout] = note: consider using a `let` binding to create a longer lived value [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 Stream, AzureError>>` [INFO] [stdout] = note: required because it appears within the type `impl Stream, AzureError>>` [INFO] [stdout] note: required by a bound in `tokio_stream::StreamExt::next` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-stream-0.1.1/src/stream_ext.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 126 | Self: Unpin, [INFO] [stdout] | ^^^^^ required by this bound in `tokio_stream::StreamExt::next` [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:40 [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 Stream, AzureError>>` [INFO] [stdout] = note: required because it appears within the type `impl Stream, AzureError>>` [INFO] [stdout] = note: required because of the requirements on the impl of `Future` for `tokio_stream::stream_ext::next::Next<'_, impl Stream, AzureError>>>` [INFO] [stdout] = note: required because of the requirements on the impl of `IntoFuture` for `tokio_stream::stream_ext::next::Next<'_, impl Stream, AzureError>>>` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 16 - while let Some(res) = stream.next().await { [INFO] [stdout] 16 + while let Some(res) = stream.next() { [INFO] [stdout] | [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" "0ea804ec5a827f6b607fc1cec234d53f968ae512093293a8d05d14ad9cf1aaef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ea804ec5a827f6b607fc1cec234d53f968ae512093293a8d05d14ad9cf1aaef", kill_on_drop: false }` [INFO] [stdout] 0ea804ec5a827f6b607fc1cec234d53f968ae512093293a8d05d14ad9cf1aaef