[INFO] cloning repository https://github.com/Alxandr/blog-comments [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Alxandr/blog-comments" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlxandr%2Fblog-comments", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlxandr%2Fblog-comments'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0e403a242a733020212eee610e351fe704ace76b [INFO] checking Alxandr/blog-comments/0e403a242a733020212eee610e351fe704ace76b against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlxandr%2Fblog-comments" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Alxandr/blog-comments on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/Alxandr/blog-comments [INFO] finished tweaking git repo https://github.com/Alxandr/blog-comments [INFO] tweaked toml for git repo https://github.com/Alxandr/blog-comments written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Alxandr/blog-comments already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding lambda_runtime v0.5.1 (available: v0.13.0) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded time v0.3.5 [INFO] [stderr] Downloaded tower v0.4.12 [INFO] [stderr] Downloaded tokio-util v0.7.0 [INFO] [stderr] Downloaded time-macros v0.2.3 [INFO] [stderr] Downloaded simple_logger v2.1.0 [INFO] [stderr] Downloaded hdrhistogram v7.5.0 [INFO] [stderr] Downloaded lambda_runtime v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7eae21342a240706198252e29de10e59db1d5b3e8d797d12f1c696b21124c7e [INFO] running `Command { std: "docker" "start" "-a" "e7eae21342a240706198252e29de10e59db1d5b3e8d797d12f1c696b21124c7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7eae21342a240706198252e29de10e59db1d5b3e8d797d12f1c696b21124c7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7eae21342a240706198252e29de10e59db1d5b3e8d797d12f1c696b21124c7e", kill_on_drop: false }` [INFO] [stdout] e7eae21342a240706198252e29de10e59db1d5b3e8d797d12f1c696b21124c7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f36bb9d2592d551ed9ba9bc40b1764072e2bd6bc3b9de87347c17cb8b796fdc [INFO] running `Command { std: "docker" "start" "-a" "7f36bb9d2592d551ed9ba9bc40b1764072e2bd6bc3b9de87347c17cb8b796fdc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling libc v0.2.118 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling serde_json v1.0.69 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling time-macros v0.2.3 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking time v0.3.5 [INFO] [stderr] Checking hdrhistogram v7.5.0 [INFO] [stderr] Checking simple_logger v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking query_map v0.4.0 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking http-serde v1.1.0 [INFO] [stderr] Checking aws_lambda_events v0.6.0 [INFO] [stderr] Checking hyper v0.14.14 [INFO] [stderr] Checking tokio-util v0.7.0 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking tower v0.4.12 [INFO] [stderr] Checking lambda_runtime_api_client v0.5.0 [INFO] [stderr] Checking lambda_runtime v0.5.1 [INFO] [stderr] Checking lambda_http v0.5.0 [INFO] [stderr] Checking hello v0.0.0 (/opt/rustwide/workdir/lambda/hello) [INFO] [stdout] warning: use of deprecated function `lambda_runtime::handler_fn`: Use `service_fn` and `LambdaEvent` instead [INFO] [stdout] --> lambda/hello/src/main.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use lambda_runtime::{handler_fn, Context, Error}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `lambda_runtime::handler_fn`: Use `service_fn` and `LambdaEvent` instead [INFO] [stdout] --> lambda/hello/src/main.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use lambda_runtime::{handler_fn, Context, Error}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `lambda_runtime::handler_fn`: Use `service_fn` and `LambdaEvent` instead [INFO] [stdout] --> lambda/hello/src/main.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | let func = handler_fn(my_handler); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `lambda_runtime::handler_fn`: Use `service_fn` and `LambdaEvent` instead [INFO] [stdout] --> lambda/hello/src/main.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | let func = handler_fn(my_handler); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hello-http v0.0.0 (/opt/rustwide/workdir/lambda/hello-http) [INFO] [stdout] error[E0432]: unresolved import `lambda_http::handler` [INFO] [stdout] --> lambda/hello-http/src/main.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | handler, [INFO] [stdout] | ^^^^^^^ no `handler` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lambda_http::handler` [INFO] [stdout] --> lambda/hello-http/src/main.rs:2:3 [INFO] [stdout] | [INFO] [stdout] 2 | handler, [INFO] [stdout] | ^^^^^^^ no `handler` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `query_map::QueryMap` in the current scope [INFO] [stdout] --> lambda/hello-http/src/main.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | let name = params.get("name").unwrap_or("stranger"); [INFO] [stdout] | ^^^ method not found in `QueryMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get` found for struct `query_map::QueryMap` in the current scope [INFO] [stdout] --> lambda/hello-http/src/main.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | let name = params.get("name").unwrap_or("stranger"); [INFO] [stdout] | ^^^ method not found in `QueryMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello-http` (bin "hello-http") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hello-http` (bin "hello-http" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "7f36bb9d2592d551ed9ba9bc40b1764072e2bd6bc3b9de87347c17cb8b796fdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f36bb9d2592d551ed9ba9bc40b1764072e2bd6bc3b9de87347c17cb8b796fdc", kill_on_drop: false }` [INFO] [stdout] 7f36bb9d2592d551ed9ba9bc40b1764072e2bd6bc3b9de87347c17cb8b796fdc