[INFO] fetching crate reqwest-file 0.2.1... [INFO] testing reqwest-file-0.2.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate reqwest-file 0.2.1 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate reqwest-file 0.2.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "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.6) [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded matchit v0.4.6 [INFO] [stderr] Downloaded axum-core v0.1.2 [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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f63added4549dd75bde464b5673409579e2a91f3408ea22a00952b48dcb88b2 [INFO] running `Command { std: "docker" "start" "-a" "7f63added4549dd75bde464b5673409579e2a91f3408ea22a00952b48dcb88b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f63added4549dd75bde464b5673409579e2a91f3408ea22a00952b48dcb88b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f63added4549dd75bde464b5673409579e2a91f3408ea22a00952b48dcb88b2", kill_on_drop: false }` [INFO] [stdout] 7f63added4549dd75bde464b5673409579e2a91f3408ea22a00952b48dcb88b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c3a4f766795902a304341ac34f7b89305046d862841cadcfbcb224dcd3576ac [INFO] running `Command { std: "docker" "start" "-a" "4c3a4f766795902a304341ac34f7b89305046d862841cadcfbcb224dcd3576ac", kill_on_drop: false }` [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling url v2.5.7 [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" "4c3a4f766795902a304341ac34f7b89305046d862841cadcfbcb224dcd3576ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c3a4f766795902a304341ac34f7b89305046d862841cadcfbcb224dcd3576ac", kill_on_drop: false }` [INFO] [stdout] 4c3a4f766795902a304341ac34f7b89305046d862841cadcfbcb224dcd3576ac