[INFO] cloning repository https://github.com/Hellish13/inventory [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hellish13/inventory" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHellish13%2Finventory", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHellish13%2Finventory'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8046bba7b515f2eec981457ca401586e58184c44 [INFO] building Hellish13/inventory against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHellish13%2Finventory" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Hellish13/inventory [INFO] finished tweaking git repo https://github.com/Hellish13/inventory [INFO] tweaked toml for git repo https://github.com/Hellish13/inventory written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Hellish13/inventory on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Hellish13/inventory 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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "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 csv-core v0.1.13 [INFO] [stderr] Downloaded rusqlite v0.37.0 [INFO] [stderr] Downloaded quick-xml v0.38.3 [INFO] [stderr] Downloaded csv v1.4.0 [INFO] [stderr] Downloaded libsqlite3-sys v0.35.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 716cc169c6e0bbdfa5fec6f943d3e14b997fe463710aa774eb1864f967306a9f [INFO] running `Command { std: "docker" "start" "-a" "716cc169c6e0bbdfa5fec6f943d3e14b997fe463710aa774eb1864f967306a9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "716cc169c6e0bbdfa5fec6f943d3e14b997fe463710aa774eb1864f967306a9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "716cc169c6e0bbdfa5fec6f943d3e14b997fe463710aa774eb1864f967306a9f", kill_on_drop: false }` [INFO] [stdout] 716cc169c6e0bbdfa5fec6f943d3e14b997fe463710aa774eb1864f967306a9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 0a58d964e72ecf53883c097894af5c7e3c4a9c5594428516f4e100c599f79e31 [INFO] running `Command { std: "docker" "start" "-a" "0a58d964e72ecf53883c097894af5c7e3c4a9c5594428516f4e100c599f79e31", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling cc v1.2.44 [INFO] [stderr] Compiling csv-core v0.1.13 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling libsqlite3-sys v0.35.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling csv v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling quick-xml v0.38.3 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling rusqlite v0.37.0 [INFO] [stderr] Compiling write_off_system v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/repositories.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | let conn = self.db.get_connection(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_repo` [INFO] [stdout] --> src/main.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | let item_repo = WriteOffItemRepository::new(db); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/repositories.rs:299:12 [INFO] [stdout] | [INFO] [stdout] 210 | impl<'a> WriteOffRequestRepository<'a> { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn update(&self, request: &WriteOffRequest) -> 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: methods `get_by_request_id`, `update`, and `delete_by_request_and_product` are never used [INFO] [stdout] --> src/repositories.rs:412:12 [INFO] [stdout] | [INFO] [stdout] 394 | impl<'a> WriteOffItemRepository<'a> { [INFO] [stdout] | ----------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 412 | pub fn get_by_request_id(&self, request_id: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 470 | pub fn update(&self, item: &WriteOffItem) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 496 | pub fn delete_by_request_and_product(&self, request_id: i64, product_id: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all`, `create`, `update`, and `delete` are never used [INFO] [stdout] --> src/repositories.rs:536:8 [INFO] [stdout] | [INFO] [stdout] 511 | impl<'a> AdminRepository<'a> { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 536 | pub fn get_all(&self) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | pub fn create(&self, admin: &Admin) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 568 | pub fn update(&self, admin: &Admin) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 585 | pub fn delete(&self, id: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.63s [INFO] running `Command { std: "docker" "inspect" "0a58d964e72ecf53883c097894af5c7e3c4a9c5594428516f4e100c599f79e31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a58d964e72ecf53883c097894af5c7e3c4a9c5594428516f4e100c599f79e31", kill_on_drop: false }` [INFO] [stdout] 0a58d964e72ecf53883c097894af5c7e3c4a9c5594428516f4e100c599f79e31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] e7418272a35cab0b6edafd65e1932aeba489ce808402719303671f06cd9684a0 [INFO] running `Command { std: "docker" "start" "-a" "e7418272a35cab0b6edafd65e1932aeba489ce808402719303671f06cd9684a0", kill_on_drop: false }` [INFO] [stderr] Compiling write_off_system v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `conn` [INFO] [stdout] --> src/repositories.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 356 | let conn = self.db.get_connection(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_repo` [INFO] [stdout] --> src/main.rs:637:9 [INFO] [stdout] | [INFO] [stdout] 637 | let item_repo = WriteOffItemRepository::new(db); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_repo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update` is never used [INFO] [stdout] --> src/repositories.rs:299:12 [INFO] [stdout] | [INFO] [stdout] 210 | impl<'a> WriteOffRequestRepository<'a> { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn update(&self, request: &WriteOffRequest) -> 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: methods `get_by_request_id`, `update`, and `delete_by_request_and_product` are never used [INFO] [stdout] --> src/repositories.rs:412:12 [INFO] [stdout] | [INFO] [stdout] 394 | impl<'a> WriteOffItemRepository<'a> { [INFO] [stdout] | ----------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 412 | pub fn get_by_request_id(&self, request_id: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 470 | pub fn update(&self, item: &WriteOffItem) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 496 | pub fn delete_by_request_and_product(&self, request_id: i64, product_id: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_all`, `create`, `update`, and `delete` are never used [INFO] [stdout] --> src/repositories.rs:536:8 [INFO] [stdout] | [INFO] [stdout] 511 | impl<'a> AdminRepository<'a> { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 536 | pub fn get_all(&self) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 554 | pub fn create(&self, admin: &Admin) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 568 | pub fn update(&self, admin: &Admin) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 585 | pub fn delete(&self, id: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "e7418272a35cab0b6edafd65e1932aeba489ce808402719303671f06cd9684a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7418272a35cab0b6edafd65e1932aeba489ce808402719303671f06cd9684a0", kill_on_drop: false }` [INFO] [stdout] e7418272a35cab0b6edafd65e1932aeba489ce808402719303671f06cd9684a0