[INFO] fetching crate areq-tokio 0.1.0-alpha5... [INFO] testing areq-tokio-0.1.0-alpha5 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate areq-tokio 0.1.0-alpha5 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate areq-tokio 0.1.0-alpha5 [INFO] finished tweaking crates.io crate areq-tokio 0.1.0-alpha5 [INFO] tweaked toml for crates.io crate areq-tokio 0.1.0-alpha5 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate areq-tokio 0.1.0-alpha5 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate areq-tokio 0.1.0-alpha5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06a9485f9214239ded25e096678046fb1e0efc02bec4302d156dcea8a965d1c3 [INFO] running `Command { std: "docker" "start" "-a" "06a9485f9214239ded25e096678046fb1e0efc02bec4302d156dcea8a965d1c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06a9485f9214239ded25e096678046fb1e0efc02bec4302d156dcea8a965d1c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06a9485f9214239ded25e096678046fb1e0efc02bec4302d156dcea8a965d1c3", kill_on_drop: false }` [INFO] [stdout] 06a9485f9214239ded25e096678046fb1e0efc02bec4302d156dcea8a965d1c3 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e576b67c70fb506f5acdba6b823730687f2c95418d206ac63ee1ef7284d62159 [INFO] running `Command { std: "docker" "start" "-a" "e576b67c70fb506f5acdba6b823730687f2c95418d206ac63ee1ef7284d62159", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling bytes v1.10.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling areq-body v0.1.0-alpha5 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling areq v0.1.0-alpha5 [INFO] [stderr] Compiling areq-tokio v0.1.0-alpha5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.77s [INFO] running `Command { std: "docker" "inspect" "e576b67c70fb506f5acdba6b823730687f2c95418d206ac63ee1ef7284d62159", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e576b67c70fb506f5acdba6b823730687f2c95418d206ac63ee1ef7284d62159", kill_on_drop: false }` [INFO] [stdout] e576b67c70fb506f5acdba6b823730687f2c95418d206ac63ee1ef7284d62159 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eeef473471dc5341f575824eb17ccf9975d175421518e9e64658b292590798ac [INFO] running `Command { std: "docker" "start" "-a" "eeef473471dc5341f575824eb17ccf9975d175421518e9e64658b292590798ac", kill_on_drop: false }` [INFO] [stderr] Compiling areq-tokio v0.1.0-alpha5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.87s [INFO] running `Command { std: "docker" "inspect" "eeef473471dc5341f575824eb17ccf9975d175421518e9e64658b292590798ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeef473471dc5341f575824eb17ccf9975d175421518e9e64658b292590798ac", kill_on_drop: false }` [INFO] [stdout] eeef473471dc5341f575824eb17ccf9975d175421518e9e64658b292590798ac [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8bd6352ed1b34020265a38243b3b074214de7245e7d743016cdef0a1f9190655 [INFO] running `Command { std: "docker" "start" "-a" "8bd6352ed1b34020265a38243b3b074214de7245e7d743016cdef0a1f9190655", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/areq_tokio-4df609158f9aabc2) [INFO] [stderr] Doc-tests areq_tokio [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test io::tests::read ... ok [INFO] [stdout] test io::tests::write ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/../README.md - (line 29) ... FAILED [INFO] [stdout] test src/connect.rs - connect::Connect (line 18) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/../README.md - (line 29) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `areq_tokio::http1` [INFO] [stdout] --> src/../README.md:32:29 [INFO] [stdout] | [INFO] [stdout] 32 | areq_tokio::{http::Uri, http1::Http1, prelude::*}, [INFO] [stdout] | ^^^^^ could not find `http1` in `areq_tokio` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stdout] --> src/../README.md:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | tokio::spawn(conn); [INFO] [stdout] | ^^^^^ not found in `tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/lib.rs:552:19 [INFO] [stdout] | [INFO] [stdout] 551 | / cfg_rt! { [INFO] [stdout] 552 | | pub use task::spawn; [INFO] [stdout] | | ^^^^^ [INFO] [stdout] 553 | | } [INFO] [stdout] | |_- the item is gated behind the `rt` feature [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 28 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] help: if you import `spawn`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 45 - tokio::spawn(conn); [INFO] [stdout] 45 + spawn(conn); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/../README.md:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let (mut client, conn) = Http1::default().connect(&uri).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | client.get(uri, ()).await?.text().await [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 41 | let (mut client, conn): (_, _) = Http1::default().connect(&uri).await?; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/../README.md:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | client.get(uri, ()).await?.text().await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/connect.rs - connect::Connect (line 18) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `areq_tokio::http1` [INFO] [stdout] --> src/connect.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | areq_tokio::{http::Uri, http1::Http1, prelude::*}, [INFO] [stdout] | ^^^^^ could not find `http1` in `areq_tokio` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in crate `tokio` [INFO] [stdout] --> src/connect.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | tokio::spawn(conn); [INFO] [stdout] | ^^^^^ not found in `tokio` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.43.0/src/lib.rs:552:19 [INFO] [stdout] | [INFO] [stdout] 551 | / cfg_rt! { [INFO] [stdout] 552 | | pub use task::spawn; [INFO] [stdout] | | ^^^^^ [INFO] [stdout] 553 | | } [INFO] [stdout] | |_- the item is gated behind the `rt` feature [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 17 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] help: if you import `spawn`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 32 - tokio::spawn(conn); [INFO] [stdout] 32 + spawn(conn); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `(_, _)` [INFO] [stdout] --> src/connect.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let (mut client, conn) = Http1::default().connect(&uri).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | client.get(uri, ()).await?.text().await [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this pattern a type, where the placeholders `_` are specified [INFO] [stdout] | [INFO] [stdout] 29 | let (mut client, conn): (_, _) = Http1::default().connect(&uri).await?; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/connect.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | client.get(uri, ()).await?.text().await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0432. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/../README.md - (line 29) [INFO] [stdout] src/connect.rs - connect::Connect (line 18) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.32s; merged doctests compilation took 0.19s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "8bd6352ed1b34020265a38243b3b074214de7245e7d743016cdef0a1f9190655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bd6352ed1b34020265a38243b3b074214de7245e7d743016cdef0a1f9190655", kill_on_drop: false }` [INFO] [stdout] 8bd6352ed1b34020265a38243b3b074214de7245e7d743016cdef0a1f9190655