[INFO] cloning repository https://github.com/bulutcan99/todo-app [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bulutcan99/todo-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbulutcan99%2Ftodo-app", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbulutcan99%2Ftodo-app'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ad7744d2910874fad24a5d34a0fca57d177535d [INFO] checking bulutcan99/todo-app against try#a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 for pr-145770 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbulutcan99%2Ftodo-app" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bulutcan99/todo-app [INFO] finished tweaking git repo https://github.com/bulutcan99/todo-app [INFO] tweaked toml for git repo https://github.com/bulutcan99/todo-app written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bulutcan99/todo-app on toolchain a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bulutcan99/todo-app 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" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b1d709409120cd4ab1a7541bd767f9c7842a9274e5fd7c0e7e22aa4e9d000c6 [INFO] running `Command { std: "docker" "start" "-a" "9b1d709409120cd4ab1a7541bd767f9c7842a9274e5fd7c0e7e22aa4e9d000c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b1d709409120cd4ab1a7541bd767f9c7842a9274e5fd7c0e7e22aa4e9d000c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b1d709409120cd4ab1a7541bd767f9c7842a9274e5fd7c0e7e22aa4e9d000c6", kill_on_drop: false }` [INFO] [stdout] 9b1d709409120cd4ab1a7541bd767f9c7842a9274e5fd7c0e7e22aa4e9d000c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd674aa8eb99ae6a385f91c60c86c655a86a38e75892861278a1ff2e53a48dec [INFO] running `Command { std: "docker" "start" "-a" "cd674aa8eb99ae6a385f91c60c86c655a86a38e75892861278a1ff2e53a48dec", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking rstar v0.11.0 [INFO] [stderr] Compiling serde_with_macros v3.8.1 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking robust v1.1.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking arbitrary v1.3.2 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking miette v5.10.0 [INFO] [stderr] Checking rustc_lexer v0.1.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking earcutr v0.4.3 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking geographiclib-rs v0.2.4 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking geo-types v0.7.13 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking unicode-script v0.5.6 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking float_next_after v1.0.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking unicode-security v0.1.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Checking simple_asn1 v0.6.2 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Checking serde_with v3.8.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Compiling fst v0.4.7 [INFO] [stderr] Compiling snap v1.1.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking bytemuck v1.16.1 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking snafu v0.7.5 [INFO] [stderr] Checking roaring v0.10.5 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Compiling revision-derive v0.7.0 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Checking geo v0.26.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking serde_spanned v0.6.6 [INFO] [stderr] Checking toml_datetime v0.6.6 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking spade v2.9.0 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking pem v2.0.1 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Checking winnow v0.6.13 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking any_ascii v0.3.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking lexicmp v0.1.0 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking revision v0.7.1 [INFO] [stderr] Checking ordered-multimap v0.6.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking async-executor v1.12.0 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking geo v0.27.0 [INFO] [stderr] Checking bcrypt v0.15.1 [INFO] [stderr] Checking dmp v0.2.0 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking addr v0.15.6 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking toml_edit v0.22.14 [INFO] [stderr] Compiling cedar-policy-core v2.4.2 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Checking surrealdb-jsonwebtoken v8.3.0-surreal.1 [INFO] [stderr] Checking scrypt v0.11.0 [INFO] [stderr] Checking object_store v0.8.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking quick_cache v0.4.2 [INFO] [stderr] Checking storekey v0.5.0 [INFO] [stderr] Checking rust-stemmers v1.2.0 [INFO] [stderr] Checking ulid v1.1.2 [INFO] [stderr] Checking futures-buffered v0.2.6 [INFO] [stderr] Checking nanoid v0.4.0 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling surrealdb-derive v0.12.0 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking trice v0.4.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking deunicode v1.6.0 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking toml v0.8.14 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking futures-concurrency v7.6.1 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking hyper-util v0.1.5 [INFO] [stderr] Checking rust-ini v0.19.0 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking path-clean v1.0.1 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking jsonwebtoken v9.3.0 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking validator v0.18.1 [INFO] [stderr] Checking config v0.14.0 [INFO] [stderr] Checking cedar-policy-validator v2.4.2 [INFO] [stderr] Checking cedar-policy v2.4.2 [INFO] [stderr] Checking surrealdb-core v1.5.0 [INFO] [stderr] Checking surrealdb v1.5.3 [INFO] [stderr] Checking todo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `db` [INFO] [stdout] --> src/application/common/interface/persistance/db/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod db; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `db`, create file "src/application/common/interface/persistance/db/db.rs" or "src/application/common/interface/persistance/db/db/mod.rs" [INFO] [stdout] = note: if there is a `mod db` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `repository` [INFO] [stdout] --> src/application/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod repository; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `repository`, create file "src/application/repository.rs" or "src/application/repository/mod.rs" [INFO] [stdout] = note: if there is a `mod repository` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `db` [INFO] [stdout] --> src/application/common/interface/persistance/db/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod db; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `db`, create file "src/application/common/interface/persistance/db/db.rs" or "src/application/common/interface/persistance/db/db/mod.rs" [INFO] [stdout] = note: if there is a `mod db` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `repository` [INFO] [stdout] --> src/application/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub mod repository; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `repository`, create file "src/application/repository.rs" or "src/application/repository/mod.rs" [INFO] [stdout] = note: if there is a `mod repository` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `interface` [INFO] [stdout] --> src/infrastructure/persistance/surreal/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod interface; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `interface`, create file "src/infrastructure/persistance/surreal/interface.rs" or "src/infrastructure/persistance/surreal/interface/mod.rs" [INFO] [stdout] = note: if there is a `mod interface` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `adapter` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod adapter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `adapter`, create file "src/adapter.rs" or "src/adapter/mod.rs" [INFO] [stdout] = note: if there is a `mod adapter` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `interface` [INFO] [stdout] --> src/infrastructure/persistance/surreal/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | mod interface; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `interface`, create file "src/infrastructure/persistance/surreal/interface.rs" or "src/infrastructure/persistance/surreal/interface/mod.rs" [INFO] [stdout] = note: if there is a `mod interface` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `adapter` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod adapter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `adapter`, create file "src/adapter.rs" or "src/adapter/mod.rs" [INFO] [stdout] = note: if there is a `mod adapter` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `axum` is defined multiple times [INFO] [stdout] --> src/infrastructure/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod axum; [INFO] [stdout] | ------------- previous definition of the module `axum` here [INFO] [stdout] 6 | mod axum; [INFO] [stdout] | ^^^^^^^^^ `axum` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `axum` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `axum` is defined multiple times [INFO] [stdout] --> src/infrastructure/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod axum; [INFO] [stdout] | ------------- previous definition of the module `axum` here [INFO] [stdout] 6 | mod axum; [INFO] [stdout] | ^^^^^^^^^ `axum` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `axum` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected a trait impl [INFO] [stdout] --> src/infrastructure/persistance/surreal/db_connection.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected a trait impl [INFO] [stdout] --> src/infrastructure/persistance/surreal/db_connection.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[async_trait] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `async_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `entities` in `domain` [INFO] [stdout] --> src/application/common/interface/authentication/jwt_token_handler.rs:4:61 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{application::common::r#type::AppResult, domain::entities::user::User}; [INFO] [stdout] | ^^^^^^^^ could not find `entities` in `domain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::application::common::r#type` [INFO] [stdout] --> src/application/common/interface/authentication/jwt_token_handler.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{application::common::r#type::AppResult, domain::entities::user::User}; [INFO] [stdout] | ^^^^^^ could not find `r#type` in `common` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::application::common::date_time` [INFO] [stdout] --> src/domain/entity/todo.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::application::common::date_time::DateService; [INFO] [stdout] | ^^^^^^^^^ could not find `date_time` in `common` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::application::common::date_time` [INFO] [stdout] --> src/domain/entity/user.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::application::common::date_time::DateService; [INFO] [stdout] | ^^^^^^^^^ could not find `date_time` in `common` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `entities` in `domain` [INFO] [stdout] --> src/application/common/interface/authentication/jwt_token_handler.rs:4:61 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{application::common::r#type::AppResult, domain::entities::user::User}; [INFO] [stdout] | ^^^^^^^^ could not find `entities` in `domain` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::application::common::r#type` [INFO] [stdout] --> src/application/common/interface/authentication/jwt_token_handler.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{application::common::r#type::AppResult, domain::entities::user::User}; [INFO] [stdout] | ^^^^^^ could not find `r#type` in `common` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::application::common::date_time` [INFO] [stdout] --> src/domain/entity/todo.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::application::common::date_time::DateService; [INFO] [stdout] | ^^^^^^^^^ could not find `date_time` in `common` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::application::common::date_time` [INFO] [stdout] --> src/domain/entity/user.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::application::common::date_time::DateService; [INFO] [stdout] | ^^^^^^^^^ could not find `date_time` in `common` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateService` [INFO] [stdout] --> src/infrastructure/authentication/jwt_token_handler.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let current_time = DateService::get_cuurent_timestamp(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DateService` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::application::common::util::date_time::DateService; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IJwtTokenHandler` in this scope [INFO] [stdout] --> src/infrastructure/authentication/jwt_token_handler.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | impl IJwtTokenHandler for JwtTokenHandler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use crate::application::common::interface::authentication::jwt_token_handler::IJwtTokenHandler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `User` in this scope [INFO] [stdout] --> src/infrastructure/authentication/jwt_token_handler.rs:26:40 [INFO] [stdout] | [INFO] [stdout] 26 | async fn generate_token(&self, user: &User) -> String { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::domain::entity::user::User; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `JwtPayload` in this scope [INFO] [stdout] --> src/infrastructure/authentication/jwt_token_handler.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let payload = JwtPayload { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::application::common::interface::authentication::jwt_token_handler::JwtPayload; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppResult` in this scope [INFO] [stdout] --> src/infrastructure/authentication/jwt_token_handler.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | fn decode_token(&self, token: &str) -> AppResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/result.rs:548:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named enum `Result` defined here [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 43 - fn decode_token(&self, token: &str) -> AppResult { [INFO] [stdout] 43 + fn decode_token(&self, token: &str) -> Result { [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use crate::application::common::types::AppResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JwtPayload` in this scope [INFO] [stdout] --> src/infrastructure/authentication/jwt_token_handler.rs:43:51 [INFO] [stdout] | [INFO] [stdout] 43 | fn decode_token(&self, token: &str) -> AppResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::application::common::interface::authentication::jwt_token_handler::JwtPayload; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JwtPayload` in this scope [INFO] [stdout] --> src/infrastructure/authentication/jwt_token_handler.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | let decoded_token = decode::( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::application::common::interface::authentication::jwt_token_handler::JwtPayload; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> src/infrastructure/authentication/jwt_token_handler.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | Err(_) => Err(Error::AuthorizationFailed(format!("Your access token is not valid. please login again."))) [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::application::common::errors::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] = and 13 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::response::IntoResponse` [INFO] [stdout] --> src/presentation/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::response::IntoResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Error` [INFO] [stdout] --> src/infrastructure/persistance/surreal/db_connection.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Error; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ws` [INFO] [stdout] --> src/infrastructure/persistance/surreal/db_connection.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | use surrealdb::engine::remote::ws::{Client, Ws}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `surrealdb::opt::auth::Root` [INFO] [stdout] --> src/infrastructure/persistance/surreal/db_connection.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use surrealdb::opt::auth::Root; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::infrastructure::config::Settings` [INFO] [stdout] --> src/infrastructure/persistance/surreal/db_connection.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::infrastructure::config::Settings; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateService` [INFO] [stdout] --> src/infrastructure/authentication/jwt_token_handler.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let current_time = DateService::get_cuurent_timestamp(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DateService` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::application::common::util::date_time::DateService; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IJwtTokenHandler` in this scope [INFO] [stdout] --> src/infrastructure/authentication/jwt_token_handler.rs:25:6 [INFO] [stdout] | [INFO] [stdout] 25 | impl IJwtTokenHandler for JwtTokenHandler { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use crate::application::common::interface::authentication::jwt_token_handler::IJwtTokenHandler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `User` in this scope [INFO] [stdout] --> src/infrastructure/authentication/jwt_token_handler.rs:26:40 [INFO] [stdout] | [INFO] [stdout] 26 | async fn generate_token(&self, user: &User) -> String { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::domain::entity::user::User; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `JwtPayload` in this scope [INFO] [stdout] --> src/infrastructure/authentication/jwt_token_handler.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | let payload = JwtPayload { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::application::common::interface::authentication::jwt_token_handler::JwtPayload; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppResult` in this scope [INFO] [stdout] --> src/infrastructure/authentication/jwt_token_handler.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | fn decode_token(&self, token: &str) -> AppResult { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] --> /rustc/a2a6e871b05c7b8ecc9a3c8a20db1f39e995e399/library/core/src/result.rs:548:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named enum `Result` defined here [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 43 - fn decode_token(&self, token: &str) -> AppResult { [INFO] [stdout] 43 + fn decode_token(&self, token: &str) -> Result { [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use crate::application::common::types::AppResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JwtPayload` in this scope [INFO] [stdout] --> src/infrastructure/authentication/jwt_token_handler.rs:43:51 [INFO] [stdout] | [INFO] [stdout] 43 | fn decode_token(&self, token: &str) -> AppResult { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::application::common::interface::authentication::jwt_token_handler::JwtPayload; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JwtPayload` in this scope [INFO] [stdout] --> src/infrastructure/authentication/jwt_token_handler.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | let decoded_token = decode::( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::application::common::interface::authentication::jwt_token_handler::JwtPayload; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> src/infrastructure/authentication/jwt_token_handler.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | Err(_) => Err(Error::AuthorizationFailed(format!("Your access token is not valid. please login again."))) [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::application::common::errors::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] = and 13 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::response::IntoResponse` [INFO] [stdout] --> src/presentation/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use axum::response::IntoResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Error` [INFO] [stdout] --> src/infrastructure/persistance/surreal/db_connection.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::Error; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ws` [INFO] [stdout] --> src/infrastructure/persistance/surreal/db_connection.rs:5:45 [INFO] [stdout] | [INFO] [stdout] 5 | use surrealdb::engine::remote::ws::{Client, Ws}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `surrealdb::opt::auth::Root` [INFO] [stdout] --> src/infrastructure/persistance/surreal/db_connection.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use surrealdb::opt::auth::Root; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::infrastructure::config::Settings` [INFO] [stdout] --> src/infrastructure/persistance/surreal/db_connection.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::infrastructure::config::Settings; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthenticationConfig` [INFO] [stdout] --> src/infrastructure/authentication/jwt_token_handler.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | secret: AuthenticationConfig::jwt_secret() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthenticationConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0428, E0432, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `todo` (lib) due to 19 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthenticationConfig` [INFO] [stdout] --> src/infrastructure/authentication/jwt_token_handler.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | secret: AuthenticationConfig::jwt_secret() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthenticationConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0422, E0428, E0432, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `todo` (lib test) due to 19 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cd674aa8eb99ae6a385f91c60c86c655a86a38e75892861278a1ff2e53a48dec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd674aa8eb99ae6a385f91c60c86c655a86a38e75892861278a1ff2e53a48dec", kill_on_drop: false }` [INFO] [stdout] cd674aa8eb99ae6a385f91c60c86c655a86a38e75892861278a1ff2e53a48dec