[INFO] cloning repository https://github.com/wangjun861205/device-manage [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wangjun861205/device-manage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangjun861205%2Fdevice-manage", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangjun861205%2Fdevice-manage'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1f4fd6b42305049808175410b37cf73214cfdb78 [INFO] checking wangjun861205/device-manage against try#22dd2dd1dc07f63ae9394352d412f020d2985684 for pr-74627 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangjun861205%2Fdevice-manage" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wangjun861205/device-manage on toolchain 22dd2dd1dc07f63ae9394352d412f020d2985684 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wangjun861205/device-manage [INFO] finished tweaking git repo https://github.com/wangjun861205/device-manage [INFO] tweaked toml for git repo https://github.com/wangjun861205/device-manage written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/wangjun861205/device-manage already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 916e352756381f5156678ab64c4504e891339134575a6e3da4dbae42ba2796a6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "916e352756381f5156678ab64c4504e891339134575a6e3da4dbae42ba2796a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "916e352756381f5156678ab64c4504e891339134575a6e3da4dbae42ba2796a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "916e352756381f5156678ab64c4504e891339134575a6e3da4dbae42ba2796a6", kill_on_drop: false }` [INFO] [stdout] 916e352756381f5156678ab64c4504e891339134575a6e3da4dbae42ba2796a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+22dd2dd1dc07f63ae9394352d412f020d2985684" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7351c64c2524d4f0f6f45a61fc88ed418a3df7c6504e5eb7e474b5ad39850704 [INFO] running `Command { std: "docker" "start" "-a" "7351c64c2524d4f0f6f45a61fc88ed418a3df7c6504e5eb7e474b5ad39850704", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling syn v1.0.34 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling zeroize v1.1.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Checking instant v0.1.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling state v0.4.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Checking lock_api v0.4.1 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling mysqlclient-sys v0.2.4 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.5 [INFO] [stderr] Compiling rocket v0.4.5 [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking parking_lot_core v0.8.0 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking filetime v0.2.10 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking parking_lot v0.11.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Checking scheduled-thread-pool v0.2.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking r2d2 v0.8.9 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-cipher-trait v0.6.2 [INFO] [stderr] Checking universal-hash v0.3.0 [INFO] [stderr] Checking crypto-mac v0.7.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking aead v0.2.0 [INFO] [stderr] Checking aes-soft v0.3.3 [INFO] [stderr] Checking polyval v0.3.3 [INFO] [stderr] Checking hmac v0.7.1 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking hkdf v0.8.0 [INFO] [stderr] Checking ghash v0.2.3 [INFO] [stderr] Compiling aes v0.3.2 [INFO] [stderr] Compiling aes-gcm v0.5.0 [INFO] [stderr] Checking cookie v0.11.3 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Checking rocket_http v0.4.5 [INFO] [stderr] Checking serde v1.0.114 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking serde_json v1.0.56 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking diesel v1.4.5 [INFO] [stderr] Checking rocket_contrib v0.4.5 [INFO] [stderr] Checking device-manage v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `insert_device_info` in module `dao` [INFO] [stdout] --> src/handler.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | Ok(Json(dao::insert_device_info(&*conn, info.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bulk_insert_device_info` in module `dao` [INFO] [stdout] --> src/handler.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | Ok(Json(dao::bulk_insert_device_info(&*conn, &infos.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delete_device_info` in module `dao` [INFO] [stdout] --> src/handler.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | Ok(Json(dao::delete_device_info(&*conn, id)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `update_device_info` in module `dao` [INFO] [stdout] --> src/handler.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | Ok(Json(dao::update_device_info(&*conn, id, req.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_device_info` in module `dao` [INFO] [stdout] --> src/handler.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | Ok(Json(dao::get_device_info(&*conn, id)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `query_device_infos` in module `dao` [INFO] [stdout] --> src/handler.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | Ok(Json(dao::query_device_infos(&*conn, query.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `query_device_infos_by_subsystem_info` in module `dao` [INFO] [stdout] --> src/handler.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | Ok(Json(dao::query_device_infos_by_subsystem_info(&*conn, subinfoid, query.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_device` in module `dao` [INFO] [stdout] --> src/handler.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(Json(dao::insert_device(&*conn, dev.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bulk_insert_device` in module `dao` [INFO] [stdout] --> src/handler.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | Ok(Json(dao::bulk_insert_device(&*conn, &devs.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delete_device` in module `dao` [INFO] [stdout] --> src/handler.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | Ok(Json(dao::delete_device(&*conn, id)?)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `update_device` in module `dao` [INFO] [stdout] --> src/handler.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | Ok(Json(dao::update_device(&*conn, id, req.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_device` in module `dao` [INFO] [stdout] --> src/handler.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | Ok(Json(dao::get_device(&*conn, id)?)) [INFO] [stdout] | ^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `query_device` in module `dao` [INFO] [stdout] --> src/handler.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | Ok(Json(dao::query_device(&*conn, query.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_subsystem_info` in module `dao` [INFO] [stdout] --> src/handler.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | Ok(Json(dao::insert_subsystem_info(&*conn, info.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bulk_insert_subsystem_info` in module `dao` [INFO] [stdout] --> src/handler.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | Ok(Json(dao::bulk_insert_subsystem_info(&*conn, &infos.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delete_subsystem_info` in module `dao` [INFO] [stdout] --> src/handler.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | Ok(Json(dao::delete_subsystem_info(&*conn, id)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `update_subsystem_info` in module `dao` [INFO] [stdout] --> src/handler.rs:106:18 [INFO] [stdout] | [INFO] [stdout] 106 | Ok(Json(dao::update_subsystem_info(&*conn, id, upd.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_subsystem_info` in module `dao` [INFO] [stdout] --> src/handler.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | Ok(Json(dao::get_subsystem_info(&*conn, id)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `query_subsystem_infos` in module `dao` [INFO] [stdout] --> src/handler.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | Ok(Json(dao::query_subsystem_infos(&*conn, query.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `query_subsystem_infos_by_device_info` in module `dao` [INFO] [stdout] --> src/handler.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | Ok(Json(dao::query_subsystem_infos_by_device_info(&*conn, devinfoid, query.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `query_subsystem_infos_by_component_info` in module `dao` [INFO] [stdout] --> src/handler.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | Ok(Json(dao::query_subsystem_infos_by_component_info(&*conn, cominfoid, query.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_subsystem` in module `dao` [INFO] [stdout] --> src/handler.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | Ok(Json(dao::insert_subsystem(&*conn, sys.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bulk_insert_subsystem` in module `dao` [INFO] [stdout] --> src/handler.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | Ok(Json(dao::bulk_insert_subsystem(&*conn, &ss.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delete_subsystem` in module `dao` [INFO] [stdout] --> src/handler.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 144 | Ok(Json(dao::delete_subsystem(&*conn, id)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `udpate_subsystem` in module `dao` [INFO] [stdout] --> src/handler.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | Ok(Json(dao::udpate_subsystem(&*conn, id, upd.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_subsystem` in module `dao` [INFO] [stdout] --> src/handler.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 154 | Ok(Json(dao::get_subsystem(&*conn, id)?)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `query_subsystem` in module `dao` [INFO] [stdout] --> src/handler.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | Ok(Json(dao::query_subsystem(&*conn, query.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_component_info` in module `dao` [INFO] [stdout] --> src/handler.rs:168:18 [INFO] [stdout] | [INFO] [stdout] 168 | Ok(Json(dao::insert_component_info(&*conn, info.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bulk_insert_component_info` in module `dao` [INFO] [stdout] --> src/handler.rs:173:18 [INFO] [stdout] | [INFO] [stdout] 173 | Ok(Json(dao::bulk_insert_component_info(&*conn, &infos.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delete_component_info` in module `dao` [INFO] [stdout] --> src/handler.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 178 | Ok(Json(dao::delete_component_info(&*conn, id)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `update_component_info` in module `dao` [INFO] [stdout] --> src/handler.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | Ok(Json(dao::update_component_info(&*conn, id, upd.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_component_info` in module `dao` [INFO] [stdout] --> src/handler.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | Ok(Json(dao::get_component_info(&*conn, id)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `query_component_infos` in module `dao` [INFO] [stdout] --> src/handler.rs:193:18 [INFO] [stdout] | [INFO] [stdout] 193 | Ok(Json(dao::query_component_infos(&*conn, query.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `query_component_infos_by_subsystem_info` in module `dao` [INFO] [stdout] --> src/handler.rs:198:18 [INFO] [stdout] | [INFO] [stdout] 198 | Ok(Json(dao::query_component_infos_by_subsystem_info(&*conn, subinfoid, query.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_component` in module `dao` [INFO] [stdout] --> src/handler.rs:203:18 [INFO] [stdout] | [INFO] [stdout] 203 | Ok(Json(dao::insert_component(&*conn, com.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bulk_insert_component` in module `dao` [INFO] [stdout] --> src/handler.rs:208:18 [INFO] [stdout] | [INFO] [stdout] 208 | Ok(Json(dao::bulk_insert_component(&*conn, &coms.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delete_component` in module `dao` [INFO] [stdout] --> src/handler.rs:213:18 [INFO] [stdout] | [INFO] [stdout] 213 | Ok(Json(dao::delete_component(&*conn, id)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `update_component` in module `dao` [INFO] [stdout] --> src/handler.rs:218:18 [INFO] [stdout] | [INFO] [stdout] 218 | Ok(Json(dao::update_component(&*conn, id, upd.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_component` in module `dao` [INFO] [stdout] --> src/handler.rs:223:18 [INFO] [stdout] | [INFO] [stdout] 223 | Ok(Json(dao::get_component(&*conn, id)?)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `query_component` in module `dao` [INFO] [stdout] --> src/handler.rs:228:18 [INFO] [stdout] | [INFO] [stdout] 228 | Ok(Json(dao::query_component(&*conn, query.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_device_info` in this scope [INFO] [stdout] --> src/service.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | get_device_info(conn, devinfo_id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn create_device_info(conn: &MysqlConnection, info: DeviceInfoInsert) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------------------------ similarly named function `create_device_info` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 46 | create_device_info(conn, devinfo_id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use crate::handler::get_device_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_subsystem_info` in this scope [INFO] [stdout] --> src/service.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | get_subsystem_info(conn, subinfo_id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn create_subsystem_info(conn: &MysqlConnection, info: SubsystemInfoInsert) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------------------------------ similarly named function `create_subsystem_info` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 47 | create_subsystem_info(conn, subinfo_id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use crate::handler::get_subsystem_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_deviceinfo_subsysteminfo` in this scope [INFO] [stdout] --> src/service.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | Ok(insert_deviceinfo_subsysteminfo( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delete_deviceinfo_subsysteminfo` in this scope [INFO] [stdout] --> src/service.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | delete_deviceinfo_subsysteminfo(conn, devinfo_id, subinfo_id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bulk_delete_subsysteminfo_componentinfo` in this scope [INFO] [stdout] --> src/service.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | Ok(bulk_delete_subsysteminfo_componentinfo( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_subsystem_info` in this scope [INFO] [stdout] --> src/service.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | get_subsystem_info(conn, subinfo_id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn create_subsystem_info(conn: &MysqlConnection, info: SubsystemInfoInsert) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------------------------------ similarly named function `create_subsystem_info` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 75 | create_subsystem_info(conn, subinfo_id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use crate::handler::get_subsystem_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_component_info` in this scope [INFO] [stdout] --> src/service.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | get_component_info(conn, cominfo_id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn create_component_info(conn: &MysqlConnection, info: ComponentInfoInsert) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------------------------------ similarly named function `create_component_info` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 76 | create_component_info(conn, cominfo_id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use crate::handler::get_component_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_subsysteminfo_componentinfo` in this scope [INFO] [stdout] --> src/service.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | Ok(insert_subsysteminfo_componentinfo( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delete_subsysteminfo_componentinfo` in this scope [INFO] [stdout] --> src/service.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | Ok(delete_subsysteminfo_componentinfo( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_component_info` in this scope [INFO] [stdout] --> src/service.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn create_component_info(conn: &MysqlConnection, info: ComponentInfoInsert) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------------------------------ similarly named function `create_component_info` defined here [INFO] [stdout] 102 | Ok(insert_component_info(conn, info)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `create_component_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_subsystem_info` in this scope [INFO] [stdout] --> src/service.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn create_subsystem_info(conn: &MysqlConnection, info: SubsystemInfoInsert) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------------------------------ similarly named function `create_subsystem_info` defined here [INFO] [stdout] 106 | Ok(insert_subsystem_info(conn, info)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `create_subsystem_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_device_info` in this scope [INFO] [stdout] --> src/service.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn create_device_info(conn: &MysqlConnection, info: DeviceInfoInsert) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------------------------ similarly named function `create_device_info` defined here [INFO] [stdout] 110 | Ok(insert_device_info(conn, info)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `create_device_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_device_info` in module `dao` [INFO] [stdout] --> src/handler.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | Ok(Json(dao::insert_device_info(&*conn, info.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bulk_insert_device_info` in module `dao` [INFO] [stdout] --> src/handler.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | Ok(Json(dao::bulk_insert_device_info(&*conn, &infos.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delete_device_info` in module `dao` [INFO] [stdout] --> src/handler.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | Ok(Json(dao::delete_device_info(&*conn, id)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `update_device_info` in module `dao` [INFO] [stdout] --> src/handler.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | Ok(Json(dao::update_device_info(&*conn, id, req.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_device_info` in module `dao` [INFO] [stdout] --> src/handler.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | Ok(Json(dao::get_device_info(&*conn, id)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `query_device_infos` in module `dao` [INFO] [stdout] --> src/handler.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | Ok(Json(dao::query_device_infos(&*conn, query.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `query_device_infos_by_subsystem_info` in module `dao` [INFO] [stdout] --> src/handler.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | Ok(Json(dao::query_device_infos_by_subsystem_info(&*conn, subinfoid, query.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_device` in module `dao` [INFO] [stdout] --> src/handler.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(Json(dao::insert_device(&*conn, dev.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bulk_insert_device` in module `dao` [INFO] [stdout] --> src/handler.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | Ok(Json(dao::bulk_insert_device(&*conn, &devs.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delete_device` in module `dao` [INFO] [stdout] --> src/handler.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | Ok(Json(dao::delete_device(&*conn, id)?)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `update_device` in module `dao` [INFO] [stdout] --> src/handler.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | Ok(Json(dao::update_device(&*conn, id, req.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_device` in module `dao` [INFO] [stdout] --> src/handler.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | Ok(Json(dao::get_device(&*conn, id)?)) [INFO] [stdout] | ^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `query_device` in module `dao` [INFO] [stdout] --> src/handler.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | Ok(Json(dao::query_device(&*conn, query.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_subsystem_info` in module `dao` [INFO] [stdout] --> src/handler.rs:91:18 [INFO] [stdout] | [INFO] [stdout] 91 | Ok(Json(dao::insert_subsystem_info(&*conn, info.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bulk_insert_subsystem_info` in module `dao` [INFO] [stdout] --> src/handler.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | Ok(Json(dao::bulk_insert_subsystem_info(&*conn, &infos.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delete_subsystem_info` in module `dao` [INFO] [stdout] --> src/handler.rs:101:18 [INFO] [stdout] | [INFO] [stdout] 101 | Ok(Json(dao::delete_subsystem_info(&*conn, id)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `update_subsystem_info` in module `dao` [INFO] [stdout] --> src/handler.rs:106:18 [INFO] [stdout] | [INFO] [stdout] 106 | Ok(Json(dao::update_subsystem_info(&*conn, id, upd.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_subsystem_info` in module `dao` [INFO] [stdout] --> src/handler.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | Ok(Json(dao::get_subsystem_info(&*conn, id)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `query_subsystem_infos` in module `dao` [INFO] [stdout] --> src/handler.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 116 | Ok(Json(dao::query_subsystem_infos(&*conn, query.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `query_subsystem_infos_by_device_info` in module `dao` [INFO] [stdout] --> src/handler.rs:121:18 [INFO] [stdout] | [INFO] [stdout] 121 | Ok(Json(dao::query_subsystem_infos_by_device_info(&*conn, devinfoid, query.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `query_subsystem_infos_by_component_info` in module `dao` [INFO] [stdout] --> src/handler.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | Ok(Json(dao::query_subsystem_infos_by_component_info(&*conn, cominfoid, query.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_subsystem` in module `dao` [INFO] [stdout] --> src/handler.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | Ok(Json(dao::insert_subsystem(&*conn, sys.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bulk_insert_subsystem` in module `dao` [INFO] [stdout] --> src/handler.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | Ok(Json(dao::bulk_insert_subsystem(&*conn, &ss.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delete_subsystem` in module `dao` [INFO] [stdout] --> src/handler.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 144 | Ok(Json(dao::delete_subsystem(&*conn, id)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `udpate_subsystem` in module `dao` [INFO] [stdout] --> src/handler.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | Ok(Json(dao::udpate_subsystem(&*conn, id, upd.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_subsystem` in module `dao` [INFO] [stdout] --> src/handler.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 154 | Ok(Json(dao::get_subsystem(&*conn, id)?)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `query_subsystem` in module `dao` [INFO] [stdout] --> src/handler.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | Ok(Json(dao::query_subsystem(&*conn, query.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_component_info` in module `dao` [INFO] [stdout] --> src/handler.rs:168:18 [INFO] [stdout] | [INFO] [stdout] 168 | Ok(Json(dao::insert_component_info(&*conn, info.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bulk_insert_component_info` in module `dao` [INFO] [stdout] --> src/handler.rs:173:18 [INFO] [stdout] | [INFO] [stdout] 173 | Ok(Json(dao::bulk_insert_component_info(&*conn, &infos.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delete_component_info` in module `dao` [INFO] [stdout] --> src/handler.rs:178:18 [INFO] [stdout] | [INFO] [stdout] 178 | Ok(Json(dao::delete_component_info(&*conn, id)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `update_component_info` in module `dao` [INFO] [stdout] --> src/handler.rs:183:18 [INFO] [stdout] | [INFO] [stdout] 183 | Ok(Json(dao::update_component_info(&*conn, id, upd.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_component_info` in module `dao` [INFO] [stdout] --> src/handler.rs:188:18 [INFO] [stdout] | [INFO] [stdout] 188 | Ok(Json(dao::get_component_info(&*conn, id)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `query_component_infos` in module `dao` [INFO] [stdout] --> src/handler.rs:193:18 [INFO] [stdout] | [INFO] [stdout] 193 | Ok(Json(dao::query_component_infos(&*conn, query.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `query_component_infos_by_subsystem_info` in module `dao` [INFO] [stdout] --> src/handler.rs:198:18 [INFO] [stdout] | [INFO] [stdout] 198 | Ok(Json(dao::query_component_infos_by_subsystem_info(&*conn, subinfoid, query.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_component` in module `dao` [INFO] [stdout] --> src/handler.rs:203:18 [INFO] [stdout] | [INFO] [stdout] 203 | Ok(Json(dao::insert_component(&*conn, com.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bulk_insert_component` in module `dao` [INFO] [stdout] --> src/handler.rs:208:18 [INFO] [stdout] | [INFO] [stdout] 208 | Ok(Json(dao::bulk_insert_component(&*conn, &coms.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delete_component` in module `dao` [INFO] [stdout] --> src/handler.rs:213:18 [INFO] [stdout] | [INFO] [stdout] 213 | Ok(Json(dao::delete_component(&*conn, id)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `update_component` in module `dao` [INFO] [stdout] --> src/handler.rs:218:18 [INFO] [stdout] | [INFO] [stdout] 218 | Ok(Json(dao::update_component(&*conn, id, upd.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_component` in module `dao` [INFO] [stdout] --> src/handler.rs:223:18 [INFO] [stdout] | [INFO] [stdout] 223 | Ok(Json(dao::get_component(&*conn, id)?)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `query_component` in module `dao` [INFO] [stdout] --> src/handler.rs:228:18 [INFO] [stdout] | [INFO] [stdout] 228 | Ok(Json(dao::query_component(&*conn, query.0)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `dao` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_device_info` in this scope [INFO] [stdout] --> src/service.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | get_device_info(conn, devinfo_id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn create_device_info(conn: &MysqlConnection, info: DeviceInfoInsert) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------------------------ similarly named function `create_device_info` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 46 | create_device_info(conn, devinfo_id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use crate::handler::get_device_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_subsystem_info` in this scope [INFO] [stdout] --> src/service.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | get_subsystem_info(conn, subinfo_id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn create_subsystem_info(conn: &MysqlConnection, info: SubsystemInfoInsert) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------------------------------ similarly named function `create_subsystem_info` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 47 | create_subsystem_info(conn, subinfo_id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use crate::handler::get_subsystem_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_deviceinfo_subsysteminfo` in this scope [INFO] [stdout] --> src/service.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | Ok(insert_deviceinfo_subsysteminfo( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delete_deviceinfo_subsysteminfo` in this scope [INFO] [stdout] --> src/service.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | delete_deviceinfo_subsysteminfo(conn, devinfo_id, subinfo_id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bulk_delete_subsysteminfo_componentinfo` in this scope [INFO] [stdout] --> src/service.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | Ok(bulk_delete_subsysteminfo_componentinfo( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_subsystem_info` in this scope [INFO] [stdout] --> src/service.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | get_subsystem_info(conn, subinfo_id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn create_subsystem_info(conn: &MysqlConnection, info: SubsystemInfoInsert) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------------------------------ similarly named function `create_subsystem_info` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 75 | create_subsystem_info(conn, subinfo_id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use crate::handler::get_subsystem_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_component_info` in this scope [INFO] [stdout] --> src/service.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | get_component_info(conn, cominfo_id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn create_component_info(conn: &MysqlConnection, info: ComponentInfoInsert) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------------------------------ similarly named function `create_component_info` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 76 | create_component_info(conn, cominfo_id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use crate::handler::get_component_info; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_subsysteminfo_componentinfo` in this scope [INFO] [stdout] --> src/service.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | Ok(insert_subsysteminfo_componentinfo( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `delete_subsysteminfo_componentinfo` in this scope [INFO] [stdout] --> src/service.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | Ok(delete_subsysteminfo_componentinfo( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_component_info` in this scope [INFO] [stdout] --> src/service.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn create_component_info(conn: &MysqlConnection, info: ComponentInfoInsert) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------------------------------ similarly named function `create_component_info` defined here [INFO] [stdout] 102 | Ok(insert_component_info(conn, info)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `create_component_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_subsystem_info` in this scope [INFO] [stdout] --> src/service.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn create_subsystem_info(conn: &MysqlConnection, info: SubsystemInfoInsert) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------------------------------ similarly named function `create_subsystem_info` defined here [INFO] [stdout] 106 | Ok(insert_subsystem_info(conn, info)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `create_subsystem_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `insert_device_info` in this scope [INFO] [stdout] --> src/service.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub fn create_device_info(conn: &MysqlConnection, info: DeviceInfoInsert) -> Result { [INFO] [stdout] | ------------------------------------------------------------------------------------------ similarly named function `create_device_info` defined here [INFO] [stdout] 110 | Ok(insert_device_info(conn, info)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `create_device_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::schema::*` [INFO] [stdout] --> src/dao.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::schema::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::mysql::MysqlConnection` [INFO] [stdout] --> src/dao.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use diesel::mysql::MysqlConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::result::QueryResult` [INFO] [stdout] --> src/dao.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use diesel::result::QueryResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::Connection` [INFO] [stdout] --> src/dao.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use diesel::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BelongingToDsl`, `BoolExpressionMethods`, `ExpressionMethods`, `GroupedBy`, `QueryDsl`, `RunQueryDsl`, `TextExpressionMethods` [INFO] [stdout] --> src/dao.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | BelongingToDsl, BoolExpressionMethods, ExpressionMethods, GroupedBy, QueryDsl, RunQueryDsl, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 8 | TextExpressionMethods, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::dao::*` [INFO] [stdout] --> src/service.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::dao::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PooledConnection` [INFO] [stdout] --> src/storer/mysqlstorer.rs:8:45 [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::r2d2::{ConnectionManager, Pool, PooledConnection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::schema::*` [INFO] [stdout] --> src/dao.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::schema::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::mysql::MysqlConnection` [INFO] [stdout] --> src/dao.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use diesel::mysql::MysqlConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::result::QueryResult` [INFO] [stdout] --> src/dao.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use diesel::result::QueryResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::Connection` [INFO] [stdout] --> src/dao.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use diesel::Connection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BelongingToDsl`, `BoolExpressionMethods`, `ExpressionMethods`, `GroupedBy`, `QueryDsl`, `RunQueryDsl`, `TextExpressionMethods` [INFO] [stdout] --> src/dao.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | BelongingToDsl, BoolExpressionMethods, ExpressionMethods, GroupedBy, QueryDsl, RunQueryDsl, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 8 | TextExpressionMethods, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::dao::*` [INFO] [stdout] --> src/service.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::dao::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PooledConnection` [INFO] [stdout] --> src/storer/mysqlstorer.rs:8:45 [INFO] [stdout] | [INFO] [stdout] 8 | use diesel::r2d2::{ConnectionManager, Pool, PooledConnection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 52 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `device-manage`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 52 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7351c64c2524d4f0f6f45a61fc88ed418a3df7c6504e5eb7e474b5ad39850704", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7351c64c2524d4f0f6f45a61fc88ed418a3df7c6504e5eb7e474b5ad39850704", kill_on_drop: false }` [INFO] [stdout] 7351c64c2524d4f0f6f45a61fc88ed418a3df7c6504e5eb7e474b5ad39850704