[INFO] cloning repository https://github.com/Fufyrkasss/rust-practice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Fufyrkasss/rust-practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFufyrkasss%2Frust-practice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFufyrkasss%2Frust-practice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 56d9eafb2a5b8eec9ebba67908eca6f78bef1cde [INFO] checking Fufyrkasss/rust-practice against try#e5b0618d996a6a3941e423fd3e170737b8dbdc92 for pr-151822 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFufyrkasss%2Frust-practice" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Fufyrkasss/rust-practice [INFO] finished tweaking git repo https://github.com/Fufyrkasss/rust-practice [INFO] tweaked toml for git repo https://github.com/Fufyrkasss/rust-practice written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Fufyrkasss/rust-practice on toolchain e5b0618d996a6a3941e423fd3e170737b8dbdc92 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Fufyrkasss/rust-practice 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" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bcrypt v0.17.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ebada49632a5dacb1785944cbcfc215a323f82a7ea6d2074664931ca7ede1f7 [INFO] running `Command { std: "docker" "start" "-a" "5ebada49632a5dacb1785944cbcfc215a323f82a7ea6d2074664931ca7ede1f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ebada49632a5dacb1785944cbcfc215a323f82a7ea6d2074664931ca7ede1f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ebada49632a5dacb1785944cbcfc215a323f82a7ea6d2074664931ca7ede1f7", kill_on_drop: false }` [INFO] [stdout] 5ebada49632a5dacb1785944cbcfc215a323f82a7ea6d2074664931ca7ede1f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+e5b0618d996a6a3941e423fd3e170737b8dbdc92" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b4f91744f000fb10739bb819438683e739d39edc697dbc3a50cdd2366f8181a [INFO] running `Command { std: "docker" "start" "-a" "2b4f91744f000fb10739bb819438683e739d39edc697dbc3a50cdd2366f8181a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking bcrypt v0.17.1 [INFO] [stderr] Checking rusqlite v0.31.0 [INFO] [stderr] Checking FufirkaProject v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | if (login == "admin" && password == "admin") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - if (login == "admin" && password == "admin") { [INFO] [stdout] 30 + if login == "admin" && password == "admin" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | if (login == "admin" && password == "admin") { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - if (login == "admin" && password == "admin") { [INFO] [stdout] 30 + if login == "admin" && password == "admin" { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/moduls/worker.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Worker{ [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 8 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/moduls/worker.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl Worker{ [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 8 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/moduls/prac_db.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | / self.conndb.execute( [INFO] [stdout] 222 | | "INSERT INTO user (user_login, user_password, user_role) VALUES (?1, ?2, ?3)", [INFO] [stdout] 223 | | params![user_login, password_hash, user_role], [INFO] [stdout] 224 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 221 | let _ = self.conndb.execute( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/moduls/prac_db.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | / self.conndb.execute( [INFO] [stdout] 262 | | "INSERT INTO supplier (supplier_name) VALUES (?1)", [INFO] [stdout] 263 | | [supplier_name], [INFO] [stdout] 264 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 261 | let _ = self.conndb.execute( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/moduls/prac_db.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | / self.conndb.execute( [INFO] [stdout] 269 | | "INSERT INTO category (category_name) VALUES (?1)", [INFO] [stdout] 270 | | [category_name], [INFO] [stdout] 271 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 268 | let _ = self.conndb.execute( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/moduls/prac_db.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | / self.conndb.execute( [INFO] [stdout] 275 | | "INSERT INTO product (product_name, product_category_id, product_supplier_id, product_quantity) VALUES (?1)", [INFO] [stdout] 276 | | [product_name, product_category_id, product_supplier_id, product_quantity], [INFO] [stdout] 277 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 274 | let _ = self.conndb.execute( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/moduls/prac_db.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | / self.conndb.execute( [INFO] [stdout] 222 | | "INSERT INTO user (user_login, user_password, user_role) VALUES (?1, ?2, ?3)", [INFO] [stdout] 223 | | params![user_login, password_hash, user_role], [INFO] [stdout] 224 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 221 | let _ = self.conndb.execute( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/moduls/prac_db.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | / self.conndb.execute( [INFO] [stdout] 262 | | "INSERT INTO supplier (supplier_name) VALUES (?1)", [INFO] [stdout] 263 | | [supplier_name], [INFO] [stdout] 264 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 261 | let _ = self.conndb.execute( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/moduls/prac_db.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | / self.conndb.execute( [INFO] [stdout] 269 | | "INSERT INTO category (category_name) VALUES (?1)", [INFO] [stdout] 270 | | [category_name], [INFO] [stdout] 271 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 268 | let _ = self.conndb.execute( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/moduls/prac_db.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | / self.conndb.execute( [INFO] [stdout] 275 | | "INSERT INTO product (product_name, product_category_id, product_supplier_id, product_quantity) VALUES (?1)", [INFO] [stdout] 276 | | [product_name, product_category_id, product_supplier_id, product_quantity], [INFO] [stdout] 277 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 274 | let _ = self.conndb.execute( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.89s [INFO] running `Command { std: "docker" "inspect" "2b4f91744f000fb10739bb819438683e739d39edc697dbc3a50cdd2366f8181a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b4f91744f000fb10739bb819438683e739d39edc697dbc3a50cdd2366f8181a", kill_on_drop: false }` [INFO] [stdout] 2b4f91744f000fb10739bb819438683e739d39edc697dbc3a50cdd2366f8181a