[INFO] cloning repository https://github.com/SuperWeiMk2/wiseye_agent [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SuperWeiMk2/wiseye_agent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuperWeiMk2%2Fwiseye_agent", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuperWeiMk2%2Fwiseye_agent'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa0496f3d5347ab83b8ad28c7373dc32ca734765 [INFO] checking SuperWeiMk2/wiseye_agent against try#8c500c7cefd54fd11d57295f3771d576be9ee415 for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuperWeiMk2%2Fwiseye_agent" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SuperWeiMk2/wiseye_agent [INFO] finished tweaking git repo https://github.com/SuperWeiMk2/wiseye_agent [INFO] tweaked toml for git repo https://github.com/SuperWeiMk2/wiseye_agent written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SuperWeiMk2/wiseye_agent on toolchain 8c500c7cefd54fd11d57295f3771d576be9ee415 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SuperWeiMk2/wiseye_agent 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" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking SuperWeiMk2/wiseye_agent against try#8c500c7cefd54fd11d57295f3771d576be9ee415 for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuperWeiMk2%2Fwiseye_agent" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SuperWeiMk2/wiseye_agent [INFO] finished tweaking git repo https://github.com/SuperWeiMk2/wiseye_agent [INFO] tweaked toml for git repo https://github.com/SuperWeiMk2/wiseye_agent written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SuperWeiMk2/wiseye_agent on toolchain 8c500c7cefd54fd11d57295f3771d576be9ee415 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SuperWeiMk2/wiseye_agent 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" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking SuperWeiMk2/wiseye_agent against try#8c500c7cefd54fd11d57295f3771d576be9ee415 for pr-145113 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSuperWeiMk2%2Fwiseye_agent" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SuperWeiMk2/wiseye_agent [INFO] finished tweaking git repo https://github.com/SuperWeiMk2/wiseye_agent [INFO] tweaked toml for git repo https://github.com/SuperWeiMk2/wiseye_agent written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SuperWeiMk2/wiseye_agent on toolchain 8c500c7cefd54fd11d57295f3771d576be9ee415 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SuperWeiMk2/wiseye_agent 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" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b187bda97c98d5ea38272efb8265c7504339e21908e4a773edac791951ae905a [INFO] running `Command { std: "docker" "start" "-a" "b187bda97c98d5ea38272efb8265c7504339e21908e4a773edac791951ae905a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b187bda97c98d5ea38272efb8265c7504339e21908e4a773edac791951ae905a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b187bda97c98d5ea38272efb8265c7504339e21908e4a773edac791951ae905a", kill_on_drop: false }` [INFO] [stdout] b187bda97c98d5ea38272efb8265c7504339e21908e4a773edac791951ae905a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+8c500c7cefd54fd11d57295f3771d576be9ee415" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2471f67e487753cb8412f854f12f61fa77b27b1d36256b0cc0c30ae3e8984fd [INFO] running `Command { std: "docker" "start" "-a" "f2471f67e487753cb8412f854f12f61fa77b27b1d36256b0cc0c30ae3e8984fd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling num-iter v0.1.44 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling rsa v0.9.6 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking winnow v0.6.5 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking sync_wrapper v1.0.0 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking toml_edit v0.22.9 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking sqlformat v0.2.3 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v1.2.0 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.2 [INFO] [stderr] Checking sqlx-mysql v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking wiseye_agent v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/api/node_exporter/linux_process_api.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/api/node_exporter/linux_process_api.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mysql_exporter/query_indicators.rs:66:56 [INFO] [stdout] | [INFO] [stdout] 66 | .ok_or_else(|| MySqlDatabaseError::message(format!("{:?} variable not found", variable_name)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&MySqlDatabaseError`, found `String` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/mysql_exporter/query_indicators.rs:66:56 [INFO] [stdout] | [INFO] [stdout] 66 | .ok_or_else(|| MySqlDatabaseError::message(format!("{:?} variable not found", variable_name)))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&MySqlDatabaseError`, found `String` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::io::Error` [INFO] [stdout] --> src/mysql_exporter/query_indicators.rs:66:107 [INFO] [stdout] | [INFO] [stdout] 66 | .ok_or_else(|| MySqlDatabaseError::message(format!("{:?} variable not found", variable_name)))?; [INFO] [stdout] | ---------------------------------------------------------------------------------------------^ the trait `From<&str>` is not implemented for `std::io::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, &str>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `std::io::Error` implements `From>` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From>` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] and 6 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `std::io::Error` [INFO] [stdout] --> src/mysql_exporter/query_indicators.rs:66:107 [INFO] [stdout] | [INFO] [stdout] 66 | .ok_or_else(|| MySqlDatabaseError::message(format!("{:?} variable not found", variable_name)))?; [INFO] [stdout] | ---------------------------------------------------------------------------------------------^ the trait `From<&str>` is not implemented for `std::io::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, &str>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `std::io::Error` implements `From>` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From>` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] `std::io::Error` implements `From` [INFO] [stdout] and 6 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `axum::Error` [INFO] [stdout] --> src/api/node_exporter/linux_process_api.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | let processes = ProcessStatus::processes()?; [INFO] [stdout] | --------------------------^ the trait `From` is not implemented for `axum::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, std::io::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `axum::Error` [INFO] [stdout] --> src/api/node_exporter/linux_process_api.rs:13:47 [INFO] [stdout] | [INFO] [stdout] 13 | let processes = ProcessStatus::processes()?; [INFO] [stdout] | --------------------------^ the trait `From` is not implemented for `axum::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, std::io::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn() -> impl Future {processes_handler}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/api/node_exporter/linux_process_api.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | .route("/proc-status", get(processes_handler)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn() -> impl Future> {processes_handler}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `axum::routing::get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:385:1 [INFO] [stdout] | [INFO] [stdout] 385 | top_level_handler_fn!(get, GET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `get` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wiseye_agent-578257c2c75f6709.long-type-13183443042924793919.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn() -> impl Future {processes_handler}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/api/node_exporter/linux_process_api.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | .route("/proc-status", get(processes_handler)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn() -> impl Future> {processes_handler}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `axum::routing::get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:385:1 [INFO] [stdout] | [INFO] [stdout] 385 | top_level_handler_fn!(get, GET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `get` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wiseye_agent-edfaebb8ea1e2748.long-type-17867723463294736266.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/api/linux_file_action_api.rs:46:50 [INFO] [stdout] | [INFO] [stdout] 41 | async fn get_file_uid_handler(request: Json) -> Json> { [INFO] [stdout] | ____________________________________________________________________________________- [INFO] [stdout] 42 | | let path = &request.path; [INFO] [stdout] 43 | | [INFO] [stdout] 44 | | match init_file_info(path).await { [INFO] [stdout] 45 | | Ok(metadata) => { [INFO] [stdout] 46 | | let (user_id, _) = metadata.user_id()?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `axum::Json>` [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/api/linux_file_action_api.rs:46:50 [INFO] [stdout] | [INFO] [stdout] 41 | async fn get_file_uid_handler(request: Json) -> Json> { [INFO] [stdout] | ____________________________________________________________________________________- [INFO] [stdout] 42 | | let path = &request.path; [INFO] [stdout] 43 | | [INFO] [stdout] 44 | | match init_file_info(path).await { [INFO] [stdout] 45 | | Ok(metadata) => { [INFO] [stdout] 46 | | let (user_id, _) = metadata.user_id()?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `axum::Json>` [INFO] [stdout] ... | [INFO] [stdout] 53 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/api/linux_file_action_api.rs:60:46 [INFO] [stdout] | [INFO] [stdout] 55 | async fn get_file_gid_handler(request: Json) -> Json> { [INFO] [stdout] | ____________________________________________________________________________________- [INFO] [stdout] 56 | | let path = &request.path; [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | match init_file_info(path).await { [INFO] [stdout] 59 | | Ok(metadata) => { [INFO] [stdout] 60 | | let (_, gid) = metadata.user_id()?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `axum::Json>` [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/api/linux_file_action_api.rs:60:46 [INFO] [stdout] | [INFO] [stdout] 55 | async fn get_file_gid_handler(request: Json) -> Json> { [INFO] [stdout] | ____________________________________________________________________________________- [INFO] [stdout] 56 | | let path = &request.path; [INFO] [stdout] 57 | | [INFO] [stdout] 58 | | match init_file_info(path).await { [INFO] [stdout] 59 | | Ok(metadata) => { [INFO] [stdout] 60 | | let (_, gid) = metadata.user_id()?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `axum::Json>` [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/api/linux_file_action_api.rs:74:48 [INFO] [stdout] | [INFO] [stdout] 69 | async fn get_file_id_handler(request: Json) -> Json>{ [INFO] [stdout] | _________________________________________________________________________________________- [INFO] [stdout] 70 | | let path = &request.path; [INFO] [stdout] 71 | | [INFO] [stdout] 72 | | match init_file_info(path).await { [INFO] [stdout] 73 | | Ok(metadata) => { [INFO] [stdout] 74 | | let (uid, gid) = metadata.user_id()?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `axum::Json>` [INFO] [stdout] ... | [INFO] [stdout] 81 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in an async function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/api/linux_file_action_api.rs:74:48 [INFO] [stdout] | [INFO] [stdout] 69 | async fn get_file_id_handler(request: Json) -> Json>{ [INFO] [stdout] | _________________________________________________________________________________________- [INFO] [stdout] 70 | | let path = &request.path; [INFO] [stdout] 71 | | [INFO] [stdout] 72 | | match init_file_info(path).await { [INFO] [stdout] 73 | | Ok(metadata) => { [INFO] [stdout] 74 | | let (uid, gid) = metadata.user_id()?; [INFO] [stdout] | | ^ cannot use the `?` operator in an async function that returns `axum::Json>` [INFO] [stdout] ... | [INFO] [stdout] 81 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `exists` found for type parameter `P` in the current scope [INFO] [stdout] --> src/hand/node/file_operation.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn mkdir

