[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 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPagerPG%2Frust-functions-example" "/workspace/builds/worker-84/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-84/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PagerPG/rust-functions-example on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-84/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-84/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" "+1.59.0" "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-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85431534ca12a65236645c7caecd5369aa4f98f4d338fb6c6b60b170e114e83c [INFO] running `Command { std: "docker" "start" "-a" "85431534ca12a65236645c7caecd5369aa4f98f4d338fb6c6b60b170e114e83c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85431534ca12a65236645c7caecd5369aa4f98f4d338fb6c6b60b170e114e83c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85431534ca12a65236645c7caecd5369aa4f98f4d338fb6c6b60b170e114e83c", kill_on_drop: false }` [INFO] [stdout] 85431534ca12a65236645c7caecd5369aa4f98f4d338fb6c6b60b170e114e83c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 76df2f274c5a9e5c4de80ce20de03efa99ca7df37a0aea9a3b56fa09c055d82b [INFO] running `Command { std: "docker" "start" "-a" "76df2f274c5a9e5c4de80ce20de03efa99ca7df37a0aea9a3b56fa09c055d82b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.58 [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 log v0.4.11 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.6.0 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling pin-project-lite v0.2.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v1.0.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Compiling pin-project-internal v1.0.3 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [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 tracing v0.1.22 [INFO] [stderr] Compiling pin-project v1.0.3 [INFO] [stderr] Compiling pin-project v0.4.27 [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 33.98s [INFO] running `Command { std: "docker" "inspect" "76df2f274c5a9e5c4de80ce20de03efa99ca7df37a0aea9a3b56fa09c055d82b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76df2f274c5a9e5c4de80ce20de03efa99ca7df37a0aea9a3b56fa09c055d82b", kill_on_drop: false }` [INFO] [stdout] 76df2f274c5a9e5c4de80ce20de03efa99ca7df37a0aea9a3b56fa09c055d82b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5cbaa98cf415fdb0941181315d830a3d8f402674b3d0e906643c0351f9854de7 [INFO] running `Command { std: "docker" "start" "-a" "5cbaa98cf415fdb0941181315d830a3d8f402674b3d0e906643c0351f9854de7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 26.10s [INFO] running `Command { std: "docker" "inspect" "5cbaa98cf415fdb0941181315d830a3d8f402674b3d0e906643c0351f9854de7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cbaa98cf415fdb0941181315d830a3d8f402674b3d0e906643c0351f9854de7", kill_on_drop: false }` [INFO] [stdout] 5cbaa98cf415fdb0941181315d830a3d8f402674b3d0e906643c0351f9854de7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-84/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f6735773cb470c4e510635f6f06e824e9e9458b64a04cd8eeaf9be7769d205cc [INFO] running `Command { std: "docker" "start" "-a" "f6735773cb470c4e510635f6f06e824e9e9458b64a04cd8eeaf9be7769d205cc", 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: `hello-rs` (bin "hello-rs" test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/hello_rs-b21b368a17e11e77) [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" "f6735773cb470c4e510635f6f06e824e9e9458b64a04cd8eeaf9be7769d205cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6735773cb470c4e510635f6f06e824e9e9458b64a04cd8eeaf9be7769d205cc", kill_on_drop: false }` [INFO] [stdout] f6735773cb470c4e510635f6f06e824e9e9458b64a04cd8eeaf9be7769d205cc