[INFO] cloning repository https://github.com/Zersya/invoice-billing-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Zersya/invoice-billing-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZersya%2Finvoice-billing-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZersya%2Finvoice-billing-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 74064399dee5d39744371ec5cd8bd6fdc57bb6b2 [INFO] testing Zersya/invoice-billing-server against 1.79.0 for beta-1.80-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZersya%2Finvoice-billing-server" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Zersya/invoice-billing-server on toolchain 1.79.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.79.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Zersya/invoice-billing-server [INFO] finished tweaking git repo https://github.com/Zersya/invoice-billing-server [INFO] tweaked toml for git repo https://github.com/Zersya/invoice-billing-server written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Zersya/invoice-billing-server 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" "+1.79.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.axum.release [INFO] [stderr] Updating git repository `https://github.com/tokio-rs/axum.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded validator_types v0.16.0 [INFO] [stderr] Downloaded if_chain v1.0.2 [INFO] [stderr] Downloaded validator v0.16.0 [INFO] [stderr] Downloaded validator_derive v0.16.0 [INFO] [stderr] Downloaded unicode-bidi v0.3.8 [INFO] [stderr] Downloaded proc-macro2 v1.0.46 [INFO] [stderr] Downloaded commoncrypto v0.2.0 [INFO] [stderr] Downloaded pest_generator v2.4.0 [INFO] [stderr] Downloaded crypto-hash v0.3.4 [INFO] [stderr] Downloaded unicode-ident v1.0.4 [INFO] [stderr] Downloaded codepage v0.1.1 [INFO] [stderr] Downloaded matchit v0.6.0 [INFO] [stderr] Downloaded sync_wrapper v0.1.1 [INFO] [stderr] Downloaded lettre v0.10.1 [INFO] [stderr] Downloaded sqlx-core v0.6.2 [INFO] [stderr] Downloaded spin v0.9.4 [INFO] [stderr] Downloaded flate2 v1.0.24 [INFO] [stderr] Downloaded calamine v0.19.1 [INFO] [stderr] Downloaded libc v0.2.134 [INFO] [stderr] Downloaded pest_meta v2.4.0 [INFO] [stderr] Downloaded pest_derive v2.4.0 [INFO] [stderr] Downloaded commoncrypto-sys v0.2.0 [INFO] [stderr] Downloaded quick-xml v0.25.0 [INFO] [stderr] Downloaded encoding_rs v0.8.31 [INFO] [stderr] Downloaded hex v0.3.2 [INFO] [stderr] Downloaded email-encoding v0.1.3 [INFO] [stderr] Downloaded quoted_printable v0.4.6 [INFO] [stderr] Downloaded async-trait v0.1.57 [INFO] [stderr] Downloaded h2 v0.3.14 [INFO] [stderr] Downloaded ipnet v2.5.0 [INFO] [stderr] Downloaded reqwest v0.11.12 [INFO] [stderr] Downloaded rust-argon2 v1.0.0 [INFO] [stderr] Downloaded iana-time-zone v0.1.50 [INFO] [stderr] Downloaded chrono v0.4.22 [INFO] [stderr] Downloaded crc v3.0.0 [INFO] [stderr] Downloaded dotenvy v0.15.5 [INFO] [stderr] Downloaded futures-intrusive v0.4.0 [INFO] [stderr] Downloaded paste v1.0.9 [INFO] [stderr] Downloaded sqlformat v0.2.0 [INFO] [stderr] Downloaded whoami v1.2.3 [INFO] [stderr] Downloaded openssl v0.10.42 [INFO] [stderr] Downloaded security-framework-sys v2.6.1 [INFO] [stderr] Downloaded sqlx v0.6.2 [INFO] [stderr] Downloaded futures-sink v0.3.24 [INFO] [stderr] Downloaded bytes v1.2.1 [INFO] [stderr] Downloaded socket2 v0.4.7 [INFO] [stderr] Downloaded tokio v1.21.2 [INFO] [stderr] Downloaded tracing v0.1.36 [INFO] [stderr] Downloaded tracing-core v0.1.29 [INFO] [stderr] Downloaded redis v0.22.3 [INFO] [stderr] Downloaded tokio-util v0.7.4 [INFO] [stderr] Downloaded hyper v0.14.20 [INFO] [stderr] Downloaded rust_decimal v1.26.1 [INFO] [stderr] Downloaded nom v7.1.1 [INFO] [stderr] Downloaded schannel v0.1.20 [INFO] [stderr] Downloaded http v0.2.8 [INFO] [stderr] Downloaded futures-core v0.3.24 [INFO] [stderr] Downloaded slab v0.4.7 [INFO] [stderr] Downloaded futures-util v0.3.24 [INFO] [stderr] Downloaded tower-http v0.3.5 [INFO] [stderr] Downloaded tracing-subscriber v0.3.15 [INFO] [stderr] Downloaded zip v0.6.3 [INFO] [stderr] Downloaded pest v2.4.0 [INFO] [stderr] Downloaded thiserror v1.0.37 [INFO] [stderr] Downloaded openssl-sys v0.9.76 [INFO] [stderr] Downloaded security-framework v2.7.0 [INFO] [stderr] Downloaded mio v0.8.4 [INFO] [stderr] Downloaded itoa v1.0.3 [INFO] [stderr] Downloaded serde v1.0.145 [INFO] [stderr] Downloaded serde_json v1.0.85 [INFO] [stderr] Downloaded syn v1.0.101 [INFO] [stderr] Downloaded multer v2.0.4 [INFO] [stderr] Downloaded serde_path_to_error v0.1.8 [INFO] [stderr] Downloaded miniz_oxide v0.5.4 [INFO] [stderr] Downloaded config v0.13.2 [INFO] [stderr] Downloaded time v0.1.44 [INFO] [stderr] Downloaded crc-catalog v2.1.0 [INFO] [stderr] Downloaded futures-channel v0.3.24 [INFO] [stderr] Downloaded thiserror-impl v1.0.37 [INFO] [stderr] Downloaded tokio-stream v0.1.10 [INFO] [stderr] Downloaded native-tls v0.2.10 [INFO] [stderr] Downloaded sqlx-rt v0.6.2 [INFO] [stderr] Downloaded sqlx-macros v0.6.2 [INFO] [stderr] Downloaded futures-io v0.3.25 [INFO] [stderr] Downloaded futures-task v0.3.24 [INFO] [stderr] Downloaded smallvec v1.9.0 [INFO] [stderr] Downloaded uuid v1.1.2 [INFO] [stderr] Downloaded serde_derive v1.0.145 [INFO] [stderr] Downloaded email_address v0.2.4 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.33 [INFO] [stderr] Downloaded arrayref v0.3.6 [INFO] [stderr] Downloaded blake2b_simd v1.0.0 [INFO] [stderr] Downloaded crossbeam-queue v0.3.6 [INFO] [stderr] Downloaded md-5 v0.10.5 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8960909a3e67115be37d294cdb6ee2a181625342bc464f63d219bfdac76f52ea [INFO] running `Command { std: "docker" "start" "-a" "8960909a3e67115be37d294cdb6ee2a181625342bc464f63d219bfdac76f52ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8960909a3e67115be37d294cdb6ee2a181625342bc464f63d219bfdac76f52ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8960909a3e67115be37d294cdb6ee2a181625342bc464f63d219bfdac76f52ea", kill_on_drop: false }` [INFO] [stdout] 8960909a3e67115be37d294cdb6ee2a181625342bc464f63d219bfdac76f52ea [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7320252f343833aaedb38740ee5855667188918ab33e52fa7e3089b26f55a25c [INFO] running `Command { std: "docker" "start" "-a" "7320252f343833aaedb38740ee5855667188918ab33e52fa7e3089b26f55a25c", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.axum.release [INFO] [stderr] Compiling proc-macro2 v1.0.46 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling syn v1.0.101 [INFO] [stderr] Compiling libc v0.2.134 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling serde_derive v1.0.145 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling futures-sink v0.3.24 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling openssl v0.10.42 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-io v0.3.25 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling tracing-core v0.1.29 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling socket2 v0.4.7 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling openssl-sys v0.9.76 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling crossbeam-queue v0.3.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling iana-time-zone v0.1.50 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.12 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crc-catalog v2.1.0 [INFO] [stderr] Compiling digest v0.10.5 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling crc v3.0.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling dotenvy v0.15.5 [INFO] [stderr] Compiling hashlink v0.8.1 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling whoami v1.2.3 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling md-5 v0.10.5 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling multer v2.0.4 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling uuid v1.1.2 [INFO] [stderr] Compiling unicode-segmentation v1.10.0 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling rust_decimal v1.26.1 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling blake2b_simd v1.0.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling zip v0.6.3 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling codepage v0.1.1 [INFO] [stderr] Compiling quick-xml v0.25.0 [INFO] [stderr] Compiling tracing-log v0.1.3 [INFO] [stderr] Compiling email-encoding v0.1.3 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling matchit v0.6.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling quoted_printable v0.4.6 [INFO] [stderr] Compiling fastrand v1.8.0 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling email_address v0.2.4 [INFO] [stderr] Compiling tracing-subscriber v0.3.15 [INFO] [stderr] Compiling rust-argon2 v1.0.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling validator_types v0.16.0 [INFO] [stderr] Compiling tokio-stream v0.1.10 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling tracing-attributes v0.1.23 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling validator_derive v0.16.0 [INFO] [stderr] Compiling axum-core v0.3.0-rc.2 (https://github.com/tokio-rs/axum.git#2aadf4bf) [INFO] [stderr] Compiling pest v2.4.0 [INFO] [stderr] Compiling tracing v0.1.36 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling pest_meta v2.4.0 [INFO] [stderr] Compiling pest_generator v2.4.0 [INFO] [stderr] Compiling pest_derive v2.4.0 [INFO] [stderr] Compiling crypto-hash v0.3.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling lettre v0.10.1 [INFO] [stderr] Compiling sqlx-rt v0.6.2 [INFO] [stderr] Compiling tokio-util v0.7.4 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tower-http v0.3.5 [INFO] [stderr] Compiling h2 v0.3.14 [INFO] [stderr] Compiling combine v4.6.6 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.8 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling calamine v0.19.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cron v0.12.0 [INFO] [stderr] Compiling validator v0.16.0 [INFO] [stderr] Compiling config v0.13.2 [INFO] [stderr] Compiling sqlformat v0.2.0 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling redis v0.22.3 [INFO] [stderr] Compiling sqlx-core v0.6.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling axum v0.6.0-rc.2 (https://github.com/tokio-rs/axum.git#2aadf4bf) [INFO] [stderr] Compiling reqwest v0.11.12 [INFO] [stderr] Compiling sqlx-macros v0.6.2 [INFO] [stderr] Compiling sqlx v0.6.2 [INFO] [stderr] Compiling invoice-billing-server v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `AllowOrigin` [INFO] [stdout] --> src/lib.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | use tower_http::cors::{AllowOrigin, CorsLayer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `layer::SubscriberExt`, `util::SubscriberInitExt` [INFO] [stdout] --> src/lib.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/handlers/webhook.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Execute`, `QueryBuilder` [INFO] [stdout] --> src/models/customer.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::{Execute, QueryBuilder, Row}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tester` [INFO] [stdout] --> src/handlers/auth.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let tester = match Tester::get_by_user_id(&db, user.id).await { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tester` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job_data` [INFO] [stdout] --> src/jobs/spawns.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let job_data = match serde_json::from_value::(job.job_data.unwrap()) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> src/models/customer.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::{Execute, QueryBuilder, Row}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `environment` and `appkey` are never read [INFO] [stdout] --> src/config.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 23 | pub server: Option, [INFO] [stdout] 24 | pub environment: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 25 | pub appkey: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Logger` is never constructed [INFO] [stdout] --> src/logger.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Logger { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `log` are never used [INFO] [stdout] --> src/logger.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Logger { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 7 | pub fn new(content: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn log(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoggerLayer` is never constructed [INFO] [stdout] --> src/logger.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct LoggerLayer { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/logger.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl LoggerLayer { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 35 | pub fn new(content: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `update_id` is never read [INFO] [stdout] --> src/models/requests/telegram.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TelegramUpdateItem { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 5 | pub update_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TelegramUpdateItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message_id` and `date` are never read [INFO] [stdout] --> src/models/requests/telegram.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TelegramMessage { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 10 | pub message_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub date: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TelegramMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `is_bot`, `first_name`, and `language_code` are never read [INFO] [stdout] --> src/models/requests/telegram.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct TelegramUser { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 18 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 19 | pub is_bot: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | pub first_name: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | pub username: Option, [INFO] [stdout] 22 | pub language_code: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TelegramUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first_name` and `username` are never read [INFO] [stdout] --> src/models/requests/telegram.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct TelegramChat { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 26 | pub id: Option, [INFO] [stdout] 27 | pub first_name: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | pub username: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TelegramChat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create` is never used [INFO] [stdout] --> src/models/customer.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 34 | impl Customer { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 35 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_using_transaction` is never used [INFO] [stdout] --> src/models/invoice.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 45 | impl Invoice { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub async fn create_using_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_by_user_id` is never used [INFO] [stdout] --> src/models/verification.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 18 | impl Verification { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub async fn get_by_user_id( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize` is never used [INFO] [stdout] --> src/utils.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn serialize(date: &NaiveDateTime, serializer: S) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 57s [INFO] running `Command { std: "docker" "inspect" "7320252f343833aaedb38740ee5855667188918ab33e52fa7e3089b26f55a25c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7320252f343833aaedb38740ee5855667188918ab33e52fa7e3089b26f55a25c", kill_on_drop: false }` [INFO] [stdout] 7320252f343833aaedb38740ee5855667188918ab33e52fa7e3089b26f55a25c [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3908bd83587eeb53275efd2da64b0cd7ae63dad640e11cb8f52299e246403990 [INFO] running `Command { std: "docker" "start" "-a" "3908bd83587eeb53275efd2da64b0cd7ae63dad640e11cb8f52299e246403990", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.axum.release [INFO] [stdout] warning: unused import: `AllowOrigin` [INFO] [stdout] --> src/lib.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | use tower_http::cors::{AllowOrigin, CorsLayer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `layer::SubscriberExt`, `util::SubscriberInitExt` [INFO] [stdout] --> src/lib.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/handlers/webhook.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Execute`, `QueryBuilder` [INFO] [stdout] --> src/models/customer.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::{Execute, QueryBuilder, Row}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling invoice-billing-server v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `tester` [INFO] [stdout] --> src/handlers/auth.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let tester = match Tester::get_by_user_id(&db, user.id).await { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tester` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job_data` [INFO] [stdout] --> src/jobs/spawns.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let job_data = match serde_json::from_value::(job.job_data.unwrap()) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> src/models/customer.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::{Execute, QueryBuilder, Row}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `environment` and `appkey` are never read [INFO] [stdout] --> src/config.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 23 | pub server: Option, [INFO] [stdout] 24 | pub environment: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 25 | pub appkey: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Logger` is never constructed [INFO] [stdout] --> src/logger.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Logger { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `log` are never used [INFO] [stdout] --> src/logger.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Logger { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 7 | pub fn new(content: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn log(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoggerLayer` is never constructed [INFO] [stdout] --> src/logger.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct LoggerLayer { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/logger.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl LoggerLayer { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 35 | pub fn new(content: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `update_id` is never read [INFO] [stdout] --> src/models/requests/telegram.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TelegramUpdateItem { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 5 | pub update_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TelegramUpdateItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message_id` and `date` are never read [INFO] [stdout] --> src/models/requests/telegram.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TelegramMessage { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 10 | pub message_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub date: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TelegramMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `is_bot`, `first_name`, and `language_code` are never read [INFO] [stdout] --> src/models/requests/telegram.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct TelegramUser { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 18 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 19 | pub is_bot: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | pub first_name: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | pub username: Option, [INFO] [stdout] 22 | pub language_code: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TelegramUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first_name` and `username` are never read [INFO] [stdout] --> src/models/requests/telegram.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct TelegramChat { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 26 | pub id: Option, [INFO] [stdout] 27 | pub first_name: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | pub username: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TelegramChat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create` is never used [INFO] [stdout] --> src/models/customer.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 34 | impl Customer { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 35 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_using_transaction` is never used [INFO] [stdout] --> src/models/invoice.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 45 | impl Invoice { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub async fn create_using_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_by_user_id` is never used [INFO] [stdout] --> src/models/verification.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 18 | impl Verification { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub async fn get_by_user_id( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize` is never used [INFO] [stdout] --> src/utils.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn serialize(date: &NaiveDateTime, serializer: S) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AllowOrigin` [INFO] [stdout] --> src/lib.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | use tower_http::cors::{AllowOrigin, CorsLayer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `layer::SubscriberExt`, `util::SubscriberInitExt` [INFO] [stdout] --> src/lib.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/handlers/webhook.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Execute`, `QueryBuilder` [INFO] [stdout] --> src/models/customer.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::{Execute, QueryBuilder, Row}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tester` [INFO] [stdout] --> src/handlers/auth.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | let tester = match Tester::get_by_user_id(&db, user.id).await { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tester` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `job_data` [INFO] [stdout] --> src/jobs/spawns.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | let job_data = match serde_json::from_value::(job.job_data.unwrap()) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Row` [INFO] [stdout] --> src/models/customer.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use sqlx::{Execute, QueryBuilder, Row}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `environment` and `appkey` are never read [INFO] [stdout] --> src/config.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 23 | pub server: Option, [INFO] [stdout] 24 | pub environment: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 25 | pub appkey: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Logger` is never constructed [INFO] [stdout] --> src/logger.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Logger { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `log` are never used [INFO] [stdout] --> src/logger.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Logger { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 7 | pub fn new(content: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn log(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoggerLayer` is never constructed [INFO] [stdout] --> src/logger.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct LoggerLayer { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/logger.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl LoggerLayer { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 35 | pub fn new(content: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `update_id` is never read [INFO] [stdout] --> src/models/requests/telegram.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct TelegramUpdateItem { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 5 | pub update_id: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TelegramUpdateItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `message_id` and `date` are never read [INFO] [stdout] --> src/models/requests/telegram.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct TelegramMessage { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 10 | pub message_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub date: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TelegramMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `is_bot`, `first_name`, and `language_code` are never read [INFO] [stdout] --> src/models/requests/telegram.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct TelegramUser { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 18 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 19 | pub is_bot: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | pub first_name: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | pub username: Option, [INFO] [stdout] 22 | pub language_code: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TelegramUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `first_name` and `username` are never read [INFO] [stdout] --> src/models/requests/telegram.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct TelegramChat { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 26 | pub id: Option, [INFO] [stdout] 27 | pub first_name: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 28 | pub username: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TelegramChat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create` is never used [INFO] [stdout] --> src/models/customer.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 34 | impl Customer { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 35 | pub async fn create( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `create_using_transaction` is never used [INFO] [stdout] --> src/models/invoice.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 45 | impl Invoice { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub async fn create_using_transaction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_by_user_id` is never used [INFO] [stdout] --> src/models/verification.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 18 | impl Verification { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub async fn get_by_user_id( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `serialize` is never used [INFO] [stdout] --> src/utils.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn serialize(date: &NaiveDateTime, serializer: S) -> Result [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.10s [INFO] running `Command { std: "docker" "inspect" "3908bd83587eeb53275efd2da64b0cd7ae63dad640e11cb8f52299e246403990", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3908bd83587eeb53275efd2da64b0cd7ae63dad640e11cb8f52299e246403990", kill_on_drop: false }` [INFO] [stdout] 3908bd83587eeb53275efd2da64b0cd7ae63dad640e11cb8f52299e246403990 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+1.79.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cd7aab1caacf67fe5c4154b5c4457fbb90c421409ac82e3ca6afc9e5d683bc94 [INFO] running `Command { std: "docker" "start" "-a" "cd7aab1caacf67fe5c4154b5c4457fbb90c421409ac82e3ca6afc9e5d683bc94", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.axum.release [INFO] [stderr] warning: unused import: `AllowOrigin` [INFO] [stderr] --> src/lib.rs:15:24 [INFO] [stderr] | [INFO] [stderr] 15 | use tower_http::cors::{AllowOrigin, CorsLayer}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `layer::SubscriberExt`, `util::SubscriberInitExt` [INFO] [stderr] --> src/lib.rs:16:26 [INFO] [stderr] | [INFO] [stderr] 16 | use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::json` [INFO] [stderr] --> src/handlers/webhook.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use serde_json::json; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Execute`, `QueryBuilder` [INFO] [stderr] --> src/models/customer.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | use sqlx::{Execute, QueryBuilder, Row}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tester` [INFO] [stderr] --> src/handlers/auth.rs:105:9 [INFO] [stderr] | [INFO] [stderr] 105 | let tester = match Tester::get_by_user_id(&db, user.id).await { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tester` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `job_data` [INFO] [stderr] --> src/jobs/spawns.rs:73:17 [INFO] [stderr] | [INFO] [stderr] 73 | let job_data = match serde_json::from_value::(job.job_data.unwrap()) [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_job_data` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Row` [INFO] [stderr] --> src/models/customer.rs:3:35 [INFO] [stderr] | [INFO] [stderr] 3 | use sqlx::{Execute, QueryBuilder, Row}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `environment` and `appkey` are never read [INFO] [stderr] --> src/config.rs:24:9 [INFO] [stderr] | [INFO] [stderr] 22 | pub struct Config { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 23 | pub server: Option, [INFO] [stderr] 24 | pub environment: Option, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 25 | pub appkey: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Logger` is never constructed [INFO] [stderr] --> src/logger.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct Logger { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `log` are never used [INFO] [stderr] --> src/logger.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 6 | impl Logger { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] 7 | pub fn new(content: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 11 | pub fn log(&self) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `LoggerLayer` is never constructed [INFO] [stderr] --> src/logger.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 30 | pub struct LoggerLayer { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/logger.rs:35:12 [INFO] [stderr] | [INFO] [stderr] 34 | impl LoggerLayer { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] 35 | pub fn new(content: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `update_id` is never read [INFO] [stderr] --> src/models/requests/telegram.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct TelegramUpdateItem { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] 5 | pub update_id: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TelegramUpdateItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `message_id` and `date` are never read [INFO] [stderr] --> src/models/requests/telegram.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct TelegramMessage { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 10 | pub message_id: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 13 | pub date: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TelegramMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `is_bot`, `first_name`, and `language_code` are never read [INFO] [stderr] --> src/models/requests/telegram.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct TelegramUser { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 18 | pub id: Option, [INFO] [stderr] | ^^ [INFO] [stderr] 19 | pub is_bot: Option, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 20 | pub first_name: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 21 | pub username: Option, [INFO] [stderr] 22 | pub language_code: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TelegramUser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `first_name` and `username` are never read [INFO] [stderr] --> src/models/requests/telegram.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 25 | pub struct TelegramChat { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 26 | pub id: Option, [INFO] [stderr] 27 | pub first_name: Option, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 28 | pub username: Option, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TelegramChat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated function `create` is never used [INFO] [stderr] --> src/models/customer.rs:35:18 [INFO] [stderr] | [INFO] [stderr] 34 | impl Customer { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 35 | pub async fn create( [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `create_using_transaction` is never used [INFO] [stderr] --> src/models/invoice.rs:107:18 [INFO] [stderr] | [INFO] [stderr] 45 | impl Invoice { [INFO] [stderr] | ------------ associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 107 | pub async fn create_using_transaction( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `get_by_user_id` is never used [INFO] [stderr] --> src/models/verification.rs:59:18 [INFO] [stderr] | [INFO] [stderr] 18 | impl Verification { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 59 | pub async fn get_by_user_id( [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `serialize` is never used [INFO] [stderr] --> src/utils.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn serialize(date: &NaiveDateTime, serializer: S) -> Result [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `invoice-billing-server` (lib) generated 20 warnings (run `cargo fix --lib -p invoice-billing-server` to apply 4 suggestions) [INFO] [stderr] warning: `invoice-billing-server` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/invoice_billing_server-d7167b592ed9a8c5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/invoice_billing_server-e4cd74f69b2d9587) [INFO] [stderr] Doc-tests invoice_billing_server [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cd7aab1caacf67fe5c4154b5c4457fbb90c421409ac82e3ca6afc9e5d683bc94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd7aab1caacf67fe5c4154b5c4457fbb90c421409ac82e3ca6afc9e5d683bc94", kill_on_drop: false }` [INFO] [stdout] cd7aab1caacf67fe5c4154b5c4457fbb90c421409ac82e3ca6afc9e5d683bc94