[INFO] fetching crate openapi-lambda 0.1.3... [INFO] testing openapi-lambda-0.1.3 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate openapi-lambda 0.1.3 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate openapi-lambda 0.1.3 [INFO] finished tweaking crates.io crate openapi-lambda 0.1.3 [INFO] tweaked toml for crates.io crate openapi-lambda 0.1.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate openapi-lambda 0.1.3 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate openapi-lambda 0.1.3 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e6589fedf859771ac13c367482b0d6fb7e1e0cb99e7dc9bd12841ae7ba77503 [INFO] running `Command { std: "docker" "start" "-a" "0e6589fedf859771ac13c367482b0d6fb7e1e0cb99e7dc9bd12841ae7ba77503", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e6589fedf859771ac13c367482b0d6fb7e1e0cb99e7dc9bd12841ae7ba77503", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e6589fedf859771ac13c367482b0d6fb7e1e0cb99e7dc9bd12841ae7ba77503", kill_on_drop: false }` [INFO] [stdout] 0e6589fedf859771ac13c367482b0d6fb7e1e0cb99e7dc9bd12841ae7ba77503 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f86b678c9f25b39f3397853d1156a1b8ed04485f82b1cda23b18f511b7687b7 [INFO] running `Command { std: "docker" "start" "-a" "3f86b678c9f25b39f3397853d1156a1b8ed04485f82b1cda23b18f511b7687b7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling async-trait v0.1.74 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling darling_core v0.20.3 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-stream v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling darling_macro v0.20.3 [INFO] [stderr] Compiling darling v0.20.3 [INFO] [stderr] Compiling serde_with_macros v3.4.0 [INFO] [stderr] Compiling futures-executor v0.3.29 [INFO] [stderr] Compiling futures v0.3.29 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling query_map v0.7.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.14 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling serde_dynamo v4.2.13 [INFO] [stderr] Compiling http v1.0.0 [INFO] [stderr] Compiling tokio v1.34.0 [INFO] [stderr] Compiling serde_with v3.4.0 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling http-serde v2.0.0 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling http-body-util v0.1.0 [INFO] [stderr] Compiling headers v0.4.0 [INFO] [stderr] Compiling aws_lambda_events v0.13.0 [INFO] [stderr] Compiling hyper v1.1.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling hyper-util v0.1.2 [INFO] [stderr] Compiling lambda_runtime_api_client v0.9.0 [INFO] [stderr] Compiling lambda_runtime v0.9.0 [INFO] [stderr] Compiling openapi-lambda v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/error.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | err: &(dyn std::error::Error), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 250 - err: &(dyn std::error::Error), [INFO] [stdout] 250 + err: &dyn std::error::Error , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "3f86b678c9f25b39f3397853d1156a1b8ed04485f82b1cda23b18f511b7687b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f86b678c9f25b39f3397853d1156a1b8ed04485f82b1cda23b18f511b7687b7", kill_on_drop: false }` [INFO] [stdout] 3f86b678c9f25b39f3397853d1156a1b8ed04485f82b1cda23b18f511b7687b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 151a18851598dcefafc938cd3af1ad1aca0990b64b8bf242f3141df3ddb6331b [INFO] running `Command { std: "docker" "start" "-a" "151a18851598dcefafc938cd3af1ad1aca0990b64b8bf242f3141df3ddb6331b", kill_on_drop: false }` [INFO] [stderr] Compiling openapi-lambda v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/error.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | err: &(dyn std::error::Error), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 250 - err: &(dyn std::error::Error), [INFO] [stdout] 250 + err: &dyn std::error::Error , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/error.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | err: &(dyn std::error::Error), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 250 - err: &(dyn std::error::Error), [INFO] [stdout] 250 + err: &dyn std::error::Error , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "151a18851598dcefafc938cd3af1ad1aca0990b64b8bf242f3141df3ddb6331b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "151a18851598dcefafc938cd3af1ad1aca0990b64b8bf242f3141df3ddb6331b", kill_on_drop: false }` [INFO] [stdout] 151a18851598dcefafc938cd3af1ad1aca0990b64b8bf242f3141df3ddb6331b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 22b11066147a4c70e2750731bd6ef2f94b1dc7cf227d8c392a329af44b1af02e [INFO] running `Command { std: "docker" "start" "-a" "22b11066147a4c70e2750731bd6ef2f94b1dc7cf227d8c392a329af44b1af02e", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/error.rs:250:9 [INFO] [stderr] | [INFO] [stderr] 250 | err: &(dyn std::error::Error), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 250 - err: &(dyn std::error::Error), [INFO] [stderr] 250 + err: &dyn std::error::Error , [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `openapi-lambda` (lib) generated 1 warning (run `cargo fix --lib -p openapi-lambda` to apply 1 suggestion) [INFO] [stderr] warning: `openapi-lambda` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/openapi_lambda-923b1155910cc2b5) [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] Doc-tests openapi_lambda [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/error.rs:250:9 [INFO] [stderr] | [INFO] [stderr] 250 | err: &(dyn std::error::Error), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 250 - err: &(dyn std::error::Error), [INFO] [stderr] 250 + err: &dyn std::error::Error , [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - (line 135) ... ignored [INFO] [stdout] test src/lib.rs - (line 65) ... ignored [INFO] [stdout] test src/middleware.rs - middleware::Middleware::wrap_handler_authed (line 48) ... ignored [INFO] [stdout] test src/middleware.rs - middleware::Middleware::wrap_handler_unauthed (line 88) ... ignored [INFO] [stdout] test src/runtime.rs - runtime::run_lambda (line 12) ... ignored [INFO] [stdout] test src/lib.rs - (line 33) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 33) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `openapi_lambda_codegen` [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use openapi_lambda_codegen::{ApiLambda, CodeGenerator, LambdaArn}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `openapi_lambda_codegen` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `openapi_lambda_codegen`, use `cargo add openapi_lambda_codegen` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 33) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 5 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "22b11066147a4c70e2750731bd6ef2f94b1dc7cf227d8c392a329af44b1af02e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22b11066147a4c70e2750731bd6ef2f94b1dc7cf227d8c392a329af44b1af02e", kill_on_drop: false }` [INFO] [stdout] 22b11066147a4c70e2750731bd6ef2f94b1dc7cf227d8c392a329af44b1af02e