[INFO] cloning repository https://github.com/Darrenmeehan/hello-word-rust-lambda [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarrenmeehan%2Fhello-word-rust-lambda'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 771b5bc1d1725ca942b5d8d914a0b220782a1372 [INFO] testing Darrenmeehan/hello-word-rust-lambda against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarrenmeehan%2Fhello-word-rust-lambda" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Darrenmeehan/hello-word-rust-lambda on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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-3/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 `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating git repository `https://github.com/awslabs/aws-lambda-rust-runtime/` [INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/awslabs/aws-lambda-rust-runtime/` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cf44b47ba974e487f20bc1c850f231739db76edf7b66a0a6e15999b83eaa476d [INFO] running `"docker" "start" "-a" "cf44b47ba974e487f20bc1c850f231739db76edf7b66a0a6e15999b83eaa476d"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling genawaiter-macro v0.99.1 [INFO] [stderr] Compiling rusoto v0.24.2 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling tracing-core v0.1.10 [INFO] [stderr] Compiling sharded-slab v0.0.9 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling rusoto_core v0.43.0 [INFO] [stderr] Compiling rusoto_core v0.44.0 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.8 [INFO] [stderr] Compiling lambda-attributes v0.1.0 (https://github.com/awslabs/aws-lambda-rust-runtime/#ed3fd167) [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling tracing-subscriber v0.2.5 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.6 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling simple_logger v1.6.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling genawaiter-proc-macro v0.99.1 [INFO] [stderr] Compiling tracing v0.1.15 [INFO] [stderr] Compiling tracing-error v0.1.2 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling genawaiter v0.99.1 [INFO] [stderr] Compiling lambda_runtime_errors_derive v0.1.1 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling lambda_runtime_errors v0.1.1 [INFO] [stderr] Compiling lambda_runtime_client v0.2.2 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling rusoto_credential v0.43.0 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling rusoto_credential v0.44.0 [INFO] [stderr] Compiling lambda v0.1.0 (https://github.com/awslabs/aws-lambda-rust-runtime/#ed3fd167) [INFO] [stderr] Compiling rusoto_signature v0.43.0 [INFO] [stderr] Compiling rusoto_signature v0.44.0 [INFO] [stderr] Compiling rusoto_dynamodb v0.43.0 [INFO] [stderr] Compiling register-on-upload v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary braces around block return value [INFO] [stderr] --> src/main.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | #[lambda] [INFO] [stderr] | ^^^^^^^^^ help: remove these braces [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:48:38 [INFO] [stderr] | [INFO] [stderr] 48 | let client = DynamoDbClient::new(Region::EuWest1); [INFO] [stderr] | ^^^^^^^^^^^^^^^ expected enum `rusoto_signature::region::Region`, found a different enum `rusoto_signature::region::Region` [INFO] [stderr] | [INFO] [stderr] = note: perhaps two different versions of crate `rusoto_signature` are being used? [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | #[lambda] [INFO] [stderr] | ^^^^^^^^^ expected trait object `dyn std::error::Error`, found struct `std::boxed::Box` [INFO] [stderr] | [INFO] [stderr] = note: expected enum `std::result::Result<_, std::boxed::Box<(dyn std::error::Error + std::marker::Send + std::marker::Sync + 'static)>>` [INFO] [stderr] found enum `std::result::Result<_, std::boxed::Box>>` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `register-on-upload`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "cf44b47ba974e487f20bc1c850f231739db76edf7b66a0a6e15999b83eaa476d"` [INFO] running `"docker" "rm" "-f" "cf44b47ba974e487f20bc1c850f231739db76edf7b66a0a6e15999b83eaa476d"` [INFO] [stdout] cf44b47ba974e487f20bc1c850f231739db76edf7b66a0a6e15999b83eaa476d