[INFO] fetching crate binstalk-downloader 0.8.0... [INFO] checking binstalk-downloader-0.8.0 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate binstalk-downloader 0.8.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate binstalk-downloader 0.8.0 on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate binstalk-downloader 0.8.0 [INFO] finished tweaking crates.io crate binstalk-downloader 0.8.0 [INFO] tweaked toml for crates.io crate binstalk-downloader 0.8.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a953a1d7b9fe137ad8d021ccf7baab8b780002c150f47477cdea58a9f5d97b1 [INFO] running `Command { std: "docker" "start" "-a" "8a953a1d7b9fe137ad8d021ccf7baab8b780002c150f47477cdea58a9f5d97b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a953a1d7b9fe137ad8d021ccf7baab8b780002c150f47477cdea58a9f5d97b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a953a1d7b9fe137ad8d021ccf7baab8b780002c150f47477cdea58a9f5d97b1", kill_on_drop: false }` [INFO] [stdout] 8a953a1d7b9fe137ad8d021ccf7baab8b780002c150f47477cdea58a9f5d97b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edda2baf38c1574ef56f98c3b02f0b2d930ddf40228490f145211242b7bf59af [INFO] running `Command { std: "docker" "start" "-a" "edda2baf38c1574ef56f98c3b02f0b2d930ddf40228490f145211242b7bf59af", kill_on_drop: false }` [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling rustls v0.21.7 [INFO] [stderr] Compiling zstd-safe v6.0.6 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Checking brotli-decompressor v2.3.4 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Checking filetime v0.2.22 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Checking linux-raw-sys v0.4.7 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking xattr v1.0.1 [INFO] [stderr] Checking xattr v0.2.3 [INFO] [stderr] Checking fastrand v2.0.0 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Checking binstall-tar v0.4.39 [INFO] [stderr] Checking castaway v0.2.2 [INFO] [stderr] Checking brotli v3.3.4 [INFO] [stderr] Compiling zstd-sys v2.0.8+zstd.1.5.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking tempfile v3.8.0 [INFO] [stderr] Checking rustls-webpki v0.101.5 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Checking futures-util v0.3.28 [INFO] [stderr] Checking zstd v0.12.4 [INFO] [stderr] Checking thiserror v1.0.48 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling strum_macros v0.25.2 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking xz2 v0.1.7 [INFO] [stderr] Checking async-compression v0.3.15 [INFO] [stderr] Checking serde v1.0.188 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking async-compression v0.4.3 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking tokio-tar v0.3.1 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking async_zip v0.0.15 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Checking maybe-owned v0.3.4 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde-tuple-vec-map v1.0.1 [INFO] [stderr] Checking binstalk-types v0.5.0 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-rustls v0.24.1 [INFO] [stderr] Checking reqwest v0.11.20 [INFO] [stderr] Checking binstalk-downloader v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0515]: cannot return value referencing local data `self.client` [INFO] [stdout] --> src/download.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | Ok(self [INFO] [stdout] | _________^__- [INFO] [stdout] | |_________| [INFO] [stdout] | || [INFO] [stdout] 150 | || .client [INFO] [stdout] | ||___________________- `self.client` is borrowed here [INFO] [stdout] 151 | | .get_stream(self.url) [INFO] [stdout] 152 | | .await? [INFO] [stdout] ... | [INFO] [stdout] 163 | | // called when the stream still has elements left. [INFO] [stdout] 164 | | .fuse()) [INFO] [stdout] | |_____________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing local data `self.client` [INFO] [stdout] --> src/download.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | Ok(self [INFO] [stdout] | _________^__- [INFO] [stdout] | |_________| [INFO] [stdout] | || [INFO] [stdout] 150 | || .client [INFO] [stdout] | ||___________________- `self.client` is borrowed here [INFO] [stdout] 151 | | .get_stream(self.url) [INFO] [stdout] 152 | | .await? [INFO] [stdout] ... | [INFO] [stdout] 163 | | // called when the stream still has elements left. [INFO] [stdout] 164 | | .fuse()) [INFO] [stdout] | |_____________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `counter` does not live long enough [INFO] [stdout] --> src/remote/delay_request.rs:237:39 [INFO] [stdout] | [INFO] [stdout] 226 | let mut counter = 0; [INFO] [stdout] | ----------- binding `counter` declared here [INFO] [stdout] ... [INFO] [stdout] 237 | match self.call_inner(&mut counter, &mut req) { [INFO] [stdout] | ^^^^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 242 | } [INFO] [stdout] | - `counter` dropped here while still borrowed [INFO] [stdout] 243 | .await [INFO] [stdout] | ----- borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `req` does not live long enough [INFO] [stdout] --> src/remote/delay_request.rs:237:53 [INFO] [stdout] | [INFO] [stdout] 234 | let mut req = Some(req); [INFO] [stdout] | ------- binding `req` declared here [INFO] [stdout] ... [INFO] [stdout] 237 | match self.call_inner(&mut counter, &mut req) { [INFO] [stdout] | ^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 242 | } [INFO] [stdout] | - `req` dropped here while still borrowed [INFO] [stdout] 243 | .await [INFO] [stdout] | ----- borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `guard` does not live long enough [INFO] [stdout] --> src/remote/delay_request.rs:218:32 [INFO] [stdout] | [INFO] [stdout] 186 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 192 | let mut guard = self.inner.lock().unwrap(); [INFO] [stdout] | --------- binding `guard` declared here [INFO] [stdout] ... [INFO] [stdout] 218 | ControlFlow::Break(guard.call(req.take().unwrap())) [INFO] [stdout] | ^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `guard` is borrowed for `'1` [INFO] [stdout] 219 | } [INFO] [stdout] 220 | } [INFO] [stdout] | - `guard` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `counter` does not live long enough [INFO] [stdout] --> src/remote/delay_request.rs:237:39 [INFO] [stdout] | [INFO] [stdout] 226 | let mut counter = 0; [INFO] [stdout] | ----------- binding `counter` declared here [INFO] [stdout] ... [INFO] [stdout] 237 | match self.call_inner(&mut counter, &mut req) { [INFO] [stdout] | ^^^^^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 242 | } [INFO] [stdout] | - `counter` dropped here while still borrowed [INFO] [stdout] 243 | .await [INFO] [stdout] | ----- borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `req` does not live long enough [INFO] [stdout] --> src/remote/delay_request.rs:237:53 [INFO] [stdout] | [INFO] [stdout] 234 | let mut req = Some(req); [INFO] [stdout] | ------- binding `req` declared here [INFO] [stdout] ... [INFO] [stdout] 237 | match self.call_inner(&mut counter, &mut req) { [INFO] [stdout] | ^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 242 | } [INFO] [stdout] | - `req` dropped here while still borrowed [INFO] [stdout] 243 | .await [INFO] [stdout] | ----- borrow later used by call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0515, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `binstalk-downloader` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0597]: `guard` does not live long enough [INFO] [stdout] --> src/remote/delay_request.rs:218:32 [INFO] [stdout] | [INFO] [stdout] 186 | &self, [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 192 | let mut guard = self.inner.lock().unwrap(); [INFO] [stdout] | --------- binding `guard` declared here [INFO] [stdout] ... [INFO] [stdout] 218 | ControlFlow::Break(guard.call(req.take().unwrap())) [INFO] [stdout] | ^^^^^-------------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `guard` is borrowed for `'1` [INFO] [stdout] 219 | } [INFO] [stdout] 220 | } [INFO] [stdout] | - `guard` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0515, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `binstalk-downloader` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "edda2baf38c1574ef56f98c3b02f0b2d930ddf40228490f145211242b7bf59af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edda2baf38c1574ef56f98c3b02f0b2d930ddf40228490f145211242b7bf59af", kill_on_drop: false }` [INFO] [stdout] edda2baf38c1574ef56f98c3b02f0b2d930ddf40228490f145211242b7bf59af