[INFO] cloning repository https://github.com/Smileodox/Caru [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Smileodox/Caru" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSmileodox%2FCaru", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSmileodox%2FCaru'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fe59f94646887cd1e69bea2b91ecde057f47d1bf [INFO] testing Smileodox/Caru against master#552a959051cebf8f88a8f558399baf733bec9ce0 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSmileodox%2FCaru" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Smileodox/Caru on toolchain 552a959051cebf8f88a8f558399baf733bec9ce0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Smileodox/Caru [INFO] finished tweaking git repo https://github.com/Smileodox/Caru [INFO] tweaked toml for git repo https://github.com/Smileodox/Caru written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Smileodox/Caru 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" "+552a959051cebf8f88a8f558399baf733bec9ce0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pango-sys v0.10.0 [INFO] [stderr] Downloaded gobject-sys v0.10.0 [INFO] [stderr] Downloaded system-deps v1.3.2 [INFO] [stderr] Downloaded gtk v0.9.2 [INFO] [stderr] Downloaded glib-sys v0.10.1 [INFO] [stderr] Downloaded gio-sys v0.10.1 [INFO] [stderr] Downloaded cairo-sys-rs v0.10.0 [INFO] [stderr] Downloaded gdk-sys v0.10.0 [INFO] [stderr] Downloaded atk v0.9.0 [INFO] [stderr] Downloaded gdk v0.13.2 [INFO] [stderr] Downloaded gdk-pixbuf v0.9.0 [INFO] [stderr] Downloaded gio v0.9.1 [INFO] [stderr] Downloaded atk-sys v0.10.0 [INFO] [stderr] Downloaded gdk-pixbuf-sys v0.10.0 [INFO] [stderr] Downloaded gtk-sys v0.10.0 [INFO] [stderr] Downloaded version-compare v0.0.10 [INFO] [stderr] Downloaded cc v1.1.24 [INFO] [stderr] Downloaded cairo-rs v0.9.1 [INFO] [stderr] Downloaded glib-macros v0.10.1 [INFO] [stderr] Downloaded glib v0.10.3 [INFO] [stderr] Downloaded pango v0.9.1 [INFO] [stderr] Downloaded once_cell v1.20.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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2de0f06593a7cc5b753725cee52bad5d976e13052ffac22e3aa6e0d1054e5bc [INFO] running `Command { std: "docker" "start" "-a" "f2de0f06593a7cc5b753725cee52bad5d976e13052ffac22e3aa6e0d1054e5bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2de0f06593a7cc5b753725cee52bad5d976e13052ffac22e3aa6e0d1054e5bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2de0f06593a7cc5b753725cee52bad5d976e13052ffac22e3aa6e0d1054e5bc", kill_on_drop: false }` [INFO] [stdout] f2de0f06593a7cc5b753725cee52bad5d976e13052ffac22e3aa6e0d1054e5bc [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea5df09cc6f30722a09a0eabf84d6b74f42cbfeee48df0621bcec87fdcfd6594 [INFO] running `Command { std: "docker" "start" "-a" "ea5df09cc6f30722a09a0eabf84d6b74f42cbfeee48df0621bcec87fdcfd6594", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling once_cell v1.20.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling gio v0.9.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling cairo-rs v0.9.1 [INFO] [stderr] Compiling gdk-pixbuf v0.9.0 [INFO] [stderr] Compiling pango v0.9.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling atk v0.9.0 [INFO] [stderr] Compiling gdk v0.13.2 [INFO] [stderr] Compiling gtk v0.9.2 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling libsqlite3-sys v0.23.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling rusqlite v0.26.3 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling system-deps v1.3.2 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling glib-macros v0.10.1 [INFO] [stderr] Compiling glib-sys v0.10.1 [INFO] [stderr] Compiling gobject-sys v0.10.0 [INFO] [stderr] Compiling gio-sys v0.10.1 [INFO] [stderr] Compiling pango-sys v0.10.0 [INFO] [stderr] Compiling cairo-sys-rs v0.10.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.10.0 [INFO] [stderr] Compiling atk-sys v0.10.0 [INFO] [stderr] Compiling gdk-sys v0.10.0 [INFO] [stderr] Compiling gtk-sys v0.10.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling glib v0.10.3 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling Caru v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `deck::flashcard::Flashcard` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use deck::flashcard::Flashcard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/deck/flashcard.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Flashcard { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 3 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Flashcard` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Deck` is never constructed [INFO] [stdout] --> src/deck/deck.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Deck { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Deck` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_card` are never used [INFO] [stdout] --> src/deck/deck.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Deck { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(name: String) -> Deck { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn add_card(&mut self, card: Flashcard) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReviewData` is never constructed [INFO] [stdout] --> src/spaced_repetition/algo.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ReviewData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReviewData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_next_review` is never used [INFO] [stdout] --> src/spaced_repetition/algo.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn calculate_next_review(data: &mut ReviewData, success: bool) -> chrono::DateTime { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_deck` is never used [INFO] [stdout] --> src/db/queries.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn insert_deck(conn: &Connection, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 34s [INFO] running `Command { std: "docker" "inspect" "ea5df09cc6f30722a09a0eabf84d6b74f42cbfeee48df0621bcec87fdcfd6594", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea5df09cc6f30722a09a0eabf84d6b74f42cbfeee48df0621bcec87fdcfd6594", kill_on_drop: false }` [INFO] [stdout] ea5df09cc6f30722a09a0eabf84d6b74f42cbfeee48df0621bcec87fdcfd6594 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7dd4ab99cbaf65b8795db51feba714f5c88ac50ba8af97ab793cca5e53dde171 [INFO] running `Command { std: "docker" "start" "-a" "7dd4ab99cbaf65b8795db51feba714f5c88ac50ba8af97ab793cca5e53dde171", kill_on_drop: false }` [INFO] [stderr] Compiling Caru v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `deck::flashcard::Flashcard` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use deck::flashcard::Flashcard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/deck/flashcard.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Flashcard { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 3 | pub id: Option, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Flashcard` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Deck` is never constructed [INFO] [stdout] --> src/deck/deck.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Deck { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Deck` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_card` are never used [INFO] [stdout] --> src/deck/deck.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Deck { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(name: String) -> Deck { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn add_card(&mut self, card: Flashcard) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReviewData` is never constructed [INFO] [stdout] --> src/spaced_repetition/algo.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ReviewData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReviewData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculate_next_review` is never used [INFO] [stdout] --> src/spaced_repetition/algo.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn calculate_next_review(data: &mut ReviewData, success: bool) -> chrono::DateTime { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_deck` is never used [INFO] [stdout] --> src/db/queries.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn insert_deck(conn: &Connection, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "7dd4ab99cbaf65b8795db51feba714f5c88ac50ba8af97ab793cca5e53dde171", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dd4ab99cbaf65b8795db51feba714f5c88ac50ba8af97ab793cca5e53dde171", kill_on_drop: false }` [INFO] [stdout] 7dd4ab99cbaf65b8795db51feba714f5c88ac50ba8af97ab793cca5e53dde171 [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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+552a959051cebf8f88a8f558399baf733bec9ce0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8604731d110774e8d4cdeb3ec06ea69476bfa93e457b5fec13a59c033d72d05b [INFO] running `Command { std: "docker" "start" "-a" "8604731d110774e8d4cdeb3ec06ea69476bfa93e457b5fec13a59c033d72d05b", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `deck::flashcard::Flashcard` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use deck::flashcard::Flashcard; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/deck/flashcard.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct Flashcard { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 3 | pub id: Option, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `Flashcard` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Deck` is never constructed [INFO] [stderr] --> src/deck/deck.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Deck { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Deck` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `add_card` are never used [INFO] [stderr] --> src/deck/deck.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl Deck { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] 11 | pub fn new(name: String) -> Deck { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 19 | pub fn add_card(&mut self, card: Flashcard) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ReviewData` is never constructed [INFO] [stderr] --> src/spaced_repetition/algo.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct ReviewData { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ReviewData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `calculate_next_review` is never used [INFO] [stderr] --> src/spaced_repetition/algo.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn calculate_next_review(data: &mut ReviewData, success: bool) -> chrono::DateTime { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `insert_deck` is never used [INFO] [stderr] --> src/db/queries.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn insert_deck(conn: &Connection, name: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `Caru` (bin "Caru" test) generated 7 warnings (run `cargo fix --bin "Caru" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/Caru-23bbf7e8f2eb6df4) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8604731d110774e8d4cdeb3ec06ea69476bfa93e457b5fec13a59c033d72d05b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8604731d110774e8d4cdeb3ec06ea69476bfa93e457b5fec13a59c033d72d05b", kill_on_drop: false }` [INFO] [stdout] 8604731d110774e8d4cdeb3ec06ea69476bfa93e457b5fec13a59c033d72d05b