[INFO] cloning repository https://github.com/softprops/serverless-aws-rust-http [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-http" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoftprops%2Fserverless-aws-rust-http", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoftprops%2Fserverless-aws-rust-http'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb7268bb3312bd8cdbbe0958a91278fc0113e83f [INFO] checking softprops/serverless-aws-rust-http against master#4fa76a4a7742bb9c1febe33019f5a9e7e4839a65 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsoftprops%2Fserverless-aws-rust-http" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/softprops/serverless-aws-rust-http on toolchain 4fa76a4a7742bb9c1febe33019f5a9e7e4839a65 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/softprops/serverless-aws-rust-http [INFO] finished tweaking git repo https://github.com/softprops/serverless-aws-rust-http [INFO] tweaked toml for git repo https://github.com/softprops/serverless-aws-rust-http written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/softprops/serverless-aws-rust-http already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "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" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd46e02b3fc5612ea3695b43dea065f8e77ab689566568f03fd3d39704a42809 [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" "fd46e02b3fc5612ea3695b43dea065f8e77ab689566568f03fd3d39704a42809", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd46e02b3fc5612ea3695b43dea065f8e77ab689566568f03fd3d39704a42809", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd46e02b3fc5612ea3695b43dea065f8e77ab689566568f03fd3d39704a42809", kill_on_drop: false }` [INFO] [stdout] fd46e02b3fc5612ea3695b43dea065f8e77ab689566568f03fd3d39704a42809 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+4fa76a4a7742bb9c1febe33019f5a9e7e4839a65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7c32c0a9b45823c7e2ce2dc6825d40b475cfc23a5f75d1c482ee83bd6d5e0fc [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" "b7c32c0a9b45823c7e2ce2dc6825d40b475cfc23a5f75d1c482ee83bd6d5e0fc", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [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 want v0.3.0 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Checking tracing-subscriber v0.2.17 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking http-body v0.4.1 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling async-stream-impl v0.3.1 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking async-stream v0.3.1 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking tracing-error v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking hyper v0.14.6 [INFO] [stderr] Checking tokio-stream v0.1.5 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking serde v1.0.125 [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#c01811a3) [INFO] [stderr] Checking lambda_http v0.3.0 (https://github.com/awslabs/aws-lambda-rust-runtime/?branch=master#c01811a3) [INFO] [stderr] Checking hello v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `lambda_http::lambda` [INFO] [stdout] --> src/main.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use lambda_http::{handler, lambda, Context, IntoResponse, Request}; [INFO] [stdout] | ^^^^^^ no `lambda` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `lambda_http::lambda` [INFO] [stdout] --> src/main.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use lambda_http::{handler, lambda, Context, IntoResponse, Request}; [INFO] [stdout] | ^^^^^^ no `lambda` in the root [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 E0432`. [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[E0599]: no method named `basic_scheduler` found for struct `tokio::runtime::Builder` in the current scope [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | #[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: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b7c32c0a9b45823c7e2ce2dc6825d40b475cfc23a5f75d1c482ee83bd6d5e0fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7c32c0a9b45823c7e2ce2dc6825d40b475cfc23a5f75d1c482ee83bd6d5e0fc", kill_on_drop: false }` [INFO] [stdout] b7c32c0a9b45823c7e2ce2dc6825d40b475cfc23a5f75d1c482ee83bd6d5e0fc