[INFO] fetching crate lambda_helpers_metrics 0.1.0-alpha.2... [INFO] testing lambda_helpers_metrics-0.1.0-alpha.2 against 1.90.0 for beta-1.91-3 [INFO] extracting crate lambda_helpers_metrics 0.1.0-alpha.2 into /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lambda_helpers_metrics 0.1.0-alpha.2 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 39 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4ca634ce52a1f69f7b5b01f4c62656b7e33c0917dfb1c77290bbb2e1f5972ad [INFO] running `Command { std: "docker" "start" "-a" "f4ca634ce52a1f69f7b5b01f4c62656b7e33c0917dfb1c77290bbb2e1f5972ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4ca634ce52a1f69f7b5b01f4c62656b7e33c0917dfb1c77290bbb2e1f5972ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4ca634ce52a1f69f7b5b01f4c62656b7e33c0917dfb1c77290bbb2e1f5972ad", kill_on_drop: false }` [INFO] [stdout] f4ca634ce52a1f69f7b5b01f4c62656b7e33c0917dfb1c77290bbb2e1f5972ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0283de9195b2d745ce1145adf760077caed125c435037fcce34c91b866e1d5b5 [INFO] running `Command { std: "docker" "start" "-a" "0283de9195b2d745ce1145adf760077caed125c435037fcce34c91b866e1d5b5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.106 [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 9.93s [INFO] running `Command { std: "docker" "inspect" "0283de9195b2d745ce1145adf760077caed125c435037fcce34c91b866e1d5b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0283de9195b2d745ce1145adf760077caed125c435037fcce34c91b866e1d5b5", kill_on_drop: false }` [INFO] [stdout] 0283de9195b2d745ce1145adf760077caed125c435037fcce34c91b866e1d5b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79329dc00d812981763b098d5e97c35f839478afe6689138e0f0d8e188729027 [INFO] running `Command { std: "docker" "start" "-a" "79329dc00d812981763b098d5e97c35f839478afe6689138e0f0d8e188729027", 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 0.98s [INFO] running `Command { std: "docker" "inspect" "79329dc00d812981763b098d5e97c35f839478afe6689138e0f0d8e188729027", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79329dc00d812981763b098d5e97c35f839478afe6689138e0f0d8e188729027", kill_on_drop: false }` [INFO] [stdout] 79329dc00d812981763b098d5e97c35f839478afe6689138e0f0d8e188729027 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 04a29eb8dd08d178a47497e338eda266b5d1d5b5e51edd06f507f6255aff69b7 [INFO] running `Command { std: "docker" "start" "-a" "04a29eb8dd08d178a47497e338eda266b5d1d5b5e51edd06f507f6255aff69b7", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lambda_helpers_metrics-a5f7722fce691cdb) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test tests::should_create_metrics ... ok [INFO] [stdout] test tests::should_handle_duplicated_metric ... ok [INFO] [stdout] test tests::should_not_fail_over_100_metrics ... ok [INFO] [stdout] test tests::should_fail_if_over_30_dimensions ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [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] 4 | 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] 2 + 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] 8 | 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] 2 + 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] 10 | 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] 2 + 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[E0412]: cannot find type `LambdaEvent` in this scope [INFO] [stdout] --> src/lib.rs:6:34 [INFO] [stdout] | [INFO] [stdout] 3 | async fn function_handler(event: LambdaEvent) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> src/lib.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 3 | async fn function_handler(event: LambdaEvent) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> src/lib.rs:6:66 [INFO] [stdout] | [INFO] [stdout] 3 | async fn function_handler(event: LambdaEvent) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | async fn function_handler(event: LambdaEvent) -> Result { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/lib.rs:6:76 [INFO] [stdout] | [INFO] [stdout] 3 | async fn function_handler(event: LambdaEvent) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 6 | 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] 2 + 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] 10 | 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] 2 + 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] 12 | 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] 2 + 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] 14 | 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] 2 + 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] 17 | 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: E0412, E0422, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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.26s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "04a29eb8dd08d178a47497e338eda266b5d1d5b5e51edd06f507f6255aff69b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04a29eb8dd08d178a47497e338eda266b5d1d5b5e51edd06f507f6255aff69b7", kill_on_drop: false }` [INFO] [stdout] 04a29eb8dd08d178a47497e338eda266b5d1d5b5e51edd06f507f6255aff69b7