[INFO] fetching crate natpmp 0.3.1... [INFO] checking natpmp-0.3.1 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate natpmp 0.3.1 into /workspace/builds/worker-81/source [INFO] validating manifest of crates.io crate natpmp 0.3.1 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate natpmp 0.3.1 [INFO] finished tweaking crates.io crate natpmp 0.3.1 [INFO] tweaked toml for crates.io crate natpmp 0.3.1 written to /workspace/builds/worker-81/source/Cargo.toml [INFO] crate crates.io crate natpmp 0.3.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6fb02ac72e5f116bb1f3804a31dbb67b374fe164f918a39adbf0d34bf54e054 [INFO] running `Command { std: "docker" "start" "-a" "a6fb02ac72e5f116bb1f3804a31dbb67b374fe164f918a39adbf0d34bf54e054", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6fb02ac72e5f116bb1f3804a31dbb67b374fe164f918a39adbf0d34bf54e054", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6fb02ac72e5f116bb1f3804a31dbb67b374fe164f918a39adbf0d34bf54e054", kill_on_drop: false }` [INFO] [stdout] a6fb02ac72e5f116bb1f3804a31dbb67b374fe164f918a39adbf0d34bf54e054 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbbebb0b1c9a47bdaa91dd9e92fd39af2105e43055e32fc932df4e67bd21fd06 [INFO] running `Command { std: "docker" "start" "-a" "cbbebb0b1c9a47bdaa91dd9e92fd39af2105e43055e32fc932df4e67bd21fd06", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling tokio v1.6.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling natpmp v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking mio v0.7.11 [INFO] [stdout] error: cannot find attribute `tokio_main` in this scope [INFO] [stdout] --> examples/async_udp.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[tokio_main] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> examples/async_udp.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() -> Result<()> { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] 5 | let n = new_tokio_natpmp().await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> examples/async_udp.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() -> Result<()> { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] 5 | let n = new_tokio_natpmp().await?; [INFO] [stdout] 6 | / n.send_port_mapping_request(Protocol::UDP, 4020, 4020, 30) [INFO] [stdout] 7 | | .await?; [INFO] [stdout] | |______________^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> examples/async_udp.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() -> Result<()> { [INFO] [stdout] | ---- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 8 | match n.read_response_or_retry().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0728`. [INFO] [stdout] [INFO] [stderr] error: could not compile `natpmp` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cbbebb0b1c9a47bdaa91dd9e92fd39af2105e43055e32fc932df4e67bd21fd06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbbebb0b1c9a47bdaa91dd9e92fd39af2105e43055e32fc932df4e67bd21fd06", kill_on_drop: false }` [INFO] [stdout] cbbebb0b1c9a47bdaa91dd9e92fd39af2105e43055e32fc932df4e67bd21fd06