[INFO] cloning repository https://github.com/clevertree/relay [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/clevertree/relay" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclevertree%2Frelay", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclevertree%2Frelay'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2d53d3990ec9a2c9199a162fd740748d6ec099d [INFO] checking clevertree/relay against master#cf8a95590a1b768b7711f2631d5b5e3ead464de7 for pr-149389-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclevertree%2Frelay" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/clevertree/relay [INFO] finished tweaking git repo https://github.com/clevertree/relay [INFO] tweaked toml for git repo https://github.com/clevertree/relay written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/clevertree/relay on toolchain cf8a95590a1b768b7711f2631d5b5e3ead464de7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf8a95590a1b768b7711f2631d5b5e3ead464de7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/clevertree/relay 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" "+cf8a95590a1b768b7711f2631d5b5e3ead464de7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-1-tc1/source/apps/client-react-native/rust/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fs_extra v1.3.0 [INFO] [stderr] Downloaded par-core v2.0.0 [INFO] [stderr] Downloaded swc_config_macro v1.0.1 [INFO] [stderr] Downloaded path-clean v1.0.1 [INFO] [stderr] Downloaded swc_ecma_codegen_macros v2.0.2 [INFO] [stderr] Downloaded outref v0.5.2 [INFO] [stderr] Downloaded dunce v1.0.5 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.45 [INFO] [stderr] Downloaded matchers v0.2.0 [INFO] [stderr] Downloaded axum-server v0.7.3 [INFO] [stderr] Downloaded serde-wasm-bindgen v0.6.5 [INFO] [stderr] Downloaded derive_builder_macro v0.20.2 [INFO] [stderr] Downloaded bytecount v0.6.9 [INFO] [stderr] Downloaded num-cmp v0.1.0 [INFO] [stderr] Downloaded fs-err v3.2.0 [INFO] [stderr] Downloaded pretty_assertions v1.4.1 [INFO] [stderr] Downloaded serde_path_to_error v0.1.20 [INFO] [stderr] Downloaded pulldown-cmark v0.9.6 [INFO] [stderr] Downloaded swc_ecma_parser v29.0.1 [INFO] [stderr] Downloaded fancy-regex v0.11.0 [INFO] [stderr] Downloaded async-std v1.13.2 [INFO] [stderr] Downloaded git2 v0.18.3 [INFO] [stderr] Downloaded zerocopy v0.8.28 [INFO] [stderr] Downloaded syn v2.0.110 [INFO] [stderr] Downloaded arc-swap v1.7.1 [INFO] [stderr] Downloaded webpki-roots v1.0.4 [INFO] [stderr] Downloaded bstr v1.12.1 [INFO] [stderr] Downloaded lalrpop v0.20.2 [INFO] [stderr] Downloaded aws-lc-rs v1.15.1 [INFO] [stderr] Downloaded fraction v0.13.1 [INFO] [stderr] Downloaded tracing-subscriber v0.3.20 [INFO] [stderr] Downloaded swc_common v18.0.1 [INFO] [stderr] Downloaded hyper-util v0.1.18 [INFO] [stderr] Downloaded bson v2.15.0 [INFO] [stderr] Downloaded swc_sourcemap v9.3.4 [INFO] [stderr] Downloaded zerocopy-derive v0.8.28 [INFO] [stderr] Downloaded iso8601 v0.6.3 [INFO] [stderr] Downloaded libssh2-sys v0.3.1 [INFO] [stderr] Downloaded swc_ecma_visit v19.0.0 [INFO] [stderr] Downloaded swc_ecma_transforms_typescript v35.0.0 [INFO] [stderr] Downloaded swc_core v50.2.0 [INFO] [stderr] Downloaded swc_config v3.1.2 [INFO] [stderr] Downloaded crc64fast v1.1.0 [INFO] [stderr] Downloaded polodb_core v4.4.2 [INFO] [stderr] Downloaded lz4_flex v0.10.0 [INFO] [stderr] Downloaded jsonschema v0.17.1 [INFO] [stderr] Downloaded ascii v1.1.0 [INFO] [stderr] Downloaded derive_builder_core v0.20.2 [INFO] [stderr] Downloaded derive_builder v0.20.2 [INFO] [stderr] Downloaded globset v0.4.18 [INFO] [stderr] Downloaded swc_ecma_transforms_base v32.0.0 [INFO] [stderr] Downloaded ryu-js v1.0.2 [INFO] [stderr] Downloaded swc_ecma_utils v25.0.0 [INFO] [stderr] Downloaded phf_macros v0.11.3 [INFO] [stderr] Downloaded similar v2.7.0 [INFO] [stderr] Downloaded libz-sys v1.1.23 [INFO] [stderr] Downloaded httpmock v0.7.0 [INFO] [stderr] Downloaded getopts v0.2.24 [INFO] [stderr] Downloaded diff v0.1.13 [INFO] [stderr] Downloaded base64-simd v0.8.0 [INFO] [stderr] Downloaded swc_ecma_codegen v21.0.0 [INFO] [stderr] Downloaded swc_ecma_transforms_react v35.0.0 [INFO] [stderr] Downloaded cargo_metadata v0.19.2 [INFO] [stderr] Downloaded bytes-str v0.2.7 [INFO] [stderr] Downloaded is-macro v0.3.7 [INFO] [stderr] Downloaded string_enum v1.0.2 [INFO] [stderr] Downloaded swc_macros_common v1.0.1 [INFO] [stderr] Downloaded from_variant v3.0.0 [INFO] [stderr] Downloaded hstr v3.0.3 [INFO] [stderr] Downloaded unicode-id-start v1.4.0 [INFO] [stderr] Downloaded swc_ecma_ast v19.0.0 [INFO] [stderr] Downloaded ena v0.14.3 [INFO] [stderr] Downloaded term v0.7.0 [INFO] [stderr] Downloaded levenshtein v1.0.5 [INFO] [stderr] Downloaded value-bag v1.12.0 [INFO] [stderr] Downloaded vsimd v0.8.0 [INFO] [stderr] Downloaded vergen-lib v0.1.6 [INFO] [stderr] Downloaded vergen v9.0.6 [INFO] [stderr] Downloaded seq-macro v0.3.6 [INFO] [stderr] Downloaded smartstring v1.0.1 [INFO] [stderr] Downloaded triomphe v0.1.15 [INFO] [stderr] Downloaded swc_eq_ignore_macros v1.0.1 [INFO] [stderr] Downloaded pico-args v0.5.0 [INFO] [stderr] Downloaded serde_regex v1.1.0 [INFO] [stderr] Downloaded if_chain v1.0.3 [INFO] [stderr] Downloaded crypto-common v0.1.7 [INFO] [stderr] Downloaded swc_ecma_loader v18.0.0 [INFO] [stderr] Downloaded swc_atoms v9.0.0 [INFO] [stderr] Downloaded num_enum v0.6.1 [INFO] [stderr] Downloaded atomic v0.6.1 [INFO] [stderr] Downloaded ascii-canvas v3.0.0 [INFO] [stderr] Downloaded redox_users v0.4.6 [INFO] [stderr] Downloaded thread_local v1.1.9 [INFO] [stderr] Downloaded swc_allocator v4.0.1 [INFO] [stderr] Downloaded cargo-platform v0.1.9 [INFO] [stderr] Downloaded ast_node v5.0.0 [INFO] [stderr] Downloaded toml_datetime v0.6.3 [INFO] [stderr] Downloaded num_enum_derive v0.6.1 [INFO] [stderr] Downloaded serde-wasm-bindgen v0.5.0 [INFO] [stderr] Downloaded assert-json-diff v2.0.2 [INFO] [stderr] Downloaded lalrpop-util v0.20.2 [INFO] [stderr] Downloaded basic-cookies v0.1.5 [INFO] [stderr] Downloaded windows-registry v0.6.1 [INFO] [stderr] Downloaded cmake v0.1.54 [INFO] [stderr] Downloaded better_scoped_tls v1.0.1 [INFO] [stderr] Downloaded swc_visit v2.0.1 [INFO] [stderr] Downloaded async-object-pool v0.1.5 [INFO] [stderr] Downloaded libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Downloaded camino v1.2.1 [INFO] [stderr] Downloaded openssl-src v300.5.4+3.5.4 [INFO] [stderr] Downloaded swc_ecma_transforms_module v35.0.0 [INFO] [stderr] Downloaded aws-lc-sys v0.34.0 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+cf8a95590a1b768b7711f2631d5b5e3ead464de7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca3aaf1f9b9fe11edf4594ad767898541f7d0713adfb6e16e7b1ba346301464b [INFO] running `Command { std: "docker" "start" "-a" "ca3aaf1f9b9fe11edf4594ad767898541f7d0713adfb6e16e7b1ba346301464b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca3aaf1f9b9fe11edf4594ad767898541f7d0713adfb6e16e7b1ba346301464b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca3aaf1f9b9fe11edf4594ad767898541f7d0713adfb6e16e7b1ba346301464b", kill_on_drop: false }` [INFO] [stdout] ca3aaf1f9b9fe11edf4594ad767898541f7d0713adfb6e16e7b1ba346301464b [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=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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+cf8a95590a1b768b7711f2631d5b5e3ead464de7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 388caa3442f4558c78cf500c25ea43678b657019b67cd1baa9d0602bbfa662fd [INFO] running `Command { std: "docker" "start" "-a" "388caa3442f4558c78cf500c25ea43678b657019b67cd1baa9d0602bbfa662fd", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/apps/client-react-native/rust/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking value-bag v1.12.0 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling zerocopy v0.8.28 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Compiling cc v1.2.47 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling aws-lc-rs v1.15.1 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking rustls-pki-types v1.13.0 [INFO] [stderr] Checking deranged v0.5.5 [INFO] [stderr] Compiling openssl-src v300.5.4+3.5.4 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling aws-lc-sys v0.34.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling swc_macros_common v1.0.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking triomphe v0.1.15 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking bytes-str v0.2.7 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking publicsuffix v2.3.0 [INFO] [stderr] Checking webpki-roots v1.0.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.106 [INFO] [stderr] Checking iri-string v0.7.9 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Checking hstr v3.0.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking cookie_store v0.21.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking swc_visit v2.0.1 [INFO] [stderr] Checking atomic v0.6.1 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking better_scoped_tls v1.0.1 [INFO] [stderr] Checking swc_atoms v9.0.0 [INFO] [stderr] Compiling from_variant v3.0.0 [INFO] [stderr] Compiling ast_node v5.0.0 [INFO] [stderr] Compiling swc_eq_ignore_macros v1.0.1 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking swc_common v18.0.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking unicode-id-start v1.4.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Compiling is-macro v0.3.7 [INFO] [stderr] Compiling string_enum v1.0.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking async-io v2.6.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.106 [INFO] [stderr] Checking swc_ecma_ast v19.0.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling wasm-bindgen v0.2.106 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Checking hyper-util v0.1.18 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.106 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking async-lock v3.4.1 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Checking async-signal v0.2.13 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling camino v1.2.1 [INFO] [stderr] Checking ryu-js v1.0.2 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Checking js-sys v0.3.83 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking async-process v2.5.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking swc_ecma_visit v19.0.0 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Compiling vergen-lib v0.1.6 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Checking par-core v2.0.0 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Checking globset v0.4.18 [INFO] [stderr] Checking swc_ecma_parser v29.0.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking async-std v1.13.2 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Compiling swc_config_macro v1.0.1 [INFO] [stderr] Compiling libz-sys v1.1.23 [INFO] [stderr] Compiling vergen v9.0.6 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking swc_ecma_utils v25.0.0 [INFO] [stderr] Checking swc_config v3.1.2 [INFO] [stderr] Compiling cargo_metadata v0.19.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Checking async-object-pool v0.1.5 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking serde_regex v1.1.0 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking serde_bytes v0.11.19 [INFO] [stderr] Checking levenshtein v1.0.5 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking outref v0.5.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Checking bson v2.15.0 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking lz4_flex v0.10.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking num_enum v0.6.1 [INFO] [stderr] Checking serde-wasm-bindgen v0.5.0 [INFO] [stderr] Checking web-sys v0.3.67 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.45 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Checking if_chain v1.0.3 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking crc64fast v1.1.0 [INFO] [stderr] Checking swc_sourcemap v9.3.4 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Compiling basic-cookies v0.1.5 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking polodb_core v4.4.2 [INFO] [stderr] Checking swc_ecma_loader v18.0.0 [INFO] [stderr] Checking httpmock v0.7.0 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking swc_ecma_transforms_base v32.0.0 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Checking swc_allocator v4.0.1 [INFO] [stderr] Compiling swc_core v50.2.0 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking Inflector v0.11.4 [INFO] [stderr] Compiling swc_ecma_codegen_macros v2.0.2 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking path-clean v1.0.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Compiling libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Checking swc_ecma_codegen v21.0.0 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling fs-err v3.2.0 [INFO] [stderr] Checking swc_ecma_transforms_react v35.0.0 [INFO] [stderr] Checking swc_ecma_transforms_module v35.0.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking swc_ecma_transforms_typescript v35.0.0 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking fraction v0.13.1 [INFO] [stderr] Checking fancy-regex v0.11.0 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking getopts v0.2.24 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking num-cmp v0.1.0 [INFO] [stderr] Checking bytecount v0.6.9 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking tracing-appender v0.2.3 [INFO] [stderr] Checking hook-transpiler v0.1.2 (/opt/rustwide/workdir/crates/hook-transpiler) [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking iso8601 v0.6.3 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking jsonschema v0.17.1 [INFO] [stderr] Checking rustls-webpki v0.103.8 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking axum-server v0.7.3 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.25 [INFO] [stderr] Checking streaming-files v0.1.0 (/opt/rustwide/workdir/crates/streaming-files) [INFO] [stderr] Checking relay-lib v0.1.0 (/opt/rustwide/workdir/crates/relay-lib) [INFO] [stderr] Checking relay-client-rn-core v0.1.0 (/opt/rustwide/workdir/apps/client-react-native/rust) [INFO] [stderr] Checking relay-cli v0.1.0 (/opt/rustwide/workdir/crates/relay-cli) [INFO] [stdout] warning: unused import: `TorrentClient` [INFO] [stdout] --> crates/streaming-files/tests/service_refresh_tests.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | use streaming_files::rpc::{NullClient, TorrentClient}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking git2 v0.18.3 [INFO] [stderr] Checking relay-server v0.3.0 (/opt/rustwide/workdir/apps/server) [INFO] [stdout] error[E0432]: unresolved import `hook_transpiler` [INFO] [stdout] --> apps/server/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hook_transpiler::{transpile, version as transpiler_version, TranspileError, TranspileOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `hook_transpiler` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hook_transpiler`, use `cargo add hook_transpiler` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hook_transpiler` [INFO] [stdout] --> apps/server/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use hook_transpiler::{transpile, version as transpiler_version, TranspileError, TranspileOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `hook_transpiler` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `hook_transpiler`, use `cargo add hook_transpiler` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> apps/server/src/main.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | ... info!("git-pull: {}", message); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> apps/server/src/main.rs:155:29 [INFO] [stdout] | [INFO] [stdout] 155 | ... info!("git-pull: {}", message); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> apps/server/src/main.rs:170:29 [INFO] [stdout] | [INFO] [stdout] 170 | ... warn!("git-pull error: {}", error_msg); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::warn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> apps/server/src/main.rs:170:29 [INFO] [stdout] | [INFO] [stdout] 170 | ... warn!("git-pull error: {}", error_msg); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::warn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> apps/server/src/main.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 187 | warn!("git-pull error: {}", error_msg); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::warn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> apps/server/src/main.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 187 | warn!("git-pull error: {}", error_msg); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::warn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> apps/server/src/main.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | error!("git-pull error: {}", error_msg); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> apps/server/src/main.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | error!("git-pull error: {}", error_msg); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> apps/server/src/main.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | info!(?commit_id, "Initialized bare repo with main branch"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> apps/server/src/main.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | info!(?commit_id, "Initialized bare repo with main branch"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1442:5 [INFO] [stdout] | [INFO] [stdout] 1442 | info!(%path, "get_file called"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1442:5 [INFO] [stdout] | [INFO] [stdout] 1442 | info!(%path, "get_file called"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1444:5 [INFO] [stdout] | [INFO] [stdout] 1444 | info!(decoded = %decoded, "decoded path"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1444:5 [INFO] [stdout] | [INFO] [stdout] 1444 | info!(decoded = %decoded, "decoded path"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1478:5 [INFO] [stdout] | [INFO] [stdout] 1478 | info!(%branch, "resolved branch"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1478:5 [INFO] [stdout] | [INFO] [stdout] 1478 | info!(%branch, "resolved branch"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1533:9 [INFO] [stdout] | [INFO] [stdout] 1533 | error!(?e, "failed to write get.mjs temp file"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1552:13 [INFO] [stdout] | [INFO] [stdout] 1552 | error!(?e, "failed to execute get.mjs"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1560:9 [INFO] [stdout] | [INFO] [stdout] 1560 | warn!(%stderr, "get.mjs non-success status"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::warn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1533:9 [INFO] [stdout] | [INFO] [stdout] 1533 | error!(?e, "failed to write get.mjs temp file"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1552:13 [INFO] [stdout] | [INFO] [stdout] 1552 | error!(?e, "failed to execute get.mjs"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1566:13 [INFO] [stdout] | [INFO] [stdout] 1566 | warn!(?e, "get.mjs returned invalid JSON"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::warn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1560:9 [INFO] [stdout] | [INFO] [stdout] 1560 | warn!(%stderr, "get.mjs non-success status"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::warn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1566:13 [INFO] [stdout] | [INFO] [stdout] 1566 | warn!(?e, "get.mjs returned invalid JSON"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::warn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1590:21 [INFO] [stdout] | [INFO] [stdout] 1590 | warn!(?e, "failed to decode get.mjs bodyBase64"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::warn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1590:21 [INFO] [stdout] | [INFO] [stdout] 1590 | warn!(?e, "failed to decode get.mjs bodyBase64"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::warn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1658:21 [INFO] [stdout] | [INFO] [stdout] 1658 | warn!(?e, path=%candidate.to_string_lossy(), "Failed to read static file"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::warn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `warn` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1658:21 [INFO] [stdout] | [INFO] [stdout] 1658 | warn!(?e, path=%candidate.to_string_lossy(), "Failed to read static file"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `warn` is in scope, but it is an attribute: `#[warn]` [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::warn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1709:13 [INFO] [stdout] | [INFO] [stdout] 1709 | error!("open repo error: repo not found"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1709:13 [INFO] [stdout] | [INFO] [stdout] 1709 | error!("open repo error: repo not found"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1723:13 [INFO] [stdout] | [INFO] [stdout] 1723 | error!(?e, "peel to commit error"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1723:13 [INFO] [stdout] | [INFO] [stdout] 1723 | error!(?e, "peel to commit error"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1730:13 [INFO] [stdout] | [INFO] [stdout] 1730 | error!(?e, "tree error"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1730:13 [INFO] [stdout] | [INFO] [stdout] 1730 | error!(?e, "tree error"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1770:17 [INFO] [stdout] | [INFO] [stdout] 1770 | error!(?e, "blob read error"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1770:17 [INFO] [stdout] | [INFO] [stdout] 1770 | error!(?e, "blob read error"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1805:21 [INFO] [stdout] | [INFO] [stdout] 1805 | error!(?e, "tree read error"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1805:21 [INFO] [stdout] | [INFO] [stdout] 1805 | error!(?e, "tree read error"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1986:13 [INFO] [stdout] | [INFO] [stdout] 1986 | error!(?e, "write error"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1986:13 [INFO] [stdout] | [INFO] [stdout] 1986 | error!(?e, "write error"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2017:13 [INFO] [stdout] | [INFO] [stdout] 2017 | error!(?e, "delete error"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Error` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2023:17 [INFO] [stdout] | [INFO] [stdout] 2023 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macro `Error` accepts the similarly named `error` attribute [INFO] [stdout] | [INFO] [stdout] 2023 - #[derive(Debug, Error)] [INFO] [stdout] 2023 + #[derive(Debug, error)] [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use thiserror::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2017:13 [INFO] [stdout] | [INFO] [stdout] 2017 | error!(?e, "delete error"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Error` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2023:17 [INFO] [stdout] | [INFO] [stdout] 2023 | #[derive(Debug, Error)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: the derive macro `Error` accepts the similarly named `error` attribute [INFO] [stdout] | [INFO] [stdout] 2023 - #[derive(Debug, Error)] [INFO] [stdout] 2023 + #[derive(Debug, error)] [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use thiserror::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2025:7 [INFO] [stdout] | [INFO] [stdout] 2025 | #[error("not found")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 2024 + #[derive(Error)] [INFO] [stdout] 2025 | enum ReadError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2025:7 [INFO] [stdout] | [INFO] [stdout] 2025 | #[error("not found")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 2024 + #[derive(Error)] [INFO] [stdout] 2025 | enum ReadError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2027:7 [INFO] [stdout] | [INFO] [stdout] 2027 | #[error(transparent)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 2024 + #[derive(Error)] [INFO] [stdout] 2025 | enum ReadError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2028:13 [INFO] [stdout] | [INFO] [stdout] 2028 | Other(#[from] anyhow::Error), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `from` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 2024 + #[derive(Error)] [INFO] [stdout] 2025 | enum ReadError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2027:7 [INFO] [stdout] | [INFO] [stdout] 2027 | #[error(transparent)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 2024 + #[derive(Error)] [INFO] [stdout] 2025 | enum ReadError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2393:5 [INFO] [stdout] | [INFO] [stdout] 2393 | debug!(%commit_oid, %branch, path = %path, "created commit candidate"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::debug; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2028:13 [INFO] [stdout] | [INFO] [stdout] 2028 | Other(#[from] anyhow::Error), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: `from` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] | [INFO] [stdout] 2024 + #[derive(Error)] [INFO] [stdout] 2025 | enum ReadError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2453:41 [INFO] [stdout] | [INFO] [stdout] 2453 | ... error!(%stderr, "pre-commit.mjs rejected commit"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2393:5 [INFO] [stdout] | [INFO] [stdout] 2393 | debug!(%commit_oid, %branch, path = %path, "created commit candidate"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::debug; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `error` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2453:41 [INFO] [stdout] | [INFO] [stdout] 2453 | ... error!(%stderr, "pre-commit.mjs rejected commit"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `error` is an attribute that can be used by the derive macro `Error`, you might be missing a `derive` attribute [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> apps/server/src/main.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | async fn get_openapi_yaml() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | (StatusCode::OK, [("Content-Type", "application/yaml")], yaml) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> apps/server/src/main.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | async fn get_swagger_ui() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | (StatusCode::OK, [("Content-Type", "text/html")], html) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> apps/server/src/main.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | async fn get_api_config() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 69 | (StatusCode::OK, Json(config)) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | (StatusCode::OK, Json(config)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | async fn post_git_pull(State(state): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> apps/server/src/main.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | async fn get_openapi_yaml() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:73:38 [INFO] [stdout] | [INFO] [stdout] 73 | async fn post_git_pull(State(state): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | (StatusCode::OK, [("Content-Type", "application/yaml")], yaml) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> apps/server/src/main.rs:73:44 [INFO] [stdout] | [INFO] [stdout] 73 | async fn post_git_pull(State(state): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 73 | async fn post_git_pull(State(state): State) -> impl IntoResponse { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> apps/server/src/main.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | async fn get_swagger_ui() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> apps/server/src/main.rs:73:63 [INFO] [stdout] | [INFO] [stdout] 73 | async fn post_git_pull(State(state): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repository` [INFO] [stdout] --> apps/server/src/main.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | match Repository::open(repo_path) { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Repository` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Repository; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:157:33 [INFO] [stdout] | [INFO] [stdout] 157 | ... StatusCode::OK, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:158:33 [INFO] [stdout] | [INFO] [stdout] 158 | ... Json(GitPullResponse { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:172:33 [INFO] [stdout] | [INFO] [stdout] 172 | ... StatusCode::OK, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:173:33 [INFO] [stdout] | [INFO] [stdout] 173 | ... Json(GitPullResponse { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:51:6 [INFO] [stdout] | [INFO] [stdout] 51 | (StatusCode::OK, [("Content-Type", "text/html")], html) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:189:25 [INFO] [stdout] | [INFO] [stdout] 189 | StatusCode::OK, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> apps/server/src/main.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | async fn get_api_config() -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 69 | (StatusCode::OK, Json(config)) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:69:22 [INFO] [stdout] | [INFO] [stdout] 69 | (StatusCode::OK, Json(config)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | Json(GitPullResponse { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | async fn post_git_pull(State(state): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:73:38 [INFO] [stdout] | [INFO] [stdout] 73 | async fn post_git_pull(State(state): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> apps/server/src/main.rs:73:44 [INFO] [stdout] | [INFO] [stdout] 73 | async fn post_git_pull(State(state): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 73 | async fn post_git_pull(State(state): State) -> impl IntoResponse { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> apps/server/src/main.rs:73:63 [INFO] [stdout] | [INFO] [stdout] 73 | async fn post_git_pull(State(state): State) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repository` [INFO] [stdout] --> apps/server/src/main.rs:86:11 [INFO] [stdout] | [INFO] [stdout] 86 | match Repository::open(repo_path) { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Repository` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Repository; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:157:33 [INFO] [stdout] | [INFO] [stdout] 157 | ... StatusCode::OK, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:158:33 [INFO] [stdout] | [INFO] [stdout] 158 | ... Json(GitPullResponse { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:172:33 [INFO] [stdout] | [INFO] [stdout] 172 | ... StatusCode::OK, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:173:33 [INFO] [stdout] | [INFO] [stdout] 173 | ... Json(GitPullResponse { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:189:25 [INFO] [stdout] | [INFO] [stdout] 189 | StatusCode::OK, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | Json(GitPullResponse { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | StatusCode::INTERNAL_SERVER_ERROR, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | Json(GitPullResponse { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> apps/server/src/main.rs:247:28 [INFO] [stdout] | [INFO] [stdout] 247 | fn ensure_bare_repo(path: &PathBuf) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | StatusCode::INTERNAL_SERVER_ERROR, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | Json(GitPullResponse { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> apps/server/src/main.rs:247:28 [INFO] [stdout] | [INFO] [stdout] 247 | fn ensure_bare_repo(path: &PathBuf) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repository` [INFO] [stdout] --> apps/server/src/main.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | let _ = Repository::open_bare(path)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Repository` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Repository; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repository` [INFO] [stdout] --> apps/server/src/main.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 253 | let repo = Repository::init_bare(path)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Repository` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Repository; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Signature` [INFO] [stdout] --> apps/server/src/main.rs:255:15 [INFO] [stdout] | [INFO] [stdout] 255 | let sig = Signature::now("relay", "relay@local")?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Signature` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Repository` in this scope [INFO] [stdout] --> apps/server/src/main.rs:315:29 [INFO] [stdout] | [INFO] [stdout] 315 | fn read_relay_config(repo: &Repository, branch: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Repository; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:332:19 [INFO] [stdout] | [INFO] [stdout] 332 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> apps/server/src/main.rs:332:25 [INFO] [stdout] | [INFO] [stdout] 332 | State(state): State, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 331 | async fn options_capabilities( [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:333:14 [INFO] [stdout] | [INFO] [stdout] 333 | headers: HeaderMap, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> apps/server/src/main.rs:334:19 [INFO] [stdout] | [INFO] [stdout] 334 | query: Option>>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:334:25 [INFO] [stdout] | [INFO] [stdout] 334 | query: Option>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repository` [INFO] [stdout] --> apps/server/src/main.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 249 | let _ = Repository::open_bare(path)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Repository` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Repository; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> apps/server/src/main.rs:335:11 [INFO] [stdout] | [INFO] [stdout] 335 | ) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repository` [INFO] [stdout] --> apps/server/src/main.rs:253:16 [INFO] [stdout] | [INFO] [stdout] 253 | let repo = Repository::init_bare(path)?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Repository` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Repository; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:394:9 [INFO] [stdout] | [INFO] [stdout] 394 | StatusCode::OK, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Signature` [INFO] [stdout] --> apps/server/src/main.rs:255:15 [INFO] [stdout] | [INFO] [stdout] 255 | let sig = Signature::now("relay", "relay@local")?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Signature` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:401:14 [INFO] [stdout] | [INFO] [stdout] 401 | (HEADER_BRANCH, branch), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Repository` in this scope [INFO] [stdout] --> apps/server/src/main.rs:315:29 [INFO] [stdout] | [INFO] [stdout] 315 | fn read_relay_config(repo: &Repository, branch: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Repository; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:332:5 [INFO] [stdout] | [INFO] [stdout] 332 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:332:19 [INFO] [stdout] | [INFO] [stdout] 332 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> apps/server/src/main.rs:332:25 [INFO] [stdout] | [INFO] [stdout] 332 | State(state): State, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 331 | async fn options_capabilities( [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:333:14 [INFO] [stdout] | [INFO] [stdout] 333 | headers: HeaderMap, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> apps/server/src/main.rs:334:19 [INFO] [stdout] | [INFO] [stdout] 334 | query: Option>>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:334:25 [INFO] [stdout] | [INFO] [stdout] 334 | query: Option>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> apps/server/src/main.rs:335:11 [INFO] [stdout] | [INFO] [stdout] 335 | ) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:394:9 [INFO] [stdout] | [INFO] [stdout] 394 | StatusCode::OK, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:401:14 [INFO] [stdout] | [INFO] [stdout] 401 | (HEADER_BRANCH, branch), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_REPO` in this scope [INFO] [stdout] --> apps/server/src/main.rs:402:14 [INFO] [stdout] | [INFO] [stdout] 402 | (HEADER_REPO, repo_name.unwrap_or_default()), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | Json(body), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> apps/server/src/main.rs:410:27 [INFO] [stdout] | [INFO] [stdout] 410 | fn bare_repo_names(root: &PathBuf) -> Vec { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_REPO` in this scope [INFO] [stdout] --> apps/server/src/main.rs:402:14 [INFO] [stdout] | [INFO] [stdout] 402 | (HEADER_REPO, repo_name.unwrap_or_default()), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:404:9 [INFO] [stdout] | [INFO] [stdout] 404 | Json(body), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> apps/server/src/main.rs:410:27 [INFO] [stdout] | [INFO] [stdout] 410 | fn bare_repo_names(root: &PathBuf) -> Vec { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> apps/server/src/main.rs:428:21 [INFO] [stdout] | [INFO] [stdout] 428 | fn open_repo(root: &PathBuf, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Repository` in this scope [INFO] [stdout] --> apps/server/src/main.rs:428:52 [INFO] [stdout] | [INFO] [stdout] 428 | fn open_repo(root: &PathBuf, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Repository; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repository` [INFO] [stdout] --> apps/server/src/main.rs:430:5 [INFO] [stdout] | [INFO] [stdout] 430 | Repository::open_bare(p).ok() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Repository` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Repository; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> apps/server/src/main.rs:433:28 [INFO] [stdout] | [INFO] [stdout] 433 | fn strict_repo_from(root: &PathBuf, headers: &HeaderMap) -> Option { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:433:47 [INFO] [stdout] | [INFO] [stdout] 433 | fn strict_repo_from(root: &PathBuf, headers: &HeaderMap) -> Option { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_REPO` in this scope [INFO] [stdout] --> apps/server/src/main.rs:435:34 [INFO] [stdout] | [INFO] [stdout] 435 | if let Some(h) = headers.get(HEADER_REPO).and_then(|v| v.to_str().ok()) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:462:5 [INFO] [stdout] | [INFO] [stdout] 462 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:462:19 [INFO] [stdout] | [INFO] [stdout] 462 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> apps/server/src/main.rs:462:25 [INFO] [stdout] | [INFO] [stdout] 462 | State(state): State, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 461 | async fn post_query( [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> apps/server/src/main.rs:428:21 [INFO] [stdout] | [INFO] [stdout] 428 | fn open_repo(root: &PathBuf, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:463:14 [INFO] [stdout] | [INFO] [stdout] 463 | headers: HeaderMap, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:464:18 [INFO] [stdout] | [INFO] [stdout] 464 | body: Option>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Repository` in this scope [INFO] [stdout] --> apps/server/src/main.rs:428:52 [INFO] [stdout] | [INFO] [stdout] 428 | fn open_repo(root: &PathBuf, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Repository; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> apps/server/src/main.rs:465:11 [INFO] [stdout] | [INFO] [stdout] 465 | ) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repository` [INFO] [stdout] --> apps/server/src/main.rs:430:5 [INFO] [stdout] | [INFO] [stdout] 430 | Repository::open_bare(p).ok() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Repository` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Repository; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> apps/server/src/main.rs:433:28 [INFO] [stdout] | [INFO] [stdout] 433 | fn strict_repo_from(root: &PathBuf, headers: &HeaderMap) -> Option { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:468:14 [INFO] [stdout] | [INFO] [stdout] 468 | .get(HEADER_BRANCH) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:433:47 [INFO] [stdout] | [INFO] [stdout] 433 | fn strict_repo_from(root: &PathBuf, headers: &HeaderMap) -> Option { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_REPO` in this scope [INFO] [stdout] --> apps/server/src/main.rs:435:34 [INFO] [stdout] | [INFO] [stdout] 435 | if let Some(h) = headers.get(HEADER_REPO).and_then(|v| v.to_str().ok()) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:462:5 [INFO] [stdout] | [INFO] [stdout] 462 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:462:19 [INFO] [stdout] | [INFO] [stdout] 462 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> apps/server/src/main.rs:462:25 [INFO] [stdout] | [INFO] [stdout] 462 | State(state): State, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 461 | async fn post_query( [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:463:14 [INFO] [stdout] | [INFO] [stdout] 463 | headers: HeaderMap, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:464:18 [INFO] [stdout] | [INFO] [stdout] 464 | body: Option>, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> apps/server/src/main.rs:465:11 [INFO] [stdout] | [INFO] [stdout] 465 | ) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:468:14 [INFO] [stdout] | [INFO] [stdout] 468 | .get(HEADER_BRANCH) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEFAULT_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:470:20 [INFO] [stdout] | [INFO] [stdout] 470 | .unwrap_or(DEFAULT_BRANCH) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:474:25 [INFO] [stdout] | [INFO] [stdout] 474 | None => return (StatusCode::NOT_FOUND, "Repository not found").into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:476:32 [INFO] [stdout] | [INFO] [stdout] 476 | let input_json = body.map(|Json(v)| v).unwrap_or(serde_json::json!({})); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEFAULT_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:470:20 [INFO] [stdout] | [INFO] [stdout] 470 | .unwrap_or(DEFAULT_BRANCH) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:474:25 [INFO] [stdout] | [INFO] [stdout] 474 | None => return (StatusCode::NOT_FOUND, "Repository not found").into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:476:32 [INFO] [stdout] | [INFO] [stdout] 476 | let input_json = body.map(|Json(v)| v).unwrap_or(serde_json::json!({})); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:481:25 [INFO] [stdout] | [INFO] [stdout] 481 | None => return (StatusCode::NOT_FOUND, "Repository not found").into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:489:27 [INFO] [stdout] | [INFO] [stdout] 489 | Err(_) => return (StatusCode::NOT_FOUND, "branch not found").into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:493:27 [INFO] [stdout] | [INFO] [stdout] 493 | Err(e) => return (StatusCode::INTERNAL_SERVER_ERROR, e.to_string()).into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:497:27 [INFO] [stdout] | [INFO] [stdout] 497 | Err(_) => return (StatusCode::BAD_REQUEST, "hooks/query.mjs not found").into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:481:25 [INFO] [stdout] | [INFO] [stdout] 481 | None => return (StatusCode::NOT_FOUND, "Repository not found").into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:489:27 [INFO] [stdout] | [INFO] [stdout] 489 | Err(_) => return (StatusCode::NOT_FOUND, "branch not found").into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:493:27 [INFO] [stdout] | [INFO] [stdout] 493 | Err(e) => return (StatusCode::INTERNAL_SERVER_ERROR, e.to_string()).into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:497:27 [INFO] [stdout] | [INFO] [stdout] 497 | Err(_) => return (StatusCode::BAD_REQUEST, "hooks/query.mjs not found").into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:501:27 [INFO] [stdout] | [INFO] [stdout] 501 | Err(e) => return (StatusCode::INTERNAL_SERVER_ERROR, e.to_string()).into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:505:17 [INFO] [stdout] | [INFO] [stdout] 505 | return (StatusCode::INTERNAL_SERVER_ERROR, e.to_string()).into_response(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:524:29 [INFO] [stdout] | [INFO] [stdout] 524 | return (StatusCode::BAD_REQUEST, stderr.to_string()).into_response(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:528:25 [INFO] [stdout] | [INFO] [stdout] 528 | StatusCode::OK, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:531:30 [INFO] [stdout] | [INFO] [stdout] 531 | ... (HEADER_BRANCH, branch), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:533:25 [INFO] [stdout] | [INFO] [stdout] 533 | Json(v), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:537:25 [INFO] [stdout] | [INFO] [stdout] 537 | StatusCode::BAD_REQUEST, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:543:24 [INFO] [stdout] | [INFO] [stdout] 543 | Err(e) => (StatusCode::INTERNAL_SERVER_ERROR, e.to_string()).into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:501:27 [INFO] [stdout] | [INFO] [stdout] 501 | Err(e) => return (StatusCode::INTERNAL_SERVER_ERROR, e.to_string()).into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:546:10 [INFO] [stdout] | [INFO] [stdout] 546 | (StatusCode::INTERNAL_SERVER_ERROR, "failed to spawn node").into_response() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:505:17 [INFO] [stdout] | [INFO] [stdout] 505 | return (StatusCode::INTERNAL_SERVER_ERROR, e.to_string()).into_response(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:524:29 [INFO] [stdout] | [INFO] [stdout] 524 | return (StatusCode::BAD_REQUEST, stderr.to_string()).into_response(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:528:25 [INFO] [stdout] | [INFO] [stdout] 528 | StatusCode::OK, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:531:30 [INFO] [stdout] | [INFO] [stdout] 531 | ... (HEADER_BRANCH, branch), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:533:25 [INFO] [stdout] | [INFO] [stdout] 533 | Json(v), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:537:25 [INFO] [stdout] | [INFO] [stdout] 537 | StatusCode::BAD_REQUEST, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:543:24 [INFO] [stdout] | [INFO] [stdout] 543 | Err(e) => (StatusCode::INTERNAL_SERVER_ERROR, e.to_string()).into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:546:10 [INFO] [stdout] | [INFO] [stdout] 546 | (StatusCode::INTERNAL_SERVER_ERROR, "failed to spawn node").into_response() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1412:26 [INFO] [stdout] | [INFO] [stdout] 1412 | fn branch_from(headers: &HeaderMap) -> String { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1413:34 [INFO] [stdout] | [INFO] [stdout] 1413 | if let Some(h) = headers.get(HEADER_BRANCH).and_then(|v| v.to_str().ok()) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEFAULT_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1418:5 [INFO] [stdout] | [INFO] [stdout] 1418 | DEFAULT_BRANCH.to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1437:5 [INFO] [stdout] | [INFO] [stdout] 1437 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `AxPath` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1439:5 [INFO] [stdout] | [INFO] [stdout] 1439 | AxPath(path): AxPath, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1437:19 [INFO] [stdout] | [INFO] [stdout] 1437 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1437:25 [INFO] [stdout] | [INFO] [stdout] 1437 | State(state): State, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1436 | async fn get_file( [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1412:26 [INFO] [stdout] | [INFO] [stdout] 1412 | fn branch_from(headers: &HeaderMap) -> String { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1438:14 [INFO] [stdout] | [INFO] [stdout] 1438 | headers: HeaderMap, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1413:34 [INFO] [stdout] | [INFO] [stdout] 1413 | if let Some(h) = headers.get(HEADER_BRANCH).and_then(|v| v.to_str().ok()) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AxPath` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1439:19 [INFO] [stdout] | [INFO] [stdout] 1439 | AxPath(path): AxPath, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEFAULT_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1418:5 [INFO] [stdout] | [INFO] [stdout] 1418 | DEFAULT_BRANCH.to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1440:19 [INFO] [stdout] | [INFO] [stdout] 1440 | query: Option>>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1437:5 [INFO] [stdout] | [INFO] [stdout] 1437 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `AxPath` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1439:5 [INFO] [stdout] | [INFO] [stdout] 1439 | AxPath(path): AxPath, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1437:19 [INFO] [stdout] | [INFO] [stdout] 1437 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1437:25 [INFO] [stdout] | [INFO] [stdout] 1437 | State(state): State, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1436 | async fn get_file( [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1438:14 [INFO] [stdout] | [INFO] [stdout] 1438 | headers: HeaderMap, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AxPath` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1439:19 [INFO] [stdout] | [INFO] [stdout] 1439 | AxPath(path): AxPath, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1440:19 [INFO] [stdout] | [INFO] [stdout] 1440 | query: Option>>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1440:25 [INFO] [stdout] | [INFO] [stdout] 1440 | query: Option>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1441:11 [INFO] [stdout] | [INFO] [stdout] 1441 | ) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1456:13 [INFO] [stdout] | [INFO] [stdout] 1456 | StatusCode::NOT_FOUND, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1459:18 [INFO] [stdout] | [INFO] [stdout] 1459 | (HEADER_BRANCH, branch.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1440:25 [INFO] [stdout] | [INFO] [stdout] 1440 | query: Option>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_REPO` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1460:18 [INFO] [stdout] | [INFO] [stdout] 1460 | (HEADER_REPO, "".to_string()), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1441:11 [INFO] [stdout] | [INFO] [stdout] 1441 | ) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1488:38 [INFO] [stdout] | [INFO] [stdout] 1488 | if hook_resp.status() != StatusCode::NOT_FOUND { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1501:13 [INFO] [stdout] | [INFO] [stdout] 1501 | state: &AppState, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1456:13 [INFO] [stdout] | [INFO] [stdout] 1456 | StatusCode::NOT_FOUND, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1459:18 [INFO] [stdout] | [INFO] [stdout] 1459 | (HEADER_BRANCH, branch.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1505:6 [INFO] [stdout] | [INFO] [stdout] 1505 | ) -> Response { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::Response; [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_REPO` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1460:18 [INFO] [stdout] | [INFO] [stdout] 1460 | (HEADER_REPO, "".to_string()), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1509:25 [INFO] [stdout] | [INFO] [stdout] 1509 | None => return (StatusCode::INTERNAL_SERVER_ERROR, "Repository not found").into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1488:38 [INFO] [stdout] | [INFO] [stdout] 1488 | if hook_resp.status() != StatusCode::NOT_FOUND { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1517:27 [INFO] [stdout] | [INFO] [stdout] 1517 | Err(_) => return (StatusCode::NOT_FOUND, "Not Found").into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1521:27 [INFO] [stdout] | [INFO] [stdout] 1521 | Err(_) => return (StatusCode::NOT_FOUND, "Not Found").into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1525:27 [INFO] [stdout] | [INFO] [stdout] 1525 | Err(_) => return (StatusCode::NOT_FOUND, "Not Found").into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1501:13 [INFO] [stdout] | [INFO] [stdout] 1501 | state: &AppState, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1505:6 [INFO] [stdout] | [INFO] [stdout] 1505 | ) -> Response { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::Response; [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1509:25 [INFO] [stdout] | [INFO] [stdout] 1509 | None => return (StatusCode::INTERNAL_SERVER_ERROR, "Repository not found").into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1517:27 [INFO] [stdout] | [INFO] [stdout] 1517 | Err(_) => return (StatusCode::NOT_FOUND, "Not Found").into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1521:27 [INFO] [stdout] | [INFO] [stdout] 1521 | Err(_) => return (StatusCode::NOT_FOUND, "Not Found").into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1525:27 [INFO] [stdout] | [INFO] [stdout] 1525 | Err(_) => return (StatusCode::NOT_FOUND, "Not Found").into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1529:27 [INFO] [stdout] | [INFO] [stdout] 1529 | Err(_) => return (StatusCode::NOT_FOUND, "Not Found").into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1534:17 [INFO] [stdout] | [INFO] [stdout] 1534 | return (StatusCode::NOT_FOUND, "Not Found").into_response(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEFAULT_IPFS_CACHE_ROOT` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1545:37 [INFO] [stdout] | [INFO] [stdout] 1545 | .unwrap_or_else(|_| DEFAULT_IPFS_CACHE_ROOT.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1554:21 [INFO] [stdout] | [INFO] [stdout] 1554 | return (StatusCode::NOT_FOUND, "Not Found").into_response(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1561:17 [INFO] [stdout] | [INFO] [stdout] 1561 | return (StatusCode::NOT_FOUND, "Not Found").into_response(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1567:21 [INFO] [stdout] | [INFO] [stdout] 1567 | return (StatusCode::NOT_FOUND, "Not Found").into_response(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `general_purpose` [INFO] [stdout] --> apps/server/src/main.rs:1578:19 [INFO] [stdout] | [INFO] [stdout] 1578 | match general_purpose::STANDARD.decode(b64.as_bytes()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `general_purpose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `general_purpose`, use `cargo add general_purpose` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use base64::engine::general_purpose; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1580:21 [INFO] [stdout] | [INFO] [stdout] 1580 | StatusCode::OK, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1583:26 [INFO] [stdout] | [INFO] [stdout] 1583 | (HEADER_BRANCH, branch.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_REPO` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1584:26 [INFO] [stdout] | [INFO] [stdout] 1584 | (HEADER_REPO, repo_name.to_string()), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1591:22 [INFO] [stdout] | [INFO] [stdout] 1591 | (StatusCode::NOT_FOUND, "Not Found").into_response() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1596:13 [INFO] [stdout] | [INFO] [stdout] 1596 | StatusCode::OK, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1599:18 [INFO] [stdout] | [INFO] [stdout] 1599 | (HEADER_BRANCH, branch.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1529:27 [INFO] [stdout] | [INFO] [stdout] 1529 | Err(_) => return (StatusCode::NOT_FOUND, "Not Found").into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1534:17 [INFO] [stdout] | [INFO] [stdout] 1534 | return (StatusCode::NOT_FOUND, "Not Found").into_response(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `DEFAULT_IPFS_CACHE_ROOT` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1545:37 [INFO] [stdout] | [INFO] [stdout] 1545 | .unwrap_or_else(|_| DEFAULT_IPFS_CACHE_ROOT.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1554:21 [INFO] [stdout] | [INFO] [stdout] 1554 | return (StatusCode::NOT_FOUND, "Not Found").into_response(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1561:17 [INFO] [stdout] | [INFO] [stdout] 1561 | return (StatusCode::NOT_FOUND, "Not Found").into_response(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1567:21 [INFO] [stdout] | [INFO] [stdout] 1567 | return (StatusCode::NOT_FOUND, "Not Found").into_response(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `general_purpose` [INFO] [stdout] --> apps/server/src/main.rs:1578:19 [INFO] [stdout] | [INFO] [stdout] 1578 | match general_purpose::STANDARD.decode(b64.as_bytes()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `general_purpose` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `general_purpose`, use `cargo add general_purpose` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use base64::engine::general_purpose; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1580:21 [INFO] [stdout] | [INFO] [stdout] 1580 | StatusCode::OK, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1583:26 [INFO] [stdout] | [INFO] [stdout] 1583 | (HEADER_BRANCH, branch.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_REPO` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1584:26 [INFO] [stdout] | [INFO] [stdout] 1584 | (HEADER_REPO, repo_name.to_string()), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1591:22 [INFO] [stdout] | [INFO] [stdout] 1591 | (StatusCode::NOT_FOUND, "Not Found").into_response() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1596:13 [INFO] [stdout] | [INFO] [stdout] 1596 | StatusCode::OK, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1599:18 [INFO] [stdout] | [INFO] [stdout] 1599 | (HEADER_BRANCH, branch.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_REPO` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1600:18 [INFO] [stdout] | [INFO] [stdout] 1600 | (HEADER_REPO, repo_name.to_string()), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1602:13 [INFO] [stdout] | [INFO] [stdout] 1602 | Json(val), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1605:15 [INFO] [stdout] | [INFO] [stdout] 1605 | _ => (StatusCode::NOT_FOUND, "Not Found").into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1610:29 [INFO] [stdout] | [INFO] [stdout] 1610 | async fn try_static(state: &AppState, decoded: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1610:64 [INFO] [stdout] | [INFO] [stdout] 1610 | async fn try_static(state: &AppState, decoded: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::Response; [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1645:26 [INFO] [stdout] | [INFO] [stdout] 1645 | (StatusCode::OK, [("Content-Type", ct.clone())], bytes).into_response(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1667:65 [INFO] [stdout] | [INFO] [stdout] 1667 | async fn serve_acme_challenge(base_dir: &str, subpath: &str) -> Response { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::Response; [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1675:16 [INFO] [stdout] | [INFO] [stdout] 1675 | return StatusCode::NOT_FOUND.into_response(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_REPO` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1600:18 [INFO] [stdout] | [INFO] [stdout] 1600 | (HEADER_REPO, repo_name.to_string()), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf` [INFO] [stdout] --> apps/server/src/main.rs:1677:16 [INFO] [stdout] | [INFO] [stdout] 1677 | let path = PathBuf::from(base_dir).join(rel); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PathBuf` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1602:13 [INFO] [stdout] | [INFO] [stdout] 1602 | Json(val), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1679:23 [INFO] [stdout] | [INFO] [stdout] 1679 | Ok(bytes) => (StatusCode::OK, [("Content-Type", "text/plain")], bytes).into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1605:15 [INFO] [stdout] | [INFO] [stdout] 1605 | _ => (StatusCode::NOT_FOUND, "Not Found").into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1680:19 [INFO] [stdout] | [INFO] [stdout] 1680 | Err(_) => StatusCode::NOT_FOUND.into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1610:29 [INFO] [stdout] | [INFO] [stdout] 1610 | async fn try_static(state: &AppState, decoded: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RustlsConfig` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1684:80 [INFO] [stdout] | [INFO] [stdout] 1684 | async fn load_rustls_config(cert_path: &str, key_path: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum_server::tls_rustls::RustlsConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1610:64 [INFO] [stdout] | [INFO] [stdout] 1610 | async fn try_static(state: &AppState, decoded: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::Response; [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1645:26 [INFO] [stdout] | [INFO] [stdout] 1645 | (StatusCode::OK, [("Content-Type", ct.clone())], bytes).into_response(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1667:65 [INFO] [stdout] | [INFO] [stdout] 1667 | async fn serve_acme_challenge(base_dir: &str, subpath: &str) -> Response { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::Response; [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1675:16 [INFO] [stdout] | [INFO] [stdout] 1675 | return StatusCode::NOT_FOUND.into_response(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PathBuf` [INFO] [stdout] --> apps/server/src/main.rs:1677:16 [INFO] [stdout] | [INFO] [stdout] 1677 | let path = PathBuf::from(base_dir).join(rel); [INFO] [stdout] | ^^^^^^^ use of undeclared type `PathBuf` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1679:23 [INFO] [stdout] | [INFO] [stdout] 1679 | Ok(bytes) => (StatusCode::OK, [("Content-Type", "text/plain")], bytes).into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1680:19 [INFO] [stdout] | [INFO] [stdout] 1680 | Err(_) => StatusCode::NOT_FOUND.into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RustlsConfig` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1684:80 [INFO] [stdout] | [INFO] [stdout] 1684 | async fn load_rustls_config(cert_path: &str, key_path: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum_server::tls_rustls::RustlsConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RustlsConfig` [INFO] [stdout] --> apps/server/src/main.rs:1690:18 [INFO] [stdout] | [INFO] [stdout] 1690 | let config = RustlsConfig::from_pem(cert_bytes, key_bytes).await?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RustlsConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum_server::tls_rustls::RustlsConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1695:13 [INFO] [stdout] | [INFO] [stdout] 1695 | Respond(Response), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::Response; [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1700:17 [INFO] [stdout] | [INFO] [stdout] 1700 | repo_root: &PathBuf, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1701:15 [INFO] [stdout] | [INFO] [stdout] 1701 | headers: &HeaderMap, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1710:46 [INFO] [stdout] | [INFO] [stdout] 1710 | return GitResolveResult::Respond(StatusCode::INTERNAL_SERVER_ERROR.into_response()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1724:46 [INFO] [stdout] | [INFO] [stdout] 1724 | return GitResolveResult::Respond(StatusCode::INTERNAL_SERVER_ERROR.into_response()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1731:46 [INFO] [stdout] | [INFO] [stdout] 1731 | return GitResolveResult::Respond(StatusCode::INTERNAL_SERVER_ERROR.into_response()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RustlsConfig` [INFO] [stdout] --> apps/server/src/main.rs:1690:18 [INFO] [stdout] | [INFO] [stdout] 1690 | let config = RustlsConfig::from_pem(cert_bytes, key_bytes).await?; [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `RustlsConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum_server::tls_rustls::RustlsConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1695:13 [INFO] [stdout] | [INFO] [stdout] 1695 | Respond(Response), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::Response; [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1700:17 [INFO] [stdout] | [INFO] [stdout] 1700 | repo_root: &PathBuf, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1701:15 [INFO] [stdout] | [INFO] [stdout] 1701 | headers: &HeaderMap, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1710:46 [INFO] [stdout] | [INFO] [stdout] 1710 | return GitResolveResult::Respond(StatusCode::INTERNAL_SERVER_ERROR.into_response()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1724:46 [INFO] [stdout] | [INFO] [stdout] 1724 | return GitResolveResult::Respond(StatusCode::INTERNAL_SERVER_ERROR.into_response()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1731:46 [INFO] [stdout] | [INFO] [stdout] 1731 | return GitResolveResult::Respond(StatusCode::INTERNAL_SERVER_ERROR.into_response()); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectType` [INFO] [stdout] --> apps/server/src/main.rs:1751:14 [INFO] [stdout] | [INFO] [stdout] 1751 | Some(ObjectType::Blob) => match repo.find_blob(entry.id()) { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ObjectType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use git2::ObjectType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1758:21 [INFO] [stdout] | [INFO] [stdout] 1758 | StatusCode::OK, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1761:26 [INFO] [stdout] | [INFO] [stdout] 1761 | (HEADER_BRANCH, branch.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_REPO` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1762:26 [INFO] [stdout] | [INFO] [stdout] 1762 | (HEADER_REPO, repo_name.to_string()), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1771:43 [INFO] [stdout] | [INFO] [stdout] 1771 | GitResolveResult::Respond(StatusCode::INTERNAL_SERVER_ERROR.into_response()) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectType` [INFO] [stdout] --> apps/server/src/main.rs:1751:14 [INFO] [stdout] | [INFO] [stdout] 1751 | Some(ObjectType::Blob) => match repo.find_blob(entry.id()) { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ObjectType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use git2::ObjectType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1758:21 [INFO] [stdout] | [INFO] [stdout] 1758 | StatusCode::OK, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1761:26 [INFO] [stdout] | [INFO] [stdout] 1761 | (HEADER_BRANCH, branch.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_REPO` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1762:26 [INFO] [stdout] | [INFO] [stdout] 1762 | (HEADER_REPO, repo_name.to_string()), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1771:43 [INFO] [stdout] | [INFO] [stdout] 1771 | GitResolveResult::Respond(StatusCode::INTERNAL_SERVER_ERROR.into_response()) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectType` [INFO] [stdout] --> apps/server/src/main.rs:1774:14 [INFO] [stdout] | [INFO] [stdout] 1774 | Some(ObjectType::Tree) => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ObjectType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use git2::ObjectType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectType` [INFO] [stdout] --> apps/server/src/main.rs:1774:14 [INFO] [stdout] | [INFO] [stdout] 1774 | Some(ObjectType::Tree) => { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ObjectType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use git2::ObjectType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectType` [INFO] [stdout] --> apps/server/src/main.rs:1782:38 [INFO] [stdout] | [INFO] [stdout] 1782 | ... Some(ObjectType::Blob) => "file", [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ObjectType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use git2::ObjectType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectType` [INFO] [stdout] --> apps/server/src/main.rs:1782:38 [INFO] [stdout] | [INFO] [stdout] 1782 | ... Some(ObjectType::Blob) => "file", [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ObjectType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use git2::ObjectType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectType` [INFO] [stdout] --> apps/server/src/main.rs:1783:38 [INFO] [stdout] | [INFO] [stdout] 1783 | ... Some(ObjectType::Tree) => "dir", [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ObjectType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use git2::ObjectType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectType` [INFO] [stdout] --> apps/server/src/main.rs:1783:38 [INFO] [stdout] | [INFO] [stdout] 1783 | ... Some(ObjectType::Tree) => "dir", [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ObjectType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use git2::ObjectType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1793:25 [INFO] [stdout] | [INFO] [stdout] 1793 | StatusCode::OK, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1793:25 [INFO] [stdout] | [INFO] [stdout] 1793 | StatusCode::OK, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1796:30 [INFO] [stdout] | [INFO] [stdout] 1796 | ... (HEADER_BRANCH, branch.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_REPO` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1797:30 [INFO] [stdout] | [INFO] [stdout] 1797 | ... (HEADER_REPO, repo_name.to_string()), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1796:30 [INFO] [stdout] | [INFO] [stdout] 1796 | ... (HEADER_BRANCH, branch.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_REPO` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1797:30 [INFO] [stdout] | [INFO] [stdout] 1797 | ... (HEADER_REPO, repo_name.to_string()), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1806:47 [INFO] [stdout] | [INFO] [stdout] 1806 | GitResolveResult::Respond(StatusCode::INTERNAL_SERVER_ERROR.into_response()) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1817:5 [INFO] [stdout] | [INFO] [stdout] 1817 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1806:47 [INFO] [stdout] | [INFO] [stdout] 1806 | GitResolveResult::Respond(StatusCode::INTERNAL_SERVER_ERROR.into_response()) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1817:19 [INFO] [stdout] | [INFO] [stdout] 1817 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1817:5 [INFO] [stdout] | [INFO] [stdout] 1817 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1817:19 [INFO] [stdout] | [INFO] [stdout] 1817 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1817:25 [INFO] [stdout] | [INFO] [stdout] 1817 | State(state): State, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1816 | async fn get_root( [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1818:15 [INFO] [stdout] | [INFO] [stdout] 1818 | _headers: HeaderMap, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1819:20 [INFO] [stdout] | [INFO] [stdout] 1819 | _query: Option>>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1819:26 [INFO] [stdout] | [INFO] [stdout] 1819 | _query: Option>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1820:11 [INFO] [stdout] | [INFO] [stdout] 1820 | ) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1825:5 [INFO] [stdout] | [INFO] [stdout] 1825 | StatusCode::NOT_FOUND.into_response() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1830:5 [INFO] [stdout] | [INFO] [stdout] 1830 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1830:19 [INFO] [stdout] | [INFO] [stdout] 1830 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1830:25 [INFO] [stdout] | [INFO] [stdout] 1830 | State(state): State, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1829 | async fn head_root( [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1831:15 [INFO] [stdout] | [INFO] [stdout] 1831 | _headers: HeaderMap, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1832:20 [INFO] [stdout] | [INFO] [stdout] 1832 | _query: Option>>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1832:26 [INFO] [stdout] | [INFO] [stdout] 1832 | _query: Option>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1833:11 [INFO] [stdout] | [INFO] [stdout] 1833 | ) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1837:28 [INFO] [stdout] | [INFO] [stdout] 1837 | if parts.status == StatusCode::OK { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1838:20 [INFO] [stdout] | [INFO] [stdout] 1838 | return StatusCode::OK.into_response(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1841:5 [INFO] [stdout] | [INFO] [stdout] 1841 | StatusCode::NOT_FOUND.into_response() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1847:5 [INFO] [stdout] | [INFO] [stdout] 1847 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `AxPath` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1849:5 [INFO] [stdout] | [INFO] [stdout] 1849 | AxPath(path): AxPath, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1847:19 [INFO] [stdout] | [INFO] [stdout] 1847 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1847:25 [INFO] [stdout] | [INFO] [stdout] 1847 | State(state): State, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1846 | async fn head_file( [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1848:14 [INFO] [stdout] | [INFO] [stdout] 1848 | headers: HeaderMap, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AxPath` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1849:19 [INFO] [stdout] | [INFO] [stdout] 1849 | AxPath(path): AxPath, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1850:20 [INFO] [stdout] | [INFO] [stdout] 1850 | _query: Option>>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1850:26 [INFO] [stdout] | [INFO] [stdout] 1850 | _query: Option>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1851:11 [INFO] [stdout] | [INFO] [stdout] 1851 | ) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1817:25 [INFO] [stdout] | [INFO] [stdout] 1817 | State(state): State, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1816 | async fn get_root( [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1861:32 [INFO] [stdout] | [INFO] [stdout] 1861 | if parts.status == StatusCode::OK { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1818:15 [INFO] [stdout] | [INFO] [stdout] 1818 | _headers: HeaderMap, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1819:20 [INFO] [stdout] | [INFO] [stdout] 1819 | _query: Option>>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1819:26 [INFO] [stdout] | [INFO] [stdout] 1819 | _query: Option>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1863:21 [INFO] [stdout] | [INFO] [stdout] 1863 | StatusCode::OK, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1874:26 [INFO] [stdout] | [INFO] [stdout] 1874 | (HEADER_BRANCH, branch.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_REPO` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1875:26 [INFO] [stdout] | [INFO] [stdout] 1875 | (HEADER_REPO, "".to_string()), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1882:13 [INFO] [stdout] | [INFO] [stdout] 1882 | StatusCode::NOT_FOUND, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1820:11 [INFO] [stdout] | [INFO] [stdout] 1820 | ) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1885:18 [INFO] [stdout] | [INFO] [stdout] 1885 | (HEADER_BRANCH, branch.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1825:5 [INFO] [stdout] | [INFO] [stdout] 1825 | StatusCode::NOT_FOUND.into_response() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_REPO` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1886:18 [INFO] [stdout] | [INFO] [stdout] 1886 | (HEADER_REPO, "".to_string()), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1830:5 [INFO] [stdout] | [INFO] [stdout] 1830 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1899:32 [INFO] [stdout] | [INFO] [stdout] 1899 | if parts.status == StatusCode::OK { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1830:19 [INFO] [stdout] | [INFO] [stdout] 1830 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1901:21 [INFO] [stdout] | [INFO] [stdout] 1901 | StatusCode::OK, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1830:25 [INFO] [stdout] | [INFO] [stdout] 1830 | State(state): State, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1829 | async fn head_root( [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1912:26 [INFO] [stdout] | [INFO] [stdout] 1912 | (HEADER_BRANCH, branch), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_REPO` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1913:26 [INFO] [stdout] | [INFO] [stdout] 1913 | (HEADER_REPO, repo_name), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1831:15 [INFO] [stdout] | [INFO] [stdout] 1831 | _headers: HeaderMap, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1919:17 [INFO] [stdout] | [INFO] [stdout] 1919 | StatusCode::NOT_FOUND.into_response() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1832:20 [INFO] [stdout] | [INFO] [stdout] 1832 | _query: Option>>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1925:17 [INFO] [stdout] | [INFO] [stdout] 1925 | StatusCode::NOT_FOUND, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1832:26 [INFO] [stdout] | [INFO] [stdout] 1832 | _query: Option>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1928:22 [INFO] [stdout] | [INFO] [stdout] 1928 | (HEADER_BRANCH, branch), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1833:11 [INFO] [stdout] | [INFO] [stdout] 1833 | ) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_REPO` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1929:22 [INFO] [stdout] | [INFO] [stdout] 1929 | (HEADER_REPO, repo_name), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1837:28 [INFO] [stdout] | [INFO] [stdout] 1837 | if parts.status == StatusCode::OK { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1838:20 [INFO] [stdout] | [INFO] [stdout] 1838 | return StatusCode::OK.into_response(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1938:28 [INFO] [stdout] | [INFO] [stdout] 1938 | async fn cors_headers(req: Request, next: Next) -> Response { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Request; [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::Request; [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1841:5 [INFO] [stdout] | [INFO] [stdout] 1841 | StatusCode::NOT_FOUND.into_response() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Body` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1938:36 [INFO] [stdout] | [INFO] [stdout] 1938 | async fn cors_headers(req: Request, next: Next) -> Response { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use axum::body::Body; [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::Body; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1847:5 [INFO] [stdout] | [INFO] [stdout] 1847 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Next` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1938:49 [INFO] [stdout] | [INFO] [stdout] 1938 | async fn cors_headers(req: Request, next: Next) -> Response { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::middleware::Next; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `AxPath` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1849:5 [INFO] [stdout] | [INFO] [stdout] 1849 | AxPath(path): AxPath, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1847:19 [INFO] [stdout] | [INFO] [stdout] 1847 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1938:58 [INFO] [stdout] | [INFO] [stdout] 1938 | async fn cors_headers(req: Request, next: Next) -> Response { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::Response; [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1961:5 [INFO] [stdout] | [INFO] [stdout] 1961 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1847:25 [INFO] [stdout] | [INFO] [stdout] 1847 | State(state): State, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1846 | async fn head_file( [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `AxPath` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1963:5 [INFO] [stdout] | [INFO] [stdout] 1963 | AxPath(path): AxPath, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1848:14 [INFO] [stdout] | [INFO] [stdout] 1848 | headers: HeaderMap, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1961:19 [INFO] [stdout] | [INFO] [stdout] 1961 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AxPath` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1849:19 [INFO] [stdout] | [INFO] [stdout] 1849 | AxPath(path): AxPath, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1850:20 [INFO] [stdout] | [INFO] [stdout] 1850 | _query: Option>>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1961:25 [INFO] [stdout] | [INFO] [stdout] 1961 | State(state): State, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1960 | async fn put_file( [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1962:14 [INFO] [stdout] | [INFO] [stdout] 1962 | headers: HeaderMap, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AxPath` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1963:19 [INFO] [stdout] | [INFO] [stdout] 1963 | AxPath(path): AxPath, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1964:19 [INFO] [stdout] | [INFO] [stdout] 1964 | query: Option>>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1964:25 [INFO] [stdout] | [INFO] [stdout] 1964 | query: Option>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1965:11 [INFO] [stdout] | [INFO] [stdout] 1965 | body: Bytes, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 + use axum::body::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1966:11 [INFO] [stdout] | [INFO] [stdout] 1966 | ) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1974:17 [INFO] [stdout] | [INFO] [stdout] 1974 | StatusCode::NOT_FOUND, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1975:17 [INFO] [stdout] | [INFO] [stdout] 1975 | Json(serde_json::json!({"error": "Repository not found"})), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1982:13 [INFO] [stdout] | [INFO] [stdout] 1982 | Json(serde_json::json!({"commit": commit, "branch": branch, "path": decoded})) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1989:18 [INFO] [stdout] | [INFO] [stdout] 1989 | (StatusCode::BAD_REQUEST, msg).into_response() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1991:18 [INFO] [stdout] | [INFO] [stdout] 1991 | (StatusCode::INTERNAL_SERVER_ERROR, msg).into_response() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1998:5 [INFO] [stdout] | [INFO] [stdout] 1998 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `AxPath` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2000:5 [INFO] [stdout] | [INFO] [stdout] 2000 | AxPath(path): AxPath, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1998:19 [INFO] [stdout] | [INFO] [stdout] 1998 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1998:25 [INFO] [stdout] | [INFO] [stdout] 1998 | State(state): State, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1997 | async fn delete_file( [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1850:26 [INFO] [stdout] | [INFO] [stdout] 1850 | _query: Option>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1851:11 [INFO] [stdout] | [INFO] [stdout] 1851 | ) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1999:14 [INFO] [stdout] | [INFO] [stdout] 1999 | headers: HeaderMap, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AxPath` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2000:19 [INFO] [stdout] | [INFO] [stdout] 2000 | AxPath(path): AxPath, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1861:32 [INFO] [stdout] | [INFO] [stdout] 1861 | if parts.status == StatusCode::OK { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2001:19 [INFO] [stdout] | [INFO] [stdout] 2001 | query: Option>>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1863:21 [INFO] [stdout] | [INFO] [stdout] 1863 | StatusCode::OK, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2001:25 [INFO] [stdout] | [INFO] [stdout] 2001 | query: Option>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1874:26 [INFO] [stdout] | [INFO] [stdout] 1874 | (HEADER_BRANCH, branch.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2002:11 [INFO] [stdout] | [INFO] [stdout] 2002 | ) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_REPO` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1875:26 [INFO] [stdout] | [INFO] [stdout] 1875 | (HEADER_REPO, "".to_string()), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:2008:24 [INFO] [stdout] | [INFO] [stdout] 2008 | None => return StatusCode::NOT_FOUND.into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1882:13 [INFO] [stdout] | [INFO] [stdout] 1882 | StatusCode::NOT_FOUND, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2012:13 [INFO] [stdout] | [INFO] [stdout] 2012 | Json(serde_json::json!({"commit": commit, "branch": branch, "path": decoded})) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1885:18 [INFO] [stdout] | [INFO] [stdout] 1885 | (HEADER_BRANCH, branch.clone()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:2015:37 [INFO] [stdout] | [INFO] [stdout] 2015 | Err(ReadError::NotFound) => StatusCode::NOT_FOUND.into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_REPO` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1886:18 [INFO] [stdout] | [INFO] [stdout] 1886 | (HEADER_REPO, "".to_string()), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:2018:14 [INFO] [stdout] | [INFO] [stdout] 2018 | (StatusCode::INTERNAL_SERVER_ERROR, e.to_string()).into_response() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1899:32 [INFO] [stdout] | [INFO] [stdout] 1899 | if parts.status == StatusCode::OK { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Repository` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2031:25 [INFO] [stdout] | [INFO] [stdout] 2031 | fn list_branches(repo: &Repository) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Repository; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1901:21 [INFO] [stdout] | [INFO] [stdout] 1901 | StatusCode::OK, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2052:17 [INFO] [stdout] | [INFO] [stdout] 2052 | repo_path: &PathBuf, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1912:26 [INFO] [stdout] | [INFO] [stdout] 1912 | (HEADER_BRANCH, branch), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_REPO` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1913:26 [INFO] [stdout] | [INFO] [stdout] 1913 | (HEADER_REPO, repo_name), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1919:17 [INFO] [stdout] | [INFO] [stdout] 1919 | StatusCode::NOT_FOUND.into_response() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repository` [INFO] [stdout] --> apps/server/src/main.rs:2056:16 [INFO] [stdout] | [INFO] [stdout] 2056 | let repo = Repository::open_bare(repo_path).map_err(|e| ReadError::Other(e.into()))?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Repository` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Repository; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1925:17 [INFO] [stdout] | [INFO] [stdout] 1925 | StatusCode::NOT_FOUND, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1928:22 [INFO] [stdout] | [INFO] [stdout] 1928 | (HEADER_BRANCH, branch), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2082:15 [INFO] [stdout] | [INFO] [stdout] 2082 | headers: &HeaderMap, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_REPO` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1929:22 [INFO] [stdout] | [INFO] [stdout] 1929 | (HEADER_REPO, repo_name), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2083:20 [INFO] [stdout] | [INFO] [stdout] 2083 | query: &Option>>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Request` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1938:28 [INFO] [stdout] | [INFO] [stdout] 1938 | async fn cors_headers(req: Request, next: Next) -> Response { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Request; [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::Request; [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::Request; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2083:26 [INFO] [stdout] | [INFO] [stdout] 2083 | query: &Option>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Body` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1938:36 [INFO] [stdout] | [INFO] [stdout] 1938 | async fn cors_headers(req: Request, next: Next) -> Response { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use axum::body::Body; [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::Body; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2115:45 [INFO] [stdout] | [INFO] [stdout] 2115 | fn add_transpiler_version_header(resp: &mut Response) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::Response; [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Next` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1938:49 [INFO] [stdout] | [INFO] [stdout] 1938 | async fn cors_headers(req: Request, next: Next) -> Response { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::middleware::Next; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StatusCode` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2124:49 [INFO] [stdout] | [INFO] [stdout] 2124 | fn map_transpile_error(err: TranspileError) -> (StatusCode, String) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:2132:13 [INFO] [stdout] | [INFO] [stdout] 2132 | StatusCode::BAD_REQUEST, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1938:58 [INFO] [stdout] | [INFO] [stdout] 1938 | async fn cors_headers(req: Request, next: Next) -> Response { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::Response; [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:2139:13 [INFO] [stdout] | [INFO] [stdout] 2139 | StatusCode::BAD_REQUEST, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1961:5 [INFO] [stdout] | [INFO] [stdout] 1961 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `AxPath` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1963:5 [INFO] [stdout] | [INFO] [stdout] 1963 | AxPath(path): AxPath, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:2143:13 [INFO] [stdout] | [INFO] [stdout] 2143 | StatusCode::BAD_REQUEST, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1961:19 [INFO] [stdout] | [INFO] [stdout] 1961 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2153:6 [INFO] [stdout] | [INFO] [stdout] 2153 | ) -> Response { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::Response; [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1961:25 [INFO] [stdout] | [INFO] [stdout] 1961 | State(state): State, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1960 | async fn put_file( [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2157:9 [INFO] [stdout] | [INFO] [stdout] 2157 | Json(TranspileResponse { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2168:28 [INFO] [stdout] | [INFO] [stdout] 2168 | headers.insert(HEADER_BRANCH, val); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_REPO` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2173:28 [INFO] [stdout] | [INFO] [stdout] 2173 | headers.insert(HEADER_REPO, val); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1962:14 [INFO] [stdout] | [INFO] [stdout] 1962 | headers: HeaderMap, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2181:17 [INFO] [stdout] | [INFO] [stdout] 2181 | repo_path: &PathBuf, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AxPath` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1963:19 [INFO] [stdout] | [INFO] [stdout] 1963 | AxPath(path): AxPath, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1964:19 [INFO] [stdout] | [INFO] [stdout] 1964 | query: Option>>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2185:13 [INFO] [stdout] | [INFO] [stdout] 2185 | ) -> Option { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::Response; [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:2202:17 [INFO] [stdout] | [INFO] [stdout] 2202 | StatusCode::OK, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1964:25 [INFO] [stdout] | [INFO] [stdout] 1964 | query: Option>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2205:22 [INFO] [stdout] | [INFO] [stdout] 2205 | (HEADER_BRANCH, branch.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Bytes` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1965:11 [INFO] [stdout] | [INFO] [stdout] 1965 | body: Bytes, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 + use std::str::Bytes; [INFO] [stdout] | [INFO] [stdout] 1 + use axum::body::Bytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_REPO` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2206:22 [INFO] [stdout] | [INFO] [stdout] 2206 | (HEADER_REPO, repo_name.to_string()), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1966:11 [INFO] [stdout] | [INFO] [stdout] 1966 | ) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1974:17 [INFO] [stdout] | [INFO] [stdout] 1974 | StatusCode::NOT_FOUND, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `html` [INFO] [stdout] --> apps/server/src/main.rs:2292:5 [INFO] [stdout] | [INFO] [stdout] 2292 | html::push_html(&mut out, parser); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `html` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `html`, use `cargo add html` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use pulldown_cmark::html; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1975:17 [INFO] [stdout] | [INFO] [stdout] 1975 | Json(serde_json::json!({"error": "Repository not found"})), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2309:17 [INFO] [stdout] | [INFO] [stdout] 2309 | repo_root: &PathBuf, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1982:13 [INFO] [stdout] | [INFO] [stdout] 1982 | Json(serde_json::json!({"commit": commit, "branch": branch, "path": decoded})) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Signature` [INFO] [stdout] --> apps/server/src/main.rs:2322:15 [INFO] [stdout] | [INFO] [stdout] 2322 | let sig = Signature::now("relay", "relay@local")?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Signature` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1989:18 [INFO] [stdout] | [INFO] [stdout] 1989 | (StatusCode::BAD_REQUEST, msg).into_response() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Repository` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2354:16 [INFO] [stdout] | [INFO] [stdout] 2354 | repo: &Repository, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Repository; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:1991:18 [INFO] [stdout] | [INFO] [stdout] 1991 | (StatusCode::INTERNAL_SERVER_ERROR, msg).into_response() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1998:5 [INFO] [stdout] | [INFO] [stdout] 1998 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Oid` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2358:19 [INFO] [stdout] | [INFO] [stdout] 2358 | blob_oid: Oid, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/cf8a95590a1b768b7711f2631d5b5e3ead464de7/library/core/src/cmp.rs:969:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Ord` defined here [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 2358 - blob_oid: Oid, [INFO] [stdout] 2358 + blob_oid: Ord, [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Oid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `AxPath` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2000:5 [INFO] [stdout] | [INFO] [stdout] 2000 | AxPath(path): AxPath, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1998:19 [INFO] [stdout] | [INFO] [stdout] 1998 | State(state): State, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::State; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1998:25 [INFO] [stdout] | [INFO] [stdout] 1998 | State(state): State, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 1997 | async fn delete_file( [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Oid` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2359:25 [INFO] [stdout] | [INFO] [stdout] 2359 | ) -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/cf8a95590a1b768b7711f2631d5b5e3ead464de7/library/core/src/cmp.rs:969:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Ord` defined here [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 2359 - ) -> anyhow::Result { [INFO] [stdout] 2359 + ) -> anyhow::Result { [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Oid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:1999:14 [INFO] [stdout] | [INFO] [stdout] 1999 | headers: HeaderMap, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectType` [INFO] [stdout] --> apps/server/src/main.rs:2369:49 [INFO] [stdout] | [INFO] [stdout] 2369 | Some(entry) if entry.kind() == Some(ObjectType::Tree) => entry.id(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ObjectType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use git2::ObjectType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2487:17 [INFO] [stdout] | [INFO] [stdout] 2487 | repo_root: &PathBuf, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Signature` [INFO] [stdout] --> apps/server/src/main.rs:2494:15 [INFO] [stdout] | [INFO] [stdout] 2494 | let sig = Signature::now("relay", "relay@local").map_err(|e| ReadError::Other(e.into()))?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Signature` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Repository` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2506:16 [INFO] [stdout] | [INFO] [stdout] 2506 | repo: &Repository, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Repository; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Oid` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2510:32 [INFO] [stdout] | [INFO] [stdout] 2510 | ) -> anyhow::Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/cf8a95590a1b768b7711f2631d5b5e3ead464de7/library/core/src/cmp.rs:969:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Ord` defined here [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 2510 - ) -> anyhow::Result> { [INFO] [stdout] 2510 + ) -> anyhow::Result> { [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Oid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectType` [INFO] [stdout] --> apps/server/src/main.rs:2524:33 [INFO] [stdout] | [INFO] [stdout] 2524 | if entry.kind() != Some(ObjectType::Tree) { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ObjectType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use git2::ObjectType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2577:29 [INFO] [stdout] | [INFO] [stdout] 2577 | pub async fn post_transpile(Json(req): Json) -> impl IntoResponse { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2577:40 [INFO] [stdout] | [INFO] [stdout] 2577 | pub async fn post_transpile(Json(req): Json) -> impl IntoResponse { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2577:72 [INFO] [stdout] | [INFO] [stdout] 2577 | pub async fn post_transpile(Json(req): Json) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:2588:17 [INFO] [stdout] | [INFO] [stdout] 2588 | StatusCode::OK, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2589:17 [INFO] [stdout] | [INFO] [stdout] 2589 | Json(TranspileResponse { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AxPath` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2000:19 [INFO] [stdout] | [INFO] [stdout] 2000 | AxPath(path): AxPath, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2001:19 [INFO] [stdout] | [INFO] [stdout] 2001 | query: Option>>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2001:25 [INFO] [stdout] | [INFO] [stdout] 2001 | query: Option>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2002:11 [INFO] [stdout] | [INFO] [stdout] 2002 | ) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:2008:24 [INFO] [stdout] | [INFO] [stdout] 2008 | None => return StatusCode::NOT_FOUND.into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2012:13 [INFO] [stdout] | [INFO] [stdout] 2012 | Json(serde_json::json!({"commit": commit, "branch": branch, "path": decoded})) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:2015:37 [INFO] [stdout] | [INFO] [stdout] 2015 | Err(ReadError::NotFound) => StatusCode::NOT_FOUND.into_response(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:2018:14 [INFO] [stdout] | [INFO] [stdout] 2018 | (StatusCode::INTERNAL_SERVER_ERROR, e.to_string()).into_response() [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Repository` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2031:25 [INFO] [stdout] | [INFO] [stdout] 2031 | fn list_branches(repo: &Repository) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Repository; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2052:17 [INFO] [stdout] | [INFO] [stdout] 2052 | repo_path: &PathBuf, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Repository` [INFO] [stdout] --> apps/server/src/main.rs:2056:16 [INFO] [stdout] | [INFO] [stdout] 2056 | let repo = Repository::open_bare(repo_path).map_err(|e| ReadError::Other(e.into()))?; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `Repository` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Repository; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HeaderMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2082:15 [INFO] [stdout] | [INFO] [stdout] 2082 | headers: &HeaderMap, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::header::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2083:20 [INFO] [stdout] | [INFO] [stdout] 2083 | query: &Option>>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::extract::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2083:26 [INFO] [stdout] | [INFO] [stdout] 2083 | query: &Option>>, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2115:45 [INFO] [stdout] | [INFO] [stdout] 2115 | fn add_transpiler_version_header(resp: &mut Response) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::Response; [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StatusCode` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2124:49 [INFO] [stdout] | [INFO] [stdout] 2124 | fn map_transpile_error(err: TranspileError) -> (StatusCode, String) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `server_full_tests` [INFO] [stdout] --> apps/server/src/main.rs:555:17 [INFO] [stdout] | [INFO] [stdout] 555 | #[cfg(all(test, feature = "server_full_tests"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ipfs_tests` [INFO] [stdout] = help: consider adding `server_full_tests` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write as _` [INFO] [stdout] --> apps/server/src/main.rs:2399:21 [INFO] [stdout] | [INFO] [stdout] 2399 | use std::io::Write as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:2132:13 [INFO] [stdout] | [INFO] [stdout] 2132 | StatusCode::BAD_REQUEST, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:2139:13 [INFO] [stdout] | [INFO] [stdout] 2139 | StatusCode::BAD_REQUEST, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:2143:13 [INFO] [stdout] | [INFO] [stdout] 2143 | StatusCode::BAD_REQUEST, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2153:6 [INFO] [stdout] | [INFO] [stdout] 2153 | ) -> Response { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::Response; [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2157:9 [INFO] [stdout] | [INFO] [stdout] 2157 | Json(TranspileResponse { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2168:28 [INFO] [stdout] | [INFO] [stdout] 2168 | headers.insert(HEADER_BRANCH, val); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_REPO` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2173:28 [INFO] [stdout] | [INFO] [stdout] 2173 | headers.insert(HEADER_REPO, val); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2181:17 [INFO] [stdout] | [INFO] [stdout] 2181 | repo_path: &PathBuf, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Response` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2185:13 [INFO] [stdout] | [INFO] [stdout] 2185 | ) -> Option { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::Response; [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:2202:17 [INFO] [stdout] | [INFO] [stdout] 2202 | StatusCode::OK, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_BRANCH` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2205:22 [INFO] [stdout] | [INFO] [stdout] 2205 | (HEADER_BRANCH, branch.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this constant [INFO] [stdout] | [INFO] [stdout] 1 + use relay_lib::HEADER_BRANCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HEADER_REPO` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2206:22 [INFO] [stdout] | [INFO] [stdout] 2206 | (HEADER_REPO, repo_name.to_string()), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `html` [INFO] [stdout] --> apps/server/src/main.rs:2292:5 [INFO] [stdout] | [INFO] [stdout] 2292 | html::push_html(&mut out, parser); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `html` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `html`, use `cargo add html` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use pulldown_cmark::html; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2309:17 [INFO] [stdout] | [INFO] [stdout] 2309 | repo_root: &PathBuf, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Signature` [INFO] [stdout] --> apps/server/src/main.rs:2322:15 [INFO] [stdout] | [INFO] [stdout] 2322 | let sig = Signature::now("relay", "relay@local")?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Signature` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Repository` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2354:16 [INFO] [stdout] | [INFO] [stdout] 2354 | repo: &Repository, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Repository; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Oid` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2358:19 [INFO] [stdout] | [INFO] [stdout] 2358 | blob_oid: Oid, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/cf8a95590a1b768b7711f2631d5b5e3ead464de7/library/core/src/cmp.rs:969:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Ord` defined here [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 2358 - blob_oid: Oid, [INFO] [stdout] 2358 + blob_oid: Ord, [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Oid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Oid` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2359:25 [INFO] [stdout] | [INFO] [stdout] 2359 | ) -> anyhow::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/cf8a95590a1b768b7711f2631d5b5e3ead464de7/library/core/src/cmp.rs:969:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Ord` defined here [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 2359 - ) -> anyhow::Result { [INFO] [stdout] 2359 + ) -> anyhow::Result { [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Oid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectType` [INFO] [stdout] --> apps/server/src/main.rs:2369:49 [INFO] [stdout] | [INFO] [stdout] 2369 | Some(entry) if entry.kind() == Some(ObjectType::Tree) => entry.id(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ObjectType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use git2::ObjectType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PathBuf` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2487:17 [INFO] [stdout] | [INFO] [stdout] 2487 | repo_root: &PathBuf, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::PathBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Signature` [INFO] [stdout] --> apps/server/src/main.rs:2494:15 [INFO] [stdout] | [INFO] [stdout] 2494 | let sig = Signature::now("relay", "relay@local").map_err(|e| ReadError::Other(e.into()))?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Signature` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Signature; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Repository` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2506:16 [INFO] [stdout] | [INFO] [stdout] 2506 | repo: &Repository, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Repository; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Oid` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2510:32 [INFO] [stdout] | [INFO] [stdout] 2510 | ) -> anyhow::Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] --> /rustc/cf8a95590a1b768b7711f2631d5b5e3ead464de7/library/core/src/cmp.rs:969:0 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Ord` defined here [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 2510 - ) -> anyhow::Result> { [INFO] [stdout] 2510 + ) -> anyhow::Result> { [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use git2::Oid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectType` [INFO] [stdout] --> apps/server/src/main.rs:2524:33 [INFO] [stdout] | [INFO] [stdout] 2524 | if entry.kind() != Some(ObjectType::Tree) { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ObjectType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use git2::ObjectType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2577:29 [INFO] [stdout] | [INFO] [stdout] 2577 | pub async fn post_transpile(Json(req): Json) -> impl IntoResponse { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2577:40 [INFO] [stdout] | [INFO] [stdout] 2577 | pub async fn post_transpile(Json(req): Json) -> impl IntoResponse { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoResponse` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2577:72 [INFO] [stdout] | [INFO] [stdout] 2577 | pub async fn post_transpile(Json(req): Json) -> impl IntoResponse { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use axum::response::IntoResponse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> apps/server/src/main.rs:2588:17 [INFO] [stdout] | [INFO] [stdout] 2588 | StatusCode::OK, [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::StatusCode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `relay_server` [INFO] [stdout] --> apps/server/src/main.rs:2602:2 [INFO] [stdout] | [INFO] [stdout] 2602 | } [INFO] [stdout] | ^ consider adding a `main` function to `apps/server/src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> apps/server/src/main.rs:2589:17 [INFO] [stdout] | [INFO] [stdout] 2589 | Json(TranspileResponse { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 1 + use axum::Json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `server_full_tests` [INFO] [stdout] --> apps/server/src/main.rs:555:17 [INFO] [stdout] | [INFO] [stdout] 555 | #[cfg(all(test, feature = "server_full_tests"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `ipfs_tests` [INFO] [stdout] = help: consider adding `server_full_tests` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write as _` [INFO] [stdout] --> apps/server/src/main.rs:2399:21 [INFO] [stdout] | [INFO] [stdout] 2399 | use std::io::Write as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> apps/server/src/main.rs:1514:20 [INFO] [stdout] | [INFO] [stdout] 1514 | .and_then(|r| r.peel_to_commit()) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 1514 | .and_then(|r: /* Type */| r.peel_to_commit()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> apps/server/src/main.rs:1514:20 [INFO] [stdout] | [INFO] [stdout] 1514 | .and_then(|r| r.peel_to_commit()) [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 1514 | .and_then(|r: /* Type */| r.peel_to_commit()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> apps/server/src/main.rs:1512:9 [INFO] [stdout] | [INFO] [stdout] 1512 | let commit = match repo [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1519 | let tree = match commit.tree() { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `commit` an explicit type [INFO] [stdout] | [INFO] [stdout] 1512 | let commit: /* Type */ = match repo [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> apps/server/src/main.rs:1519:9 [INFO] [stdout] | [INFO] [stdout] 1519 | let tree = match commit.tree() { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1523 | let entry = match tree.get_path(std::path::Path::new("hooks/get.mjs")) { [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `tree` an explicit type [INFO] [stdout] | [INFO] [stdout] 1519 | let tree: /* Type */ = match commit.tree() { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> apps/server/src/main.rs:1523:9 [INFO] [stdout] | [INFO] [stdout] 1523 | let entry = match tree.get_path(std::path::Path::new("hooks/get.mjs")) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1527 | let blob = match entry.to_object(&repo).and_then(|o| o.peel_to_blob()) { [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `entry` an explicit type [INFO] [stdout] | [INFO] [stdout] 1523 | let entry: /* Type */ = match tree.get_path(std::path::Path::new("hooks/get.mjs")) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> apps/server/src/main.rs:1527:55 [INFO] [stdout] | [INFO] [stdout] 1527 | let blob = match entry.to_object(&repo).and_then(|o| o.peel_to_blob()) { [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 1527 | let blob = match entry.to_object(&repo).and_then(|o: /* Type */| o.peel_to_blob()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> apps/server/src/main.rs:1527:9 [INFO] [stdout] | [INFO] [stdout] 1527 | let blob = match entry.to_object(&repo).and_then(|o| o.peel_to_blob()) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1532 | if let Err(e) = std::fs::write(&tmp, blob.content()) { [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `blob` an explicit type [INFO] [stdout] | [INFO] [stdout] 1527 | let blob: /* Type */ = match entry.to_object(&repo).and_then(|o| o.peel_to_blob()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> apps/server/src/main.rs:1512:9 [INFO] [stdout] | [INFO] [stdout] 1512 | let commit = match repo [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1519 | let tree = match commit.tree() { [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `commit` an explicit type [INFO] [stdout] | [INFO] [stdout] 1512 | let commit: /* Type */ = match repo [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> apps/server/src/main.rs:1519:9 [INFO] [stdout] | [INFO] [stdout] 1519 | let tree = match commit.tree() { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1523 | let entry = match tree.get_path(std::path::Path::new("hooks/get.mjs")) { [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `tree` an explicit type [INFO] [stdout] | [INFO] [stdout] 1519 | let tree: /* Type */ = match commit.tree() { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> apps/server/src/main.rs:1523:9 [INFO] [stdout] | [INFO] [stdout] 1523 | let entry = match tree.get_path(std::path::Path::new("hooks/get.mjs")) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1527 | let blob = match entry.to_object(&repo).and_then(|o| o.peel_to_blob()) { [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `entry` an explicit type [INFO] [stdout] | [INFO] [stdout] 1523 | let entry: /* Type */ = match tree.get_path(std::path::Path::new("hooks/get.mjs")) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> apps/server/src/main.rs:1527:55 [INFO] [stdout] | [INFO] [stdout] 1527 | let blob = match entry.to_object(&repo).and_then(|o| o.peel_to_blob()) { [INFO] [stdout] | ^ - type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 1527 | let blob = match entry.to_object(&repo).and_then(|o: /* Type */| o.peel_to_blob()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> apps/server/src/main.rs:1527:9 [INFO] [stdout] | [INFO] [stdout] 1527 | let blob = match entry.to_object(&repo).and_then(|o| o.peel_to_blob()) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 1532 | if let Err(e) = std::fs::write(&tmp, blob.content()) { [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `blob` an explicit type [INFO] [stdout] | [INFO] [stdout] 1527 | let blob: /* Type */ = match entry.to_object(&repo).and_then(|o| o.peel_to_blob()) { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> apps/server/src/main.rs:1629:25 [INFO] [stdout] | [INFO] [stdout] 1629 | let candidate = base.join(rel.replace('/', std::path::MAIN_SEPARATOR.to_string().as_str())); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> apps/server/src/main.rs:1629:25 [INFO] [stdout] | [INFO] [stdout] 1629 | let candidate = base.join(rel.replace('/', std::path::MAIN_SEPARATOR.to_string().as_str())); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> apps/server/src/main.rs:1632:17 [INFO] [stdout] | [INFO] [stdout] 1632 | if !canon_file.starts_with(&canon_base) { [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> apps/server/src/main.rs:1632:17 [INFO] [stdout] | [INFO] [stdout] 1632 | if !canon_file.starts_with(&canon_base) { [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> apps/server/src/main.rs:1939:9 [INFO] [stdout] | [INFO] [stdout] 1939 | let mut res = next.run(req).await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 1940 | let headers = res.headers_mut(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 1939 | let mut res: /* Type */ = next.run(req).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> apps/server/src/main.rs:1939:9 [INFO] [stdout] | [INFO] [stdout] 1939 | let mut res = next.run(req).await; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 1940 | let headers = res.headers_mut(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `res` an explicit type [INFO] [stdout] | [INFO] [stdout] 1939 | let mut res: /* Type */ = next.run(req).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MdParser` [INFO] [stdout] --> apps/server/src/main.rs:2290:18 [INFO] [stdout] | [INFO] [stdout] 2290 | let parser = MdParser::new(&s); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MdParser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MdParser` [INFO] [stdout] --> apps/server/src/main.rs:2290:18 [INFO] [stdout] | [INFO] [stdout] 2290 | let parser = MdParser::new(&s); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `MdParser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0405, E0412, E0425, E0432, E0433, E0531. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0405, E0412, E0425, E0432, E0433, E0531, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `relay-server` (bin "relay-server" test) due to 281 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `relay-server` (bin "relay-server") due to 282 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "388caa3442f4558c78cf500c25ea43678b657019b67cd1baa9d0602bbfa662fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "388caa3442f4558c78cf500c25ea43678b657019b67cd1baa9d0602bbfa662fd", kill_on_drop: false }` [INFO] [stdout] 388caa3442f4558c78cf500c25ea43678b657019b67cd1baa9d0602bbfa662fd