[INFO] cloning repository https://github.com/werobin05/UnionWorkshop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/werobin05/UnionWorkshop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwerobin05%2FUnionWorkshop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwerobin05%2FUnionWorkshop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f0e7aca3dc7e93b0f5f333ef6badda6f640cefa8 [INFO] testing werobin05/UnionWorkshop against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwerobin05%2FUnionWorkshop" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/werobin05/UnionWorkshop [INFO] finished tweaking git repo https://github.com/werobin05/UnionWorkshop [INFO] tweaked toml for git repo https://github.com/werobin05/UnionWorkshop written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/werobin05/UnionWorkshop on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/werobin05/UnionWorkshop 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded psm v0.1.26 [INFO] [stderr] Downloaded teloxide-core v0.13.0 [INFO] [stderr] Downloaded strum v0.27.1 [INFO] [stderr] Downloaded hyper-util v0.1.15 [INFO] [stderr] Downloaded stacker v0.1.21 [INFO] [stderr] Downloaded teloxide-macros v0.10.0 [INFO] [stderr] Downloaded dptree v0.5.1 [INFO] [stderr] Downloaded rgb v0.8.52 [INFO] [stderr] Downloaded aquamarine v0.6.0 [INFO] [stderr] Downloaded schemars v1.0.4 [INFO] [stderr] Downloaded teloxide v0.17.0 [INFO] [stderr] Downloaded rust_decimal v1.37.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb2005edb0d9e2b708f601a8f5640d4b1defbfb42892ee6aaa1a8620957509eb [INFO] running `Command { std: "docker" "start" "-a" "cb2005edb0d9e2b708f601a8f5640d4b1defbfb42892ee6aaa1a8620957509eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb2005edb0d9e2b708f601a8f5640d4b1defbfb42892ee6aaa1a8620957509eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb2005edb0d9e2b708f601a8f5640d4b1defbfb42892ee6aaa1a8620957509eb", kill_on_drop: false }` [INFO] [stdout] cb2005edb0d9e2b708f601a8f5640d4b1defbfb42892ee6aaa1a8620957509eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4da6e3850d79209605007ac2766d01ae9bc1fe10429bc4b7ea4bcebec7aac7f2 [INFO] running `Command { std: "docker" "start" "-a" "4da6e3850d79209605007ac2766d01ae9bc1fe10429bc4b7ea4bcebec7aac7f2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rust_decimal v1.37.2 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling erasable v1.3.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling iri-string v0.7.8 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.14.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling uuid v1.17.0 [INFO] [stderr] Compiling rc-box v1.3.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling takecell v0.1.1 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling teloxide-macros v0.10.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling dptree v0.5.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling h2 v0.4.11 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling serde_with v3.14.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling strum_macros v0.27.1 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling strum v0.27.1 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling aquamarine v0.6.0 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.15 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.22 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling teloxide-core v0.13.0 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Compiling sqlx v0.8.6 [INFO] [stderr] Compiling teloxide v0.17.0 [INFO] [stderr] Compiling union_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `orders::Orders` [INFO] [stdout] --> src/models/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use orders::Orders; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `freelancers::Freelancers` [INFO] [stdout] --> src/models/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use freelancers::Freelancers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Users` is never constructed [INFO] [stdout] --> src/models/users.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Users { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Orders` is never constructed [INFO] [stdout] --> src/models/orders.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Orders { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserOrderInfo` is never constructed [INFO] [stdout] --> src/models/orders.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct UserOrderInfo { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Freelancers` is never constructed [INFO] [stdout] --> src/models/freelancers.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Freelancers { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StatusOrder` is never used [INFO] [stdout] --> src/models/status_order.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum StatusOrder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_by_username` is never used [INFO] [stdout] --> src/repos/user_repo.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn get_user_by_username(pool: &PgPool, username: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_orders` is never used [INFO] [stdout] --> src/repos/order_repo.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn fetch_orders( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 33s [INFO] running `Command { std: "docker" "inspect" "4da6e3850d79209605007ac2766d01ae9bc1fe10429bc4b7ea4bcebec7aac7f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4da6e3850d79209605007ac2766d01ae9bc1fe10429bc4b7ea4bcebec7aac7f2", kill_on_drop: false }` [INFO] [stdout] 4da6e3850d79209605007ac2766d01ae9bc1fe10429bc4b7ea4bcebec7aac7f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a81c4212cd45a3c5f7e597dba0f8c2df87ed3e9ebf61a1cd053ace6846b6798c [INFO] running `Command { std: "docker" "start" "-a" "a81c4212cd45a3c5f7e597dba0f8c2df87ed3e9ebf61a1cd053ace6846b6798c", kill_on_drop: false }` [INFO] [stderr] Compiling union_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `orders::Orders` [INFO] [stdout] --> src/models/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub use orders::Orders; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `freelancers::Freelancers` [INFO] [stdout] --> src/models/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use freelancers::Freelancers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Users` is never constructed [INFO] [stdout] --> src/models/users.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Users { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Orders` is never constructed [INFO] [stdout] --> src/models/orders.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Orders { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UserOrderInfo` is never constructed [INFO] [stdout] --> src/models/orders.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct UserOrderInfo { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Freelancers` is never constructed [INFO] [stdout] --> src/models/freelancers.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Freelancers { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `StatusOrder` is never used [INFO] [stdout] --> src/models/status_order.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum StatusOrder { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_by_username` is never used [INFO] [stdout] --> src/repos/user_repo.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn get_user_by_username(pool: &PgPool, username: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fetch_orders` is never used [INFO] [stdout] --> src/repos/order_repo.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn fetch_orders( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 14.66s [INFO] running `Command { std: "docker" "inspect" "a81c4212cd45a3c5f7e597dba0f8c2df87ed3e9ebf61a1cd053ace6846b6798c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a81c4212cd45a3c5f7e597dba0f8c2df87ed3e9ebf61a1cd053ace6846b6798c", kill_on_drop: false }` [INFO] [stdout] a81c4212cd45a3c5f7e597dba0f8c2df87ed3e9ebf61a1cd053ace6846b6798c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 837ca94b5c511fac84f9779ebff6d487a498a2ca0f5072996838a797c02360d4 [INFO] running `Command { std: "docker" "start" "-a" "837ca94b5c511fac84f9779ebff6d487a498a2ca0f5072996838a797c02360d4", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `orders::Orders` [INFO] [stderr] --> src/models/mod.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub use orders::Orders; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `freelancers::Freelancers` [INFO] [stderr] --> src/models/mod.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | pub use freelancers::Freelancers; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Users` is never constructed [INFO] [stderr] --> src/models/users.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Users { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Orders` is never constructed [INFO] [stderr] --> src/models/orders.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct Orders { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `UserOrderInfo` is never constructed [INFO] [stderr] --> src/models/orders.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct UserOrderInfo { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Freelancers` is never constructed [INFO] [stderr] --> src/models/freelancers.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 5 | pub struct Freelancers { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `StatusOrder` is never used [INFO] [stderr] --> src/models/status_order.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | pub enum StatusOrder { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_user_by_username` is never used [INFO] [stderr] --> src/repos/user_repo.rs:4:14 [INFO] [stderr] | [INFO] [stderr] 4 | pub async fn get_user_by_username(pool: &PgPool, username: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `fetch_orders` is never used [INFO] [stderr] --> src/repos/order_repo.rs:4:14 [INFO] [stderr] | [INFO] [stderr] 4 | pub async fn fetch_orders( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `union_bot` (bin "union_bot" test) generated 9 warnings (run `cargo fix --bin "union_bot" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.46s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/union_bot-7ef5c4e8414391fc) [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" "837ca94b5c511fac84f9779ebff6d487a498a2ca0f5072996838a797c02360d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "837ca94b5c511fac84f9779ebff6d487a498a2ca0f5072996838a797c02360d4", kill_on_drop: false }` [INFO] [stdout] 837ca94b5c511fac84f9779ebff6d487a498a2ca0f5072996838a797c02360d4