[INFO] cloning repository https://github.com/Brxzee/WarehouseInc
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Brxzee/WarehouseInc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrxzee%2FWarehouseInc", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrxzee%2FWarehouseInc'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8c5b0cffb335860432a48c3fb9ad101d67fbabc2
[INFO] checking Brxzee/WarehouseInc against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBrxzee%2FWarehouseInc" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Brxzee/WarehouseInc
[INFO] finished tweaking git repo https://github.com/Brxzee/WarehouseInc
[INFO] tweaked toml for git repo https://github.com/Brxzee/WarehouseInc written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Brxzee/WarehouseInc on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Brxzee/WarehouseInc 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.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bcrypt v0.13.0
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5740ba1e208074e18ffcd00035f967a3fa4f83054af58d781eddfbb855c40520
[INFO] running `Command { std: "docker" "start" "-a" "5740ba1e208074e18ffcd00035f967a3fa4f83054af58d781eddfbb855c40520", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5740ba1e208074e18ffcd00035f967a3fa4f83054af58d781eddfbb855c40520", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5740ba1e208074e18ffcd00035f967a3fa4f83054af58d781eddfbb855c40520", kill_on_drop: false }`
[INFO] [stdout] 5740ba1e208074e18ffcd00035f967a3fa4f83054af58d781eddfbb855c40520
[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=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" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 24113935eee7491b549ae0cce82809e3d08d5c854dce88b7b8816617887b16f7
[INFO] running `Command { std: "docker" "start" "-a" "24113935eee7491b549ae0cce82809e3d08d5c854dce88b7b8816617887b16f7", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling generic-array v0.14.6
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]     Checking once_cell v1.17.0
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking aho-corasick v0.7.20
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking smallvec v1.10.0
[INFO] [stderr]     Checking regex-syntax v0.6.28
[INFO] [stderr]     Checking fallible-iterator v0.2.0
[INFO] [stderr]     Checking zeroize v1.5.7
[INFO] [stderr]     Checking fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling libsqlite3-sys v0.25.2
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking inout v0.1.3
[INFO] [stderr]     Checking cipher v0.4.3
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]     Checking blowfish v0.9.1
[INFO] [stderr]     Checking bcrypt v0.13.0
[INFO] [stderr]     Checking hashlink v0.8.1
[INFO] [stderr]     Checking regex v1.7.1
[INFO] [stderr]     Checking rusqlite v0.28.0
[INFO] [stderr]     Checking init v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `barcode`
[INFO] [stdout]   --> src/warehouse.rs:32:31
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn add_product(&mut self, barcode: u64, quantity: i32){
[INFO] [stdout]    |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_barcode`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `quantity`
[INFO] [stdout]   --> src/warehouse.rs:32:45
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn add_product(&mut self, barcode: u64, quantity: i32){
[INFO] [stdout]    |                                             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quantity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `barcode`
[INFO] [stdout]   --> src/warehouse.rs:35:34
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn remove_product(&mut self, barcode: u64, quantity: i32){
[INFO] [stdout]    |                                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_barcode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `quantity`
[INFO] [stdout]   --> src/warehouse.rs:35:48
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn remove_product(&mut self, barcode: u64, quantity: i32){
[INFO] [stdout]    |                                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quantity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `barcode`
[INFO] [stdout]   --> src/warehouse.rs:37:32
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn move_product(&mut self, barcode: u64, quantity: i32){
[INFO] [stdout]    |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_barcode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `quantity`
[INFO] [stdout]   --> src/warehouse.rs:37:46
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn move_product(&mut self, barcode: u64, quantity: i32){
[INFO] [stdout]    |                                              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quantity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `barcode`
[INFO] [stdout]   --> src/warehouse.rs:32:31
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn add_product(&mut self, barcode: u64, quantity: i32){
[INFO] [stdout]    |                               ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_barcode`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `quantity`
[INFO] [stdout]   --> src/warehouse.rs:32:45
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn add_product(&mut self, barcode: u64, quantity: i32){
[INFO] [stdout]    |                                             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quantity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `barcode`
[INFO] [stdout]   --> src/warehouse.rs:35:34
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn remove_product(&mut self, barcode: u64, quantity: i32){
[INFO] [stdout]    |                                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_barcode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `quantity`
[INFO] [stdout]   --> src/warehouse.rs:35:48
[INFO] [stdout]    |
[INFO] [stdout] 35 |     fn remove_product(&mut self, barcode: u64, quantity: i32){
[INFO] [stdout]    |                                                ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quantity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `barcode`
[INFO] [stdout]   --> src/warehouse.rs:37:32
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn move_product(&mut self, barcode: u64, quantity: i32){
[INFO] [stdout]    |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_barcode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `quantity`
[INFO] [stdout]   --> src/warehouse.rs:37:46
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn move_product(&mut self, barcode: u64, quantity: i32){
[INFO] [stdout]    |                                              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_quantity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `barcode`
[INFO] [stdout]    --> src/main.rs:150:17
[INFO] [stdout]     |
[INFO] [stdout] 150 |             let barcode = StorageBin::validate_barcode();
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_barcode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `material`
[INFO] [stdout]    --> src/main.rs:151:17
[INFO] [stdout]     |
[INFO] [stdout] 151 |             let material = StorageBin::validate_material();
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_product`, `remove_product`, and `move_product` are never used
[INFO] [stdout]   --> src/warehouse.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl StorageBin {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     fn add_product(&mut self, barcode: u64, quantity: i32){
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn remove_product(&mut self, barcode: u64, quantity: i32){
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 36 |     }
[INFO] [stdout] 37 |     fn move_product(&mut self, barcode: u64, quantity: i32){
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_user` is never used
[INFO] [stdout]    --> src/user.rs:127:8
[INFO] [stdout]     |
[INFO] [stdout] 127 | pub fn remove_user(db_connection: &mut Connection){
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:103:17
[INFO] [stdout]     |
[INFO] [stdout] 103 |                 warehouse_add_or_move(db_connection);
[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] 103 |                 let _ = warehouse_add_or_move(db_connection);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `barcode`
[INFO] [stdout]    --> src/main.rs:150:17
[INFO] [stdout]     |
[INFO] [stdout] 150 |             let barcode = StorageBin::validate_barcode();
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_barcode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `material`
[INFO] [stdout]    --> src/main.rs:151:17
[INFO] [stdout]     |
[INFO] [stdout] 151 |             let material = StorageBin::validate_material();
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_material`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add_product`, `remove_product`, and `move_product` are never used
[INFO] [stdout]   --> src/warehouse.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl StorageBin {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     fn add_product(&mut self, barcode: u64, quantity: i32){
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     fn remove_product(&mut self, barcode: u64, quantity: i32){
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 36 |     }
[INFO] [stdout] 37 |     fn move_product(&mut self, barcode: u64, quantity: i32){
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_user` is never used
[INFO] [stdout]    --> src/user.rs:127:8
[INFO] [stdout]     |
[INFO] [stdout] 127 | pub fn remove_user(db_connection: &mut Connection){
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:103:17
[INFO] [stdout]     |
[INFO] [stdout] 103 |                 warehouse_add_or_move(db_connection);
[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] 103 |                 let _ = warehouse_add_or_move(db_connection);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.66s
[INFO] running `Command { std: "docker" "inspect" "24113935eee7491b549ae0cce82809e3d08d5c854dce88b7b8816617887b16f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24113935eee7491b549ae0cce82809e3d08d5c854dce88b7b8816617887b16f7", kill_on_drop: false }`
[INFO] [stdout] 24113935eee7491b549ae0cce82809e3d08d5c854dce88b7b8816617887b16f7
