[INFO] cloning repository https://github.com/daniel1302/aws-alarm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/daniel1302/aws-alarm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaniel1302%2Faws-alarm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaniel1302%2Faws-alarm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 948fb8384f9bed9b4b48c80ba914f49d0ed16a6d [INFO] building daniel1302/aws-alarm/948fb8384f9bed9b4b48c80ba914f49d0ed16a6d against master#9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 for pr-117684 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaniel1302%2Faws-alarm" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/daniel1302/aws-alarm on toolchain 9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/daniel1302/aws-alarm [INFO] finished tweaking git repo https://github.com/daniel1302/aws-alarm [INFO] tweaked toml for git repo https://github.com/daniel1302/aws-alarm written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/daniel1302/aws-alarm 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" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/awslabs/aws-sdk-rust` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bdb456aabf6e669a6b07d36711d00f68298ec16144506df9434313d4a1e373ce [INFO] running `Command { std: "docker" "start" "-a" "bdb456aabf6e669a6b07d36711d00f68298ec16144506df9434313d4a1e373ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdb456aabf6e669a6b07d36711d00f68298ec16144506df9434313d4a1e373ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdb456aabf6e669a6b07d36711d00f68298ec16144506df9434313d4a1e373ce", kill_on_drop: false }` [INFO] [stdout] bdb456aabf6e669a6b07d36711d00f68298ec16144506df9434313d4a1e373ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40a320116a5cff2e6571c45b2ab7b7d6fc69b45c1baf8ef96c977bb0985c2387 [INFO] running `Command { std: "docker" "start" "-a" "40a320116a5cff2e6571c45b2ab7b7d6fc69b45c1baf8ef96c977bb0985c2387", kill_on_drop: false }` [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling zeroize v1.6.0 [INFO] [stderr] Compiling bytes-utils v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling xmlparser v0.13.3 [INFO] [stderr] Compiling urlencoding v1.3.3 [INFO] [stderr] Compiling aws-types v0.0.22-alpha (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.22-alpha#6c874ba3) [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling aws-smithy-types v0.27.0-alpha (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.22-alpha#6c874ba3) [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling aws-smithy-query v0.27.0-alpha (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.22-alpha#6c874ba3) [INFO] [stderr] Compiling aws-smithy-json v0.27.0-alpha (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.22-alpha#6c874ba3) [INFO] [stderr] Compiling ct-logs v0.8.0 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling aws-smithy-async v0.27.0-alpha (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.22-alpha#6c874ba3) [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling aws-smithy-xml v0.27.0-alpha (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.22-alpha#6c874ba3) [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling aws-sigv4 v0.0.22-alpha (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.22-alpha#6c874ba3) [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling aws-smithy-http v0.27.0-alpha (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.22-alpha#6c874ba3) [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling aws-smithy-http-tower v0.27.0-alpha (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.22-alpha#6c874ba3) [INFO] [stderr] Compiling aws-endpoint v0.0.22-alpha (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.22-alpha#6c874ba3) [INFO] [stderr] Compiling aws-http v0.0.22-alpha (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.22-alpha#6c874ba3) [INFO] [stderr] Compiling aws-sig-auth v0.0.22-alpha (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.22-alpha#6c874ba3) [INFO] [stderr] Compiling aws-smithy-client v0.27.0-alpha (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.22-alpha#6c874ba3) [INFO] [stderr] Compiling aws-hyper v0.0.22-alpha (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.22-alpha#6c874ba3) [INFO] [stderr] Compiling aws-sdk-sts v0.0.22-alpha (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.22-alpha#6c874ba3) [INFO] [stderr] Compiling aws-sdk-cloudwatch v0.0.22-alpha (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.22-alpha#6c874ba3) [INFO] [stderr] Compiling aws-config v0.0.22-alpha (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.22-alpha#6c874ba3) [INFO] [stderr] Compiling aws-alarm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> src/main.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[tokio::main] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `list_tables` found for struct `aws_sdk_cloudwatch::Client` in the current scope [INFO] [stdout] --> src/main.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | let req = client.list_tables().limit(10); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | async fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0752. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aws-alarm` (bin "aws-alarm") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "40a320116a5cff2e6571c45b2ab7b7d6fc69b45c1baf8ef96c977bb0985c2387", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40a320116a5cff2e6571c45b2ab7b7d6fc69b45c1baf8ef96c977bb0985c2387", kill_on_drop: false }` [INFO] [stdout] 40a320116a5cff2e6571c45b2ab7b7d6fc69b45c1baf8ef96c977bb0985c2387