[INFO] cloning repository https://github.com/richardhboyd/ServerlessRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/richardhboyd/ServerlessRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichardhboyd%2FServerlessRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichardhboyd%2FServerlessRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5efc5dcaa760219d37197a3dc054984874c2f91e [INFO] testing richardhboyd/ServerlessRust against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichardhboyd%2FServerlessRust" "/workspace/builds/worker-53/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-53/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/richardhboyd/ServerlessRust on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/richardhboyd/ServerlessRust [INFO] finished tweaking git repo https://github.com/richardhboyd/ServerlessRust [INFO] tweaked toml for git repo https://github.com/richardhboyd/ServerlessRust written to /workspace/builds/worker-53/source/Cargo.toml [INFO] crate git repo https://github.com/richardhboyd/ServerlessRust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/awslabs/aws-sdk-rust` [INFO] [stderr] Updating git repository `https://github.com/rcoh/sigv4` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytes-utils v0.1.1 [INFO] [stderr] Downloaded derive-getters v0.2.0 [INFO] [stderr] Downloaded junit-report v0.6.0 [INFO] [stderr] Downloaded lambda_runtime v0.4.0 [INFO] [stderr] Downloaded difference v1.0.0 [INFO] [stderr] Downloaded pretty_assertions v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ab4ed3dd7bb4a1fc8018014059130f4c5e9335d08de839ca13acada64ef5d2a [INFO] running `Command { std: "docker" "start" "-a" "3ab4ed3dd7bb4a1fc8018014059130f4c5e9335d08de839ca13acada64ef5d2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ab4ed3dd7bb4a1fc8018014059130f4c5e9335d08de839ca13acada64ef5d2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ab4ed3dd7bb4a1fc8018014059130f4c5e9335d08de839ca13acada64ef5d2a", kill_on_drop: false }` [INFO] [stdout] 3ab4ed3dd7bb4a1fc8018014059130f4c5e9335d08de839ca13acada64ef5d2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d07ac736664d6b4cd18736cbef632eb8f086a11ec0a781672b017e46fce0babf [INFO] running `Command { std: "docker" "start" "-a" "d07ac736664d6b4cd18736cbef632eb8f086a11ec0a781672b017e46fce0babf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing-subscriber v0.2.19 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling http-body v0.4.3 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.15 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling tracing-error v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.16 [INFO] [stderr] Compiling futures v0.3.16 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-stream v0.1.7 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling hyper v0.14.11 [INFO] [stderr] Compiling lambda_runtime v0.4.0 [INFO] [stderr] Compiling example-rust-app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/main.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) async fn my_handler(event: Request, ctx: Context) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) async fn my_handler(event: Request, ctx: Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | path: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `statusCode` should have a snake case name [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | statusCode: String [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `status_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "d07ac736664d6b4cd18736cbef632eb8f086a11ec0a781672b017e46fce0babf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d07ac736664d6b4cd18736cbef632eb8f086a11ec0a781672b017e46fce0babf", kill_on_drop: false }` [INFO] [stdout] d07ac736664d6b4cd18736cbef632eb8f086a11ec0a781672b017e46fce0babf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c73e9fa64ef391a99ec38f94a3a0f939446034da7b011c9c6ab363a241815b0e [INFO] running `Command { std: "docker" "start" "-a" "c73e9fa64ef391a99ec38f94a3a0f939446034da7b011c9c6ab363a241815b0e", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling zeroize v1.4.1 [INFO] [stderr] Compiling utf8parse v0.1.1 [INFO] [stderr] Compiling fastrand v1.5.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling difference v1.0.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling derive-getters v0.2.0 [INFO] [stderr] Compiling tokio-test v0.4.2 [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/main.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) async fn my_handler(event: Request, ctx: Context) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) async fn my_handler(event: Request, ctx: Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | path: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `statusCode` should have a snake case name [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | statusCode: String [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `status_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling vte v0.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling bytes-utils v0.1.1 [INFO] [stderr] Compiling pretty_assertions v0.4.1 [INFO] [stderr] Compiling strip-ansi-escapes v0.1.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling aws-types v0.1.0 (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.13-alpha#7c5f3753) [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling smithy-types v0.0.1 (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.13-alpha#7c5f3753) [INFO] [stderr] Compiling junit-report v0.6.0 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tower v0.4.8 [INFO] [stderr] Compiling smithy-http v0.0.1 (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.13-alpha#7c5f3753) [INFO] [stderr] Compiling smithy-json v0.1.0 (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.13-alpha#7c5f3753) [INFO] [stderr] Compiling smithy-http-tower v0.1.0 (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.13-alpha#7c5f3753) [INFO] [stderr] Compiling aws-auth v0.1.0 (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.13-alpha#7c5f3753) [INFO] [stderr] Compiling aws-endpoint v0.1.0 (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.13-alpha#7c5f3753) [INFO] [stderr] Compiling aws-http v0.1.0 (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.13-alpha#7c5f3753) [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling aws-sigv4 v0.1.0 (https://github.com/rcoh/sigv4?rev=66b1646a7ab119c73be966ca70ee5f556bd8379b#66b1646a) [INFO] [stderr] Compiling ct-logs v0.8.0 [INFO] [stderr] Compiling aws-sig-auth v0.1.0 (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.13-alpha#7c5f3753) [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling smithy-client v0.1.0 (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.13-alpha#7c5f3753) [INFO] [stderr] Compiling aws-hyper v0.1.0 (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.13-alpha#7c5f3753) [INFO] [stderr] Compiling aws-sdk-lambda v0.0.13-alpha (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.13-alpha#7c5f3753) [INFO] [stderr] Compiling example-rust-app v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/main.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) async fn my_handler(event: Request, ctx: Context) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 30 | pub(crate) async fn my_handler(event: Request, ctx: Context) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | path: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `statusCode` should have a snake case name [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | statusCode: String [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `status_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TestCase`, `TestSuite` [INFO] [stdout] --> tests/integration_test.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | use junit_report::{ReportBuilder, TestCase, TestCaseBuilder, TestSuite, TestSuiteBuilder, Duration, TimeZone, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `setup` [INFO] [stdout] --> tests/common.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn setup() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 29.94s [INFO] running `Command { std: "docker" "inspect" "c73e9fa64ef391a99ec38f94a3a0f939446034da7b011c9c6ab363a241815b0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c73e9fa64ef391a99ec38f94a3a0f939446034da7b011c9c6ab363a241815b0e", kill_on_drop: false }` [INFO] [stdout] c73e9fa64ef391a99ec38f94a3a0f939446034da7b011c9c6ab363a241815b0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-53/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4d4074f72928011a736af0d4e8a7561db6e2e9dbdde988af65b010183bd7229a [INFO] running `Command { std: "docker" "start" "-a" "4d4074f72928011a736af0d4e8a7561db6e2e9dbdde988af65b010183bd7229a", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `event` [INFO] [stderr] --> src/main.rs:30:32 [INFO] [stderr] | [INFO] [stderr] 30 | pub(crate) async fn my_handler(event: Request, ctx: Context) -> Result { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/main.rs:30:48 [INFO] [stderr] | [INFO] [stderr] 30 | pub(crate) async fn my_handler(event: Request, ctx: Context) -> Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `path` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | path: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `statusCode` should have a snake case name [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | statusCode: String [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `status_code` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `example-rust-app` (bin "bootstrap") generated 4 warnings [INFO] [stderr] warning: unused imports: `TestCase`, `TestSuite` [INFO] [stderr] --> tests/integration_test.rs:12:35 [INFO] [stderr] | [INFO] [stderr] 12 | use junit_report::{ReportBuilder, TestCase, TestCaseBuilder, TestSuite, TestSuiteBuilder, Duration, TimeZone, Utc}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `setup` [INFO] [stderr] --> tests/common.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn setup() { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `example-rust-app` (bin "bootstrap" test) generated 4 warnings (4 duplicates) [INFO] [stderr] warning: `example-rust-app` (test "integration_test") generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/bootstrap-61a81cd70404aed8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/common.rs (/opt/rustwide/target/debug/deps/common-1ef77318dd12130a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-56c73d3685c99dde) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_add ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_add stdout ---- [INFO] [stdout] Got an error invoking the function: error trying to connect: tcp connect error: Connection refused (os error 111) [INFO] [stdout] thread 'test_add' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `true`, [INFO] [stdout] right: `false`', tests/integration_test.rs:59:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55979f90c2fc - std::backtrace_rs::backtrace::libunwind::trace::h02555d7ca8aa068a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55979f90c2fc - std::backtrace_rs::backtrace::trace_unsynchronized::h8555a46024147da8 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55979f90c2fc - std::sys_common::backtrace::_print_fmt::h4c7f50b4f105da1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x55979f90c2fc - ::fmt::ha305a40dbc030444 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x55979f93370c - core::fmt::write::hadd15acf4d6ce273 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/fmt/mod.rs:1190:17 [INFO] [stdout] 5: 0x55979f904ea8 - std::io::Write::write_fmt::h271050faa79d27d2 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/io/mod.rs:1657:15 [INFO] [stdout] 6: 0x55979f90e847 - std::sys_common::backtrace::_print::h0dd5c0810675bd8c [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x55979f90e847 - std::sys_common::backtrace::print::h20a2155fa0a22ca6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x55979f90e847 - std::panicking::default_hook::{{closure}}::habb3b6f3ccdfe00a [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x55979f90e57b - std::panicking::default_hook::h1c5cf4d5063a38e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x55979f90ef9a - std::panicking::rust_panic_with_hook::hb5de7a3072d2cf59 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x55979f90ec87 - std::panicking::begin_panic_handler::{{closure}}::h5106de2f55f1a411 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x55979f90c7c4 - std::sys_common::backtrace::__rust_end_short_backtrace::h5ad5c2a8a003ca72 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x55979f90e999 - rust_begin_unwind [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x55979f16d863 - core::panicking::panic_fmt::hfb4b8460cd493e74 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x55979f931f28 - core::panicking::assert_failed_inner::h6332a1b3f7595954 [INFO] [stdout] 16: 0x55979f6ee1da - core::panicking::assert_failed::had3fe1643d9e101b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panicking.rs:182:5 [INFO] [stdout] 17: 0x55979f19a4e4 - integration_test::test_add::h4106c0a4c832aff5 [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_test.rs:59:13 [INFO] [stdout] 18: 0x55979f199cea - integration_test::test_add::{{closure}}::h51c84ebc008de17f [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_test.rs:22:1 [INFO] [stdout] 19: 0x55979f16e20e - core::ops::function::FnOnce::call_once::h31ff7524738c3ffa [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55979f1cacf3 - core::ops::function::FnOnce::call_once::h43953c8a8f54893f [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55979f1cacf3 - test::__rust_begin_short_backtrace::h163f55298a15df9b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:575:5 [INFO] [stdout] 22: 0x55979f1c9a21 - as core::ops::function::FnOnce>::call_once::hc911782b3cbc7ed5 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 23: 0x55979f1c9a21 - as core::ops::function::FnOnce<()>>::call_once::hc5bb369afbf9cd4e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x55979f1c9a21 - std::panicking::try::do_call::he60df4e3e832faff [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 25: 0x55979f1c9a21 - std::panicking::try::h2633cee89a0767f3 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 26: 0x55979f1c9a21 - std::panic::catch_unwind::h6e10f7b94ce38b1e [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 27: 0x55979f1c9a21 - test::run_test_in_process::h085ef39049c3b50b [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:598:18 [INFO] [stdout] 28: 0x55979f1c9a21 - test::run_test::run_test_inner::{{closure}}::h4e58ce9f68eb43e4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x55979f1d3301 - test::run_test::run_test_inner::{{closure}}::h6d18db28c5e396ee [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x55979f1d3301 - std::sys_common::backtrace::__rust_begin_short_backtrace::h32292cb2cd8be620 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 31: 0x55979f19fa5f - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h71ee66b20f7b0482 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 32: 0x55979f19fa5f - as core::ops::function::FnOnce<()>>::call_once::hb6046e1d1a75a4a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x55979f19fa5f - std::panicking::try::do_call::h5422165a88309c77 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:492:40 [INFO] [stdout] 34: 0x55979f19fa5f - std::panicking::try::h840a12b54e2c9f5d [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panicking.rs:456:19 [INFO] [stdout] 35: 0x55979f19fa5f - std::panic::catch_unwind::h85910e437c8da180 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/panic.rs:137:14 [INFO] [stdout] 36: 0x55979f19fa5f - std::thread::Builder::spawn_unchecked_::{{closure}}::ha3af3a297bfd51d6 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 37: 0x55979f19fa5f - core::ops::function::FnOnce::call_once{{vtable.shim}}::hff8788f58e0e06a9 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55979f914e93 - as core::ops::function::FnOnce>::call_once::h82a18723295373b7 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 39: 0x55979f914e93 - as core::ops::function::FnOnce>::call_once::h4b9b8634f7a2a5a4 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/alloc/src/boxed.rs:1854:9 [INFO] [stdout] 40: 0x55979f914e93 - std::sys::unix::thread::Thread::new::thread_start::h3dc341aa024c6852 [INFO] [stdout] at /rustc/0a4f984a87c7ba6c74ec3e78442fec955a419e32/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 41: 0x7f60c9c6f609 - start_thread [INFO] [stdout] 42: 0x7f60c9a41293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_add [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test integration_test' [INFO] running `Command { std: "docker" "inspect" "4d4074f72928011a736af0d4e8a7561db6e2e9dbdde988af65b010183bd7229a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d4074f72928011a736af0d4e8a7561db6e2e9dbdde988af65b010183bd7229a", kill_on_drop: false }` [INFO] [stdout] 4d4074f72928011a736af0d4e8a7561db6e2e9dbdde988af65b010183bd7229a