[INFO] cloning repository https://github.com/zeroclock/lambda-rust-sample [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zeroclock/lambda-rust-sample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzeroclock%2Flambda-rust-sample", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzeroclock%2Flambda-rust-sample'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 429de98cf56a752af2187406ef65dbb3d393bd53 [INFO] testing zeroclock/lambda-rust-sample against beta-2021-09-08 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzeroclock%2Flambda-rust-sample" "/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/zeroclock/lambda-rust-sample on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zeroclock/lambda-rust-sample [INFO] finished tweaking git repo https://github.com/zeroclock/lambda-rust-sample [INFO] tweaked toml for git repo https://github.com/zeroclock/lambda-rust-sample written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/zeroclock/lambda-rust-sample already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41515c61eb9e64decc3f5a486b23d0d399e2489b98e313b0310811077c50a7b5 [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" "41515c61eb9e64decc3f5a486b23d0d399e2489b98e313b0310811077c50a7b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41515c61eb9e64decc3f5a486b23d0d399e2489b98e313b0310811077c50a7b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41515c61eb9e64decc3f5a486b23d0d399e2489b98e313b0310811077c50a7b5", kill_on_drop: false }` [INFO] [stdout] 41515c61eb9e64decc3f5a486b23d0d399e2489b98e313b0310811077c50a7b5 [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d3cdfd6670e7855375baeb70421a9ceded506684626c6a59ef2c07e862b0342c [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" "d3cdfd6670e7855375baeb70421a9ceded506684626c6a59ef2c07e862b0342c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling bytes v0.5.5 [INFO] [stderr] Compiling cc v1.0.57 [INFO] [stderr] Compiling subtle v2.3.0 [INFO] [stderr] Compiling zeroize v1.1.1 [INFO] [stderr] Compiling genawaiter-macro v0.99.1 [INFO] [stderr] Compiling anyhow v1.0.34 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Compiling tracing-subscriber v0.2.7 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling rusoto_core v0.45.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling sha2 v0.9.2 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.8 [INFO] [stderr] Compiling async-trait v0.1.41 [INFO] [stderr] Compiling lambda-attributes v0.1.0 (https://github.com/awslabs/aws-lambda-rust-runtime/?branch=master#c8dbcd39) [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling genawaiter-proc-macro v0.99.1 [INFO] [stderr] Compiling tracing v0.1.15 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling tracing-error v0.1.2 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling genawaiter v0.99.1 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling simple_logger v1.11.0 [INFO] [stderr] Compiling rusoto_credential v0.45.0 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling lambda v0.1.0 (https://github.com/awslabs/aws-lambda-rust-runtime/?branch=master#c8dbcd39) [INFO] [stderr] Compiling lambda_http v0.2.0-beta.1 (https://github.com/awslabs/aws-lambda-rust-runtime/?branch=master#c8dbcd39) [INFO] [stderr] Compiling rusoto_signature v0.45.0 [INFO] [stderr] Compiling rusoto_mock v0.45.0 [INFO] [stderr] Compiling rusoto_s3 v0.45.0 [INFO] [stderr] Compiling hello v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `hoge_function` [INFO] [stdout] --> src/main.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn hoge_function() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "d3cdfd6670e7855375baeb70421a9ceded506684626c6a59ef2c07e862b0342c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3cdfd6670e7855375baeb70421a9ceded506684626c6a59ef2c07e862b0342c", kill_on_drop: false }` [INFO] [stdout] d3cdfd6670e7855375baeb70421a9ceded506684626c6a59ef2c07e862b0342c [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "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] 0d21df701409dc6b231a2873c3a1967513c8b51348ac0512bfc9076548a28e45 [INFO] running `Command { std: "docker" "start" "-a" "0d21df701409dc6b231a2873c3a1967513c8b51348ac0512bfc9076548a28e45", kill_on_drop: false }` [INFO] [stderr] Compiling hello v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.80s [INFO] running `Command { std: "docker" "inspect" "0d21df701409dc6b231a2873c3a1967513c8b51348ac0512bfc9076548a28e45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d21df701409dc6b231a2873c3a1967513c8b51348ac0512bfc9076548a28e45", kill_on_drop: false }` [INFO] [stdout] 0d21df701409dc6b231a2873c3a1967513c8b51348ac0512bfc9076548a28e45 [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "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] 63730a3fbc08f93ed80795489ddbfd02c168812adf80dc89213c5a9cf5ef7a9d [INFO] running `Command { std: "docker" "start" "-a" "63730a3fbc08f93ed80795489ddbfd02c168812adf80dc89213c5a9cf5ef7a9d", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/hello-4534af2512d5a444) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test tests::can_hello_handler_handle_text_body_too_long ... ok [INFO] [stdout] test tests::can_hello_handler_handle_empty_text_body ... ok [INFO] [stdout] test tests::can_hoge_function_return_correct_string ... ok [INFO] [stdout] test tests::can_hello_handler_handle_valid_request ... ok [INFO] [stdout] test tests::can_get_local_s3_client ... ok [INFO] [stdout] test tests::can_get_cloud_s3_client ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "63730a3fbc08f93ed80795489ddbfd02c168812adf80dc89213c5a9cf5ef7a9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63730a3fbc08f93ed80795489ddbfd02c168812adf80dc89213c5a9cf5ef7a9d", kill_on_drop: false }` [INFO] [stdout] 63730a3fbc08f93ed80795489ddbfd02c168812adf80dc89213c5a9cf5ef7a9d