[INFO] fetching crate tus 2.0.0-rc1.0... [INFO] testing tus-2.0.0-rc1.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate tus 2.0.0-rc1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate tus 2.0.0-rc1.0 [INFO] finished tweaking crates.io crate tus 2.0.0-rc1.0 [INFO] tweaked toml for crates.io crate tus 2.0.0-rc1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tus 2.0.0-rc1.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 183 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.6 (available: v0.10.1) [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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b300a842442e11703c44e204e4332cb19049c9df86185d29ebc910582f642783 [INFO] running `Command { std: "docker" "start" "-a" "b300a842442e11703c44e204e4332cb19049c9df86185d29ebc910582f642783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b300a842442e11703c44e204e4332cb19049c9df86185d29ebc910582f642783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b300a842442e11703c44e204e4332cb19049c9df86185d29ebc910582f642783", kill_on_drop: false }` [INFO] [stdout] b300a842442e11703c44e204e4332cb19049c9df86185d29ebc910582f642783 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f32675462d4f387f70a8fc623d696fff2015d244832cf7d54f2323b4781d256a [INFO] running `Command { std: "docker" "start" "-a" "f32675462d4f387f70a8fc623d696fff2015d244832cf7d54f2323b4781d256a", kill_on_drop: false }` [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling pkg-config v0.3.33 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling openssl v0.10.78 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling tokio v1.52.1 [INFO] [stderr] Compiling rustc-demangle v0.1.27 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling openssl-sys v0.9.114 [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 native-tls v0.2.18 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling tus v2.0.0-rc1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.67s [INFO] running `Command { std: "docker" "inspect" "f32675462d4f387f70a8fc623d696fff2015d244832cf7d54f2323b4781d256a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f32675462d4f387f70a8fc623d696fff2015d244832cf7d54f2323b4781d256a", kill_on_drop: false }` [INFO] [stdout] f32675462d4f387f70a8fc623d696fff2015d244832cf7d54f2323b4781d256a [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e739c741994d443446d86c0c04089358ff94f622ea692d0dd40b691ec6f5e8a0 [INFO] running `Command { std: "docker" "start" "-a" "e739c741994d443446d86c0c04089358ff94f622ea692d0dd40b691ec6f5e8a0", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.6 [INFO] [stderr] Compiling tus v2.0.0-rc1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> src/lib.rs:152:16 [INFO] [stdout] | [INFO] [stdout] 152 | client.upload_inner(file, |chunk, _| { [INFO] [stdout] | ^^^^^^^^^^^^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `Future` is not implemented for `Result` [INFO] [stdout] note: required by a bound in `Client::upload_inner` [INFO] [stdout] --> src/lib.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 76 | async fn upload_inner(&self, mut reader: T, mut cb: U) -> Result [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 77 | where T: Read, [INFO] [stdout] 78 | F: Future>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Client::upload_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> src/lib.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 152 | / client.upload_inner(file, |chunk, _| { [INFO] [stdout] 153 | | vec.extend(&chunk); [INFO] [stdout] 154 | | Ok(chunk.len()) [INFO] [stdout] 155 | | }).expect("Didn't upload_inner"); [INFO] [stdout] | | -^^^^^^ method not found in `impl Future>` [INFO] [stdout] | |___________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 155 | }).await.expect("Didn't upload_inner"); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> src/lib.rs:180:14 [INFO] [stdout] | [INFO] [stdout] 176 | let resp = reqwest::Client::new() [INFO] [stdout] | ____________________- [INFO] [stdout] 177 | | .post("https://master.tus.io/files/") [INFO] [stdout] 178 | | .headers(headers) [INFO] [stdout] 179 | | .send() [INFO] [stdout] 180 | | .expect("couldn't get upload location"); [INFO] [stdout] | | -^^^^^^ method not found in `impl Future>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 180 | .await.expect("couldn't get upload location"); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `expect` found for opaque type `impl Future>` in the current scope [INFO] [stdout] --> src/lib.rs:193:29 [INFO] [stdout] | [INFO] [stdout] 193 | client.upload(file).expect("Couldn't upload file"); [INFO] [stdout] | ^^^^^^ method not found in `impl Future>` [INFO] [stdout] | [INFO] [stdout] help: consider `await`ing on the `Future` and calling the method on its `Output` [INFO] [stdout] | [INFO] [stdout] 193 | client.upload(file).await.expect("Couldn't upload file"); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tus` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "e739c741994d443446d86c0c04089358ff94f622ea692d0dd40b691ec6f5e8a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e739c741994d443446d86c0c04089358ff94f622ea692d0dd40b691ec6f5e8a0", kill_on_drop: false }` [INFO] [stdout] e739c741994d443446d86c0c04089358ff94f622ea692d0dd40b691ec6f5e8a0