[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] documenting Darrenmeehan/hello-word-rust-lambda against 1.46.0 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarrenmeehan%2Fhello-word-rust-lambda" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Darrenmeehan/hello-word-rust-lambda on toolchain 1.46.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-9/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-9/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.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-9/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" "+1.46.0" "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" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7605363fec51c389330b18d599331763c1bf82080e35952639bc2ad985bba69 [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" "c7605363fec51c389330b18d599331763c1bf82080e35952639bc2ad985bba69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7605363fec51c389330b18d599331763c1bf82080e35952639bc2ad985bba69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7605363fec51c389330b18d599331763c1bf82080e35952639bc2ad985bba69", kill_on_drop: false }` [INFO] [stdout] c7605363fec51c389330b18d599331763c1bf82080e35952639bc2ad985bba69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "RUSTDOCFLAGS=--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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--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] c3a4cf4c20818b8c0e502aed756fe83c5a12926efed4f711af214fb618eb80f5 [INFO] running `Command { std: "docker" "start" "-a" "c3a4cf4c20818b8c0e502aed756fe83c5a12926efed4f711af214fb618eb80f5", kill_on_drop: false }` [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Checking zeroize v1.1.0 [INFO] [stderr] Checking shlex v0.1.1 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking rusoto v0.24.2 [INFO] [stderr] Compiling standback v0.2.10 [INFO] [stderr] Compiling time v0.2.17 [INFO] [stderr] Checking tracing-subscriber v0.2.11 [INFO] [stderr] Compiling rusoto_core v0.43.0 [INFO] [stderr] Compiling rusoto_core v0.44.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking num-integer v0.1.43 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling async-trait v0.1.40 [INFO] [stderr] Compiling synstructure v0.12.4 [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/#a9de2fcb) [INFO] [stderr] Checking native-tls v0.2.4 [INFO] [stderr] Compiling lambda_runtime_errors_derive v0.1.1 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking chrono v0.4.15 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [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 h2 v0.1.26 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking time-macros v0.1.0 [INFO] [stderr] Checking async-stream v0.2.1 [INFO] [stderr] Checking simple_logger v1.9.0 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking tracing v0.1.19 [INFO] [stderr] Checking lambda_runtime_errors v0.1.1 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking tracing-error v0.1.2 [INFO] [stderr] Checking hyper v0.12.35 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking lambda_runtime_client v0.2.2 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Checking hyper v0.13.7 [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/#a9de2fcb) [INFO] [stderr] Checking rusoto_signature v0.43.0 [INFO] [stderr] Checking rusoto_signature v0.44.0 [INFO] [stderr] Checking rusoto_dynamodb v0.43.0 [INFO] [stderr] Documenting 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: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: Could not document `register-on-upload`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name register_on_upload src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern lambda=/opt/rustwide/target/debug/deps/liblambda-11384d5adb237924.rmeta --extern lambda_runtime_client=/opt/rustwide/target/debug/deps/liblambda_runtime_client-064f82aff0879d2c.rmeta --extern log=/opt/rustwide/target/debug/deps/liblog-958bf2a074a4960f.rmeta --extern rusoto=/opt/rustwide/target/debug/deps/librusoto-018d683df6793aad.rmeta --extern rusoto_core=/opt/rustwide/target/debug/deps/librusoto_core-794c35f375b72264.rmeta --extern rusoto_dynamodb=/opt/rustwide/target/debug/deps/librusoto_dynamodb-e176e4e80adc8ef4.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-9018972ff9b10a9d.rmeta --extern serde_derive=/opt/rustwide/target/debug/deps/libserde_derive-7a13edba2cab3d33.so --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-d8f4442da05fa6f2.rmeta --extern simple_logger=/opt/rustwide/target/debug/deps/libsimple_logger-438f5eee326411e7.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-481500d5a3189649.rmeta --cap-lints=warn` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "c3a4cf4c20818b8c0e502aed756fe83c5a12926efed4f711af214fb618eb80f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3a4cf4c20818b8c0e502aed756fe83c5a12926efed4f711af214fb618eb80f5", kill_on_drop: false }` [INFO] [stdout] c3a4cf4c20818b8c0e502aed756fe83c5a12926efed4f711af214fb618eb80f5