[INFO] cloning repository https://github.com/kamchy/rust-chores [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kamchy/rust-chores" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamchy%2Frust-chores", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamchy%2Frust-chores'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 974eb904e534416fb1fe3b736542eceb4b9f97f7 [INFO] testing kamchy/rust-chores against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkamchy%2Frust-chores" "/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/kamchy/rust-chores [INFO] finished tweaking git repo https://github.com/kamchy/rust-chores [INFO] tweaked toml for git repo https://github.com/kamchy/rust-chores written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kamchy/rust-chores on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kamchy/rust-chores 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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded human-panic v2.0.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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 40a0db419167b7221c52f202e015f09c4c2e8326543c7a33eed88b7a8bd8cca0 [INFO] running `Command { std: "docker" "start" "-a" "40a0db419167b7221c52f202e015f09c4c2e8326543c7a33eed88b7a8bd8cca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "40a0db419167b7221c52f202e015f09c4c2e8326543c7a33eed88b7a8bd8cca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40a0db419167b7221c52f202e015f09c4c2e8326543c7a33eed88b7a8bd8cca0", kill_on_drop: false }` [INFO] [stdout] 40a0db419167b7221c52f202e015f09c4c2e8326543c7a33eed88b7a8bd8cca0 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96f1248b3d576886c332b93bd6e91f7e8b9a6b904a8277d557b839f055cbd47f [INFO] running `Command { std: "docker" "start" "-a" "96f1248b3d576886c332b93bd6e91f7e8b9a6b904a8277d557b839f055cbd47f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling libsqlite3-sys v0.28.0 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling newline-converter v0.3.0 [INFO] [stderr] Compiling papergrid v0.11.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling tabled_derive v0.7.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling hashlink v0.9.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling tabled v0.15.0 [INFO] [stderr] Compiling inquire v0.7.5 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling os_info v3.8.2 [INFO] [stderr] Compiling toml_edit v0.22.12 [INFO] [stderr] Compiling toml v0.8.12 [INFO] [stderr] Compiling rusqlite v0.31.0 [INFO] [stderr] Compiling human-panic v2.0.0 [INFO] [stderr] Compiling chores v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `DeleteError` is never constructed [INFO] [stdout] --> src/data.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum DataError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | DeleteError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataError` 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: multiple methods are never used [INFO] [stdout] --> src/data.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait Data { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 26 | fn add_person(&mut self, name: &str) -> Result<(), DataError>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | fn get_persons(&self) -> Result, DataError>; [INFO] [stdout] 28 | fn remove_person(&mut self, index: u8) -> Result<(), DataError>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 29 | fn add_chore( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn remove_chore(&mut self, index: u8) -> Result<(), DataError>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn get_schedules(&self) -> Result, DataError>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 39 | /// id could be internal type [INFO] [stdout] 40 | fn assign(self: &mut Self, person_id: i32, chore_id: i32) -> Result<(), DataError>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | fn remove_assignment(&mut self, index: u8) -> Result<(), DataError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | [INFO] [stdout] 43 | fn get_assignments(&self) -> Result, DataError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level` is never read [INFO] [stdout] --> src/data.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Chore { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | pub level: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chore` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Assignment` is never constructed [INFO] [stdout] --> src/data.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Assignment { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_next_date` is never used [INFO] [stdout] --> src/data.rs:271:4 [INFO] [stdout] | [INFO] [stdout] 271 | fn calc_next_date(last: String, frequency: u8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Schedule` is never constructed [INFO] [stdout] --> src/data.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 278 | pub struct Schedule { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 50.11s [INFO] running `Command { std: "docker" "inspect" "96f1248b3d576886c332b93bd6e91f7e8b9a6b904a8277d557b839f055cbd47f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96f1248b3d576886c332b93bd6e91f7e8b9a6b904a8277d557b839f055cbd47f", kill_on_drop: false }` [INFO] [stdout] 96f1248b3d576886c332b93bd6e91f7e8b9a6b904a8277d557b839f055cbd47f [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc608faa73c2780decd91a55bc031944aeb36d8f04059299812a94b61a5d78e9 [INFO] running `Command { std: "docker" "start" "-a" "dc608faa73c2780decd91a55bc031944aeb36d8f04059299812a94b61a5d78e9", kill_on_drop: false }` [INFO] [stderr] Compiling chores v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `DeleteError` is never constructed [INFO] [stdout] --> src/data.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum DataError { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 17 | DeleteError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataError` 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: multiple methods are never used [INFO] [stdout] --> src/data.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub trait Data { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 28 | fn remove_person(&mut self, index: u8) -> Result<(), DataError>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 29 | fn add_chore( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn remove_chore(&mut self, index: u8) -> Result<(), DataError>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn get_schedules(&self) -> Result, DataError>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 39 | /// id could be internal type [INFO] [stdout] 40 | fn assign(self: &mut Self, person_id: i32, chore_id: i32) -> Result<(), DataError>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 41 | fn remove_assignment(&mut self, index: u8) -> Result<(), DataError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | [INFO] [stdout] 43 | fn get_assignments(&self) -> Result, DataError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level` is never read [INFO] [stdout] --> src/data.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Chore { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 74 | pub level: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chore` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Assignment` is never constructed [INFO] [stdout] --> src/data.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct Assignment { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calc_next_date` is never used [INFO] [stdout] --> src/data.rs:271:4 [INFO] [stdout] | [INFO] [stdout] 271 | fn calc_next_date(last: String, frequency: u8) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Schedule` is never constructed [INFO] [stdout] --> src/data.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 278 | pub struct Schedule { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.13s [INFO] running `Command { std: "docker" "inspect" "dc608faa73c2780decd91a55bc031944aeb36d8f04059299812a94b61a5d78e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc608faa73c2780decd91a55bc031944aeb36d8f04059299812a94b61a5d78e9", kill_on_drop: false }` [INFO] [stdout] dc608faa73c2780decd91a55bc031944aeb36d8f04059299812a94b61a5d78e9 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4a322bdc29464b5acd96b88098a47571a60bf4d012c8859e5eb5164d9be2eecc [INFO] running `Command { std: "docker" "start" "-a" "4a322bdc29464b5acd96b88098a47571a60bf4d012c8859e5eb5164d9be2eecc", kill_on_drop: false }` [INFO] [stderr] warning: variant `DeleteError` is never constructed [INFO] [stdout] [INFO] [stderr] --> src/data.rs:17:5 [INFO] [stdout] running 2 tests [INFO] [stderr] | [INFO] [stderr] 10 | pub enum DataError { [INFO] [stderr] | --------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 17 | DeleteError { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DataError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: multiple methods are never used [INFO] [stderr] --> src/data.rs:28:8 [INFO] [stderr] | [INFO] [stderr] 25 | pub trait Data { [INFO] [stderr] | ---- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 28 | fn remove_person(&mut self, index: u8) -> Result<(), DataError>; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 29 | fn add_chore( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 35 | fn remove_chore(&mut self, index: u8) -> Result<(), DataError>; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | fn get_schedules(&self) -> Result, DataError>; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 39 | /// id could be internal type [INFO] [stderr] 40 | fn assign(self: &mut Self, person_id: i32, chore_id: i32) -> Result<(), DataError>; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 41 | fn remove_assignment(&mut self, index: u8) -> Result<(), DataError>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 42 | [INFO] [stderr] 43 | fn get_assignments(&self) -> Result, DataError>; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `level` is never read [INFO] [stderr] --> src/data.rs:74:9 [INFO] [stderr] | [INFO] [stderr] 71 | pub struct Chore { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 74 | pub level: u8, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Chore` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `Assignment` is never constructed [INFO] [stderr] --> src/data.rs:87:12 [INFO] [stderr] | [INFO] [stderr] 87 | pub struct Assignment { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `calc_next_date` is never used [INFO] [stderr] --> src/data.rs:271:4 [INFO] [stderr] | [INFO] [stderr] 271 | fn calc_next_date(last: String, frequency: u8) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Schedule` is never constructed [INFO] [stderr] --> src/data.rs:278:12 [INFO] [stderr] | [INFO] [stderr] 278 | pub struct Schedule { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `chores` (bin "inter" test) generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/chores-504bc8180c2ae637) [INFO] [stdout] test data::test::test_row_inserted ... ok [INFO] [stdout] test data::test::test_db_creation ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- data::test::test_db_creation stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'data::test::test_db_creation' panicked at src/data.rs:313:13: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: true [INFO] [stdout] right: false [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x557c6af20302 - std::backtrace_rs::backtrace::libunwind::trace::hf6dd235ae0786829 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x557c6af20302 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a5b54e78104e8b2 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x557c6af20302 - std::sys::backtrace::_print_fmt::hca7a5c1644e21919 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x557c6af20302 - ::fmt::h38110959524b373c [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x557c6af45553 - core::fmt::rt::Argument::fmt::h391eb3fdbf3d4042 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x557c6af45553 - core::fmt::write::h5b87140645224122 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/fmt/mod.rs:1465:25 [INFO] [stdout] 6: 0x557c6af1d283 - std::io::default_write_fmt::h3039811ce7aea84b [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x557c6af1d283 - std::io::Write::write_fmt::h2eef262cf4840ab4 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x557c6af20152 - std::sys::backtrace::BacktraceLock::print::hcd755c38f62e4492 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x557c6af2186c - std::panicking::default_hook::{{closure}}::h351f33591b26e6e7 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x557c6af216c2 - std::panicking::default_hook::he5bba7bf0a373c6e [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x557c6ad8fe34 - as core::ops::function::Fn>::call::he967d9fa26b9957c [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x557c6ad8fe34 - test::test_main_with_exit_callback::{{closure}}::h80e1694b81a05381 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x557c6af2224b - as core::ops::function::Fn>::call::h4e924fcf5bc64d70 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x557c6af2224b - std::panicking::rust_panic_with_hook::hdf456b43e6535023 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x557c6af2201a - std::panicking::begin_panic_handler::{{closure}}::he1c1ab0b84006a97 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x557c6af207f9 - std::sys::backtrace::__rust_end_short_backtrace::h2a71da996e10b8a0 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x557c6af21cad - __rustc[92197b79f0fe8095]::rust_begin_unwind [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x557c6af440d0 - core::panicking::panic_fmt::h723bf1d52f6dad29 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x557c6af44337 - core::panicking::assert_failed_inner::hf0724fdfb0e16b9c [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panicking.rs:432:17 [INFO] [stdout] 20: 0x557c6aef3365 - core::panicking::assert_failed::h7fb81da77b57942c [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panicking.rs:387:5 [INFO] [stdout] 21: 0x557c6ad56461 - chores::data::test::test_db_creation::h12103516237ff5a8 [INFO] [stdout] at /opt/rustwide/workdir/src/data.rs:313:13 [INFO] [stdout] 22: 0x557c6ad55cdc - chores::data::test::test_db_creation::{{closure}}::h2279d8286f1c0d32 [INFO] [stdout] at /opt/rustwide/workdir/src/data.rs:297:30 [INFO] [stdout] 23: 0x557c6ad4f606 - core::ops::function::FnOnce::call_once::hd9f8da422982739d [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x557c6ad955db - core::ops::function::FnOnce::call_once::h0669c8b9c48a7d8a [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x557c6ad955db - test::__rust_begin_short_backtrace::h7b085d6d90a7575c [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x557c6ad947ae - test::run_test_in_process::{{closure}}::ha304053f1e1d1fbe [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:671:74 [INFO] [stdout] 27: 0x557c6ad947ae - as core::ops::function::FnOnce<()>>::call_once::h8e30650eb6723f86 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x557c6ad947ae - std::panicking::catch_unwind::do_call::hfe563e330be3fd9d [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x557c6ad947ae - std::panicking::catch_unwind::hed40f568f7f44546 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x557c6ad947ae - std::panic::catch_unwind::h3bb9c46c11d39dfb [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x557c6ad947ae - test::run_test_in_process::hd65f1a6e6622ae42 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x557c6ad947ae - test::run_test::{{closure}}::h9e896de936f245ea [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x557c6ad583a4 - test::run_test::{{closure}}::hbb18881f56552c10 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x557c6ad583a4 - std::sys::backtrace::__rust_begin_short_backtrace::hca2387d32733b689 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x557c6ad5bc9a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9601175bf02a7fb8 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x557c6ad5bc9a - as core::ops::function::FnOnce<()>>::call_once::had8286ad0e1f2528 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x557c6ad5bc9a - std::panicking::catch_unwind::do_call::he4164e9e75841fd6 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x557c6ad5bc9a - std::panicking::catch_unwind::h48ccc52a84ae7300 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x557c6ad5bc9a - std::panic::catch_unwind::h3d97eb787aa35ee4 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x557c6ad5bc9a - std::thread::Builder::spawn_unchecked_::{{closure}}::h1019329d11de31fb [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x557c6ad5bc9a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h050615be551c6447 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x557c6af251a7 - as core::ops::function::FnOnce>::call_once::h23e83c3768c28e74 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x557c6af251a7 - as core::ops::function::FnOnce>::call_once::he67b41932d2c126e [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x557c6af251a7 - std::sys::pal::unix::thread::Thread::new::thread_start::hc05bf0eaa2386caa [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 45: 0x7ff0305e1aa4 - [INFO] [stdout] 46: 0x7ff03066ea34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] data::test::test_db_creation [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin chores` [INFO] running `Command { std: "docker" "inspect" "4a322bdc29464b5acd96b88098a47571a60bf4d012c8859e5eb5164d9be2eecc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a322bdc29464b5acd96b88098a47571a60bf4d012c8859e5eb5164d9be2eecc", kill_on_drop: false }` [INFO] [stdout] 4a322bdc29464b5acd96b88098a47571a60bf4d012c8859e5eb5164d9be2eecc