(path: P) -> io::Result<()> [INFO] [stdout] | - method `exists` not found for this type parameter [INFO] [stdout] ... [INFO] [stdout] 70 | if !path.exists() { [INFO] [stdout] | ^^^^^^ method not found in `P` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `exists` found for type parameter `P` in the current scope [INFO] [stdout] --> src/hand/node/file_operation.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn mkdir

(path: P) -> io::Result<()> [INFO] [stdout] | - method `exists` not found for this type parameter [INFO] [stdout] ... [INFO] [stdout] 70 | if !path.exists() { [INFO] [stdout] | ^^^^^^ method not found in `P` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn() -> ... {memory_info_and_used_handler}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/api/node_exporter/linux_memory_api.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | .route("/memoryInfoAndUsed", get(memory_info_and_used_handler)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn() -> impl Future {memory_info_and_used_handler}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `axum::routing::get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:385:1 [INFO] [stdout] | [INFO] [stdout] 385 | top_level_handler_fn!(get, GET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `get` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wiseye_agent-edfaebb8ea1e2748.long-type-18016026322087587.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn() -> ... {memory_info_and_used_handler}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/api/node_exporter/linux_memory_api.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | .route("/memoryInfoAndUsed", get(memory_info_and_used_handler)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn() -> impl Future {memory_info_and_used_handler}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `axum::routing::get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:385:1 [INFO] [stdout] | [INFO] [stdout] 385 | top_level_handler_fn!(get, GET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `get` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wiseye_agent-578257c2c75f6709.long-type-11165348865771535990.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Json<...>) -> ... {get_create_time_handler}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/api/linux_file_action_api.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | .route("/createTime", get(get_create_time_handler)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Json) -> ... {get_create_time_handler}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `axum::routing::get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:385:1 [INFO] [stdout] | [INFO] [stdout] 385 | top_level_handler_fn!(get, GET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `get` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wiseye_agent-edfaebb8ea1e2748.long-type-17763065129957016950.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Json<...>) -> ... {get_create_time_handler}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/api/linux_file_action_api.rs:19:35 [INFO] [stdout] | [INFO] [stdout] 19 | .route("/createTime", get(get_create_time_handler)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Json) -> ... {get_create_time_handler}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `axum::routing::get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:385:1 [INFO] [stdout] | [INFO] [stdout] 385 | top_level_handler_fn!(get, GET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `get` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wiseye_agent-578257c2c75f6709.long-type-6256827318016264380.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Json<...>) -> ... {get_update_time_handler}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/api/linux_file_action_api.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | .route("/updateTime", get(get_update_time_handler)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Json) -> ... {get_update_time_handler}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `axum::routing::get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:385:1 [INFO] [stdout] | [INFO] [stdout] 385 | top_level_handler_fn!(get, GET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `get` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wiseye_agent-edfaebb8ea1e2748.long-type-13105854226657071009.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Json<...>) -> ... {get_update_time_handler}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/api/linux_file_action_api.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | .route("/updateTime", get(get_update_time_handler)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Json) -> ... {get_update_time_handler}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `axum::routing::get` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:385:1 [INFO] [stdout] | [INFO] [stdout] 385 | top_level_handler_fn!(get, GET); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `get` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wiseye_agent-578257c2c75f6709.long-type-15920599242583952908.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Json<...>) -> ... {get_file_contents_handler}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/api/linux_file_action_api.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | .route("/contents", post(get_file_contents_handler)) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Json) -> ... {get_file_contents_handler}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `post` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:389:1 [INFO] [stdout] | [INFO] [stdout] 389 | top_level_handler_fn!(post, POST); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `post` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wiseye_agent-edfaebb8ea1e2748.long-type-9619377691385112710.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Json<...>) -> ... {get_file_contents_handler}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/api/linux_file_action_api.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | .route("/contents", post(get_file_contents_handler)) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Json) -> ... {get_file_contents_handler}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `post` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:389:1 [INFO] [stdout] | [INFO] [stdout] 389 | top_level_handler_fn!(post, POST); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `post` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wiseye_agent-578257c2c75f6709.long-type-15247448788880370064.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(...) -> ... {get_file_contents_by_line_handler}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/api/linux_file_action_api.rs:22:40 [INFO] [stdout] | [INFO] [stdout] 22 | .route("/contentsButBig", post(get_file_contents_by_line_handler)) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Json) -> ... {get_file_contents_by_line_handler}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `post` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:389:1 [INFO] [stdout] | [INFO] [stdout] 389 | top_level_handler_fn!(post, POST); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `post` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wiseye_agent-edfaebb8ea1e2748.long-type-17946148203314416807.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(...) -> ... {get_file_contents_by_line_handler}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/api/linux_file_action_api.rs:22:40 [INFO] [stdout] | [INFO] [stdout] 22 | .route("/contentsButBig", post(get_file_contents_by_line_handler)) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Json) -> ... {get_file_contents_by_line_handler}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `post` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:389:1 [INFO] [stdout] | [INFO] [stdout] 389 | top_level_handler_fn!(post, POST); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `post` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wiseye_agent-578257c2c75f6709.long-type-1775305642050391547.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Json) -> ... {create_handler}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/api/linux_file_action_api.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | .route("/create", put(create_handler)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Json) -> Result<..., ...> {create_handler}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `put` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:390:1 [INFO] [stdout] | [INFO] [stdout] 390 | top_level_handler_fn!(put, PUT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `put` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wiseye_agent-edfaebb8ea1e2748.long-type-4596302834542269939.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Json) -> ... {create_handler}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/api/linux_file_action_api.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | .route("/create", put(create_handler)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Json) -> Result<..., ...> {create_handler}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `put` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:390:1 [INFO] [stdout] | [INFO] [stdout] 390 | top_level_handler_fn!(put, PUT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `put` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wiseye_agent-578257c2c75f6709.long-type-7211064987296458634.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Json) -> ... {create_dir_handler}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/api/linux_file_action_api.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | .route("/createDir", put(create_dir_handler)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Json) -> Result<..., ...> {create_dir_handler}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `put` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:390:1 [INFO] [stdout] | [INFO] [stdout] 390 | top_level_handler_fn!(put, PUT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `put` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wiseye_agent-edfaebb8ea1e2748.long-type-724219177909338173.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Json) -> ... {delete_handler}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/api/linux_file_action_api.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | .route("/delete", put(delete_handler)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Json) -> Result<..., ...> {delete_handler}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `put` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:390:1 [INFO] [stdout] | [INFO] [stdout] 390 | top_level_handler_fn!(put, PUT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `put` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wiseye_agent-edfaebb8ea1e2748.long-type-7539474362070120015.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Json) -> ... {create_dir_handler}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/api/linux_file_action_api.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | .route("/createDir", put(create_dir_handler)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Json) -> Result<..., ...> {create_dir_handler}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `put` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:390:1 [INFO] [stdout] | [INFO] [stdout] 390 | top_level_handler_fn!(put, PUT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `put` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wiseye_agent-578257c2c75f6709.long-type-16557524322000780863.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Json) -> ... {copy_file_handler}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/api/linux_file_action_api.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | .route("/copy-file", put(copy_file_handler)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Json) -> Result<..., ...> {copy_file_handler}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `put` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:390:1 [INFO] [stdout] | [INFO] [stdout] 390 | top_level_handler_fn!(put, PUT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `put` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wiseye_agent-edfaebb8ea1e2748.long-type-12139440325168711192.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Json) -> ... {delete_handler}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/api/linux_file_action_api.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | .route("/delete", put(delete_handler)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Json) -> Result<..., ...> {delete_handler}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `put` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:390:1 [INFO] [stdout] | [INFO] [stdout] 390 | top_level_handler_fn!(put, PUT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `put` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wiseye_agent-578257c2c75f6709.long-type-14763468314882598495.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Json) -> ... {move_file_handler}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/api/linux_file_action_api.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | .route("/move-file", put(move_file_handler)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Json) -> Result<..., ...> {move_file_handler}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `put` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:390:1 [INFO] [stdout] | [INFO] [stdout] 390 | top_level_handler_fn!(put, PUT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `put` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wiseye_agent-edfaebb8ea1e2748.long-type-14438186404605008353.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Json) -> ... {mkdir_handler}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/api/linux_file_action_api.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | .route("/mkdir", put(mkdir_handler)) [INFO] [stdout] | --- ^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Json) -> Result<..., ...> {mkdir_handler}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `put` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:390:1 [INFO] [stdout] | [INFO] [stdout] 390 | top_level_handler_fn!(put, PUT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `put` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wiseye_agent-edfaebb8ea1e2748.long-type-7527833052868545344.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Json) -> ... {copy_file_handler}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/api/linux_file_action_api.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | .route("/copy-file", put(copy_file_handler)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Json) -> Result<..., ...> {copy_file_handler}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `put` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:390:1 [INFO] [stdout] | [INFO] [stdout] 390 | top_level_handler_fn!(put, PUT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `put` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wiseye_agent-578257c2c75f6709.long-type-2232508661590557406.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Json) -> ... {move_file_handler}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/api/linux_file_action_api.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | .route("/move-file", put(move_file_handler)) [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Json) -> Result<..., ...> {move_file_handler}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `put` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:390:1 [INFO] [stdout] | [INFO] [stdout] 390 | top_level_handler_fn!(put, PUT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `put` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wiseye_agent-578257c2c75f6709.long-type-11323920117831233747.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn(Json) -> ... {mkdir_handler}: Handler<_, _>` is not satisfied [INFO] [stdout] --> src/api/linux_file_action_api.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | .route("/mkdir", put(mkdir_handler)) [INFO] [stdout] | --- ^^^^^^^^^^^^^ the trait `Handler<_, _>` is not implemented for fn item `fn(Json) -> Result<..., ...> {mkdir_handler}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: Consider using `#[axum::debug_handler]` to improve the error message [INFO] [stdout] = help: the following other types implement trait `Handler`: [INFO] [stdout] `Layered` implements `Handler` [INFO] [stdout] `MethodRouter` implements `Handler<(), S>` [INFO] [stdout] note: required by a bound in `put` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/method_routing.rs:390:1 [INFO] [stdout] | [INFO] [stdout] 390 | top_level_handler_fn!(put, PUT); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^---^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound in this function [INFO] [stdout] | required by this bound in `put` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/wiseye_agent-578257c2c75f6709.long-type-9919282792233346928.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the macro `top_level_handler_fn` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/router/routers.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | .nest("proc", process_api()) [INFO] [stdout] | ---- ^^^^^^^^^^^^^ expected `Router`, found future [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/mod.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn nest(self, path: &str, router: Router) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/router/routers.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | .nest("proc", process_api()) [INFO] [stdout] | ---- ^^^^^^^^^^^^^ expected `Router`, found future [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/axum-0.7.5/src/routing/mod.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn nest(self, path: &str, router: Router) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `path` [INFO] [stdout] --> src/node_exporter/file_utils/fileinfo.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn from

(path: P) -> io::Result [INFO] [stdout] | ---- move occurs because `path` has type `P`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 26 | let metadata = fs::metadata(path)?; [INFO] [stdout] | ---- value moved here [INFO] [stdout] 27 | Ok(Self { [INFO] [stdout] 28 | path: path.as_ref().to_path_buf(), [INFO] [stdout] | ^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] help: consider borrowing `path` [INFO] [stdout] | [INFO] [stdout] 26 | let metadata = fs::metadata(&path)?; [INFO] [stdout] | + [INFO] [stdout] help: consider further restricting type parameter `P` with trait `Copy` [INFO] [stdout] | [INFO] [stdout] 24 | P: AsRef + Copy [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/node_exporter/file_utils/fileinfo.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | let uid = unsafe { s.st_uid }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/node_exporter/file_utils/fileinfo.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | let gid = unsafe { s.st_gid }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `path` [INFO] [stdout] --> src/node_exporter/file_utils/fileinfo.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn from

(path: P) -> io::Result [INFO] [stdout] | ---- move occurs because `path` has type `P`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 26 | let metadata = fs::metadata(path)?; [INFO] [stdout] | ---- value moved here [INFO] [stdout] 27 | Ok(Self { [INFO] [stdout] 28 | path: path.as_ref().to_path_buf(), [INFO] [stdout] | ^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] help: consider borrowing `path` [INFO] [stdout] | [INFO] [stdout] 26 | let metadata = fs::metadata(&path)?; [INFO] [stdout] | + [INFO] [stdout] help: consider further restricting type parameter `P` with trait `Copy` [INFO] [stdout] | [INFO] [stdout] 24 | P: AsRef + Copy [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/node_exporter/file_utils/fileinfo.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | let uid = unsafe { s.st_uid }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/node_exporter/file_utils/fileinfo.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | let gid = unsafe { s.st_gid }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> src/node_exporter/proc_utils/process.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn get_process_name(pid: &u32) -> String{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pid` [INFO] [stdout] --> src/node_exporter/proc_utils/process.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn get_process_name(pid: &u32) -> String{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mysql_exporter/check_and_link.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut output = cmd.output()?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mysql_exporter/check_and_link.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut output = cmd.output()?; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/hand/node/file_operation.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | if let Ok(file) = File::open(path_ref) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/hand/node/file_operation.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | if let Ok(file) = File::open(path_ref) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tar_path` [INFO] [stdout] --> src/hand/node/file_operation.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | fn create_tar(tar_path: &str, file_path: &str) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tar_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tar_path` [INFO] [stdout] --> src/hand/node/file_operation.rs:76:15 [INFO] [stdout] | [INFO] [stdout] 76 | fn create_tar(tar_path: &str, file_path: &str) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tar_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/hand/node/file_operation.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | fn create_tar(tar_path: &str, file_path: &str) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_path` [INFO] [stdout] --> src/hand/node/file_operation.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | fn create_tar(tar_path: &str, file_path: &str) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tar_path` [INFO] [stdout] --> src/hand/node/file_operation.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | fn extract_tar(tar_path: &str, dest_path: &str) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tar_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tar_path` [INFO] [stdout] --> src/hand/node/file_operation.rs:80:16 [INFO] [stdout] | [INFO] [stdout] 80 | fn extract_tar(tar_path: &str, dest_path: &str) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tar_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_path` [INFO] [stdout] --> src/hand/node/file_operation.rs:80:32 [INFO] [stdout] | [INFO] [stdout] 80 | fn extract_tar(tar_path: &str, dest_path: &str) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_path` [INFO] [stdout] --> src/hand/node/file_operation.rs:80:32 [INFO] [stdout] | [INFO] [stdout] 80 | fn extract_tar(tar_path: &str, dest_path: &str) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_path` [INFO] [stdout] --> src/hand/node/file_operation.rs:84:15 [INFO] [stdout] | [INFO] [stdout] 84 | fn create_zip(src_path: &Path, dest_path: &Path) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_path` [INFO] [stdout] --> src/hand/node/file_operation.rs:84:15 [INFO] [stdout] | [INFO] [stdout] 84 | fn create_zip(src_path: &Path, dest_path: &Path) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_path` [INFO] [stdout] --> src/hand/node/file_operation.rs:84:32 [INFO] [stdout] | [INFO] [stdout] 84 | fn create_zip(src_path: &Path, dest_path: &Path) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_path` [INFO] [stdout] --> src/hand/node/file_operation.rs:84:32 [INFO] [stdout] | [INFO] [stdout] 84 | fn create_zip(src_path: &Path, dest_path: &Path) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_path` [INFO] [stdout] --> src/hand/node/file_operation.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | fn extract_zip(src_path: &Path, dest_path: &Path){ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_path` [INFO] [stdout] --> src/hand/node/file_operation.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | fn extract_zip(src_path: &Path, dest_path: &Path){ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_path` [INFO] [stdout] --> src/hand/node/file_operation.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 88 | fn extract_zip(src_path: &Path, dest_path: &Path){ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest_path` [INFO] [stdout] --> src/hand/node/file_operation.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 88 | fn extract_zip(src_path: &Path, dest_path: &Path){ [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dest_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filepath` [INFO] [stdout] --> src/hand/node/file_operation.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | fn upload_file(filepath: &Path, remote_path: &str) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filepath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filepath` [INFO] [stdout] --> src/hand/node/file_operation.rs:92:16 [INFO] [stdout] | [INFO] [stdout] 92 | fn upload_file(filepath: &Path, remote_path: &str) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filepath` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remote_path` [INFO] [stdout] --> src/hand/node/file_operation.rs:92:33 [INFO] [stdout] | [INFO] [stdout] 92 | fn upload_file(filepath: &Path, remote_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `remote_path` [INFO] [stdout] --> src/hand/node/file_operation.rs:92:33 [INFO] [stdout] | [INFO] [stdout] 92 | fn upload_file(filepath: &Path, remote_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_remote_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0382, E0599. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0382, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wiseye_agent` (bin "wiseye_agent" test) due to 21 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wiseye_agent` (bin "wiseye_agent") due to 21 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f2471f67e487753cb8412f854f12f61fa77b27b1d36256b0cc0c30ae3e8984fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2471f67e487753cb8412f854f12f61fa77b27b1d36256b0cc0c30ae3e8984fd", kill_on_drop: false }` [INFO] [stdout] f2471f67e487753cb8412f854f12f61fa77b27b1d36256b0cc0c30ae3e8984fd