[INFO] fetching crate fwetch 0.1.2... [INFO] testing fwetch-0.1.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate fwetch 0.1.2 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate fwetch 0.1.2 [INFO] finished tweaking crates.io crate fwetch 0.1.2 [INFO] tweaked toml for crates.io crate fwetch 0.1.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fwetch 0.1.2 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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 233 packages to latest compatible versions [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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] a742a7ec3de1647136840e8bbc904cd2ed66865ca9d7c7eae29b87aa54e27517 [INFO] running `Command { std: "docker" "start" "-a" "a742a7ec3de1647136840e8bbc904cd2ed66865ca9d7c7eae29b87aa54e27517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a742a7ec3de1647136840e8bbc904cd2ed66865ca9d7c7eae29b87aa54e27517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a742a7ec3de1647136840e8bbc904cd2ed66865ca9d7c7eae29b87aa54e27517", kill_on_drop: false }` [INFO] [stdout] a742a7ec3de1647136840e8bbc904cd2ed66865ca9d7c7eae29b87aa54e27517 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 498b2eb478765abb1ce958c8aa0edfa3615280777f44cefa7a69c53dcfb52f43 [INFO] running `Command { std: "docker" "start" "-a" "498b2eb478765abb1ce958c8aa0edfa3615280777f44cefa7a69c53dcfb52f43", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling litemap v0.8.2 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling writeable v0.6.3 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling mio v1.2.0 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Compiling hashbrown v0.17.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling regex-lite v0.1.9 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling bytestring v1.5.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling actix-router v0.5.4 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [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 tokio-macros v2.7.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling tokio v1.51.1 [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 derive_more v2.1.1 [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 serde_urlencoded v0.7.1 [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 tokio-util v0.7.18 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling actix-http v3.12.0 [INFO] [stderr] Compiling actix-web v4.13.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling fwetch v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.74s [INFO] running `Command { std: "docker" "inspect" "498b2eb478765abb1ce958c8aa0edfa3615280777f44cefa7a69c53dcfb52f43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "498b2eb478765abb1ce958c8aa0edfa3615280777f44cefa7a69c53dcfb52f43", kill_on_drop: false }` [INFO] [stdout] 498b2eb478765abb1ce958c8aa0edfa3615280777f44cefa7a69c53dcfb52f43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae67284d38a14f593c1abe67fba90f81444e2f52605c232c7aa0b310d9bb1eb5 [INFO] running `Command { std: "docker" "start" "-a" "ae67284d38a14f593c1abe67fba90f81444e2f52605c232c7aa0b310d9bb1eb5", kill_on_drop: false }` [INFO] [stderr] Compiling fwetch v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.77s [INFO] running `Command { std: "docker" "inspect" "ae67284d38a14f593c1abe67fba90f81444e2f52605c232c7aa0b310d9bb1eb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae67284d38a14f593c1abe67fba90f81444e2f52605c232c7aa0b310d9bb1eb5", kill_on_drop: false }` [INFO] [stdout] ae67284d38a14f593c1abe67fba90f81444e2f52605c232c7aa0b310d9bb1eb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 92718461953f07ef09d85de013504ce65872c733e756c969d52b55fea5d2f8eb [INFO] running `Command { std: "docker" "start" "-a" "92718461953f07ef09d85de013504ce65872c733e756c969d52b55fea5d2f8eb", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fwetch-28737b2c69950ead) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests fwetch [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/client/client.rs - client::client::fwetch (line 7) ... FAILED [INFO] [stdout] test src/helpers/actix.rs - helpers::actix::convert_actix_request_to_reqwest (line 8) ... ok [INFO] [stdout] test src/helpers/actix.rs - helpers::actix::forward_reqwest (line 40) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/client/client.rs - client::client::fwetch (line 7) stdout ---- [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/client/client.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Serialize, Deserialize)] // <-- This is from serde (serde.rs) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 6 + use serde::Serialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/client/client.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Serialize, Deserialize)] // <-- This is from serde (serde.rs) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 6 + use serde::Deserialize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found crate `fwetch` [INFO] [stdout] --> src/client/client.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | let person: Person = fwetch("testurl.com", Method::Get, None, None).await.unwrap(); [INFO] [stdout] | ^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: consider importing this function instead [INFO] [stdout] | [INFO] [stdout] 6 + use fwetch::client::client::fwetch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Method` in this scope [INFO] [stdout] --> src/client/client.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | let person: Person = fwetch("testurl.com", Method::Get, None, None).await.unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 + use actix_web::http::Method; [INFO] [stdout] | [INFO] [stdout] 6 + use fwetch::dto::method::Method; [INFO] [stdout] | [INFO] [stdout] 6 + use reqwest::Method; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/client/client.rs:14:69 [INFO] [stdout] | [INFO] [stdout] 8 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_client_client_rs_7_0() { [INFO] [stdout] | ------------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 14 | let person: Person = fwetch("testurl.com", Method::Get, None, None).await.unwrap(); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/client/client.rs - client::client::fwetch (line 7) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.61s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "92718461953f07ef09d85de013504ce65872c733e756c969d52b55fea5d2f8eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92718461953f07ef09d85de013504ce65872c733e756c969d52b55fea5d2f8eb", kill_on_drop: false }` [INFO] [stdout] 92718461953f07ef09d85de013504ce65872c733e756c969d52b55fea5d2f8eb