[INFO] cloning repository https://github.com/ilxqx/rust-web-starter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ilxqx/rust-web-starter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Filxqx%2Frust-web-starter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Filxqx%2Frust-web-starter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 642d8c1b439a69943b5b7071810b22b88bd48ff4 [INFO] testing ilxqx/rust-web-starter/642d8c1b439a69943b5b7071810b22b88bd48ff4 against master#d933cf483edf1605142ac6899ff32536c0ad8b22 for pr-150933 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Filxqx%2Frust-web-starter" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ilxqx/rust-web-starter [INFO] finished tweaking git repo https://github.com/ilxqx/rust-web-starter [INFO] tweaked toml for git repo https://github.com/ilxqx/rust-web-starter written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ilxqx/rust-web-starter on toolchain d933cf483edf1605142ac6899ff32536c0ad8b22 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ilxqx/rust-web-starter 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" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-strings v0.4.1 [INFO] [stderr] Downloaded sysctl v0.4.6 [INFO] [stderr] Downloaded windows-core v0.61.1 [INFO] [stderr] Downloaded castaway v0.2.3 [INFO] [stderr] Downloaded trim-in-place v0.1.7 [INFO] [stderr] Downloaded ordered-multimap v0.7.3 [INFO] [stderr] Downloaded munge_macro v0.4.4 [INFO] [stderr] Downloaded ptr_meta v0.3.0 [INFO] [stderr] Downloaded sea-bae v0.2.1 [INFO] [stderr] Downloaded sea-query-binder v0.7.0 [INFO] [stderr] Downloaded include-flate-codegen v0.2.0 [INFO] [stderr] Downloaded rancor v0.1.0 [INFO] [stderr] Downloaded munge v0.4.4 [INFO] [stderr] Downloaded serde_html_form v0.2.7 [INFO] [stderr] Downloaded sonic-number v0.1.0 [INFO] [stderr] Downloaded rle-decode-fast v1.0.3 [INFO] [stderr] Downloaded axum_typed_multipart v0.15.1 [INFO] [stderr] Downloaded axum-valid v0.23.0 [INFO] [stderr] Downloaded cc v1.2.23 [INFO] [stderr] Downloaded yaml-rust2 v0.10.2 [INFO] [stderr] Downloaded sonic-rs v0.3.17 [INFO] [stderr] Downloaded rkyv v0.8.10 [INFO] [stderr] Downloaded rust_decimal v1.37.1 [INFO] [stderr] Downloaded tower-http v0.6.4 [INFO] [stderr] Downloaded dary_heap v0.3.7 [INFO] [stderr] Downloaded libflate v2.1.0 [INFO] [stderr] Downloaded sea-orm-macros v1.1.11 [INFO] [stderr] Downloaded sea-query v0.32.5 [INFO] [stderr] Downloaded rkyv_derive v0.8.10 [INFO] [stderr] Downloaded idgenerator v2.0.0 [INFO] [stderr] Downloaded shellexpand v3.1.1 [INFO] [stderr] Downloaded axum-serde v0.8.1 [INFO] [stderr] Downloaded bytesize v2.0.1 [INFO] [stderr] Downloaded faststr v0.2.31 [INFO] [stderr] Downloaded rust-ini v0.21.1 [INFO] [stderr] Downloaded pgvector v0.4.1 [INFO] [stderr] Downloaded axum_typed_multipart_macros v0.15.1 [INFO] [stderr] Downloaded dlv-list v0.5.2 [INFO] [stderr] Downloaded libflate_lz77 v2.1.0 [INFO] [stderr] Downloaded ptr_meta_derive v0.3.0 [INFO] [stderr] Downloaded rend v0.5.2 [INFO] [stderr] Downloaded sonic-simd v0.1.1 [INFO] [stderr] Downloaded inherent v1.0.12 [INFO] [stderr] Downloaded config v0.15.11 [INFO] [stderr] Downloaded winreg v0.8.0 [INFO] [stderr] Downloaded xid v1.1.1 [INFO] [stderr] Downloaded windows-result v0.3.3 [INFO] [stderr] Downloaded validator v0.20.0 [INFO] [stderr] Downloaded validator_derive v0.20.0 [INFO] [stderr] Downloaded md5 v0.7.0 [INFO] [stderr] Downloaded include-flate v0.3.0 [INFO] [stderr] Downloaded sea-orm v1.1.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 78c12aa50f6c690bafce3e08752c32c8070befc42caa7d99783335cdd56a1aff [INFO] running `Command { std: "docker" "start" "-a" "78c12aa50f6c690bafce3e08752c32c8070befc42caa7d99783335cdd56a1aff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "78c12aa50f6c690bafce3e08752c32c8070befc42caa7d99783335cdd56a1aff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78c12aa50f6c690bafce3e08752c32c8070befc42caa7d99783335cdd56a1aff", kill_on_drop: false }` [INFO] [stdout] 78c12aa50f6c690bafce3e08752c32c8070befc42caa7d99783335cdd56a1aff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:cfa559dde23f44738f9990739aaa3487d8df3af37eb5df0572f7cf76004a604a" "/opt/rustwide/cargo-home/bin/cargo" "+d933cf483edf1605142ac6899ff32536c0ad8b22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf70ffb8c52e41c240fd44edb526c191c00039c79db296f66406a672282c1d3f [INFO] running `Command { std: "docker" "start" "-a" "cf70ffb8c52e41c240fd44edb526c191c00039c79db296f66406a672282c1d3f", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rust_decimal v1.37.1 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling cc v1.2.23 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling bigdecimal v0.4.8 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling rle-decode-fast v1.0.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling libflate_lz77 v2.1.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling axum-macros v0.5.0 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling dary_heap v0.3.7 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling simdutf8 v0.1.5 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling prost-derive v0.13.5 [INFO] [stderr] Compiling faststr v0.2.31 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Compiling libflate v2.1.0 [INFO] [stderr] Compiling rmp v0.8.14 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling sonic-simd v0.1.1 [INFO] [stderr] Compiling sonic-number v0.1.0 [INFO] [stderr] Compiling inherent v1.0.12 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling headers v0.4.0 [INFO] [stderr] Compiling sonic-rs v0.3.17 [INFO] [stderr] Compiling prost v0.13.5 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Compiling axum_typed_multipart_macros v0.15.1 [INFO] [stderr] Compiling sea-query v0.32.5 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling shellexpand v3.1.1 [INFO] [stderr] Compiling rmp-serde v1.3.0 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling include-flate-codegen v0.2.0 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling ouroboros_macro v0.18.5 [INFO] [stderr] Compiling sea-bae v0.2.1 [INFO] [stderr] Compiling validator_derive v0.20.0 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde_html_form v0.2.7 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling trim-in-place v0.1.7 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling rust-embed-utils v8.7.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling validator v0.20.0 [INFO] [stderr] Compiling ouroboros v0.18.5 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling rust-ini v0.21.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling rust-embed-impl v8.7.2 [INFO] [stderr] Compiling axum-serde v0.8.1 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling yaml-rust2 v0.10.2 [INFO] [stderr] Compiling include-flate v0.3.0 [INFO] [stderr] Compiling sea-orm-macros v1.1.11 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling bcrypt v0.17.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling xid v1.1.1 [INFO] [stderr] Compiling idgenerator v2.0.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling bytesize v2.0.1 [INFO] [stderr] Compiling config v0.15.11 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling jsonwebtoken v9.3.1 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling async-compression v0.4.23 [INFO] [stderr] Compiling tower-http v0.6.4 [INFO] [stderr] Compiling axum-extra v0.10.1 [INFO] [stderr] Compiling axum_typed_multipart v0.15.1 [INFO] [stderr] Compiling rust-embed v8.7.2 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling sea-query-binder v0.7.0 [INFO] [stderr] Compiling axum-valid v0.23.0 [INFO] [stderr] Compiling sea-orm v1.1.11 [INFO] [stderr] Compiling web-starter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: #[derive(RustEmbed)] folder '/opt/rustwide/workdir/web/dist' does not exist. cwd: '/opt/rustwide/workdir' [INFO] [stdout] --> src/web/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / #[folder = "web/dist"] [INFO] [stdout] 9 | | #[include = "index.html"] [INFO] [stdout] 10 | | struct IndexHtml; [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: #[derive(RustEmbed)] folder '/opt/rustwide/workdir/web/dist' does not exist. cwd: '/opt/rustwide/workdir' [INFO] [stdout] --> src/web/mod.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / #[folder = "web/dist"] [INFO] [stdout] 14 | | #[exclude = "index.html"] [INFO] [stdout] 15 | | struct StaticAssets; [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `IndexHtml` in the current scope [INFO] [stdout] --> src/web/mod.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 10 | struct IndexHtml; [INFO] [stdout] | ---------------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 40 | let file = IndexHtml::get("index.html").expect("index.html不存在"); [INFO] [stdout] | ^^^ function or associated item not found in `IndexHtml` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `Row` [INFO] [stdout] candidate #3: `SliceIndex` [INFO] [stdout] candidate #4: `icu_properties::names::PropertyEnumToValueNameLookup` [INFO] [stdout] candidate #5: `icu_provider::baked::DataStore` [INFO] [stdout] candidate #6: `sea_orm::ActiveModelTrait` [INFO] [stdout] candidate #7: `sea_orm::ModelTrait` [INFO] [stdout] candidate #8: `sonic_rs::value::value_trait::JsonValueTrait` [INFO] [stdout] candidate #9: `toml_edit::table::TableLike` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `get` found for struct `StaticAssets` in the current scope [INFO] [stdout] --> src/web/mod.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 15 | struct StaticAssets; [INFO] [stdout] | ------------------- function or associated item `get` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 22 | match StaticAssets::get(path) { [INFO] [stdout] | ^^^ function or associated item not found in `StaticAssets` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `get`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Embed` [INFO] [stdout] candidate #2: `Row` [INFO] [stdout] candidate #3: `SliceIndex` [INFO] [stdout] candidate #4: `icu_properties::names::PropertyEnumToValueNameLookup` [INFO] [stdout] candidate #5: `icu_provider::baked::DataStore` [INFO] [stdout] candidate #6: `sea_orm::ActiveModelTrait` [INFO] [stdout] candidate #7: `sea_orm::ModelTrait` [INFO] [stdout] candidate #8: `sonic_rs::value::value_trait::JsonValueTrait` [INFO] [stdout] candidate #9: `toml_edit::table::TableLike` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `web-starter` (bin "web-starter") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "cf70ffb8c52e41c240fd44edb526c191c00039c79db296f66406a672282c1d3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf70ffb8c52e41c240fd44edb526c191c00039c79db296f66406a672282c1d3f", kill_on_drop: false }` [INFO] [stdout] cf70ffb8c52e41c240fd44edb526c191c00039c79db296f66406a672282c1d3f