[INFO] cloning repository https://github.com/Darrenmeehan/hello-word-rust-lambda [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Darrenmeehan/hello-word-rust-lambda" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarrenmeehan%2Fhello-word-rust-lambda", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarrenmeehan%2Fhello-word-rust-lambda'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 771b5bc1d1725ca942b5d8d914a0b220782a1372 [INFO] testing Darrenmeehan/hello-word-rust-lambda against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarrenmeehan%2Fhello-word-rust-lambda" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Darrenmeehan/hello-word-rust-lambda on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1/source/.cargo/config [INFO] started tweaking git repo https://github.com/Darrenmeehan/hello-word-rust-lambda [INFO] finished tweaking git repo https://github.com/Darrenmeehan/hello-word-rust-lambda [INFO] tweaked toml for git repo https://github.com/Darrenmeehan/hello-word-rust-lambda written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/Darrenmeehan/hello-word-rust-lambda already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rusoto_credential v0.43.0 [INFO] [stderr] Downloaded rusoto_signature v0.43.0 [INFO] [stderr] Downloaded rusoto_dynamodb v0.43.0 [INFO] [stderr] Downloaded simple_logger v1.6.0 [INFO] [stderr] Downloaded rusoto_core v0.43.0 [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1348dcf6d38f24ff7e216a6ced8ce2e31d9ee7e6b91da390d8a6199d4779645 [INFO] running `Command { std: "docker" "start" "-a" "a1348dcf6d38f24ff7e216a6ced8ce2e31d9ee7e6b91da390d8a6199d4779645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1348dcf6d38f24ff7e216a6ced8ce2e31d9ee7e6b91da390d8a6199d4779645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1348dcf6d38f24ff7e216a6ced8ce2e31d9ee7e6b91da390d8a6199d4779645", kill_on_drop: false }` [INFO] [stdout] a1348dcf6d38f24ff7e216a6ced8ce2e31d9ee7e6b91da390d8a6199d4779645 [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 173efc7a51f4443c93238dc48f11375468162c586950a36fd12f8e26e7b4c7a3 [INFO] running `Command { std: "docker" "start" "-a" "173efc7a51f4443c93238dc48f11375468162c586950a36fd12f8e26e7b4c7a3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling standback v0.2.8 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling genawaiter-macro v0.99.1 [INFO] [stderr] Compiling rusoto v0.24.2 [INFO] [stderr] Compiling time v0.2.14 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling backtrace-sys v0.1.36 [INFO] [stderr] Compiling tracing-core v0.1.10 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling rusoto_core v0.43.0 [INFO] [stderr] Compiling rusoto_core v0.44.0 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling lambda_runtime_errors_derive v0.1.1 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tracing-subscriber v0.2.5 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Compiling async-trait v0.1.30 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling tracing-attributes v0.1.7 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling lambda-attributes v0.1.0 (https://github.com/awslabs/aws-lambda-rust-runtime/?branch=master#ed3fd167) [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling genawaiter-proc-macro v0.99.1 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling tracing v0.1.13 [INFO] [stderr] Compiling tracing-error v0.1.2 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling pin-project v0.4.9 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling genawaiter v0.99.1 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling simple_logger v1.6.0 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling rusoto_credential v0.43.0 [INFO] [stderr] Compiling rusoto_credential v0.44.0 [INFO] [stderr] Compiling lambda_runtime_errors v0.1.1 [INFO] [stderr] Compiling lambda v0.1.0 (https://github.com/awslabs/aws-lambda-rust-runtime/?branch=master#ed3fd167) [INFO] [stderr] Compiling lambda_runtime_client v0.2.2 [INFO] [stderr] Compiling rusoto_signature v0.44.0 [INFO] [stderr] Compiling rusoto_signature v0.43.0 [INFO] [stderr] Compiling rusoto_dynamodb v0.43.0 [INFO] [stderr] Compiling register-on-upload v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `#` [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[tokio::main] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:48:38 [INFO] [stdout] | [INFO] [stdout] 48 | let client = DynamoDbClient::new(Region::EuWest1); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected enum `rusoto_signature::region::Region`, found enum `Region` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `rusoto_signature` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | handler(event).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected trait object `dyn std::error::Error`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<_, Box<(dyn std::error::Error + Send + Sync + 'static)>>` [INFO] [stdout] found enum `Result<_, Box>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `register-on-upload` due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "173efc7a51f4443c93238dc48f11375468162c586950a36fd12f8e26e7b4c7a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "173efc7a51f4443c93238dc48f11375468162c586950a36fd12f8e26e7b4c7a3", kill_on_drop: false }` [INFO] [stdout] 173efc7a51f4443c93238dc48f11375468162c586950a36fd12f8e26e7b4c7a3