[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 master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzeroclock%2Flambda-rust-sample" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zeroclock/lambda-rust-sample on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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-10/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" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29d2c65210c74f012ac8e946d3cad4c9c77cc9e2d1c76bd9f85e55436b1d8568 [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" "29d2c65210c74f012ac8e946d3cad4c9c77cc9e2d1c76bd9f85e55436b1d8568", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29d2c65210c74f012ac8e946d3cad4c9c77cc9e2d1c76bd9f85e55436b1d8568", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29d2c65210c74f012ac8e946d3cad4c9c77cc9e2d1c76bd9f85e55436b1d8568", kill_on_drop: false }` [INFO] [stdout] 29d2c65210c74f012ac8e946d3cad4c9c77cc9e2d1c76bd9f85e55436b1d8568 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e3ddeadb5a45b492d0a680ce57e7290e102209fe12075c352b8ed44ef10be95 [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" "5e3ddeadb5a45b492d0a680ce57e7290e102209fe12075c352b8ed44ef10be95", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling bytes v0.5.5 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling cc v1.0.57 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling zeroize v1.1.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling genawaiter-macro v0.99.1 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.10 [INFO] [stderr] Compiling sharded-slab v0.0.9 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling log v0.4.11 [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 generic-array v0.14.4 [INFO] [stderr] Compiling standback v0.2.11 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing-subscriber v0.2.7 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rusoto_core v0.45.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.2 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling async-trait v0.1.41 [INFO] [stderr] Compiling tracing-attributes v0.1.8 [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 tracing-error v0.1.2 [INFO] [stderr] Compiling pin-project v0.4.22 [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 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 hyper v0.13.6 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [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_s3 v0.45.0 [INFO] [stderr] Compiling rusoto_mock 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 3m 33s [INFO] running `Command { std: "docker" "inspect" "5e3ddeadb5a45b492d0a680ce57e7290e102209fe12075c352b8ed44ef10be95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e3ddeadb5a45b492d0a680ce57e7290e102209fe12075c352b8ed44ef10be95", kill_on_drop: false }` [INFO] [stdout] 5e3ddeadb5a45b492d0a680ce57e7290e102209fe12075c352b8ed44ef10be95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08050f361ce74fa68fd0076ad6ba594d5e4dde3c5bbaa9bdb0dbd86334763497 [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" "08050f361ce74fa68fd0076ad6ba594d5e4dde3c5bbaa9bdb0dbd86334763497", kill_on_drop: false }` [INFO] [stderr] Compiling hello v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.88s [INFO] running `Command { std: "docker" "inspect" "08050f361ce74fa68fd0076ad6ba594d5e4dde3c5bbaa9bdb0dbd86334763497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08050f361ce74fa68fd0076ad6ba594d5e4dde3c5bbaa9bdb0dbd86334763497", kill_on_drop: false }` [INFO] [stdout] 08050f361ce74fa68fd0076ad6ba594d5e4dde3c5bbaa9bdb0dbd86334763497 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 73be4f5f89bdd70c4bbcfbc095106252e24de41d41ac2a2bb4d6c719c5ad9df8 [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" "73be4f5f89bdd70c4bbcfbc095106252e24de41d41ac2a2bb4d6c719c5ad9df8", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/hello-ca5cdf0c10a01420) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test tests::can_hoge_function_return_correct_string ... ok [INFO] [stdout] test tests::can_hello_handler_handle_empty_text_body ... ok [INFO] [stdout] test tests::can_hello_handler_handle_valid_request ... ok [INFO] [stdout] test tests::can_hello_handler_handle_text_body_too_long ... ok [INFO] [stdout] test tests::can_get_cloud_s3_client ... ok [INFO] [stdout] test tests::can_get_local_s3_client ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "73be4f5f89bdd70c4bbcfbc095106252e24de41d41ac2a2bb4d6c719c5ad9df8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73be4f5f89bdd70c4bbcfbc095106252e24de41d41ac2a2bb4d6c719c5ad9df8", kill_on_drop: false }` [INFO] [stdout] 73be4f5f89bdd70c4bbcfbc095106252e24de41d41ac2a2bb4d6c719c5ad9df8