[INFO] cloning repository https://github.com/MRMRMR033/sistema_pos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MRMRMR033/sistema_pos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMRMRMR033%2Fsistema_pos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMRMRMR033%2Fsistema_pos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7189cf8f6707595b5df34cd24fd312ee44ae08d0 [INFO] checking MRMRMR033/sistema_pos against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMRMRMR033%2Fsistema_pos" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MRMRMR033/sistema_pos on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MRMRMR033/sistema_pos [INFO] finished tweaking git repo https://github.com/MRMRMR033/sistema_pos [INFO] tweaked toml for git repo https://github.com/MRMRMR033/sistema_pos written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MRMRMR033/sistema_pos 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bigdecimal v0.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5514306e16135b36903d1b43742e9c1cefe0f2df4335646ec17153dc4247227c [INFO] running `Command { std: "docker" "start" "-a" "5514306e16135b36903d1b43742e9c1cefe0f2df4335646ec17153dc4247227c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5514306e16135b36903d1b43742e9c1cefe0f2df4335646ec17153dc4247227c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5514306e16135b36903d1b43742e9c1cefe0f2df4335646ec17153dc4247227c", kill_on_drop: false }` [INFO] [stdout] 5514306e16135b36903d1b43742e9c1cefe0f2df4335646ec17153dc4247227c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a832a36c1b8520ee2f713735c4185506ea94c94efeb3cfb2f68bc3cdaec8c46 [INFO] running `Command { std: "docker" "start" "-a" "4a832a36c1b8520ee2f713735c4185506ea94c94efeb3cfb2f68bc3cdaec8c46", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling bigdecimal v0.4.3 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling diesel_derives v2.1.3 [INFO] [stderr] Checking diesel v2.1.4 [INFO] [stderr] Checking sistema v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `PgConnection` is imported redundantly [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::pg::PgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `PgConnection` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `controllers::user_controllers` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use controllers::user_controllers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `diesel` is imported redundantly [INFO] [stdout] --> src/controllers/user_controllers.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use diesel; [INFO] [stdout] | ^^^^^^ the item `diesel` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PgConnection` is imported redundantly [INFO] [stdout] --> src/controllers/user_controllers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use diesel::pg::PgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `PgConnection` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `diesel` is imported redundantly [INFO] [stdout] --> src/controllers/products_controllers.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use diesel; [INFO] [stdout] | ^^^^^^ the item `diesel` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PgConnection` is imported redundantly [INFO] [stdout] --> src/controllers/products_controllers.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use diesel::pg::PgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `PgConnection` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `diesel` is imported redundantly [INFO] [stdout] --> src/controllers/cash_inflow_controller.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use diesel; [INFO] [stdout] | ^^^^^^ the item `diesel` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::dsl::all` [INFO] [stdout] --> src/controllers/cash_inflow_controller.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use diesel::dsl::all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PgConnection` is imported redundantly [INFO] [stdout] --> src/controllers/cash_inflow_controller.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use diesel::pg::PgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `PgConnection` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::query_dsl::methods::FilterDsl` [INFO] [stdout] --> src/controllers/cash_inflow_controller.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use diesel::query_dsl::methods::FilterDsl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PgConnection` is imported redundantly [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::pg::PgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `PgConnection` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `controllers::user_controllers` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use controllers::user_controllers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `diesel` is imported redundantly [INFO] [stdout] --> src/controllers/user_controllers.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use diesel; [INFO] [stdout] | ^^^^^^ the item `diesel` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PgConnection` is imported redundantly [INFO] [stdout] --> src/controllers/user_controllers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use diesel::pg::PgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `PgConnection` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `diesel` is imported redundantly [INFO] [stdout] --> src/controllers/products_controllers.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use diesel; [INFO] [stdout] | ^^^^^^ the item `diesel` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PgConnection` is imported redundantly [INFO] [stdout] --> src/controllers/products_controllers.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use diesel::pg::PgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `PgConnection` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `diesel` is imported redundantly [INFO] [stdout] --> src/controllers/cash_inflow_controller.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use diesel; [INFO] [stdout] | ^^^^^^ the item `diesel` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::dsl::all` [INFO] [stdout] --> src/controllers/cash_inflow_controller.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use diesel::dsl::all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PgConnection` is imported redundantly [INFO] [stdout] --> src/controllers/cash_inflow_controller.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use diesel::pg::PgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `PgConnection` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::query_dsl::methods::FilterDsl` [INFO] [stdout] --> src/controllers/cash_inflow_controller.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use diesel::query_dsl::methods::FilterDsl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `diesel::dsl::all`: Use `ExpressionMethods::ne_all` instead [INFO] [stdout] --> src/controllers/cash_inflow_controller.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use diesel::dsl::all; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `diesel::dsl::all`: Use `ExpressionMethods::ne_all` instead [INFO] [stdout] --> src/controllers/cash_inflow_controller.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use diesel::dsl::all; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/general_tools.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/general_tools.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id_finder` [INFO] [stdout] --> src/controllers/cash_inflow_controller.rs:19:57 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn db_get_all_cash_in_flow(conn: &mut PgConnection, user_id_finder: i32)-> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id_finder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usurio` [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let usurio = NewUser{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_usurio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stock`, `created_at`, `updated_at`, and `quantity` are never read [INFO] [stdout] --> src/models.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Product{ [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 69 | stock: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 70 | created_at: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 71 | updated_at: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 72 | quantity: BigDecimal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Product` 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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id_finder` [INFO] [stdout] --> src/controllers/cash_inflow_controller.rs:19:57 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn db_get_all_cash_in_flow(conn: &mut PgConnection, user_id_finder: i32)-> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id_finder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usurio` [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let usurio = NewUser{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_usurio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stock`, `created_at`, `updated_at`, and `quantity` are never read [INFO] [stdout] --> src/models.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Product{ [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 69 | stock: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 70 | created_at: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 71 | updated_at: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 72 | quantity: BigDecimal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Product` 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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.87s [INFO] running `Command { std: "docker" "inspect" "4a832a36c1b8520ee2f713735c4185506ea94c94efeb3cfb2f68bc3cdaec8c46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a832a36c1b8520ee2f713735c4185506ea94c94efeb3cfb2f68bc3cdaec8c46", kill_on_drop: false }` [INFO] [stdout] 4a832a36c1b8520ee2f713735c4185506ea94c94efeb3cfb2f68bc3cdaec8c46 [INFO] checking MRMRMR033/sistema_pos against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMRMRMR033%2Fsistema_pos" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MRMRMR033/sistema_pos on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MRMRMR033/sistema_pos [INFO] finished tweaking git repo https://github.com/MRMRMR033/sistema_pos [INFO] tweaked toml for git repo https://github.com/MRMRMR033/sistema_pos written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/MRMRMR033/sistema_pos 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 659d147003dbcf0fc79e8dcd6cc6f060139376e29a495d11cca8b58488369481 [INFO] running `Command { std: "docker" "start" "-a" "659d147003dbcf0fc79e8dcd6cc6f060139376e29a495d11cca8b58488369481", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "659d147003dbcf0fc79e8dcd6cc6f060139376e29a495d11cca8b58488369481", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "659d147003dbcf0fc79e8dcd6cc6f060139376e29a495d11cca8b58488369481", kill_on_drop: false }` [INFO] [stdout] 659d147003dbcf0fc79e8dcd6cc6f060139376e29a495d11cca8b58488369481 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32a2f2a1ff21274cdabe06b4c3e54e0793193cf0eef2031bbe411d40d3a12a48 [INFO] running `Command { std: "docker" "start" "-a" "32a2f2a1ff21274cdabe06b4c3e54e0793193cf0eef2031bbe411d40d3a12a48", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling bigdecimal v0.4.3 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling diesel_table_macro_syntax v0.1.0 [INFO] [stderr] Compiling diesel_derives v2.1.3 [INFO] [stderr] Checking diesel v2.1.4 [INFO] [stderr] Checking sistema v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `PgConnection` is imported redundantly [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::pg::PgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `PgConnection` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `controllers::user_controllers` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use controllers::user_controllers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `diesel` is imported redundantly [INFO] [stdout] --> src/controllers/user_controllers.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use diesel; [INFO] [stdout] | ^^^^^^ the item `diesel` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PgConnection` is imported redundantly [INFO] [stdout] --> src/controllers/user_controllers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use diesel::pg::PgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `PgConnection` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `diesel` is imported redundantly [INFO] [stdout] --> src/controllers/products_controllers.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use diesel; [INFO] [stdout] | ^^^^^^ the item `diesel` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PgConnection` is imported redundantly [INFO] [stdout] --> src/controllers/products_controllers.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use diesel::pg::PgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `PgConnection` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `diesel` is imported redundantly [INFO] [stdout] --> src/controllers/cash_inflow_controller.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use diesel; [INFO] [stdout] | ^^^^^^ the item `diesel` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::dsl::all` [INFO] [stdout] --> src/controllers/cash_inflow_controller.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use diesel::dsl::all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PgConnection` is imported redundantly [INFO] [stdout] --> src/controllers/cash_inflow_controller.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use diesel::pg::PgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `PgConnection` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::query_dsl::methods::FilterDsl` [INFO] [stdout] --> src/controllers/cash_inflow_controller.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use diesel::query_dsl::methods::FilterDsl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PgConnection` is imported redundantly [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use diesel::pg::PgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `PgConnection` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `controllers::user_controllers` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use controllers::user_controllers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `diesel` is imported redundantly [INFO] [stdout] --> src/controllers/user_controllers.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use diesel; [INFO] [stdout] | ^^^^^^ the item `diesel` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PgConnection` is imported redundantly [INFO] [stdout] --> src/controllers/user_controllers.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use diesel::pg::PgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `PgConnection` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `diesel` is imported redundantly [INFO] [stdout] --> src/controllers/products_controllers.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use diesel; [INFO] [stdout] | ^^^^^^ the item `diesel` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PgConnection` is imported redundantly [INFO] [stdout] --> src/controllers/products_controllers.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use diesel::pg::PgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `PgConnection` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `diesel` is imported redundantly [INFO] [stdout] --> src/controllers/cash_inflow_controller.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use diesel; [INFO] [stdout] | ^^^^^^ the item `diesel` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::dsl::all` [INFO] [stdout] --> src/controllers/cash_inflow_controller.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use diesel::dsl::all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `PgConnection` is imported redundantly [INFO] [stdout] --> src/controllers/cash_inflow_controller.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use diesel::pg::PgConnection; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | use diesel::prelude::*; [INFO] [stdout] | ------------------ the item `PgConnection` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `diesel::query_dsl::methods::FilterDsl` [INFO] [stdout] --> src/controllers/cash_inflow_controller.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use diesel::query_dsl::methods::FilterDsl; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `diesel::dsl::all`: Use `ExpressionMethods::ne_all` instead [INFO] [stdout] --> src/controllers/cash_inflow_controller.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use diesel::dsl::all; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `diesel::dsl::all`: Use `ExpressionMethods::ne_all` instead [INFO] [stdout] --> src/controllers/cash_inflow_controller.rs:6:18 [INFO] [stdout] | [INFO] [stdout] 6 | use diesel::dsl::all; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/general_tools.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/general_tools.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id_finder` [INFO] [stdout] --> src/controllers/cash_inflow_controller.rs:19:57 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn db_get_all_cash_in_flow(conn: &mut PgConnection, user_id_finder: i32)-> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id_finder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usurio` [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let usurio = NewUser{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_usurio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stock`, `created_at`, `updated_at`, and `quantity` are never read [INFO] [stdout] --> src/models.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Product{ [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 69 | stock: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 70 | created_at: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 71 | updated_at: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 72 | quantity: BigDecimal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Product` 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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id_finder` [INFO] [stdout] --> src/controllers/cash_inflow_controller.rs:19:57 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn db_get_all_cash_in_flow(conn: &mut PgConnection, user_id_finder: i32)-> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id_finder` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `usurio` [INFO] [stdout] --> src/main.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let usurio = NewUser{ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_usurio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stock`, `created_at`, `updated_at`, and `quantity` are never read [INFO] [stdout] --> src/models.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Product{ [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 69 | stock: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 70 | created_at: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 71 | updated_at: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 72 | quantity: BigDecimal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Product` 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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.45s [INFO] running `Command { std: "docker" "inspect" "32a2f2a1ff21274cdabe06b4c3e54e0793193cf0eef2031bbe411d40d3a12a48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32a2f2a1ff21274cdabe06b4c3e54e0793193cf0eef2031bbe411d40d3a12a48", kill_on_drop: false }` [INFO] [stdout] 32a2f2a1ff21274cdabe06b4c3e54e0793193cf0eef2031bbe411d40d3a12a48