[INFO] fetching crate gree 0.1.1... [INFO] testing gree-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate gree 0.1.1 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate gree 0.1.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate gree 0.1.1 [INFO] tweaked toml for crates.io crate gree 0.1.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gree 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gree 0.1.1 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustls-pemfile v1.0.2 [INFO] [stderr] Downloaded pin-project-internal v1.1.0 [INFO] [stderr] Downloaded is-terminal v0.4.7 [INFO] [stderr] Downloaded cpufeatures v0.2.8 [INFO] [stderr] Downloaded serde_derive v1.0.164 [INFO] [stderr] Downloaded headers v0.3.8 [INFO] [stderr] Downloaded tiny_http v0.12.0 [INFO] [stderr] Downloaded pin-project v1.1.0 [INFO] [stderr] Downloaded warp v0.3.5 [INFO] [stderr] Downloaded serde v1.0.164 [INFO] [stderr] Downloaded proc-macro2 v1.0.60 [INFO] [stderr] Downloaded aho-corasick v1.0.2 [INFO] [stderr] Downloaded regex v1.8.4 [INFO] [stderr] Downloaded rustix v0.37.20 [INFO] [stderr] Downloaded chunked_transfer v1.4.1 [INFO] [stderr] Downloaded libc v0.2.146 [INFO] [stderr] Downloaded regex-syntax v0.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72c0d544f08bce33ef9f859481a60c135a4882194e536831fa5fcc9ad87fd2f4 [INFO] running `Command { std: "docker" "start" "-a" "72c0d544f08bce33ef9f859481a60c135a4882194e536831fa5fcc9ad87fd2f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72c0d544f08bce33ef9f859481a60c135a4882194e536831fa5fcc9ad87fd2f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72c0d544f08bce33ef9f859481a60c135a4882194e536831fa5fcc9ad87fd2f4", kill_on_drop: false }` [INFO] [stdout] 72c0d544f08bce33ef9f859481a60c135a4882194e536831fa5fcc9ad87fd2f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5db649558be03ea31e621bec457243b0533e53a93dfa3e4c7b2287d50a0847d2 [INFO] running `Command { std: "docker" "start" "-a" "5db649558be03ea31e621bec457243b0533e53a93dfa3e4c7b2287d50a0847d2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling cpufeatures v0.2.8 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling base64 v0.21.2 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling aes v0.8.2 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling gree v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.42s [INFO] running `Command { std: "docker" "inspect" "5db649558be03ea31e621bec457243b0533e53a93dfa3e4c7b2287d50a0847d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5db649558be03ea31e621bec457243b0533e53a93dfa3e4c7b2287d50a0847d2", kill_on_drop: false }` [INFO] [stdout] 5db649558be03ea31e621bec457243b0533e53a93dfa3e4c7b2287d50a0847d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c3de01659091be68e1e908162fe4eb8a1999111a24d0e66f98a70b0c6ae274f [INFO] running `Command { std: "docker" "start" "-a" "1c3de01659091be68e1e908162fe4eb8a1999111a24d0e66f98a70b0c6ae274f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling tracing-core v0.1.31 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Compiling aes v0.8.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling ascii v1.1.0 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling chunked_transfer v1.4.1 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling headers v0.3.8 [INFO] [stderr] Compiling tiny_http v0.12.0 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling is-terminal v0.4.7 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling pin-project v1.1.0 [INFO] [stderr] Compiling tokio-util v0.7.8 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling gree v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling h2 v0.3.19 [INFO] [stderr] Compiling hyper v0.14.26 [INFO] [stderr] Compiling warp v0.3.5 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 45.26s [INFO] running `Command { std: "docker" "inspect" "1c3de01659091be68e1e908162fe4eb8a1999111a24d0e66f98a70b0c6ae274f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c3de01659091be68e1e908162fe4eb8a1999111a24d0e66f98a70b0c6ae274f", kill_on_drop: false }` [INFO] [stdout] 1c3de01659091be68e1e908162fe4eb8a1999111a24d0e66f98a70b0c6ae274f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1fbd64ecfbbc7e7e802d1044049a096914f41298aa0feee4fe7f00df623d1aa1 [INFO] running `Command { std: "docker" "start" "-a" "1fbd64ecfbbc7e7e802d1044049a096914f41298aa0feee4fe7f00df623d1aa1", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gree-d8b2cc95b0594a1d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests gree [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] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/async_client.rs - async_client (line 5) ... FAILED [INFO] [stdout] test src/sync_client.rs - sync_client (line 8) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/async_client.rs - async_client (line 5) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GreeClientConfig` [INFO] [stdout] --> src/async_client.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut cc = GreeClientConfig::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `GreeClientConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use gree::GreeClientConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GreeClient` [INFO] [stdout] --> src/async_client.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 5 | let c = GreeClient::new(cc).await?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `GreeClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use gree::async_client::GreeClient; [INFO] [stdout] | [INFO] [stdout] 2 + use gree::sync_client::GreeClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/async_client.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_async_client_rs_5_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | let c = GreeClient::new(cc).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/async_client.rs:9:33 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_async_client_rs_5_0() { [INFO] [stdout] | ------------------------------------------ this is not `async` [INFO] [stdout] ... [INFO] [stdout] 6 | for (ip, _, pack) in cc.scan().await? { [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/sync_client.rs - sync_client (line 8) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GreeClientConfig` [INFO] [stdout] --> src/sync_client.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut cc = GreeClientConfig::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `GreeClientConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use gree::GreeClientConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GreeClient` [INFO] [stdout] --> src/sync_client.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 5 | let c = GreeClient::new(cc)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `GreeClient` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use gree::async_client::GreeClient; [INFO] [stdout] | [INFO] [stdout] 2 + use gree::sync_client::GreeClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/async_client.rs - async_client (line 5) [INFO] [stdout] src/sync_client.rs - sync_client (line 8) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "1fbd64ecfbbc7e7e802d1044049a096914f41298aa0feee4fe7f00df623d1aa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fbd64ecfbbc7e7e802d1044049a096914f41298aa0feee4fe7f00df623d1aa1", kill_on_drop: false }` [INFO] [stdout] 1fbd64ecfbbc7e7e802d1044049a096914f41298aa0feee4fe7f00df623d1aa1