[INFO] fetching crate reqwest-file 0.2.1... [INFO] testing reqwest-file-0.2.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate reqwest-file 0.2.1 into /workspace/builds/worker-1-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate reqwest-file 0.2.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 143 packages to latest compatible versions [INFO] [stderr] Adding axum v0.4.8 (available: v0.8.9) [INFO] [stderr] Adding generic-array v0.14.7 (available: v0.14.9) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.13.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38e9b74622d9211b4f7d7e15be595efd5adc55359c8af94104d14d406ab8cac1 [INFO] running `Command { std: "docker" "start" "-a" "38e9b74622d9211b4f7d7e15be595efd5adc55359c8af94104d14d406ab8cac1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38e9b74622d9211b4f7d7e15be595efd5adc55359c8af94104d14d406ab8cac1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38e9b74622d9211b4f7d7e15be595efd5adc55359c8af94104d14d406ab8cac1", kill_on_drop: false }` [INFO] [stdout] 38e9b74622d9211b4f7d7e15be595efd5adc55359c8af94104d14d406ab8cac1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ffd8f0037f28df5c9f1193ed23943197e3c725f89fe5832d48d4fd405c1ec52 [INFO] running `Command { std: "docker" "start" "-a" "5ffd8f0037f28df5c9f1193ed23943197e3c725f89fe5832d48d4fd405c1ec52", kill_on_drop: false }` [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling tokio v1.52.1 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling pin-project-internal v1.1.11 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling pin-project v1.1.11 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [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" "5ffd8f0037f28df5c9f1193ed23943197e3c725f89fe5832d48d4fd405c1ec52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ffd8f0037f28df5c9f1193ed23943197e3c725f89fe5832d48d4fd405c1ec52", kill_on_drop: false }` [INFO] [stdout] 5ffd8f0037f28df5c9f1193ed23943197e3c725f89fe5832d48d4fd405c1ec52