[INFO] cloning repository https://github.com/MaxInertia/aws-lambda-rust-template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MaxInertia/aws-lambda-rust-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxInertia%2Faws-lambda-rust-template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxInertia%2Faws-lambda-rust-template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f2c1935f1e3a66dd355fa112234dd04ad8acf5c [INFO] testing MaxInertia/aws-lambda-rust-template against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaxInertia%2Faws-lambda-rust-template" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MaxInertia/aws-lambda-rust-template on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MaxInertia/aws-lambda-rust-template [INFO] finished tweaking git repo https://github.com/MaxInertia/aws-lambda-rust-template [INFO] tweaked toml for git repo https://github.com/MaxInertia/aws-lambda-rust-template written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/MaxInertia/aws-lambda-rust-template already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lambda_runtime_errors_derive v0.1.1 [INFO] [stderr] Downloaded lambda_runtime_errors v0.1.1 [INFO] [stderr] Downloaded lambda_runtime_client v0.2.2 [INFO] [stderr] Downloaded lambda_runtime_core v0.1.2 [INFO] [stderr] Downloaded lambda_runtime v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] befd99a42beb348739351655dec56c91c24a6f77196724f3fb1fe97e7f7d6d5e [INFO] running `Command { std: "docker" "start" "-a" "befd99a42beb348739351655dec56c91c24a6f77196724f3fb1fe97e7f7d6d5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "befd99a42beb348739351655dec56c91c24a6f77196724f3fb1fe97e7f7d6d5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "befd99a42beb348739351655dec56c91c24a6f77196724f3fb1fe97e7f7d6d5e", kill_on_drop: false }` [INFO] [stdout] befd99a42beb348739351655dec56c91c24a6f77196724f3fb1fe97e7f7d6d5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--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] 20e6837534fc422828bb5d890ef69a86ace167ce3d7e6d0ed92b6bd46822f747 [INFO] running `Command { std: "docker" "start" "-a" "20e6837534fc422828bb5d890ef69a86ace167ce3d7e6d0ed92b6bd46822f747", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling futures v0.1.30 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde v1.0.119 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling object v0.22.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling serde_derive v1.0.119 [INFO] [stderr] Compiling simple-error v0.2.3 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling lambda_runtime_core v0.1.2 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling simple_logger v1.11.0 [INFO] [stderr] Compiling backtrace v0.3.55 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling lambda_runtime_errors_derive v0.1.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling lambda_runtime_errors v0.1.1 [INFO] [stderr] Compiling lambda_runtime_client v0.2.2 [INFO] [stderr] Compiling lambda_runtime v0.2.1 [INFO] [stderr] Compiling my_lambda_function v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `last_name` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | last_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `CustomEvent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Deserialize, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 47s [INFO] running `Command { std: "docker" "inspect" "20e6837534fc422828bb5d890ef69a86ace167ce3d7e6d0ed92b6bd46822f747", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20e6837534fc422828bb5d890ef69a86ace167ce3d7e6d0ed92b6bd46822f747", kill_on_drop: false }` [INFO] [stdout] 20e6837534fc422828bb5d890ef69a86ace167ce3d7e6d0ed92b6bd46822f747 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] 801f79eb788948cdf7d04024f1b2047cf2ac1d17fc50752482d3deec1e67c13e [INFO] running `Command { std: "docker" "start" "-a" "801f79eb788948cdf7d04024f1b2047cf2ac1d17fc50752482d3deec1e67c13e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling my_lambda_function v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `last_name` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | last_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `CustomEvent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Deserialize, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4m 17s [INFO] running `Command { std: "docker" "inspect" "801f79eb788948cdf7d04024f1b2047cf2ac1d17fc50752482d3deec1e67c13e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "801f79eb788948cdf7d04024f1b2047cf2ac1d17fc50752482d3deec1e67c13e", kill_on_drop: false }` [INFO] [stdout] 801f79eb788948cdf7d04024f1b2047cf2ac1d17fc50752482d3deec1e67c13e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", 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] c9fe88b5cee998f11763f909cb4892760c9103877f9eb1ca51e6cea837dd186d [INFO] running `Command { std: "docker" "start" "-a" "c9fe88b5cee998f11763f909cb4892760c9103877f9eb1ca51e6cea837dd186d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: field is never read: `last_name` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | last_name: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `CustomEvent` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/main.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Deserialize, Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `my_lambda_function` (bin "bootstrap" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.63s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/bootstrap-b95d3e205d6ead6f) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::my_handler_error_branch ... ok [INFO] [stdout] test tests::my_handler_success_branch ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c9fe88b5cee998f11763f909cb4892760c9103877f9eb1ca51e6cea837dd186d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9fe88b5cee998f11763f909cb4892760c9103877f9eb1ca51e6cea837dd186d", kill_on_drop: false }` [INFO] [stdout] c9fe88b5cee998f11763f909cb4892760c9103877f9eb1ca51e6cea837dd186d