[INFO] fetching crate swagger-ui-dist 5.33.1...
[INFO] testing swagger-ui-dist-5.33.1 against 1.99.0-beta.8 for beta-1.100-2
[INFO] extracting crate swagger-ui-dist 5.33.1 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate swagger-ui-dist 5.33.1
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate swagger-ui-dist 5.33.1
[INFO] tweaked toml for crates.io crate swagger-ui-dist 5.33.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate swagger-ui-dist 5.33.1 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate swagger-ui-dist 5.33.1 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.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded impl-more v0.3.8
[INFO] [stderr]   Downloaded actix-utils v3.0.2
[INFO] [stderr]   Downloaded axum-macros v0.4.2
[INFO] [stderr]   Downloaded actix-web-codegen v4.4.0
[INFO] [stderr]   Downloaded actix-macros v0.2.5
[INFO] [stderr]   Downloaded actix-codec v0.5.4
[INFO] [stderr]   Downloaded actix-server v2.9.7
[INFO] [stderr]   Downloaded actix-rt v2.15.0
[INFO] [stderr]   Downloaded actix-http v3.18.12
[INFO] [stderr]   Downloaded actix-web v4.15.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f76649e46f4ebb9a26463d46dc6e2ebd64170adf60c3697c6d7b0aa75bcee75c
[INFO] running `Command { std: "docker" "start" "f76649e46f4ebb9a26463d46dc6e2ebd64170adf60c3697c6d7b0aa75bcee75c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f76649e46f4ebb9a26463d46dc6e2ebd64170adf60c3697c6d7b0aa75bcee75c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f76649e46f4ebb9a26463d46dc6e2ebd64170adf60c3697c6d7b0aa75bcee75c" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f76649e46f4ebb9a26463d46dc6e2ebd64170adf60c3697c6d7b0aa75bcee75c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f76649e46f4ebb9a26463d46dc6e2ebd64170adf60c3697c6d7b0aa75bcee75c" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling http v1.5.0
[INFO] [stderr]    Compiling socket2 v0.6.5
[INFO] [stderr]    Compiling mio v1.2.3
[INFO] [stderr]    Compiling tokio-macros v2.7.2
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling futures-channel v0.3.34
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling smallvec v1.16.2
[INFO] [stderr]    Compiling futures-task v0.3.34
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling serde_json v1.0.151
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling futures-util v0.3.34
[INFO] [stderr]    Compiling matchit v0.8.4
[INFO] [stderr]    Compiling tokio v1.53.1
[INFO] [stderr]    Compiling http-body v1.1.0
[INFO] [stderr]    Compiling http-body-util v0.1.5
[INFO] [stderr]    Compiling axum-core v0.5.6
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper v1.11.1
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling hyper-util v0.1.21
[INFO] [stderr]    Compiling axum-macros v0.5.1
[INFO] [stderr]    Compiling axum v0.8.9
[INFO] [stderr]    Compiling swagger-ui-dist v5.33.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.00s
[INFO] running `Command { std: "docker" "inspect" "f76649e46f4ebb9a26463d46dc6e2ebd64170adf60c3697c6d7b0aa75bcee75c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f76649e46f4ebb9a26463d46dc6e2ebd64170adf60c3697c6d7b0aa75bcee75c" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v3.0.6
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling cc v1.5.1
[INFO] [stderr]    Compiling zeroize v1.9.0
[INFO] [stderr]    Compiling aws-lc-rs v1.18.1
[INFO] [stderr]    Compiling futures-util v0.3.34
[INFO] [stderr]    Compiling indexmap v2.14.2
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling rustls v0.23.45
[INFO] [stderr]    Compiling ipnet v2.12.2
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling rustls-pki-types v1.15.1
[INFO] [stderr]    Compiling base64 v0.23.1
[INFO] [stderr]    Compiling encoding_rs v0.8.42
[INFO] [stderr]    Compiling rustls-native-certs v0.8.4
[INFO] [stderr]    Compiling axum-core v0.5.6
[INFO] [stderr]    Compiling core_detect v1.0.0
[INFO] [stderr]    Compiling simdutf8 v0.1.5
[INFO] [stderr]    Compiling bitflags v2.13.2
[INFO] [stderr]    Compiling multiversion_no_op v1.0.0
[INFO] [stderr]    Compiling cmake v0.1.58
[INFO] [stderr]    Compiling aws-lc-sys v0.45.0
[INFO] [stderr]    Compiling synstructure v0.14.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.8
[INFO] [stderr]    Compiling yoke-derive v0.8.4
[INFO] [stderr]    Compiling zerovec-derive v0.11.6
[INFO] [stderr]    Compiling displaydoc v0.2.7
[INFO] [stderr]    Compiling tokio-macros v2.7.2
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling yoke v0.8.3
[INFO] [stderr]    Compiling tokio v1.53.1
[INFO] [stderr]    Compiling zerovec v0.11.8
[INFO] [stderr]    Compiling zerotrie v0.2.5
[INFO] [stderr]    Compiling tinystr v0.8.4
[INFO] [stderr]    Compiling potential_utf v0.1.6
[INFO] [stderr]    Compiling icu_locale_core v2.3.0
[INFO] [stderr]    Compiling icu_collections v2.3.0
[INFO] [stderr]    Compiling icu_provider v2.3.1
[INFO] [stderr]    Compiling icu_normalizer v2.3.0
[INFO] [stderr]    Compiling icu_properties v2.3.0
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling tokio-util v0.7.19
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling h2 v0.4.19
[INFO] [stderr]    Compiling tower-http v0.6.11
[INFO] [stderr]    Compiling hyper v1.11.1
[INFO] [stderr]    Compiling hyper-util v0.1.21
[INFO] [stderr]    Compiling rustls-webpki v0.103.15
[INFO] [stderr]    Compiling axum v0.8.9
[INFO] [stderr]    Compiling tokio-rustls v0.26.6
[INFO] [stderr]    Compiling rustls-platform-verifier v0.7.1
[INFO] [stderr]    Compiling hyper-rustls v0.27.10
[INFO] [stderr]    Compiling reqwest v0.13.5
[INFO] [stderr]    Compiling swagger-ui-dist v5.33.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2m 07s
[INFO] running `Command { std: "docker" "inspect" "f76649e46f4ebb9a26463d46dc6e2ebd64170adf60c3697c6d7b0aa75bcee75c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f76649e46f4ebb9a26463d46dc6e2ebd64170adf60c3697c6d7b0aa75bcee75c" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.35s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/swagger_ui_dist-07925206fe287bb7)
[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 swagger_ui_dist
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - (line 7) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 7) stdout ----
[INFO] [stdout] error: couldn't read `src/petstore.yaml`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/lib.rs:11:41
[INFO] [stdout]    |
[INFO] [stdout] 11 |   api_definition: OpenApiSource::Inline(include_str!("petstore.yaml")),
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ApiDefinition` in this scope
[INFO] [stdout]  --> src/lib.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 | let api_def = ApiDefinition {
[INFO] [stdout]   |               ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:15:62
[INFO] [stdout]    |
[INFO] [stdout]  8 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() {
[INFO] [stdout]    |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 15 | let listener = tokio::net::TcpListener::bind("0.0.0.0:3000").await.unwrap();
[INFO] [stdout]    |                                                              ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:17:28
[INFO] [stdout]    |
[INFO] [stdout]  8 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() {
[INFO] [stdout]    |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 17 | axum::serve(listener, app).await.unwrap();
[INFO] [stdout]    |                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `OpenApiSource` in this scope
[INFO] [stdout]   --> src/lib.rs:11:19
[INFO] [stdout]    |
[INFO] [stdout] 11 |   api_definition: OpenApiSource::Inline(include_str!("petstore.yaml")),
[INFO] [stdout]    |                   ^^^^^^^^^^^^^ use of undeclared type `OpenApiSource`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Router` in this scope
[INFO] [stdout]   --> src/lib.rs:14:11
[INFO] [stdout]    |
[INFO] [stdout] 14 | let app = Router::new().merge(swagger_ui_dist::generate_routes(api_def));
[INFO] [stdout]    |           ^^^^^^ use of undeclared type `Router`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `axum` in this scope
[INFO] [stdout]   --> src/lib.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | axum::serve(listener, app).await.unwrap();
[INFO] [stdout]    | ^^^^ use of unresolved module or unlinked crate `axum`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `axum`, use `cargo add axum` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 7)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "f76649e46f4ebb9a26463d46dc6e2ebd64170adf60c3697c6d7b0aa75bcee75c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f76649e46f4ebb9a26463d46dc6e2ebd64170adf60c3697c6d7b0aa75bcee75c", kill_on_drop: false }`
[INFO] [stdout] f76649e46f4ebb9a26463d46dc6e2ebd64170adf60c3697c6d7b0aa75bcee75c
