[INFO] cloning repository https://github.com/softprops/serverless-aws-rust-kinesis [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/softprops/serverless-aws-rust-kinesis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoftprops%2Fserverless-aws-rust-kinesis", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoftprops%2Fserverless-aws-rust-kinesis'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 97ace0009a3d12ab59aefa51ff5636af01723a82 [INFO] checking softprops/serverless-aws-rust-kinesis against master#3e826bb11228508fbe749e594038d6727208aa94 for pr-82322 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoftprops%2Fserverless-aws-rust-kinesis" "/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/softprops/serverless-aws-rust-kinesis on toolchain 3e826bb11228508fbe749e594038d6727208aa94 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e826bb11228508fbe749e594038d6727208aa94" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/softprops/serverless-aws-rust-kinesis [INFO] finished tweaking git repo https://github.com/softprops/serverless-aws-rust-kinesis [INFO] tweaked toml for git repo https://github.com/softprops/serverless-aws-rust-kinesis written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/softprops/serverless-aws-rust-kinesis already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e826bb11228508fbe749e594038d6727208aa94" "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" "+3e826bb11228508fbe749e594038d6727208aa94" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/awslabs/aws-lambda-rust-runtime/` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e826bb11228508fbe749e594038d6727208aa94" "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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+3e826bb11228508fbe749e594038d6727208aa94" "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] eb1cbac1211dab63aff73f17985d4ef6601d7798f3b6b436ad8744d112e29c71 [INFO] running `Command { std: "docker" "start" "-a" "eb1cbac1211dab63aff73f17985d4ef6601d7798f3b6b436ad8744d112e29c71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb1cbac1211dab63aff73f17985d4ef6601d7798f3b6b436ad8744d112e29c71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb1cbac1211dab63aff73f17985d4ef6601d7798f3b6b436ad8744d112e29c71", kill_on_drop: false }` [INFO] [stdout] eb1cbac1211dab63aff73f17985d4ef6601d7798f3b6b436ad8744d112e29c71 [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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+3e826bb11228508fbe749e594038d6727208aa94" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43a79a5b0e91ca4b022bd5cd1834a22be5b501380252af3805754e17fe6a7bb7 [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" "43a79a5b0e91ca4b022bd5cd1834a22be5b501380252af3805754e17fe6a7bb7", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.62 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Compiling tokio v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking ryu v1.0.5 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking mio v0.7.9 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking tracing-subscriber v0.2.16 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.13 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Checking async-stream v0.3.0 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking pin-project v1.0.5 [INFO] [stderr] Checking tracing-error v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.13 [INFO] [stderr] Checking tokio-stream v0.1.3 [INFO] [stderr] Checking hyper v0.14.4 [INFO] [stderr] Checking serde v1.0.124 [INFO] [stderr] Checking futures v0.3.13 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking lambda v0.1.0 (https://github.com/awslabs/aws-lambda-rust-runtime/?branch=master#ba696878) [INFO] [stderr] Checking aws_lambda_events v0.3.1 [INFO] [stderr] Checking hello v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0593]: function is expected to take 2 arguments, but it takes 1 argument [INFO] [stdout] --> src/main.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | lambda::run(handler_fn(handler)).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected function that takes 2 arguments [INFO] [stdout] ... [INFO] [stdout] 13 | async fn handler(event: KinesisEvent) -> Result<(), Error> { [INFO] [stdout] | ---------------------------------------------------------- takes 1 argument [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Handler<_, _>` for `HandlerFn impl std::future::Future {handler}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0593`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello` [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[E0593]: function is expected to take 2 arguments, but it takes 1 argument [INFO] [stdout] --> src/main.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | lambda::run(handler_fn(handler)).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected function that takes 2 arguments [INFO] [stdout] ... [INFO] [stdout] 13 | async fn handler(event: KinesisEvent) -> Result<(), Error> { [INFO] [stdout] | ---------------------------------------------------------- takes 1 argument [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Handler<_, _>` for `HandlerFn impl std::future::Future {handler}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `basic_scheduler` found for struct `tokio::runtime::Builder` in the current scope [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `tokio::runtime::Builder` [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: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0593, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0593`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "43a79a5b0e91ca4b022bd5cd1834a22be5b501380252af3805754e17fe6a7bb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43a79a5b0e91ca4b022bd5cd1834a22be5b501380252af3805754e17fe6a7bb7", kill_on_drop: false }` [INFO] [stdout] 43a79a5b0e91ca4b022bd5cd1834a22be5b501380252af3805754e17fe6a7bb7