[INFO] fetching crate vite-actix 0.2.6... [INFO] testing vite-actix-0.2.6 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate vite-actix 0.2.6 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate vite-actix 0.2.6 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate vite-actix 0.2.6 [INFO] tweaked toml for crates.io crate vite-actix 0.2.6 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate vite-actix 0.2.6 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate vite-actix 0.2.6 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18401fd05ea5471d8cb4921fdf12c69a1eb1cc7a2cd466aa82685476885b7b38 [INFO] running `Command { std: "docker" "start" "-a" "18401fd05ea5471d8cb4921fdf12c69a1eb1cc7a2cd466aa82685476885b7b38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18401fd05ea5471d8cb4921fdf12c69a1eb1cc7a2cd466aa82685476885b7b38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18401fd05ea5471d8cb4921fdf12c69a1eb1cc7a2cd466aa82685476885b7b38", kill_on_drop: false }` [INFO] [stdout] 18401fd05ea5471d8cb4921fdf12c69a1eb1cc7a2cd466aa82685476885b7b38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b89d2a081d24a6abaf9d1f9597bddbabdecf6a499d31af0bd03dee1dbcfe6b8d [INFO] running `Command { std: "docker" "start" "-a" "b89d2a081d24a6abaf9d1f9597bddbabdecf6a499d31af0bd03dee1dbcfe6b8d", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.15 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling brotli-decompressor v4.0.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling impl-more v0.1.9 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling actix-tls v3.4.0 [INFO] [stderr] Compiling vte v0.14.1 [INFO] [stderr] Compiling strip-ansi-escapes v0.2.1 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling awc v3.5.1 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling vite-actix v0.2.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 58s [INFO] running `Command { std: "docker" "inspect" "b89d2a081d24a6abaf9d1f9597bddbabdecf6a499d31af0bd03dee1dbcfe6b8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b89d2a081d24a6abaf9d1f9597bddbabdecf6a499d31af0bd03dee1dbcfe6b8d", kill_on_drop: false }` [INFO] [stdout] b89d2a081d24a6abaf9d1f9597bddbabdecf6a499d31af0bd03dee1dbcfe6b8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e79faf755c66b9cabfee30cf3f16a61bf86de65a632c723164bae124e4b56b3 [INFO] running `Command { std: "docker" "start" "-a" "6e79faf755c66b9cabfee30cf3f16a61bf86de65a632c723164bae124e4b56b3", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling jiff v0.2.6 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling actix-tls v3.4.0 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling awc v3.5.1 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling vite-actix v0.2.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 55.27s [INFO] running `Command { std: "docker" "inspect" "6e79faf755c66b9cabfee30cf3f16a61bf86de65a632c723164bae124e4b56b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e79faf755c66b9cabfee30cf3f16a61bf86de65a632c723164bae124e4b56b3", kill_on_drop: false }` [INFO] [stdout] 6e79faf755c66b9cabfee30cf3f16a61bf86de65a632c723164bae124e4b56b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 41008dd7de52ad32b8158e4165aa8f647f85fde6e04366c4324b630f476013b2 [INFO] running `Command { std: "docker" "start" "-a" "41008dd7de52ad32b8158e4165aa8f647f85fde6e04366c4324b630f476013b2", 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/vite_actix-5f9ab04acf5a74e7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests vite_actix [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/../README.md - (line 98) ... FAILED [INFO] [stdout] test src/../README.md - (line 61) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/../README.md - (line 98) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProxyViteOptions` [INFO] [stdout] --> src/../README.md:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | ProxyViteOptions::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ProxyViteOptions` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 98 + use vite_actix::proxy_vite_options::ProxyViteOptions; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 61) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `vite_actix::ViteAppFactory` [INFO] [stdout] --> src/../README.md:65:37 [INFO] [stdout] | [INFO] [stdout] 65 | use vite_actix::{start_vite_server, ViteAppFactory, ProxyViteOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `ViteAppFactory` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this trait instead: [INFO] [stdout] vite_actix::vite_app_factory::ViteAppFactory [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `ProxyViteOptions` is private [INFO] [stdout] --> src/../README.md:65:53 [INFO] [stdout] | [INFO] [stdout] 65 | use vite_actix::{start_vite_server, ViteAppFactory, ProxyViteOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `ProxyViteOptions` is defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::proxy_vite_options::ProxyViteOptions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: import `ProxyViteOptions` directly [INFO] [stdout] | [INFO] [stdout] 65 | use vite_actix::{start_vite_server, ViteAppFactory, vite_actix::proxy_vite_options::ProxyViteOptions}; [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `configure_vite` found for struct `App` in the current scope [INFO] [stdout] --> src/../README.md:80:14 [INFO] [stdout] | [INFO] [stdout] 78 | / App::new() [INFO] [stdout] 79 | | .route("/api/", web::get().to(HttpResponse::Ok)) [INFO] [stdout] 80 | | .configure_vite() // Enable Vite proxy during development [INFO] [stdout] | |_____________-^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/vite_app_factory.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn configure_vite(self) -> Self; [INFO] [stdout] | -------------- the method is available for `App` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `configure` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/actix-web-4.9.0/src/app.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | / pub fn configure(mut self, f: F) -> Self [INFO] [stdout] 186 | | where [INFO] [stdout] 187 | | F: FnOnce(&mut ServiceConfig), [INFO] [stdout] | |______________________________________^ [INFO] [stdout] help: trait `ViteAppFactory` which provides `configure_vite` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 61 + use crate::vite_actix::vite_app_factory::ViteAppFactory; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0603. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/../README.md - (line 61) [INFO] [stdout] src/../README.md - (line 98) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.32s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.69s; merged doctests compilation took 0.37s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "41008dd7de52ad32b8158e4165aa8f647f85fde6e04366c4324b630f476013b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41008dd7de52ad32b8158e4165aa8f647f85fde6e04366c4324b630f476013b2", kill_on_drop: false }` [INFO] [stdout] 41008dd7de52ad32b8158e4165aa8f647f85fde6e04366c4324b630f476013b2