[INFO] cloning repository https://github.com/PagerPG/rust-functions-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PagerPG/rust-functions-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPagerPG%2Frust-functions-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPagerPG%2Frust-functions-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c0001062d37e35f184521f7d3230c04db6b4b2b [INFO] testing PagerPG/rust-functions-example against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPagerPG%2Frust-functions-example" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PagerPG/rust-functions-example on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3/source/rust-toolchain [INFO] started tweaking git repo https://github.com/PagerPG/rust-functions-example [INFO] finished tweaking git repo https://github.com/PagerPG/rust-functions-example [INFO] tweaked toml for git repo https://github.com/PagerPG/rust-functions-example written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/PagerPG/rust-functions-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", 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] d1c9b4de3a22cb5f50c30ce3fd1500b0bb845973b090bab09d85b691efc7b0aa [INFO] running `Command { std: "docker" "start" "-a" "d1c9b4de3a22cb5f50c30ce3fd1500b0bb845973b090bab09d85b691efc7b0aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1c9b4de3a22cb5f50c30ce3fd1500b0bb845973b090bab09d85b691efc7b0aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1c9b4de3a22cb5f50c30ce3fd1500b0bb845973b090bab09d85b691efc7b0aa", kill_on_drop: false }` [INFO] [stdout] d1c9b4de3a22cb5f50c30ce3fd1500b0bb845973b090bab09d85b691efc7b0aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63e902cdf18786c5e617361282965d4755249d1113367aa24e98a7bb2f46e5af [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" "63e902cdf18786c5e617361282965d4755249d1113367aa24e98a7bb2f46e5af", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling smallvec v1.6.0 [INFO] [stderr] Compiling pin-project-lite v0.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling pin-project-internal v1.0.3 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Compiling netlify_lambda_attributes v0.2.0 [INFO] [stderr] Compiling async-stream v0.3.0 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling pin-project v1.0.3 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling tokio-stream v0.1.1 [INFO] [stderr] Compiling tokio-util v0.6.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling http v0.2.2 [INFO] [stderr] Compiling h2 v0.3.0 [INFO] [stderr] Compiling http-body v0.4.0 [INFO] [stderr] Compiling http-serde v1.0.1 [INFO] [stderr] Compiling aws_lambda_events v0.4.0 [INFO] [stderr] Compiling hyper v0.14.2 [INFO] [stderr] Compiling netlify_lambda v0.2.0 [INFO] [stderr] Compiling netlify_lambda_http v0.2.0 [INFO] [stderr] Compiling hello-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RequestExt`, `lambda`, `request`, `self` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | http::{request, Method}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | lambda::{self, lambda, Context}, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | IntoResponse, Request, RequestExt, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/main.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | async fn hello(request: Request, context: Context) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 41s [INFO] running `Command { std: "docker" "inspect" "63e902cdf18786c5e617361282965d4755249d1113367aa24e98a7bb2f46e5af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63e902cdf18786c5e617361282965d4755249d1113367aa24e98a7bb2f46e5af", kill_on_drop: false }` [INFO] [stdout] 63e902cdf18786c5e617361282965d4755249d1113367aa24e98a7bb2f46e5af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--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] 92c5cfa8bf64cfda12ef21534193fe55be29cb343a14ffbb19eb2ed37518c78f [INFO] running `Command { std: "docker" "start" "-a" "92c5cfa8bf64cfda12ef21534193fe55be29cb343a14ffbb19eb2ed37518c78f", kill_on_drop: false }` [INFO] [stderr] Compiling hello-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `RequestExt`, `lambda`, `request`, `self` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | http::{request, Method}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 6 | lambda::{self, lambda, Context}, [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] 7 | IntoResponse, Request, RequestExt, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/main.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | async fn hello(request: Request, context: Context) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.20s [INFO] running `Command { std: "docker" "inspect" "92c5cfa8bf64cfda12ef21534193fe55be29cb343a14ffbb19eb2ed37518c78f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92c5cfa8bf64cfda12ef21534193fe55be29cb343a14ffbb19eb2ed37518c78f", kill_on_drop: false }` [INFO] [stdout] 92c5cfa8bf64cfda12ef21534193fe55be29cb343a14ffbb19eb2ed37518c78f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 42561307625d6a5e828602d705f5352b81b12ff103864d03af44e6df9672f545 [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" "42561307625d6a5e828602d705f5352b81b12ff103864d03af44e6df9672f545", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `RequestExt`, `lambda`, `request`, `self` [INFO] [stderr] --> src/main.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | http::{request, Method}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 6 | lambda::{self, lambda, Context}, [INFO] [stderr] | ^^^^ ^^^^^^ [INFO] [stderr] 7 | IntoResponse, Request, RequestExt, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `context` [INFO] [stderr] --> src/main.rs:18:34 [INFO] [stderr] | [INFO] [stderr] 18 | async fn hello(request: Request, context: Context) -> Result { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/hello_rs-e320ea79504c0970) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "42561307625d6a5e828602d705f5352b81b12ff103864d03af44e6df9672f545", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42561307625d6a5e828602d705f5352b81b12ff103864d03af44e6df9672f545", kill_on_drop: false }` [INFO] [stdout] 42561307625d6a5e828602d705f5352b81b12ff103864d03af44e6df9672f545