[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 1.84.0 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frichardhboyd%2FServerlessRust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/richardhboyd/ServerlessRust on toolchain 1.84.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "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-1-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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 strip-ansi-escapes v0.1.0 [INFO] [stderr] Downloaded lambda_runtime v0.4.0 [INFO] [stderr] Downloaded futures-executor v0.3.16 [INFO] [stderr] Downloaded futures v0.3.16 [INFO] [stderr] Downloaded fastrand v1.5.0 [INFO] [stderr] Downloaded futures-macro v0.3.16 [INFO] [stderr] Downloaded utf8parse v0.1.1 [INFO] [stderr] Downloaded difference v1.0.0 [INFO] [stderr] Downloaded pretty_assertions v0.4.1 [INFO] [stderr] Downloaded derive-getters v0.2.0 [INFO] [stderr] Downloaded junit-report v0.6.0 [INFO] [stderr] Downloaded vte v0.3.3 [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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c1070504be7491eb5a498d42a8b9c9381e72cfd26e1f623ad7fe5c360a19205 [INFO] running `Command { std: "docker" "start" "-a" "2c1070504be7491eb5a498d42a8b9c9381e72cfd26e1f623ad7fe5c360a19205", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c1070504be7491eb5a498d42a8b9c9381e72cfd26e1f623ad7fe5c360a19205", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c1070504be7491eb5a498d42a8b9c9381e72cfd26e1f623ad7fe5c360a19205", kill_on_drop: false }` [INFO] [stdout] 2c1070504be7491eb5a498d42a8b9c9381e72cfd26e1f623ad7fe5c360a19205 [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=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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a647bf52f0f4f346f0767ed71f76e6348b6f44f27dc438779b02f7c39da86ea [INFO] running `Command { std: "docker" "start" "-a" "7a647bf52f0f4f346f0767ed71f76e6348b6f44f27dc438779b02f7c39da86ea", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling futures-sink v0.3.16 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling futures-io v0.3.16 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling sharded-slab v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.4.1 [INFO] [stderr] Compiling tracing-subscriber v0.2.19 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling http-body v0.4.3 [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 `path` is never read [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Request { [INFO] [stdout] | ------- field in this struct [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.69s [INFO] running `Command { std: "docker" "inspect" "7a647bf52f0f4f346f0767ed71f76e6348b6f44f27dc438779b02f7c39da86ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a647bf52f0f4f346f0767ed71f76e6348b6f44f27dc438779b02f7c39da86ea", kill_on_drop: false }` [INFO] [stdout] 7a647bf52f0f4f346f0767ed71f76e6348b6f44f27dc438779b02f7c39da86ea [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=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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec507092da2075232c30d5c9ec8f4089293f82e83dd4eeee0837f9e9f59190d0 [INFO] running `Command { std: "docker" "start" "-a" "ec507092da2075232c30d5c9ec8f4089293f82e83dd4eeee0837f9e9f59190d0", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling zeroize v1.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling fastrand v1.5.0 [INFO] [stderr] Compiling utf8parse v0.1.1 [INFO] [stderr] Compiling derive-getters v0.2.0 [INFO] [stderr] Compiling bytes-utils v0.1.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling vte v0.3.3 [INFO] [stderr] Compiling strip-ansi-escapes v0.1.0 [INFO] [stderr] Compiling difference v1.0.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling tokio-test v0.4.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling pretty_assertions v0.4.1 [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 `path` is never read [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Request { [INFO] [stdout] | ------- field in this struct [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] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling aws-types v0.1.0 (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.13-alpha#7c5f3753) [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling tower v0.4.8 [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 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 aws-auth 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-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 rustls-native-certs v0.5.0 [INFO] [stderr] Compiling tokio-rustls v0.22.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 imports: `TestCase` and `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: 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: function `setup` is never used [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: field `path` is never read [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Request { [INFO] [stdout] | ------- field in this struct [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 38.18s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: aws-types v0.1.0 (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.13-alpha#7c5f3753) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "ec507092da2075232c30d5c9ec8f4089293f82e83dd4eeee0837f9e9f59190d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec507092da2075232c30d5c9ec8f4089293f82e83dd4eeee0837f9e9f59190d0", kill_on_drop: false }` [INFO] [stdout] ec507092da2075232c30d5c9ec8f4089293f82e83dd4eeee0837f9e9f59190d0 [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=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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2f7d380407398ce4ac5ea7cc7cf56affb0624f0a420d42f08087f31c38b2d4d3 [INFO] running `Command { std: "docker" "start" "-a" "2f7d380407398ce4ac5ea7cc7cf56affb0624f0a420d42f08087f31c38b2d4d3", 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 `path` is never read [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 7 | struct Request { [INFO] [stderr] | ------- field in this struct [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` and `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 `setup` is never used [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` (test "integration_test") generated 2 warnings (run `cargo fix --test "integration_test"` to apply 1 suggestion) [INFO] [stderr] warning: `example-rust-app` (bin "bootstrap" test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: aws-types v0.1.0 (https://github.com/awslabs/aws-sdk-rust?tag=v0.0.13-alpha#7c5f3753) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/bootstrap-b39db23ecce34690) [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-9ab32b4c472080ec) [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-fd70e0302ed08cc0) [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 tests/integration_test.rs:59:13: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: true [INFO] [stdout] right: false [INFO] [stderr] error: test failed, to rerun pass `--test integration_test` [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x581820601d6a - std::backtrace_rs::backtrace::libunwind::trace::hfe0e1def394da018 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x581820601d6a - std::backtrace_rs::backtrace::trace_unsynchronized::h96fbb6d117554616 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x581820601d6a - std::sys::backtrace::_print_fmt::he1169c6f8956325b [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x581820601d6a - ::fmt::ha4a311b32f6b4ad8 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x58182062b213 - core::fmt::rt::Argument::fmt::h8ccd2627d2418ed3 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x58182062b213 - core::fmt::write::h1866771663f62b81 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/core/src/fmt/mod.rs:1189:21 [INFO] [stdout] 6: 0x5818205fe3d3 - std::io::Write::write_fmt::h2df399c9fb8c6039 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/io/mod.rs:1884:15 [INFO] [stdout] 7: 0x581820601bb2 - std::sys::backtrace::BacktraceLock::print::hddd3a9918ce29aa7 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5818206031ed - std::panicking::default_hook::{{closure}}::h791f75256b902d7d [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/panicking.rs:268:22 [INFO] [stdout] 9: 0x581820602ff7 - std::panicking::default_hook::h82cc572fcb0d8cd7 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/panicking.rs:292:9 [INFO] [stdout] 10: 0x58181ff8ae37 - as core::ops::function::Fn>::call::h47f4385e5c05a6bc [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/alloc/src/boxed.rs:1986:9 [INFO] [stdout] 11: 0x58181ff8ae37 - test::test_main::{{closure}}::h592b6187ee9bbe51 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/test/src/lib.rs:134:21 [INFO] [stdout] 12: 0x581820603898 - as core::ops::function::Fn>::call::h80408f032954f187 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/alloc/src/boxed.rs:1986:9 [INFO] [stdout] 13: 0x581820603898 - std::panicking::rust_panic_with_hook::he21644cc2707f2c4 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/panicking.rs:809:13 [INFO] [stdout] 14: 0x58182060365a - std::panicking::begin_panic_handler::{{closure}}::h42f7c414fed3cad9 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/panicking.rs:674:13 [INFO] [stdout] 15: 0x581820602249 - std::sys::backtrace::__rust_end_short_backtrace::ha26cf5766b4e8c65 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x5818206032ec - rust_begin_unwind [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/panicking.rs:665:5 [INFO] [stdout] 17: 0x58181ff242f0 - core::panicking::panic_fmt::h74866b78e934b1c0 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/core/src/panicking.rs:76:14 [INFO] [stdout] 18: 0x58181ff246f4 - core::panicking::assert_failed_inner::h096c85975a183618 [INFO] [stdout] 19: 0x5818203dfb3e - core::panicking::assert_failed::h0ede0f4ef8414ade [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/core/src/panicking.rs:373:5 [INFO] [stdout] 20: 0x58181ff4ad55 - integration_test::test_add::h8d0f4eb72a62f09e [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_test.rs:59:13 [INFO] [stdout] 21: 0x58181ff49c47 - integration_test::test_add::{{closure}}::h5adc9667bda58bf8 [INFO] [stdout] at /opt/rustwide/workdir/tests/integration_test.rs:22:14 [INFO] [stdout] 22: 0x58181ff3b0e6 - core::ops::function::FnOnce::call_once::h748ae6e6f135c35a [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x58181ff8f9eb - core::ops::function::FnOnce::call_once::h2f54be8ccda9ff77 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x58181ff8f9eb - test::__rust_begin_short_backtrace::h505f4667df5bf10c [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/test/src/lib.rs:632:18 [INFO] [stdout] 25: 0x58181ff8f348 - test::run_test_in_process::{{closure}}::h5ed3028e6069c117 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/test/src/lib.rs:655:60 [INFO] [stdout] 26: 0x58181ff8f348 - as core::ops::function::FnOnce<()>>::call_once::hbf705be6aea7c287 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x58181ff8f348 - std::panicking::try::do_call::h555223a41631f02b [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/panicking.rs:557:40 [INFO] [stdout] 28: 0x58181ff8f348 - std::panicking::try::he81e496d432108c4 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/panicking.rs:520:19 [INFO] [stdout] 29: 0x58181ff8f348 - std::panic::catch_unwind::hb2ff356e76867b52 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/panic.rs:358:14 [INFO] [stdout] 30: 0x58181ff8f348 - test::run_test_in_process::h665bcd2e01d69f5b [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/test/src/lib.rs:655:27 [INFO] [stdout] 31: 0x58181ff8f348 - test::run_test::{{closure}}::ha58fbc9c79c6786d [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/test/src/lib.rs:576:43 [INFO] [stdout] 32: 0x58181ff52dea - test::run_test::{{closure}}::h958602d5fcb1d647 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/test/src/lib.rs:606:41 [INFO] [stdout] 33: 0x58181ff52dea - std::sys::backtrace::__rust_begin_short_backtrace::h7ca2fb16f64faa0f [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 34: 0x58181ff566a4 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hebe77fbe87ddae61 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/thread/mod.rs:561:17 [INFO] [stdout] 35: 0x58181ff566a4 - as core::ops::function::FnOnce<()>>::call_once::h5e26d6a69f85d1d6 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x58181ff566a4 - std::panicking::try::do_call::h9787fac579f00884 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/panicking.rs:557:40 [INFO] [stdout] 37: 0x58181ff566a4 - std::panicking::try::h788012b555fbd7c5 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/panicking.rs:520:19 [INFO] [stdout] 38: 0x58181ff566a4 - std::panic::catch_unwind::hd194f26f99a98fb5 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/panic.rs:358:14 [INFO] [stdout] 39: 0x58181ff566a4 - std::thread::Builder::spawn_unchecked_::{{closure}}::h31c0dcba34ed449c [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/thread/mod.rs:559:30 [INFO] [stdout] 40: 0x58181ff566a4 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h60302d9c688101a6 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x581820607a6b - as core::ops::function::FnOnce>::call_once::h9578f6ea1d4e1c4b [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/alloc/src/boxed.rs:1972:9 [INFO] [stdout] 42: 0x581820607a6b - as core::ops::function::FnOnce>::call_once::hf4a2f438d8019348 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/alloc/src/boxed.rs:1972:9 [INFO] [stdout] 43: 0x581820607a6b - std::sys::pal::unix::thread::Thread::new::thread_start::h14f1eb868ff90fc9 [INFO] [stdout] at /rustc/9fc6b43126469e3858e2fe86cafb4f0fd5068869/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 44: 0x7a71107f5ac3 - [INFO] [stdout] 45: 0x7a7110886a04 - clone [INFO] [stdout] 46: 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.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2f7d380407398ce4ac5ea7cc7cf56affb0624f0a420d42f08087f31c38b2d4d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f7d380407398ce4ac5ea7cc7cf56affb0624f0a420d42f08087f31c38b2d4d3", kill_on_drop: false }` [INFO] [stdout] 2f7d380407398ce4ac5ea7cc7cf56affb0624f0a420d42f08087f31c38b2d4d3