[INFO] fetching crate async-fetcher 0.8.5... [INFO] testing async-fetcher-0.8.5 against 1.60.0 for beta-1.61-1 [INFO] extracting crate async-fetcher 0.8.5 into /workspace/builds/worker-92/source [INFO] validating manifest of crates.io crate async-fetcher 0.8.5 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate async-fetcher 0.8.5 [INFO] finished tweaking crates.io crate async-fetcher 0.8.5 [INFO] tweaked toml for crates.io crate async-fetcher 0.8.5 written to /workspace/builds/worker-92/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v0.7.0 [INFO] [stderr] Downloaded derive-new v0.5.9 [INFO] [stderr] Downloaded derive_setters v0.1.5 [INFO] [stderr] Downloaded md-5 v0.10.1 [INFO] [stderr] Downloaded nix v0.8.1 [INFO] [stderr] Downloaded ifaces v0.1.0 [INFO] [stderr] Downloaded async-shutdown v0.1.2 [INFO] [stderr] Downloaded remem v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2595326c55211a77562f79791ccdde6c49720c09211dc7cc5439b5e9dcdb34d7 [INFO] running `Command { std: "docker" "start" "-a" "2595326c55211a77562f79791ccdde6c49720c09211dc7cc5439b5e9dcdb34d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2595326c55211a77562f79791ccdde6c49720c09211dc7cc5439b5e9dcdb34d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2595326c55211a77562f79791ccdde6c49720c09211dc7cc5439b5e9dcdb34d7", kill_on_drop: false }` [INFO] [stdout] 2595326c55211a77562f79791ccdde6c49720c09211dc7cc5439b5e9dcdb34d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec67be64fb6209fc8fdf92f5c3ad789e3462c4db53d07c9cee74bccc4006e9b2 [INFO] running `Command { std: "docker" "start" "-a" "ec67be64fb6209fc8fdf92f5c3ad789e3462c4db53d07c9cee74bccc4006e9b2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling ipnet v2.4.0 [INFO] [stderr] Compiling async-shutdown v0.1.2 [INFO] [stderr] Compiling numtoa v0.2.4 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling tracing-core v0.1.25 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling nix v0.8.1 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling ifaces v0.1.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling remem v0.1.0 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling derive_setters v0.1.5 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling async-fetcher v0.8.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.04s [INFO] running `Command { std: "docker" "inspect" "ec67be64fb6209fc8fdf92f5c3ad789e3462c4db53d07c9cee74bccc4006e9b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec67be64fb6209fc8fdf92f5c3ad789e3462c4db53d07c9cee74bccc4006e9b2", kill_on_drop: false }` [INFO] [stdout] ec67be64fb6209fc8fdf92f5c3ad789e3462c4db53d07c9cee74bccc4006e9b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be3be308a0a0d730bed2f15796b7a7bac1b8ed9d98579e30d0cb08e06d0c25dd [INFO] running `Command { std: "docker" "start" "-a" "be3be308a0a0d730bed2f15796b7a7bac1b8ed9d98579e30d0cb08e06d0c25dd", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling async-fetcher v0.8.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 11.35s [INFO] running `Command { std: "docker" "inspect" "be3be308a0a0d730bed2f15796b7a7bac1b8ed9d98579e30d0cb08e06d0c25dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be3be308a0a0d730bed2f15796b7a7bac1b8ed9d98579e30d0cb08e06d0c25dd", kill_on_drop: false }` [INFO] [stdout] be3be308a0a0d730bed2f15796b7a7bac1b8ed9d98579e30d0cb08e06d0c25dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-92/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0f1396fdb52d7ecbec4fb76eecbb7446ce1cc5af9ac6a393114e35ec08972d73 [INFO] running `Command { std: "docker" "start" "-a" "0f1396fdb52d7ecbec4fb76eecbb7446ce1cc5af9ac6a393114e35ec08972d73", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.59s [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/async_fetcher-b986aee57002a1f3) [INFO] [stdout] [INFO] [stderr] Doc-tests async-fetcher [INFO] [stdout] test result: ok. 0 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/checksum_system.rs - checksum_system::checksum_stream (line 13) ... FAILED [INFO] [stdout] test src/lib.rs - (line 13) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/checksum_system.rs - checksum_system::checksum_stream (line 13) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `checksum_stream` in this scope [INFO] [stdout] --> src/checksum_system.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut stream = checksum_stream(checksums).map(tokio::spawn).buffered(8); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use async_fetcher::checksum_stream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `checksums` in this scope [INFO] [stdout] --> src/checksum_system.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 3 | let mut stream = checksum_stream(checksums).map(tokio::spawn).buffered(8); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/checksum_system.rs:15:47 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_checksum_system_rs_13_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 3 | let mut stream = checksum_stream(checksums).map(tokio::spawn).buffered(8); [INFO] [stdout] 4 | while let Some((path, result)) = stream.next().await { [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 13) stdout ---- [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/lib.rs:35:34 [INFO] [stdout] | [INFO] [stdout] 24 | .stream_from(input_stream, 4) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 25 | } _doctest_main_src_lib_rs_13_0() } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Fetcher` [INFO] [stdout] --> src/lib.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 7 | let results_stream = Fetcher::default() [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use async_fetcher::Fetcher; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/lib.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 19 | .timeout(Duration::from_secs(15)) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::time::Duration; [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `input_stream` in this scope [INFO] [stdout] --> src/lib.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 24 | .stream_from(input_stream, 4) [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/checksum_system.rs - checksum_system::checksum_stream (line 13) [INFO] [stdout] src/lib.rs - (line 13) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "0f1396fdb52d7ecbec4fb76eecbb7446ce1cc5af9ac6a393114e35ec08972d73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f1396fdb52d7ecbec4fb76eecbb7446ce1cc5af9ac6a393114e35ec08972d73", kill_on_drop: false }` [INFO] [stdout] 0f1396fdb52d7ecbec4fb76eecbb7446ce1cc5af9ac6a393114e35ec08972d73