[INFO] cloning repository https://github.com/zxq1011/rust_web_study [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zxq1011/rust_web_study" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzxq1011%2Frust_web_study", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzxq1011%2Frust_web_study'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e28c887f461464ada70e659606c6ca9757ad9c35 [INFO] checking zxq1011/rust_web_study against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzxq1011%2Frust_web_study" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zxq1011/rust_web_study on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zxq1011/rust_web_study [INFO] finished tweaking git repo https://github.com/zxq1011/rust_web_study [INFO] tweaked toml for git repo https://github.com/zxq1011/rust_web_study written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zxq1011/rust_web_study 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6079067b802800df3834fc486eca284abadef34cb0a434e8402ad876fa176ec7 [INFO] running `Command { std: "docker" "start" "-a" "6079067b802800df3834fc486eca284abadef34cb0a434e8402ad876fa176ec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6079067b802800df3834fc486eca284abadef34cb0a434e8402ad876fa176ec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6079067b802800df3834fc486eca284abadef34cb0a434e8402ad876fa176ec7", kill_on_drop: false }` [INFO] [stdout] 6079067b802800df3834fc486eca284abadef34cb0a434e8402ad876fa176ec7 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c844a182e96285ea0793f8a909a95598a06fc6ff58dce44f393b807addf7ec14 [INFO] running `Command { std: "docker" "start" "-a" "c844a182e96285ea0793f8a909a95598a06fc6ff58dce44f393b807addf7ec14", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling syn v2.0.49 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling zstd-sys v2.0.9+zstd.1.5.5 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling zstd-safe v7.0.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking actix-rt v2.9.0 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling ahash v0.8.8 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Checking indexmap v2.2.3 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking brotli-decompressor v2.5.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Checking bytestring v1.3.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking brotli v3.4.0 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking chrono v0.4.34 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling actix-router v0.5.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking actix-server v2.3.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling sqlx-rt v0.5.13 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling whoami v1.4.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling pest v2.7.7 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking bstr v1.9.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling sqlx-core v0.5.13 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Compiling pest_meta v2.7.7 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Checking http v1.0.0 [INFO] [stderr] Compiling pest_generator v2.7.7 [INFO] [stderr] Checking deunicode v1.4.3 [INFO] [stderr] Checking impl-more v0.1.6 [INFO] [stderr] Checking slug v0.1.5 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking actix-tls v3.3.0 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking http-range v0.1.5 [INFO] [stderr] Compiling pest_derive v2.7.7 [INFO] [stderr] Compiling sqlx-macros v0.5.13 [INFO] [stderr] Checking tera v1.19.1 [INFO] [stderr] Checking zstd v0.13.0 [INFO] [stderr] Checking actix-http v3.6.0 [INFO] [stderr] Checking sqlx v0.5.13 [INFO] [stderr] Checking actix-web v4.5.1 [INFO] [stderr] Checking awc v3.4.0 [INFO] [stderr] Checking actix-files v0.6.5 [INFO] [stderr] Checking webservice v0.1.0 (/opt/rustwide/workdir/webservice) [INFO] [stdout] error[E0601]: `main` function not found in crate `teacher_service` [INFO] [stdout] | [INFO] [stdout] = note: consider adding a `main` function to `webservice/src/bin/teacher-service.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `webservice` (bin "teacher-service") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/dbaccess/course.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | let rows: Vec = sqlx::query_as!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 7 | | Course, [INFO] [stdout] 8 | | r#"SELECT * [INFO] [stdout] 9 | | FROM course [INFO] [stdout] 10 | | WHERE teacher_id = $1"#, [INFO] [stdout] 11 | | teacher_id [INFO] [stdout] 12 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/dbaccess/course.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | let row = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 35 | | Course, [INFO] [stdout] 36 | | r#"SELECT * [INFO] [stdout] 37 | | FROM course [INFO] [stdout] ... | [INFO] [stdout] 40 | | course_id [INFO] [stdout] 41 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/dbaccess/course.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | let row = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 55 | | Course, [INFO] [stdout] 56 | | r#"INSERT INTO course (teacher_id, name, description, format, structure, duration, price, language, level) [INFO] [stdout] 57 | | VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) [INFO] [stdout] ... | [INFO] [stdout] 61 | | new_course.price, new_course.language, new_course.level, [INFO] [stdout] 62 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/dbaccess/course.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | let rows: Vec = sqlx::query_as!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 7 | | Course, [INFO] [stdout] 8 | | r#"SELECT * [INFO] [stdout] 9 | | FROM course [INFO] [stdout] 10 | | WHERE teacher_id = $1"#, [INFO] [stdout] 11 | | teacher_id [INFO] [stdout] 12 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/dbaccess/course.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | let row = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 35 | | Course, [INFO] [stdout] 36 | | r#"SELECT * [INFO] [stdout] 37 | | FROM course [INFO] [stdout] ... | [INFO] [stdout] 40 | | course_id [INFO] [stdout] 41 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/dbaccess/course.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | let course_row = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 69 | | "DELETE FROM course where teacher_id = $1 and id = $2", [INFO] [stdout] 70 | | teacher_id, [INFO] [stdout] 71 | | id [INFO] [stdout] 72 | | ).execute(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/dbaccess/course.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | let current_course_row = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 83 | | Course, [INFO] [stdout] 84 | | "SELECT * FROM course where teacher_id = $1 and id = $2", [INFO] [stdout] 85 | | teacher_id, [INFO] [stdout] 86 | | id [INFO] [stdout] 87 | | ).fetch_one(pool) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/dbaccess/course.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 54 | let row = sqlx::query_as!( [INFO] [stdout] | _______________^ [INFO] [stdout] 55 | | Course, [INFO] [stdout] 56 | | r#"INSERT INTO course (teacher_id, name, description, format, structure, duration, price, language, level) [INFO] [stdout] 57 | | VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9) [INFO] [stdout] ... | [INFO] [stdout] 61 | | new_course.price, new_course.language, new_course.level, [INFO] [stdout] 62 | | ).fetch_one(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/dbaccess/course.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 68 | let course_row = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 69 | | "DELETE FROM course where teacher_id = $1 and id = $2", [INFO] [stdout] 70 | | teacher_id, [INFO] [stdout] 71 | | id [INFO] [stdout] 72 | | ).execute(pool).await?; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/dbaccess/course.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | let course_row = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 141 | | Course, [INFO] [stdout] 142 | | r#"UPDATE course SET name = $1, description = $2, format = $3, [INFO] [stdout] 143 | | structure = $4, duration = $5, price = $6, language = $7, [INFO] [stdout] ... | [INFO] [stdout] 156 | | id [INFO] [stdout] 157 | | ).fetch_one(pool).await; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/dbaccess/teacher.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | let rows = sqlx::query! ("SELECT id, name, picture_url, profile FROM teacher") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/dbaccess/teacher.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | let row = sqlx::query!("SELECT id, name, picture_url, profile FROM teacher where id = $1" ,teacher_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/dbaccess/course.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | let current_course_row = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 83 | | Course, [INFO] [stdout] 84 | | "SELECT * FROM course where teacher_id = $1 and id = $2", [INFO] [stdout] 85 | | teacher_id, [INFO] [stdout] 86 | | id [INFO] [stdout] 87 | | ).fetch_one(pool) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/dbaccess/teacher.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | let row = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 44 | | "INSERT INTO teacher (name, picture_url, profile) VALUES ($1, $2, $3) RETURNING id, name, picture_url, profile ", [INFO] [stdout] 45 | | new_teacher.name, [INFO] [stdout] 46 | | new_teacher.picture_url, [INFO] [stdout] 47 | | new_teacher.profile).fetch_one(pool).await?; [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/dbaccess/course.rs:140:22 [INFO] [stdout] | [INFO] [stdout] 140 | let course_row = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 141 | | Course, [INFO] [stdout] 142 | | r#"UPDATE course SET name = $1, description = $2, format = $3, [INFO] [stdout] 143 | | structure = $4, duration = $5, price = $6, language = $7, [INFO] [stdout] ... | [INFO] [stdout] 156 | | id [INFO] [stdout] 157 | | ).fetch_one(pool).await; [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query_as` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/dbaccess/teacher.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | let row = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 63 | | "SELECT id, name, picture_url, profile FROM teacher WHERE id = $1", [INFO] [stdout] 64 | | teacher_id [INFO] [stdout] 65 | | ).fetch_one(pool).await [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/dbaccess/teacher.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | let rows = sqlx::query! ("SELECT id, name, picture_url, profile FROM teacher") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/dbaccess/teacher.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 88 | let update_row = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 89 | | "UPDATE teacher SET name = $1, picture_url = $2, profile = $3 WHERE id = $4 RETURNING id, name, picture_url, profile", [INFO] [stdout] 90 | | temp.name, [INFO] [stdout] 91 | | temp.picture_url, [INFO] [stdout] 92 | | temp.profile, [INFO] [stdout] 93 | | temp.id).fetch_one(pool).await.map(|r| Teacher { [INFO] [stdout] | |________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/dbaccess/teacher.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | let row = sqlx::query!("SELECT id, name, picture_url, profile FROM teacher where id = $1" ,teacher_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/dbaccess/teacher.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 43 | let row = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 44 | | "INSERT INTO teacher (name, picture_url, profile) VALUES ($1, $2, $3) RETURNING id, name, picture_url, profile ", [INFO] [stdout] 45 | | new_teacher.name, [INFO] [stdout] 46 | | new_teacher.picture_url, [INFO] [stdout] 47 | | new_teacher.profile).fetch_one(pool).await?; [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/dbaccess/teacher.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | let row = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 63 | | "SELECT id, name, picture_url, profile FROM teacher WHERE id = $1", [INFO] [stdout] 64 | | teacher_id [INFO] [stdout] 65 | | ).fetch_one(pool).await [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/dbaccess/teacher.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 88 | let update_row = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 89 | | "UPDATE teacher SET name = $1, picture_url = $2, profile = $3 WHERE id = $4 RETURNING id, name, picture_url, profile", [INFO] [stdout] 90 | | temp.name, [INFO] [stdout] 91 | | temp.picture_url, [INFO] [stdout] 92 | | temp.profile, [INFO] [stdout] 93 | | temp.id).fetch_one(pool).await.map(|r| Teacher { [INFO] [stdout] | |________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::handlers::course` [INFO] [stdout] --> webservice/src/routers.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::handlers::course::*; [INFO] [stdout] | ^^^^^^ could not find `course` in `handlers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::handlers::general` [INFO] [stdout] --> webservice/src/routers.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::handlers::general::*; [INFO] [stdout] | ^^^^^^^ could not find `general` in `handlers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::handlers::course` [INFO] [stdout] --> webservice/src/routers.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::handlers::course::*; [INFO] [stdout] | ^^^^^^ could not find `course` in `handlers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::handlers::general` [INFO] [stdout] --> webservice/src/routers.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::handlers::general::*; [INFO] [stdout] | ^^^^^^^ could not find `general` in `handlers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::handlers::teacher` [INFO] [stdout] --> webservice/src/routers.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::handlers::teacher::{delete_teacher, get_all_teachers, get_teacher_details, post_new_teacher, update_teacher_details}; [INFO] [stdout] | ^^^^^^^ could not find `teacher` in `handlers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::handlers::teacher` [INFO] [stdout] --> webservice/src/routers.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::handlers::teacher::{delete_teacher, get_all_teachers, get_teacher_details, post_new_teacher, update_teacher_details}; [INFO] [stdout] | ^^^^^^^ could not find `teacher` in `handlers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::error::MyError` [INFO] [stdout] --> webservice/src/dbaccess/course.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::MyError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `MyError` in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::error::MyError` [INFO] [stdout] --> webservice/src/dbaccess/teacher.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::MyError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `MyError` in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::error::MyError` [INFO] [stdout] --> webservice/src/dbaccess/course.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::MyError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `MyError` in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::error::MyError` [INFO] [stdout] --> webservice/src/dbaccess/teacher.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::error::MyError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ no `MyError` in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `health_check_handler` in this scope [INFO] [stdout] --> webservice/src/routers.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | cfg.route("/health", web::get().to(health_check_handler)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `post_new_course` in this scope [INFO] [stdout] --> webservice/src/routers.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | .route("/", web::post().to(post_new_course)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `get_courses_for_teacher` in this scope [INFO] [stdout] --> webservice/src/routers.rs:15:47 [INFO] [stdout] | [INFO] [stdout] 15 | .route("/{teacher_id}", web::get().to(get_courses_for_teacher)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `get_course_detail` in this scope [INFO] [stdout] --> webservice/src/routers.rs:16:59 [INFO] [stdout] | [INFO] [stdout] 16 | .route("/{teacher_id}/{course_id}", web::get().to(get_course_detail)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `delete_course` in this scope [INFO] [stdout] --> webservice/src/routers.rs:18:62 [INFO] [stdout] | [INFO] [stdout] 18 | .route("/{teacher_id}/{course_id}", web::delete().to(delete_course)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `update_course_details` in this scope [INFO] [stdout] --> webservice/src/routers.rs:19:59 [INFO] [stdout] | [INFO] [stdout] 19 | .route("/{teacher_id}/{course_id}", web::put().to(update_course_details)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `health_check_handler` in this scope [INFO] [stdout] --> webservice/src/routers.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | cfg.route("/health", web::get().to(health_check_handler)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `post_new_course` in this scope [INFO] [stdout] --> webservice/src/routers.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | .route("/", web::post().to(post_new_course)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `get_courses_for_teacher` in this scope [INFO] [stdout] --> webservice/src/routers.rs:15:47 [INFO] [stdout] | [INFO] [stdout] 15 | .route("/{teacher_id}", web::get().to(get_courses_for_teacher)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `get_course_detail` in this scope [INFO] [stdout] --> webservice/src/routers.rs:16:59 [INFO] [stdout] | [INFO] [stdout] 16 | .route("/{teacher_id}/{course_id}", web::get().to(get_course_detail)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `delete_course` in this scope [INFO] [stdout] --> webservice/src/routers.rs:18:62 [INFO] [stdout] | [INFO] [stdout] 18 | .route("/{teacher_id}/{course_id}", web::delete().to(delete_course)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `update_course_details` in this scope [INFO] [stdout] --> webservice/src/routers.rs:19:59 [INFO] [stdout] | [INFO] [stdout] 19 | .route("/{teacher_id}/{course_id}", web::put().to(update_course_details)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `webservice` (bin "webservice") due to 23 previous errors [INFO] [stderr] error: could not compile `webservice` (bin "webservice" test) due to 23 previous errors [INFO] running `Command { std: "docker" "inspect" "c844a182e96285ea0793f8a909a95598a06fc6ff58dce44f393b807addf7ec14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c844a182e96285ea0793f8a909a95598a06fc6ff58dce44f393b807addf7ec14", kill_on_drop: false }` [INFO] [stdout] c844a182e96285ea0793f8a909a95598a06fc6ff58dce44f393b807addf7ec14 [INFO] checking zxq1011/rust_web_study against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzxq1011%2Frust_web_study" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zxq1011/rust_web_study on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zxq1011/rust_web_study [INFO] finished tweaking git repo https://github.com/zxq1011/rust_web_study [INFO] tweaked toml for git repo https://github.com/zxq1011/rust_web_study written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/zxq1011/rust_web_study 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4d3153c2708c53f3925e5f912f2b0553aa1692d971e2a413c66052ecb30378a [INFO] running `Command { std: "docker" "start" "-a" "d4d3153c2708c53f3925e5f912f2b0553aa1692d971e2a413c66052ecb30378a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4d3153c2708c53f3925e5f912f2b0553aa1692d971e2a413c66052ecb30378a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4d3153c2708c53f3925e5f912f2b0553aa1692d971e2a413c66052ecb30378a", kill_on_drop: false }` [INFO] [stdout] d4d3153c2708c53f3925e5f912f2b0553aa1692d971e2a413c66052ecb30378a [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c829e1052835e53ed67743f16406ffa38414e3f59d7c923628b1ea7d14ca27c [INFO] running `Command { std: "docker" "start" "-a" "2c829e1052835e53ed67743f16406ffa38414e3f59d7c923628b1ea7d14ca27c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "2c829e1052835e53ed67743f16406ffa38414e3f59d7c923628b1ea7d14ca27c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c829e1052835e53ed67743f16406ffa38414e3f59d7c923628b1ea7d14ca27c", kill_on_drop: false }` [INFO] [stdout] 2c829e1052835e53ed67743f16406ffa38414e3f59d7c923628b1ea7d14ca27c