[INFO] cloning repository https://github.com/zhoutianli1/actixProgarm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zhoutianli1/actixProgarm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhoutianli1%2FactixProgarm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhoutianli1%2FactixProgarm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef7db75f3b5d74f0a9e54065b95d096fe6de7fb6 [INFO] testing zhoutianli1/actixProgarm against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzhoutianli1%2FactixProgarm" "/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/zhoutianli1/actixProgarm [INFO] finished tweaking git repo https://github.com/zhoutianli1/actixProgarm [INFO] tweaked toml for git repo https://github.com/zhoutianli1/actixProgarm written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zhoutianli1/actixProgarm on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zhoutianli1/actixProgarm 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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/wasm-client/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-1-tc1/source/Cargo.toml [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] | [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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minicov v0.3.5 [INFO] [stderr] Downloaded unic-char-property v0.9.0 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.43 [INFO] [stderr] Downloaded sqlx-rt v0.6.3 [INFO] [stderr] Downloaded impl-more v0.1.6 [INFO] [stderr] Downloaded slug v0.1.6 [INFO] [stderr] Downloaded v_htmlescape v0.15.8 [INFO] [stderr] Downloaded chrono-tz-build v0.3.0 [INFO] [stderr] Downloaded globwalk v0.9.1 [INFO] [stderr] Downloaded unic-char-range v0.9.0 [INFO] [stderr] Downloaded unic-ucd-version v0.9.0 [INFO] [stderr] Downloaded sqlformat v0.2.4 [INFO] [stderr] Downloaded humansize v2.1.3 [INFO] [stderr] Downloaded actix-files v0.6.6 [INFO] [stderr] Downloaded pest_meta v2.7.11 [INFO] [stderr] Downloaded ignore v0.4.22 [INFO] [stderr] Downloaded actix-tls v3.4.0 [INFO] [stderr] Downloaded awc v3.5.1 [INFO] [stderr] Downloaded pest v2.7.11 [INFO] [stderr] Downloaded serde_json v1.0.124 [INFO] [stderr] Downloaded flate2 v1.0.31 [INFO] [stderr] Downloaded syn v2.0.74 [INFO] [stderr] Downloaded deunicode v1.6.0 [INFO] [stderr] Downloaded tera v1.20.0 [INFO] [stderr] Downloaded cc v1.1.10 [INFO] [stderr] Downloaded futures-intrusive v0.4.2 [INFO] [stderr] Downloaded regex v1.10.6 [INFO] [stderr] Downloaded sqlx v0.6.3 [INFO] [stderr] Downloaded sqlx-core v0.6.3 [INFO] [stderr] Downloaded chrono-tz v0.9.0 [INFO] [stderr] Downloaded object v0.36.3 [INFO] [stderr] Downloaded rustls v0.20.9 [INFO] [stderr] Downloaded indexmap v2.3.0 [INFO] [stderr] Downloaded bstr v1.10.0 [INFO] [stderr] Downloaded bytes v1.7.1 [INFO] [stderr] Downloaded webpki v0.22.4 [INFO] [stderr] Downloaded serde v1.0.206 [INFO] [stderr] Downloaded pest_derive v2.7.11 [INFO] [stderr] Downloaded globset v0.4.14 [INFO] [stderr] Downloaded unic-ucd-segment v0.9.0 [INFO] [stderr] Downloaded unic-segment v0.9.0 [INFO] [stderr] Downloaded sqlx-macros v0.6.3 [INFO] [stderr] Downloaded serde_derive v1.0.206 [INFO] [stderr] Downloaded pest_generator v2.7.11 [INFO] [stderr] Downloaded actix-cors v0.6.5 [INFO] [stderr] Downloaded atoi v1.0.0 [INFO] [stderr] Downloaded redox_users v0.4.5 [INFO] [stderr] Downloaded unic-common v0.9.0 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.43 [INFO] [stderr] Downloaded tokio v1.39.2 [INFO] [stderr] Downloaded openssl-src v300.3.1+3.3.1 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35fa016367f1d99ea7e036d977bd891808ce056b531eb786dc4f253dc41cf70b [INFO] running `Command { std: "docker" "start" "-a" "35fa016367f1d99ea7e036d977bd891808ce056b531eb786dc4f253dc41cf70b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35fa016367f1d99ea7e036d977bd891808ce056b531eb786dc4f253dc41cf70b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35fa016367f1d99ea7e036d977bd891808ce056b531eb786dc4f253dc41cf70b", kill_on_drop: false }` [INFO] [stdout] 35fa016367f1d99ea7e036d977bd891808ce056b531eb786dc4f253dc41cf70b [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79af9a0363328cb5cbf3483ad4aa00dab51c067530b2e42d20f2c679b2ab8870 [INFO] running `Command { std: "docker" "start" "-a" "79af9a0363328cb5cbf3483ad4aa00dab51c067530b2e42d20f2c679b2ab8870", 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/wasm-client/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [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] | [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.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling serde v1.0.206 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling serde_json v1.0.124 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling cc v1.1.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.206 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Compiling brotli-decompressor v4.0.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling flate2 v1.0.31 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling brotli v6.0.0 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling impl-more v0.1.6 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Compiling actix-server v2.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling openssl-src v300.3.1+3.3.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling bstr v1.10.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling actix-http v3.9.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling v_htmlescape v0.15.8 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling unicode-properties v0.1.1 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling sqlx-rt v0.6.3 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Compiling ignore v0.4.22 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling webpki-roots v0.22.6 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling actix-web v4.9.0 [INFO] [stderr] Compiling deunicode v1.6.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling actix-tls v3.4.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling sqlx-core v0.6.3 [INFO] [stderr] Compiling js-sys v0.3.70 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling http-range v0.1.5 [INFO] [stderr] Compiling awc v3.5.1 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling actix-files v0.6.6 [INFO] [stderr] Compiling actix-cors v0.6.5 [INFO] [stderr] Compiling web-sys v0.3.70 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.43 [INFO] [stderr] Compiling webapp v0.1.0 (/opt/rustwide/workdir/webapp) [INFO] [stderr] Compiling sqlx-macros v0.6.3 [INFO] [stderr] Compiling sqlx v0.6.3 [INFO] [stderr] Compiling wasm-client v0.1.0 (/opt/rustwide/workdir/wasm-client) [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> wasm-client/src/models/course.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | #[wasm_bindgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage` [INFO] [stdout] --> wasm-client/src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[wasm_bindgen(start)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `wasm_bindgen` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `wasm_bindgen` may come from an old version of the `wasm_bindgen_macro` crate, try updating your dependency with `cargo update -p wasm_bindgen_macro` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::method`: Use `set_method()` instead. [INFO] [stdout] --> wasm-client/src/models/course.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | opts.method("GET"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::mode`: Use `set_mode()` instead. [INFO] [stdout] --> wasm-client/src/models/course.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | opts.mode(RequestMode::Cors); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> wasm-client/src/models/course.rs:48:37 [INFO] [stdout] | [INFO] [stdout] 48 | let courses: Vec = json.into_serde().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::method`: Use `set_method()` instead. [INFO] [stdout] --> wasm-client/src/models/course.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | opts.method("DELETE"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::mode`: Use `set_mode()` instead. [INFO] [stdout] --> wasm-client/src/models/course.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | opts.mode(RequestMode::Cors); //跨域 [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> wasm-client/src/models/course.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | let _course: Course = json.into_serde().unwrap(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::method`: Use `set_method()` instead. [INFO] [stdout] --> wasm-client/src/models/course.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | opts.method("POST"); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::mode`: Use `set_mode()` instead. [INFO] [stdout] --> wasm-client/src/models/course.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | opts.mode(RequestMode::Cors); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::RequestInit::body`: Use `set_body()` instead. [INFO] [stdout] --> wasm-client/src/models/course.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | opts.body(Some(&JsValue::from_str(str_json.as_str()))); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_panic_hook` is never used [INFO] [stdout] --> wasm-client/src/utils.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn set_panic_hook() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling webservice v0.1.0 (/opt/rustwide/workdir/webservice) [INFO] [stdout] error: error communicating with database: Connection refused (os error 111) [INFO] [stdout] --> webservice/src/bin/../dbaccess/course.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | let row = sqlx::query_as! [INFO] [stdout] | _______________^ [INFO] [stdout] 15 | | ( [INFO] [stdout] 16 | | Course, //映射的类型 [INFO] [stdout] 17 | | r#"INSERT INTO course (teacher_id, name, description, format, structure, duration, price, language, level) [INFO] [stdout] ... | [INFO] [stdout] 28 | | new_course.level, [INFO] [stdout] 29 | | ) [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/bin/../dbaccess/course.rs:39:29 [INFO] [stdout] | [INFO] [stdout] 39 | let rows: Vec = sqlx::query_as!( [INFO] [stdout] | _____________________________^ [INFO] [stdout] 40 | | Course, [INFO] [stdout] 41 | | r#"SELECT * FROM course WHERE teacher_id = $1"#, [INFO] [stdout] 42 | | teacher_id [INFO] [stdout] 43 | | ) [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/bin/../dbaccess/course.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | let row = sqlx::query_as! [INFO] [stdout] | _______________^ [INFO] [stdout] 56 | | ( [INFO] [stdout] 57 | | Course, [INFO] [stdout] 58 | | r#"SELECT * FROM course [INFO] [stdout] ... | [INFO] [stdout] 61 | | course_id [INFO] [stdout] 62 | | ) [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/bin/../dbaccess/course.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 79 | let course = sqlx::query!( [INFO] [stdout] | __________________^ [INFO] [stdout] 80 | | r#"DELETE FROM course where teacher_id = $1 and id = $2"#, [INFO] [stdout] 81 | | teacher_id, [INFO] [stdout] 82 | | id, [INFO] [stdout] 83 | | ) [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/bin/../dbaccess/course.rs:96:30 [INFO] [stdout] | [INFO] [stdout] 96 | let current_course_row = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 97 | | Course, [INFO] [stdout] 98 | | r#"SELECT * FROM course where teacher_id = $1 and id = $2"#, [INFO] [stdout] 99 | | teacher_id, [INFO] [stdout] 100 | | id, [INFO] [stdout] 101 | | ) [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/bin/../dbaccess/course.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | let course_row = sqlx::query_as!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 148 | | Course, [INFO] [stdout] 149 | | "UPDATE course SET name = $1, description = $2, format = $3, [INFO] [stdout] 150 | | structure = $4, duration = $5, price = $6, language = $7, [INFO] [stdout] ... | [INFO] [stdout] 163 | | id [INFO] [stdout] 164 | | ) [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/bin/../dbaccess/teacher.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | let rows = sqlx::query!("SELECT * 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/bin/../dbaccess/teacher.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | let rows = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 47 | | "SELECT * 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/bin/../dbaccess/teacher.rs:67:15 [INFO] [stdout] | [INFO] [stdout] 67 | let row = sqlx::query!("INSERT INTO teacher (name, picture_url, profile) VALUES ($1, $2, $3) RETURNING id, name, picture_url, ... [INFO] [stdout] | _______________^ [INFO] [stdout] 68 | | new_teacher.name, [INFO] [stdout] 69 | | new_teacher.picture_url, [INFO] [stdout] 70 | | new_teacher.profile) [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/bin/../dbaccess/teacher.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | let row = sqlx::query!("SELECT * 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/bin/../dbaccess/teacher.rs:114:22 [INFO] [stdout] | [INFO] [stdout] 114 | let update_row = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 115 | | "UPDATE teacher SET name = $1, picture_url = $2, profile = $3 WHERE id = $4 RETURNING id, name, picture_url, profile", [INFO] [stdout] 116 | | temp.name, [INFO] [stdout] 117 | | temp.picture_url, [INFO] [stdout] 118 | | temp.profile, [INFO] [stdout] 119 | | teacher_id [INFO] [stdout] 120 | | ) [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/bin/../dbaccess/teacher.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 137 | let row = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 138 | | "DELETE FROM teacher WHERE id = $1", [INFO] [stdout] 139 | | teacher_id [INFO] [stdout] 140 | | ) .execute(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` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Course` [INFO] [stdout] --> webservice/src/bin/../handlers/course.rs:2:29 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::models::course::{Course, CreateCourse,UpdateCourse}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `openssl::derive` [INFO] [stdout] --> webservice/src/bin/../state.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use openssl::derive; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> webservice/src/bin/../dbaccess/course.rs:96:30 [INFO] [stdout] | [INFO] [stdout] 96 | let current_course_row = sqlx::query_as!( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 97 | | Course, [INFO] [stdout] 98 | | r#"SELECT * FROM course where teacher_id = $1 and id = $2"#, [INFO] [stdout] 99 | | teacher_id, [INFO] [stdout] ... | [INFO] [stdout] 102 | | .fetch_one(pool) [INFO] [stdout] 103 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> webservice/src/bin/../dbaccess/teacher.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | let rows = sqlx::query!("SELECT * FROM teacher") [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | let teachers: Vec = rows [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `rows` an explicit type [INFO] [stdout] | [INFO] [stdout] 13 | let rows: /* Type */ = sqlx::query!("SELECT * FROM teacher") [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> webservice/src/bin/../dbaccess/teacher.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | let rows = sqlx::query!( [INFO] [stdout] | ________________^ [INFO] [stdout] 47 | | "SELECT * FROM teacher where id = $1", teacher_id) [INFO] [stdout] 48 | | .fetch_one(pool) [INFO] [stdout] 49 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> webservice/src/bin/../dbaccess/teacher.rs:89:15 [INFO] [stdout] | [INFO] [stdout] 89 | let row = sqlx::query!("SELECT * FROM teacher where id = $1", teacher_id) [INFO] [stdout] | _______________^ [INFO] [stdout] 90 | | .fetch_one(pool) [INFO] [stdout] 91 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> webservice/src/bin/../dbaccess/teacher.rs:114:22 [INFO] [stdout] | [INFO] [stdout] 114 | let update_row = sqlx::query!( [INFO] [stdout] | ______________________^ [INFO] [stdout] 115 | | "UPDATE teacher SET name = $1, picture_url = $2, profile = $3 WHERE id = $4 RETURNING id, name, picture_url, profile", [INFO] [stdout] 116 | | temp.name, [INFO] [stdout] 117 | | temp.picture_url, [INFO] [stdout] ... | [INFO] [stdout] 121 | | .fetch_one(pool) [INFO] [stdout] 122 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> webservice/src/bin/../dbaccess/teacher.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 137 | let row = sqlx::query!( [INFO] [stdout] | _______________^ [INFO] [stdout] 138 | | "DELETE FROM teacher WHERE id = $1", [INFO] [stdout] 139 | | teacher_id [INFO] [stdout] 140 | | ) .execute(pool) [INFO] [stdout] 141 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `webservice` (bin "teacher-service") due to 18 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "79af9a0363328cb5cbf3483ad4aa00dab51c067530b2e42d20f2c679b2ab8870", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79af9a0363328cb5cbf3483ad4aa00dab51c067530b2e42d20f2c679b2ab8870", kill_on_drop: false }` [INFO] [stdout] 79af9a0363328cb5cbf3483ad4aa00dab51c067530b2e42d20f2c679b2ab8870