[INFO] cloning repository https://github.com/sinofseven/rust_sam_http_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sinofseven/rust_sam_http_test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsinofseven%2Frust_sam_http_test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsinofseven%2Frust_sam_http_test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd64e427fb3a31b538d0700602012e3c3284515d [INFO] checking sinofseven/rust_sam_http_test against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsinofseven%2Frust_sam_http_test" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sinofseven/rust_sam_http_test on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sinofseven/rust_sam_http_test [INFO] finished tweaking git repo https://github.com/sinofseven/rust_sam_http_test [INFO] tweaked toml for git repo https://github.com/sinofseven/rust_sam_http_test written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/sinofseven/rust_sam_http_test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-14/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e24bf73d62d3e746e7c9a55245132e47276d58619f1a2830922c7f8c148776e [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" "8e24bf73d62d3e746e7c9a55245132e47276d58619f1a2830922c7f8c148776e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e24bf73d62d3e746e7c9a55245132e47276d58619f1a2830922c7f8c148776e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e24bf73d62d3e746e7c9a55245132e47276d58619f1a2830922c7f8c148776e", kill_on_drop: false }` [INFO] [stdout] 8e24bf73d62d3e746e7c9a55245132e47276d58619f1a2830922c7f8c148776e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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] cd8f6946fe186b8b3a1cc5e7a42b41d10dcb6841de91cdd8d1044765e68cd670 [INFO] running `Command { std: "docker" "start" "-a" "cd8f6946fe186b8b3a1cc5e7a42b41d10dcb6841de91cdd8d1044765e68cd670", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking futures-channel v0.3.13 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking sharded-slab v0.1.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Compiling tokio v1.3.0 [INFO] [stderr] Checking mio v0.7.10 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Checking tracing-subscriber v0.2.17 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [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 tokio v0.2.25 [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 futures v0.3.13 [INFO] [stderr] Checking hyper v0.14.4 [INFO] [stderr] Checking tokio-stream v0.1.4 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking lambda_runtime v0.3.0 (https://github.com/awslabs/aws-lambda-rust-runtime/?branch=master#d3ff4352) [INFO] [stderr] Checking lambda_http v0.3.0 (https://github.com/awslabs/aws-lambda-rust-runtime/?branch=master#d3ff4352) [INFO] [stderr] Checking http_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `lambda_http::lambda` [INFO] [stdout] --> src/bin/search.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use lambda_http::{handler, lambda, Context, IntoResponse, Request, RequestExt, Response}; [INFO] [stdout] | ^^^^^^ no `lambda` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/bin/search.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lambda_http::lambda` [INFO] [stdout] --> src/bin/search.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use lambda_http::{handler, lambda, Context, IntoResponse, Request, RequestExt, Response}; [INFO] [stdout] | ^^^^^^ no `lambda` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/bin/search.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `http_test` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cd8f6946fe186b8b3a1cc5e7a42b41d10dcb6841de91cdd8d1044765e68cd670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd8f6946fe186b8b3a1cc5e7a42b41d10dcb6841de91cdd8d1044765e68cd670", kill_on_drop: false }` [INFO] [stdout] cd8f6946fe186b8b3a1cc5e7a42b41d10dcb6841de91cdd8d1044765e68cd670