[INFO] cloning repository https://github.com/reisquaza/rust-expense-track- [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/reisquaza/rust-expense-track-" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freisquaza%2Frust-expense-track-", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freisquaza%2Frust-expense-track-'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9611a745b2767c46aa05c70a1df3503a9a25c651 [INFO] checking reisquaza/rust-expense-track- against master#b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd for pr-155500 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Freisquaza%2Frust-expense-track-" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/reisquaza/rust-expense-track- [INFO] finished tweaking git repo https://github.com/reisquaza/rust-expense-track- [INFO] tweaked toml for git repo https://github.com/reisquaza/rust-expense-track- written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/reisquaza/rust-expense-track- on toolchain b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/reisquaza/rust-expense-track- 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" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror v1.0.57 [INFO] [stderr] Downloaded uuid v1.7.0 [INFO] [stderr] Downloaded uuid-macro-internal v1.7.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.78 [INFO] [stderr] Downloaded thiserror-impl v1.0.57 [INFO] [stderr] Downloaded ahash v0.8.9 [INFO] [stderr] Downloaded tempfile v3.10.0 [INFO] [stderr] Downloaded bitflags v2.4.2 [INFO] [stderr] Downloaded indexmap v2.2.3 [INFO] [stderr] Downloaded serde_json v1.0.114 [INFO] [stderr] Downloaded syn v2.0.50 [INFO] [stderr] Downloaded rustix v0.38.31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 232f2990dc6f4881630cb7396f2467ce720c178f1e20c55cfa079d49257ab0ae [INFO] running `Command { std: "docker" "start" "-a" "232f2990dc6f4881630cb7396f2467ce720c178f1e20c55cfa079d49257ab0ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "232f2990dc6f4881630cb7396f2467ce720c178f1e20c55cfa079d49257ab0ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "232f2990dc6f4881630cb7396f2467ce720c178f1e20c55cfa079d49257ab0ae", kill_on_drop: false }` [INFO] [stdout] 232f2990dc6f4881630cb7396f2467ce720c178f1e20c55cfa079d49257ab0ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 903e6ef9ec43c5bf8b76ac4e514e81ac0ebb1905b87ee51fbf29f989c610b741 [INFO] running `Command { std: "docker" "start" "-a" "903e6ef9ec43c5bf8b76ac4e514e81ac0ebb1905b87ee51fbf29f989c610b741", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling ahash v0.8.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling syn v2.0.50 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling atomic-write-file v0.1.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tempfile v3.10.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling uuid-macro-internal v1.7.0 [INFO] [stderr] Checking uuid v1.7.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking sqlformat v0.2.3 [INFO] [stderr] Checking sqlx-core v0.7.3 [INFO] [stderr] Checking sqlx-postgres v0.7.3 [INFO] [stderr] Compiling sqlx-macros-core v0.7.3 [INFO] [stderr] Compiling sqlx-macros v0.7.3 [INFO] [stderr] Checking sqlx v0.7.3 [INFO] [stderr] Checking rust-expense-track v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `postgres_pool` is never used [INFO] [stdout] --> src/database/postgres.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | async fn postgres_pool(url: &str) -> Result { [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 `UserRepository` is never constructed [INFO] [stdout] --> src/database/user_repository.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct UserRepository<'any_pool> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create_user`, and `get_user` are never used [INFO] [stdout] --> src/database/user_repository.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl <'any_pool> UserRepository<'any_pool> { [INFO] [stdout] | ------------------------------------------ associated items in this implementation [INFO] [stdout] 11 | fn new(pool: &'any_pool AnyPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub async fn create_user(&self, user_dto: UserDTO) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub async fn get_user(&self, id: String) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExpenseEntity` is never constructed [INFO] [stdout] --> src/entity/expense_entity.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct ExpenseEntity { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CategoryEntity` is never constructed [INFO] [stdout] --> src/entity/category_entity.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct CategoryEntity { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `postgres_pool` is never used [INFO] [stdout] --> src/database/postgres.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | async fn postgres_pool(url: &str) -> Result { [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 `UserRepository` is never constructed [INFO] [stdout] --> src/database/user_repository.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct UserRepository<'any_pool> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create_user`, and `get_user` are never used [INFO] [stdout] --> src/database/user_repository.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl <'any_pool> UserRepository<'any_pool> { [INFO] [stdout] | ------------------------------------------ associated items in this implementation [INFO] [stdout] 11 | fn new(pool: &'any_pool AnyPool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub async fn create_user(&self, user_dto: UserDTO) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub async fn get_user(&self, id: String) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExpenseEntity` is never constructed [INFO] [stdout] --> src/entity/expense_entity.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct ExpenseEntity { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CategoryEntity` is never constructed [INFO] [stdout] --> src/entity/category_entity.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct CategoryEntity { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.47s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sqlx-postgres v0.7.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "903e6ef9ec43c5bf8b76ac4e514e81ac0ebb1905b87ee51fbf29f989c610b741", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "903e6ef9ec43c5bf8b76ac4e514e81ac0ebb1905b87ee51fbf29f989c610b741", kill_on_drop: false }` [INFO] [stdout] 903e6ef9ec43c5bf8b76ac4e514e81ac0ebb1905b87ee51fbf29f989c610b741