[INFO] cloning repository https://github.com/rustscr1pt/ugo-api-axum [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rustscr1pt/ugo-api-axum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustscr1pt%2Fugo-api-axum", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustscr1pt%2Fugo-api-axum'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90d137c03e30edca2291e62e0fa7dc13e7c5d56c [INFO] checking rustscr1pt/ugo-api-axum against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustscr1pt%2Fugo-api-axum" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/rustscr1pt/ugo-api-axum [INFO] finished tweaking git repo https://github.com/rustscr1pt/ugo-api-axum [INFO] tweaked toml for git repo https://github.com/rustscr1pt/ugo-api-axum written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rustscr1pt/ugo-api-axum on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rustscr1pt/ugo-api-axum 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sluice v0.5.5 [INFO] [stderr] Downloaded rustelebot v0.3.2 [INFO] [stderr] Downloaded frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Downloaded frunk_derives v0.4.2 [INFO] [stderr] Downloaded castaway v0.1.2 [INFO] [stderr] Downloaded frunk_proc_macros v0.1.2 [INFO] [stderr] Downloaded bufstream v0.1.4 [INFO] [stderr] Downloaded mysql-common-derive v0.31.1 [INFO] [stderr] Downloaded io-enum v1.1.3 [INFO] [stderr] Downloaded axum-macros v0.4.1 [INFO] [stderr] Downloaded subprocess v0.2.9 [INFO] [stderr] Downloaded bigdecimal v0.4.3 [INFO] [stderr] Downloaded frunk_core v0.4.2 [INFO] [stderr] Downloaded mysql v25.0.1 [INFO] [stderr] Downloaded frunk v0.4.2 [INFO] [stderr] Downloaded curl v0.4.46 [INFO] [stderr] Downloaded isahc v1.7.2 [INFO] [stderr] Downloaded mysql_common v0.32.4 [INFO] [stderr] Downloaded named_pipe v0.4.1 [INFO] [stderr] Downloaded saturating v0.1.0 [INFO] [stderr] Downloaded online v4.0.2 [INFO] [stderr] Downloaded curl-sys v0.4.74+curl-8.9.0 [INFO] [stderr] Downloaded libnghttp2-sys v0.1.10+1.61.0 [INFO] [stderr] Downloaded libz-sys v1.1.16 [INFO] [stderr] Downloaded openssl-src v300.2.3+3.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ade35dfeea52bbd3547df9c1dbb546bed4d836213d6e441196229e3325c487fb [INFO] running `Command { std: "docker" "start" "-a" "ade35dfeea52bbd3547df9c1dbb546bed4d836213d6e441196229e3325c487fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ade35dfeea52bbd3547df9c1dbb546bed4d836213d6e441196229e3325c487fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ade35dfeea52bbd3547df9c1dbb546bed4d836213d6e441196229e3325c487fb", kill_on_drop: false }` [INFO] [stdout] ade35dfeea52bbd3547df9c1dbb546bed4d836213d6e441196229e3325c487fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f835a16d1b3b37717d4570ae683cb207901cf3e56a7093823c02077ed8724544 [INFO] running `Command { std: "docker" "start" "-a" "f835a16d1b3b37717d4570ae683cb207901cf3e56a7093823c02077ed8724544", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling openssl-src v300.2.3+3.2.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Compiling libnghttp2-sys v0.1.10+1.61.0 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling curl-sys v0.4.74+curl-8.9.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling frunk_core v0.4.2 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling bigdecimal v0.4.3 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling curl v0.4.46 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling frunk_proc_macros v0.1.2 [INFO] [stderr] Compiling frunk_derives v0.4.2 [INFO] [stderr] Compiling mysql_common v0.32.4 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling isahc v1.7.2 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Compiling mysql-common-derive v0.31.1 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking zstd v0.13.1 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking sluice v0.5.5 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking frunk v0.4.2 [INFO] [stderr] Compiling derive_utils v0.14.1 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Checking btoi v0.4.3 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking crossbeam-channel v0.5.12 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Checking castaway v0.1.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling mysql v25.0.1 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Compiling io-enum v1.1.3 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking lru v0.12.3 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling axum-macros v0.4.1 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking online v4.0.2 [INFO] [stderr] Checking rustelebot v0.3.2 [INFO] [stderr] Checking ugo-api-axum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/walgreen_bot_server/new_order_preset/get_last_record_sql.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/walgreen_bot_server/new_note_preset/get_last_note_sql.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `online::check` [INFO] [stdout] --> src/tests/check_internet_connection.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use online::check; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::structs::constants::FILE_LOCATION` [INFO] [stdout] --> src/tests/check_mysql_file_location.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::structs::constants::FILE_LOCATION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/tests/check_connection_mysql.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mysql::Pool` [INFO] [stdout] --> src/tests/check_connection_mysql.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use mysql::Pool; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::structs::constants::FILE_LOCATION` [INFO] [stdout] --> src/tests/check_connection_mysql.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::structs::constants::FILE_LOCATION; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DEPLOY_PORT` and `STANDARD_IP` [INFO] [stdout] --> src/tests/check_if_port_is_open.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::structs::constants::{DEPLOY_PORT, STANDARD_IP}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BOT_CHAT_ID` and `BOT_TOKEN_LOCATION` [INFO] [stdout] --> src/tests/check_telegram_bot.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::structs::constants::{BOT_CHAT_ID, BOT_TOKEN_LOCATION}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/walgreen_bot_server/new_order_preset/get_last_record_sql.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> src/walgreen_bot_server/new_note_preset/get_last_note_sql.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn() -> std::string::String {FILE_LOCATION}: AsRef` is not satisfied [INFO] [stdout] --> src/tests/check_mysql_file_location.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | return match std::fs::read_to_string(FILE_LOCATION) { [INFO] [stdout] | ----------------------- ^^^^^^^^^^^^^ the trait `AsRef` is not implemented for fn item `fn() -> std::string::String {FILE_LOCATION}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `std::fs::read_to_string` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/fs.rs:346:1 [INFO] [stdout] help: use parentheses to call this function [INFO] [stdout] | [INFO] [stdout] 6 | return match std::fs::read_to_string(FILE_LOCATION()) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `fn() -> std::string::String {FILE_LOCATION}: AsRef` is not satisfied [INFO] [stdout] --> src/tests/check_connection_mysql.rs:8:37 [INFO] [stdout] | [INFO] [stdout] 8 | return match fs::read_to_string(FILE_LOCATION) { [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^ the trait `AsRef` is not implemented for fn item `fn() -> std::string::String {FILE_LOCATION}` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `std::fs::read_to_string` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/fs.rs:346:1 [INFO] [stdout] help: use parentheses to call this function [INFO] [stdout] | [INFO] [stdout] 8 | return match fs::read_to_string(FILE_LOCATION()) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `fn() -> u16 {DEPLOY_PORT}` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/tests/check_if_port_is_open.rs:6:69 [INFO] [stdout] | [INFO] [stdout] 6 | match std::net::TcpListener::bind(format!("{}:{}", STANDARD_IP, DEPLOY_PORT)) { [INFO] [stdout] | -- ^^^^^^^^^^^ `fn() -> u16 {DEPLOY_PORT}` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] ::: src/structs/constants.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn DEPLOY_PORT() -> u16 { [INFO] [stdout] | ----------- consider calling this function [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for fn item `fn() -> u16 {DEPLOY_PORT}` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = help: use parentheses to call this function: `DEPLOY_PORT()` [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of 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/tests/check_telegram_bot.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | let bot = rustelebot::create_instance(BOT_TOKEN_LOCATION, BOT_CHAT_ID); [INFO] [stdout] | --------------------------- ^^^^^^^^^^^^^^^^^^ expected `&str`, found fn item [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found fn item `fn() -> std::string::String {BOT_TOKEN_LOCATION}` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustelebot-0.3.2/src/lib.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn create_instance(bot_token: &str, chat_id: &str) -> BotInstance { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ugo-api-axum` (bin "ugo-api-axum" test) due to 4 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/structs/structs.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AdminsData { // Represents the admin which is added in the admins stack of mySQL [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 9 | pub id : u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdminsData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmptyStruct` is never constructed [INFO] [stdout] --> src/structs/structs.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub struct EmptyStruct { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetPhoneAndName` is never constructed [INFO] [stdout] --> src/structs/structs.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct GetPhoneAndName { // walgreen_web_routes => get_phone_and_name [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `SESSION_DURATION` should have a snake case name [INFO] [stdout] --> src/structs/constants.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn SESSION_DURATION() -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `session_duration` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `DEPLOY_PORT` should have a snake case name [INFO] [stdout] --> src/structs/constants.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn DEPLOY_PORT() -> u16 { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `deploy_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `FILE_LOCATION` should have a snake case name [INFO] [stdout] --> src/structs/constants.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn FILE_LOCATION() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `file_location` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `BOT_TOKEN_LOCATION` should have a snake case name [INFO] [stdout] --> src/structs/constants.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn BOT_TOKEN_LOCATION() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bot_token_location` [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f835a16d1b3b37717d4570ae683cb207901cf3e56a7093823c02077ed8724544", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f835a16d1b3b37717d4570ae683cb207901cf3e56a7093823c02077ed8724544", kill_on_drop: false }` [INFO] [stdout] f835a16d1b3b37717d4570ae683cb207901cf3e56a7093823c02077ed8724544