[INFO] fetching crate lambda_helpers_metrics 0.1.0-alpha.2...
[INFO] testing lambda_helpers_metrics-0.1.0-alpha.2 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] extracting crate lambda_helpers_metrics 0.1.0-alpha.2 into /workspace/builds/worker-1-tc1/source
[INFO] started tweaking crates.io crate lambda_helpers_metrics 0.1.0-alpha.2
[INFO] finished tweaking crates.io crate lambda_helpers_metrics 0.1.0-alpha.2
[INFO] tweaked toml for crates.io crate lambda_helpers_metrics 0.1.0-alpha.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate lambda_helpers_metrics 0.1.0-alpha.2 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 38 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ffdb3c4c2294974807ca9cda87a7d4255cc799f878013c17ee6976d3b7c6b074
[INFO] running `Command { std: "docker" "start" "-a" "ffdb3c4c2294974807ca9cda87a7d4255cc799f878013c17ee6976d3b7c6b074", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ffdb3c4c2294974807ca9cda87a7d4255cc799f878013c17ee6976d3b7c6b074", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ffdb3c4c2294974807ca9cda87a7d4255cc799f878013c17ee6976d3b7c6b074", kill_on_drop: false }`
[INFO] [stdout] ffdb3c4c2294974807ca9cda87a7d4255cc799f878013c17ee6976d3b7c6b074
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 19eddbe5affd577bebec61bbfbaaa7bfa7c662fcdfb18073d3a7c0c8ea9d5da5
[INFO] running `Command { std: "docker" "start" "-a" "19eddbe5affd577bebec61bbfbaaa7bfa7c662fcdfb18073d3a7c0c8ea9d5da5", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.105
[INFO] [stderr]    Compiling quote v1.0.43
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling lambda_helpers_metrics v0.1.0-alpha.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.44s
[INFO] running `Command { std: "docker" "inspect" "19eddbe5affd577bebec61bbfbaaa7bfa7c662fcdfb18073d3a7c0c8ea9d5da5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "19eddbe5affd577bebec61bbfbaaa7bfa7c662fcdfb18073d3a7c0c8ea9d5da5", kill_on_drop: false }`
[INFO] [stdout] 19eddbe5affd577bebec61bbfbaaa7bfa7c662fcdfb18073d3a7c0c8ea9d5da5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 67028ae2589777d8a06eab49be3aca263abe9ea236e3b6d9722c75e84319d3ae
[INFO] running `Command { std: "docker" "start" "-a" "67028ae2589777d8a06eab49be3aca263abe9ea236e3b6d9722c75e84319d3ae", kill_on_drop: false }`
[INFO] [stderr]    Compiling lambda_helpers_metrics v0.1.0-alpha.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.02s
[INFO] running `Command { std: "docker" "inspect" "67028ae2589777d8a06eab49be3aca263abe9ea236e3b6d9722c75e84319d3ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "67028ae2589777d8a06eab49be3aca263abe9ea236e3b6d9722c75e84319d3ae", kill_on_drop: false }`
[INFO] [stdout] 67028ae2589777d8a06eab49be3aca263abe9ea236e3b6d9722c75e84319d3ae
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 686b20a12d0b2e8a39ce5c0eb2dbc59ca44db81f60f2ebdab055e11394e5255e
[INFO] running `Command { std: "docker" "start" "-a" "686b20a12d0b2e8a39ce5c0eb2dbc59ca44db81f60f2ebdab055e11394e5255e", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lambda_helpers_metrics-a08a54eaf707483b)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test tests::should_create_metrics ... ok
[INFO] [stdout] test tests::should_fail_if_over_30_dimensions ... ok
[INFO] [stdout] test tests::should_handle_duplicated_metric ... ok
[INFO] [stdout] test tests::should_not_fail_over_100_metrics ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests lambda_helpers_metrics
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lib.rs - (line 32) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 5) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 32) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Metrics`
[INFO] [stdout]   --> src/lib.rs:34:22
[INFO] [stdout]    |
[INFO] [stdout] 34 |    let mut metrics = Metrics::new("custom_lambdas", "service", "dummy_service");
[INFO] [stdout]    |                      ^^^^^^^ use of undeclared type `Metrics`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 32 + use lambda_helpers_metrics::Metrics;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MetricUnit`
[INFO] [stdout]   --> src/lib.rs:38:37
[INFO] [stdout]    |
[INFO] [stdout] 38 |    metrics.add_metric("test_count", MetricUnit::Count, 10.4);
[INFO] [stdout]    |                                     ^^^^^^^^^^ use of undeclared type `MetricUnit`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 32 + use lambda_helpers_metrics::MetricUnit;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MetricUnit`
[INFO] [stdout]   --> src/lib.rs:40:39
[INFO] [stdout]    |
[INFO] [stdout] 40 |    metrics.add_metric("test_seconds", MetricUnit::Seconds, 15.0);
[INFO] [stdout]    |                                       ^^^^^^^^^^ use of undeclared type `MetricUnit`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 32 + use lambda_helpers_metrics::MetricUnit;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 5) stdout ----
[INFO] [stdout] error[E0425]: cannot find type `LambdaEvent` in this scope
[INFO] [stdout]  --> src/lib.rs:6:34
[INFO] [stdout]   |
[INFO] [stdout] 6 | async fn function_handler(event: LambdaEvent<Request>) -> Result<Response, Error> {
[INFO] [stdout]   |                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Request` in this scope
[INFO] [stdout]  --> src/lib.rs:6:46
[INFO] [stdout]   |
[INFO] [stdout] 6 | async fn function_handler(event: LambdaEvent<Request>) -> Result<Response, Error> {
[INFO] [stdout]   |                                              ^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 5 + use std::error::Request;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Response` in this scope
[INFO] [stdout]  --> src/lib.rs:6:66
[INFO] [stdout]   |
[INFO] [stdout] 6 | async fn function_handler(event: LambdaEvent<Request>) -> Result<Response, Error> {
[INFO] [stdout]   |                                                                  ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]   |
[INFO] [stdout] 6 | async fn function_handler<Response>(event: LambdaEvent<Request>) -> Result<Response, Error> {
[INFO] [stdout]   |                          ++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Error` in this scope
[INFO] [stdout]  --> src/lib.rs:6:76
[INFO] [stdout]   |
[INFO] [stdout] 6 | async fn function_handler(event: LambdaEvent<Request>) -> Result<Response, Error> {
[INFO] [stdout]   |                                                                            ^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 5 + use std::error::Error;
[INFO] [stdout]   |
[INFO] [stdout] 5 + use std::fmt::Error;
[INFO] [stdout]   |
[INFO] [stdout] 5 + use std::io::Error;
[INFO] [stdout]   |
[INFO] [stdout] 5 + use core::error::Error;
[INFO] [stdout]   |
[INFO] [stdout]   = and 5 other candidates
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Metrics`
[INFO] [stdout]  --> src/lib.rs:9:22
[INFO] [stdout]   |
[INFO] [stdout] 9 |    let mut metrics = Metrics::new("custom_lambdas", "service", "dummy_service");
[INFO] [stdout]   |                      ^^^^^^^ use of undeclared type `Metrics`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 5 + use lambda_helpers_metrics::Metrics;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MetricUnit`
[INFO] [stdout]   --> src/lib.rs:13:37
[INFO] [stdout]    |
[INFO] [stdout] 13 |    metrics.add_metric("test_count", MetricUnit::Count, 10.4);
[INFO] [stdout]    |                                     ^^^^^^^^^^ use of undeclared type `MetricUnit`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  5 + use lambda_helpers_metrics::MetricUnit;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MetricUnit`
[INFO] [stdout]   --> src/lib.rs:15:39
[INFO] [stdout]    |
[INFO] [stdout] 15 |    metrics.add_metric("test_seconds", MetricUnit::Seconds, 15.0);
[INFO] [stdout]    |                                       ^^^^^^^^^^ use of undeclared type `MetricUnit`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  5 + use lambda_helpers_metrics::MetricUnit;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MetricUnit`
[INFO] [stdout]   --> src/lib.rs:17:37
[INFO] [stdout]    |
[INFO] [stdout] 17 |    metrics.add_metric("test_count", MetricUnit::Count, 10.6);
[INFO] [stdout]    |                                     ^^^^^^^^^^ use of undeclared type `MetricUnit`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  5 + use lambda_helpers_metrics::MetricUnit;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Response` in this scope
[INFO] [stdout]   --> src/lib.rs:20:15
[INFO] [stdout]    |
[INFO] [stdout] 20 |    let resp = Response {
[INFO] [stdout]    |               ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 32)
[INFO] [stdout]     src/lib.rs - (line 5)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "686b20a12d0b2e8a39ce5c0eb2dbc59ca44db81f60f2ebdab055e11394e5255e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "686b20a12d0b2e8a39ce5c0eb2dbc59ca44db81f60f2ebdab055e11394e5255e", kill_on_drop: false }`
[INFO] [stdout] 686b20a12d0b2e8a39ce5c0eb2dbc59ca44db81f60f2ebdab055e11394e5255e
