[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] checking Darrenmeehan/hello-word-rust-lambda against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarrenmeehan%2Fhello-word-rust-lambda" "/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/Darrenmeehan/hello-word-rust-lambda on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5/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-5/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" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-5/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/awslabs/aws-lambda-rust-runtime/` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "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" "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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", 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] cb42043228977eda871e2d1271687905f15dced5d1995f10715911d2135f408e [INFO] running `Command { std: "docker" "start" "-a" "cb42043228977eda871e2d1271687905f15dced5d1995f10715911d2135f408e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb42043228977eda871e2d1271687905f15dced5d1995f10715911d2135f408e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb42043228977eda871e2d1271687905f15dced5d1995f10715911d2135f408e", kill_on_drop: false }` [INFO] [stdout] cb42043228977eda871e2d1271687905f15dced5d1995f10715911d2135f408e [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" "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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--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] 2c27483680ea03f31c9e0132e24ebf2c1dffd62735050c358a72bb4887967fe0 [INFO] running `Command { std: "docker" "start" "-a" "2c27483680ea03f31c9e0132e24ebf2c1dffd62735050c358a72bb4887967fe0", kill_on_drop: false }` [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking zeroize v1.1.1 [INFO] [stderr] Checking shlex v0.1.1 [INFO] [stderr] Checking rusoto v0.24.2 [INFO] [stderr] Checking libc v0.2.80 [INFO] [stderr] Checking tracing-subscriber v0.2.15 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Compiling rusoto_core v0.43.0 [INFO] [stderr] Compiling rusoto_core v0.44.0 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling lambda-attributes v0.1.0 (https://github.com/awslabs/aws-lambda-rust-runtime/?branch=master#13aa8f01) [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Compiling lambda_runtime_errors_derive v0.1.1 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking serde_json v1.0.59 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking socket2 v0.3.16 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking parking_lot_core v0.6.2 [INFO] [stderr] Checking openssl-sys v0.9.58 [INFO] [stderr] Checking time v0.2.22 [INFO] [stderr] Checking backtrace v0.3.54 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking tracing-error v0.1.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking async-stream v0.2.1 [INFO] [stderr] Checking openssl v0.10.30 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio v0.2.23 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking lambda_runtime_errors v0.1.1 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking simple_logger v1.11.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking native-tls v0.2.6 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking hyper v0.12.35 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking lambda_runtime_client v0.2.2 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking rusoto_credential v0.43.0 [INFO] [stderr] Checking rusoto_credential v0.44.0 [INFO] [stderr] Checking lambda v0.1.0 (https://github.com/awslabs/aws-lambda-rust-runtime/?branch=master#13aa8f01) [INFO] [stderr] Checking rusoto_signature v0.44.0 [INFO] [stderr] Checking rusoto_signature v0.43.0 [INFO] [stderr] Checking rusoto_dynamodb v0.43.0 [INFO] [stderr] Checking register-on-upload v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: The #[lambda] macro can expects two arguments: a triggered event and lambda context. [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[lambda] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: The #[lambda] macro can expects two arguments: a triggered event and lambda context. [INFO] [stdout] --> src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[lambda] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `register_on_upload` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[macro_use] [INFO] [stdout] 2 | | extern crate log; [INFO] [stdout] 3 | | extern crate simple_logger; [INFO] [stdout] 4 | | use lambda::lambda; [INFO] [stdout] ... | [INFO] [stdout] 74 | | error!("This is an example error message."); [INFO] [stdout] 75 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `simple_logger::init`: Please use the Builder pattern instead. [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | simple_logger::init().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `simple_logger::init`: Please use the Builder pattern instead. [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | simple_logger::init().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` 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: 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2c27483680ea03f31c9e0132e24ebf2c1dffd62735050c358a72bb4887967fe0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c27483680ea03f31c9e0132e24ebf2c1dffd62735050c358a72bb4887967fe0", kill_on_drop: false }` [INFO] [stdout] 2c27483680ea03f31c9e0132e24ebf2c1dffd62735050c358a72bb4887967fe0