[INFO] fetching crate surge-ping 0.5.2... [INFO] testing surge-ping-0.5.2 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate surge-ping 0.5.2 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate surge-ping 0.5.2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate surge-ping 0.5.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate surge-ping 0.5.2 [INFO] tweaked toml for crates.io crate surge-ping 0.5.2 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate surge-ping 0.5.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9aab450f638e440e679c81c3d9407ef347f8ac1ed0e7a6104c64702fa57ff444 [INFO] running `Command { std: "docker" "start" "-a" "9aab450f638e440e679c81c3d9407ef347f8ac1ed0e7a6104c64702fa57ff444", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9aab450f638e440e679c81c3d9407ef347f8ac1ed0e7a6104c64702fa57ff444", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aab450f638e440e679c81c3d9407ef347f8ac1ed0e7a6104c64702fa57ff444", kill_on_drop: false }` [INFO] [stdout] 9aab450f638e440e679c81c3d9407ef347f8ac1ed0e7a6104c64702fa57ff444 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 507880066a585356bc0ca3cba54ab68b96db3c98c8a8b7bfde778951c36a061f [INFO] running `Command { std: "docker" "start" "-a" "507880066a585356bc0ca3cba54ab68b96db3c98c8a8b7bfde778951c36a061f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.114 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling pnet_base v0.29.0 [INFO] [stderr] Compiling bytes v1.0.0 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling pnet_macros_support v0.29.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling rand_core v0.6.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling pnet_macros v0.29.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling pnet_packet v0.29.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling surge-ping v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.43s [INFO] running `Command { std: "docker" "inspect" "507880066a585356bc0ca3cba54ab68b96db3c98c8a8b7bfde778951c36a061f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "507880066a585356bc0ca3cba54ab68b96db3c98c8a8b7bfde778951c36a061f", kill_on_drop: false }` [INFO] [stdout] 507880066a585356bc0ca3cba54ab68b96db3c98c8a8b7bfde778951c36a061f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1172e8259e713d829fc4316a35535bd2256dd7460c1c08a550c673ff4d1a5cd [INFO] running `Command { std: "docker" "start" "-a" "b1172e8259e713d829fc4316a35535bd2256dd7460c1c08a550c673ff4d1a5cd", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling surge-ping v0.5.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.90s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/surge_ping-e14e5f1f5f9502d0) [INFO] running `Command { std: "docker" "inspect" "b1172e8259e713d829fc4316a35535bd2256dd7460c1c08a550c673ff4d1a5cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1172e8259e713d829fc4316a35535bd2256dd7460c1c08a550c673ff4d1a5cd", kill_on_drop: false }` [INFO] [stdout] b1172e8259e713d829fc4316a35535bd2256dd7460c1c08a550c673ff4d1a5cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fe423c580a7387a949c7ae0287e268595ac5ac3efe7e41f23c6b94e9f6a0bc3f [INFO] running `Command { std: "docker" "start" "-a" "fe423c580a7387a949c7ae0287e268595ac5ac3efe7e41f23c6b94e9f6a0bc3f", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/surge_ping-e14e5f1f5f9502d0) [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 surge-ping [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - ping (line 34) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - ping (line 34) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:35:45 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_34_0() { [INFO] [stdout] | ----------------------------- this is not `async` [INFO] [stdout] 4 | match surge_ping::ping("127.0.0.1".parse()?).await { [INFO] [stdout] | ^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:35:43 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_34_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 4 | | match surge_ping::ping("127.0.0.1".parse()?).await { [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | Ok((_packet, duration)) => println!("duration: {:.2?}", duration), [INFO] [stdout] 6 | | Err(e) => println!("{:?}", e), [INFO] [stdout] 7 | | }; [INFO] [stdout] 8 | | } _doctest_main_src_lib_rs_34_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - ping (line 34) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "fe423c580a7387a949c7ae0287e268595ac5ac3efe7e41f23c6b94e9f6a0bc3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe423c580a7387a949c7ae0287e268595ac5ac3efe7e41f23c6b94e9f6a0bc3f", kill_on_drop: false }` [INFO] [stdout] fe423c580a7387a949c7ae0287e268595ac5ac3efe7e41f23c6b94e9f6a0bc3f