[INFO] cloning repository https://github.com/joao-novo/mealtime [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joao-novo/mealtime" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoao-novo%2Fmealtime", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoao-novo%2Fmealtime'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 20f52edba4c81deff8387892b549b383b60a4046 [INFO] testing joao-novo/mealtime against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoao-novo%2Fmealtime" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/joao-novo/mealtime [INFO] finished tweaking git repo https://github.com/joao-novo/mealtime [INFO] tweaked toml for git repo https://github.com/joao-novo/mealtime written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/joao-novo/mealtime on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/joao-novo/mealtime 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid-macro-internal v1.10.0 [INFO] [stderr] Downloaded fallible-iterator v0.3.0 [INFO] [stderr] Downloaded uuid v1.10.0 [INFO] [stderr] Downloaded rusqlite v0.32.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 941ab7471b87afe871d59b20b371f4bc6d707352567bd356a2aacd8a1f79a27c [INFO] running `Command { std: "docker" "start" "-a" "941ab7471b87afe871d59b20b371f4bc6d707352567bd356a2aacd8a1f79a27c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "941ab7471b87afe871d59b20b371f4bc6d707352567bd356a2aacd8a1f79a27c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "941ab7471b87afe871d59b20b371f4bc6d707352567bd356a2aacd8a1f79a27c", kill_on_drop: false }` [INFO] [stdout] 941ab7471b87afe871d59b20b371f4bc6d707352567bd356a2aacd8a1f79a27c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cfc162ddf6973f3767c63b2ad048012f46af24c3980d5c036f5cd2fedcb9598 [INFO] running `Command { std: "docker" "start" "-a" "6cfc162ddf6973f3767c63b2ad048012f46af24c3980d5c036f5cd2fedcb9598", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling uuid-macro-internal v1.10.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling rusqlite v0.32.1 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling mealtime v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/main.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | fn handle_commands(db: &Database, command: String) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/main.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | fn handle_commands(db: &Database, command: String) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_item`, `remove_item`, `get_items`, `get_item_by_name`, and `update_item` are never used [INFO] [stdout] --> src/api/queries.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 7 | fn add_item(&self, item: &Item) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn remove_item(&self, name: String) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn get_items(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn get_item_by_name(&self, name: String) -> Item { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn update_item(&self, old_name: String, new_item: &Item) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.57s [INFO] running `Command { std: "docker" "inspect" "6cfc162ddf6973f3767c63b2ad048012f46af24c3980d5c036f5cd2fedcb9598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cfc162ddf6973f3767c63b2ad048012f46af24c3980d5c036f5cd2fedcb9598", kill_on_drop: false }` [INFO] [stdout] 6cfc162ddf6973f3767c63b2ad048012f46af24c3980d5c036f5cd2fedcb9598 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48d3ba276b8c59ccd94f4a210f2ba3db172c02c269a9f26388ab03eab4ff1ed6 [INFO] running `Command { std: "docker" "start" "-a" "48d3ba276b8c59ccd94f4a210f2ba3db172c02c269a9f26388ab03eab4ff1ed6", kill_on_drop: false }` [INFO] [stderr] Compiling mealtime v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `db` [INFO] [stdout] --> src/main.rs:8:20 [INFO] [stdout] | [INFO] [stdout] 8 | fn handle_commands(db: &Database, command: String) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/main.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | fn handle_commands(db: &Database, command: String) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "48d3ba276b8c59ccd94f4a210f2ba3db172c02c269a9f26388ab03eab4ff1ed6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48d3ba276b8c59ccd94f4a210f2ba3db172c02c269a9f26388ab03eab4ff1ed6", kill_on_drop: false }` [INFO] [stdout] 48d3ba276b8c59ccd94f4a210f2ba3db172c02c269a9f26388ab03eab4ff1ed6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 19073db70323c6de768896d339afdbdd1a8d412df7c8ccf06250d3efe289e17c [INFO] running `Command { std: "docker" "start" "-a" "19073db70323c6de768896d339afdbdd1a8d412df7c8ccf06250d3efe289e17c", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `db` [INFO] [stderr] --> src/main.rs:8:20 [INFO] [stderr] | [INFO] [stderr] 8 | fn handle_commands(db: &Database, command: String) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_db` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `command` [INFO] [stderr] --> src/main.rs:8:35 [INFO] [stderr] | [INFO] [stderr] 8 | fn handle_commands(db: &Database, command: String) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stderr] [INFO] [stderr] warning: `mealtime` (bin "mealtime" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mealtime-126520b10a918901) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test api::queries::tests::test_get_items ... ok [INFO] [stdout] test api::queries::tests::test_add_item ... ok [INFO] [stdout] test api::queries::tests::test_get_item_by_name ... ok [INFO] [stdout] test api::queries::tests::test_remove_item ... ok [INFO] [stdout] test api::queries::tests::test_update_item ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "19073db70323c6de768896d339afdbdd1a8d412df7c8ccf06250d3efe289e17c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19073db70323c6de768896d339afdbdd1a8d412df7c8ccf06250d3efe289e17c", kill_on_drop: false }` [INFO] [stdout] 19073db70323c6de768896d339afdbdd1a8d412df7c8ccf06250d3efe289e17c