[INFO] fetching crate fwetch 0.1.2... [INFO] testing fwetch-0.1.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate fwetch 0.1.2 into /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fwetch 0.1.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 221 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb8be4fc1cd7240730ee58da6e8a08cc5e75c86c8eb91a8ca65bd7e956be1ab5 [INFO] running `Command { std: "docker" "start" "-a" "cb8be4fc1cd7240730ee58da6e8a08cc5e75c86c8eb91a8ca65bd7e956be1ab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb8be4fc1cd7240730ee58da6e8a08cc5e75c86c8eb91a8ca65bd7e956be1ab5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb8be4fc1cd7240730ee58da6e8a08cc5e75c86c8eb91a8ca65bd7e956be1ab5", kill_on_drop: false }` [INFO] [stdout] cb8be4fc1cd7240730ee58da6e8a08cc5e75c86c8eb91a8ca65bd7e956be1ab5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8be2a768aad16a8567d7447ac284aa242e816aa4bdeb56f4320629361bef238c [INFO] running `Command { std: "docker" "start" "-a" "8be2a768aad16a8567d7447ac284aa242e816aa4bdeb56f4320629361bef238c", kill_on_drop: false }` [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling regex-lite v0.1.8 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling brotli-decompressor v5.0.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling bytestring v1.5.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling brotli v8.0.2 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling actix-rt v2.11.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling actix-server v2.6.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling actix-http v3.11.2 [INFO] [stderr] Compiling actix-web v4.11.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 1m 50s [INFO] running `Command { std: "docker" "inspect" "8be2a768aad16a8567d7447ac284aa242e816aa4bdeb56f4320629361bef238c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8be2a768aad16a8567d7447ac284aa242e816aa4bdeb56f4320629361bef238c", kill_on_drop: false }` [INFO] [stdout] 8be2a768aad16a8567d7447ac284aa242e816aa4bdeb56f4320629361bef238c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef177c35b42b32f8b1a441cf7a88bfe659986900011e952eb0b70ecedf73ae64 [INFO] running `Command { std: "docker" "start" "-a" "ef177c35b42b32f8b1a441cf7a88bfe659986900011e952eb0b70ecedf73ae64", kill_on_drop: false }` [INFO] [stderr] Compiling fwetch v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.85s [INFO] running `Command { std: "docker" "inspect" "ef177c35b42b32f8b1a441cf7a88bfe659986900011e952eb0b70ecedf73ae64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef177c35b42b32f8b1a441cf7a88bfe659986900011e952eb0b70ecedf73ae64", kill_on_drop: false }` [INFO] [stdout] ef177c35b42b32f8b1a441cf7a88bfe659986900011e952eb0b70ecedf73ae64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a591bd86cd2cc2251acbf6ffa1c9b5ce0550e624bc4bbdbab7ee779422cd5665 [INFO] running `Command { std: "docker" "start" "-a" "a591bd86cd2cc2251acbf6ffa1c9b5ce0550e624bc4bbdbab7ee779422cd5665", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fwetch-538220a031d98b3f) [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::forward_reqwest (line 40) ... ok [INFO] [stdout] test src/helpers/actix.rs - helpers::actix::convert_actix_request_to_reqwest (line 8) ... 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]: failed to resolve: use of undeclared type `Method` [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 1.43s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a591bd86cd2cc2251acbf6ffa1c9b5ce0550e624bc4bbdbab7ee779422cd5665", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a591bd86cd2cc2251acbf6ffa1c9b5ce0550e624bc4bbdbab7ee779422cd5665", kill_on_drop: false }` [INFO] [stdout] a591bd86cd2cc2251acbf6ffa1c9b5ce0550e624bc4bbdbab7ee779422cd5665