[INFO] updating cached repository https://github.com/techno-tanoC/async_transaction [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c307e530b199340216929d6b262943349184eb5 [INFO] testing techno-tanoC/async_transaction against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftechno-tanoC%2Fasync_transaction" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/techno-tanoC/async_transaction on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/techno-tanoC/async_transaction [INFO] finished tweaking git repo https://github.com/techno-tanoC/async_transaction [INFO] tweaked toml for git repo https://github.com/techno-tanoC/async_transaction written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/techno-tanoC/async_transaction already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82c2a64143a68a1956dcf6e196d9172b586d69924fc5f26d6ba1897a22c3d345 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "82c2a64143a68a1956dcf6e196d9172b586d69924fc5f26d6ba1897a22c3d345", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82c2a64143a68a1956dcf6e196d9172b586d69924fc5f26d6ba1897a22c3d345", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82c2a64143a68a1956dcf6e196d9172b586d69924fc5f26d6ba1897a22c3d345", kill_on_drop: false }` [INFO] [stdout] 82c2a64143a68a1956dcf6e196d9172b586d69924fc5f26d6ba1897a22c3d345 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7d4df7bede53e9706e51765945ae46ee8c256b78096e0877e5cefc9712e5ceec [INFO] running `Command { std: "docker" "start" "-a" "7d4df7bede53e9706e51765945ae46ee8c256b78096e0877e5cefc9712e5ceec", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling diesel v1.4.5 [INFO] [stderr] Compiling async_transaction v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `sleep` in module `tokio::time` [INFO] [stdout] --> src/main.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | tokio::time::sleep(tokio::time::Duration::from_secs(1)).await; [INFO] [stdout] | ^^^^^ not found in `tokio::time` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 | use std::thread::sleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 23 | conn.transaction::<_, diesel::result::Error, _>(|| { [INFO] [stdout] | -- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 27 | tokio::time::sleep(tokio::time::Duration::from_secs(1)).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async_transaction`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "7d4df7bede53e9706e51765945ae46ee8c256b78096e0877e5cefc9712e5ceec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d4df7bede53e9706e51765945ae46ee8c256b78096e0877e5cefc9712e5ceec", kill_on_drop: false }` [INFO] [stdout] 7d4df7bede53e9706e51765945ae46ee8c256b78096e0877e5cefc9712e5ceec