[INFO] fetching crate reqwest-file 0.2.1... [INFO] building reqwest-file-0.2.1 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate reqwest-file 0.2.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate reqwest-file 0.2.1 [INFO] finished tweaking crates.io crate reqwest-file 0.2.1 [INFO] tweaked toml for crates.io crate reqwest-file 0.2.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate reqwest-file 0.2.1 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 155 packages to latest compatible versions [INFO] [stderr] Adding axum v0.4.8 (available: v0.8.5) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded matchit v0.4.6 [INFO] [stderr] Downloaded headers-core v0.2.0 [INFO] [stderr] Downloaded http-range-header v0.3.1 [INFO] [stderr] Downloaded axum-core v0.1.2 [INFO] [stderr] Downloaded headers v0.3.9 [INFO] [stderr] Downloaded tower-http v0.2.5 [INFO] [stderr] Downloaded axum v0.4.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 412f43a4d5a162f0cf473a850a2205b412a279dc0e0a81e1ff9438ed44827850 [INFO] running `Command { std: "docker" "start" "-a" "412f43a4d5a162f0cf473a850a2205b412a279dc0e0a81e1ff9438ed44827850", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "412f43a4d5a162f0cf473a850a2205b412a279dc0e0a81e1ff9438ed44827850", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "412f43a4d5a162f0cf473a850a2205b412a279dc0e0a81e1ff9438ed44827850", kill_on_drop: false }` [INFO] [stdout] 412f43a4d5a162f0cf473a850a2205b412a279dc0e0a81e1ff9438ed44827850 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2af1f78790e4486d021ecd99a66d5ddd5ffece2ce6b8a9e2bb7a06eb21470521 [INFO] running `Command { std: "docker" "start" "-a" "2af1f78790e4486d021ecd99a66d5ddd5ffece2ce6b8a9e2bb7a06eb21470521", kill_on_drop: false }` [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling reqwest-file v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `mixed_integer_ops` has been stable since 1.66.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | #![feature(type_alias_impl_trait, mixed_integer_ops, io_error_more)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> src/lib.rs:64:22 [INFO] [stdout] | [INFO] [stdout] 64 | type RequestStream = impl Stream>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequestStream` must be used in combination with a concrete type within the same crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unconstrained opaque type [INFO] [stdout] --> src/lib.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 66 | type RequestStreamFuture = impl Future>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequestStreamFuture` must be used in combination with a concrete type within the same crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 66 | type RequestStreamFuture = impl Future>; [INFO] [stdout] | ------------------------------------------------- the expected future [INFO] [stdout] ... [INFO] [stdout] 107 | fn send_request(request: &RequestBuilder, offset: u64) -> RequestStreamFuture { [INFO] [stdout] | ------------------- expected `RequestStreamFuture` because of return type [INFO] [stdout] ... [INFO] [stdout] 111 | / request [INFO] [stdout] 112 | | .header(reqwest::header::RANGE, format!("bytes={offset}-")) [INFO] [stdout] 113 | | .send() [INFO] [stdout] 114 | | .map(move |result| { [INFO] [stdout] ... | [INFO] [stdout] 133 | | }) [INFO] [stdout] 134 | | }) [INFO] [stdout] | |__________^ expected future, found `Map, ...>` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.11.27/src/async_impl/request.rs:507:26 [INFO] [stdout] | [INFO] [stdout] 507 | pub fn send(self) -> impl Future> { [INFO] [stdout] | ---------------------------------------------------- the found future [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.11.27/src/async_impl/response.rs:310:34 [INFO] [stdout] | [INFO] [stdout] 310 | pub fn bytes_stream(self) -> impl futures_core::Stream> { [INFO] [stdout] | ------------------------------------------------------ the found opaque type [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `RequestStreamFuture` [INFO] [stdout] found struct `futures_util::future::Map>, {closure@src/lib.rs:114:14: 114:27}>` [INFO] [stdout] note: this item must have a `#[define_opaque(RequestStreamFuture)]` attribute to be able to define hidden types [INFO] [stdout] --> src/lib.rs:107:4 [INFO] [stdout] | [INFO] [stdout] 107 | fn send_request(request: &RequestBuilder, offset: u64) -> RequestStreamFuture { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `reqwest-file` (lib) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "2af1f78790e4486d021ecd99a66d5ddd5ffece2ce6b8a9e2bb7a06eb21470521", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2af1f78790e4486d021ecd99a66d5ddd5ffece2ce6b8a9e2bb7a06eb21470521", kill_on_drop: false }` [INFO] [stdout] 2af1f78790e4486d021ecd99a66d5ddd5ffece2ce6b8a9e2bb7a06eb21470521