[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] testing sinofseven/rust_sam_http_test against beta-2021-05-08 for beta-1.53-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsinofseven%2Frust_sam_http_test" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sinofseven/rust_sam_http_test on toolchain beta-2021-05-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-05-08" "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-8/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" "+beta-2021-05-08" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/awslabs/aws-lambda-rust-runtime/` [INFO] [stderr] error: the lock file /workspace/builds/worker-8/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-2021-05-08" "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" "+beta-2021-05-08" "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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-05-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bf00a7353ff9c062747133905e3bb306e05bc6bec33c1ca446bf1b4c73fee4b [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" "9bf00a7353ff9c062747133905e3bb306e05bc6bec33c1ca446bf1b4c73fee4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bf00a7353ff9c062747133905e3bb306e05bc6bec33c1ca446bf1b4c73fee4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bf00a7353ff9c062747133905e3bb306e05bc6bec33c1ca446bf1b4c73fee4b", kill_on_drop: false }` [INFO] [stdout] 9bf00a7353ff9c062747133905e3bb306e05bc6bec33c1ca446bf1b4c73fee4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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=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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-05-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d239eee7d139b17453abb241d7ff806f0c0a297a887dc083435eb5f78d04fe3c [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" "d239eee7d139b17453abb241d7ff806f0c0a297a887dc083435eb5f78d04fe3c", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling httpdate v1.0.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tokio v1.6.0 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling sharded-slab v0.1.1 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling async-stream-impl v0.3.1 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling tracing-subscriber v0.2.18 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling async-stream v0.3.1 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling tracing-error v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling tokio-stream v0.1.6 [INFO] [stderr] Compiling hyper v0.14.7 [INFO] [stderr] Compiling lambda_runtime v0.3.0 (https://github.com/awslabs/aws-lambda-rust-runtime/?branch=master#c01811a3) [INFO] [stderr] Compiling lambda_http v0.3.0 (https://github.com/awslabs/aws-lambda-rust-runtime/?branch=master#c01811a3) [INFO] [stderr] Compiling 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: 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] running `Command { std: "docker" "inspect" "d239eee7d139b17453abb241d7ff806f0c0a297a887dc083435eb5f78d04fe3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d239eee7d139b17453abb241d7ff806f0c0a297a887dc083435eb5f78d04fe3c", kill_on_drop: false }` [INFO] [stdout] d239eee7d139b17453abb241d7ff806f0c0a297a887dc083435eb5f78d04fe3c