[INFO] cloning repository https://github.com/danhaw/projcli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danhaw/projcli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanhaw%2Fprojcli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanhaw%2Fprojcli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d7113a966300a6eb4553aff67a094816a9a7a91d [INFO] testing danhaw/projcli against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanhaw%2Fprojcli" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/danhaw/projcli [INFO] finished tweaking git repo https://github.com/danhaw/projcli [INFO] tweaked toml for git repo https://github.com/danhaw/projcli written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/danhaw/projcli on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/danhaw/projcli 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d72cc223f4f6206d2499ce76ad245372ed8cbf419e1b6251facd08837dc350cb [INFO] running `Command { std: "docker" "start" "-a" "d72cc223f4f6206d2499ce76ad245372ed8cbf419e1b6251facd08837dc350cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d72cc223f4f6206d2499ce76ad245372ed8cbf419e1b6251facd08837dc350cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d72cc223f4f6206d2499ce76ad245372ed8cbf419e1b6251facd08837dc350cb", kill_on_drop: false }` [INFO] [stdout] d72cc223f4f6206d2499ce76ad245372ed8cbf419e1b6251facd08837dc350cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b54dfefff9c1f7366051333c8649d7e790c3ffad756271275797286c193c5266 [INFO] running `Command { std: "docker" "start" "-a" "b54dfefff9c1f7366051333c8649d7e790c3ffad756271275797286c193c5266", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling syn v1.0.34 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling generic-array v0.14.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling subtle v2.2.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling sha2 v0.9.1 [INFO] [stderr] Compiling hmac v0.8.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling instant v0.1.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling postgres-protocol v0.5.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling postgres-types v0.1.2 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling tokio-postgres v0.5.5 [INFO] [stderr] Compiling postgres v0.17.5 [INFO] [stderr] Compiling projcli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Datelike` and `Timelike` [INFO] [stdout] --> src/main.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Datelike, Timelike, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Client` [INFO] [stdout] --> src/main.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use postgres::{Error, Client}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Medium` and `Low` are never constructed [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum Priority { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 9 | High, [INFO] [stdout] 10 | Medium, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | Low, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Priority` 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: variants `InProgress` and `Done` are never constructed [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | enum Status { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] 15 | Todo, [INFO] [stdout] 16 | InProgress, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | Done, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | enum Color { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 22 | Black, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | Red, [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | Green, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | Yellow, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | Magenta, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | Cyan, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | White, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | BrightBlack, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 31 | BrightRed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | BrightGreen, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 33 | BrightYellow, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 34 | BrightBlue, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | BrightMagenta, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 36 | BrightCyan, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 37 | BrightWhite, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 38 | TrueColor { r: u8, g: u8, b: u8 }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Remindable` is never used [INFO] [stdout] --> src/main.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | trait Remindable<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Reminder` is never constructed [INFO] [stdout] --> src/main.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct Reminder<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl<'a> Reminder<'a> { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 52 | fn new(reminder_date: DateTime, message: &'a str) -> Reminder<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `title`, `body`, `created_at`, and `updated_at` are never read [INFO] [stdout] --> src/main.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 59 | struct Note<'a> { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 60 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 61 | title: &'a str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 62 | body: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] 63 | created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 64 | updated_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Note` 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`, `edit_title`, and `edit_body` are never used [INFO] [stdout] --> src/main.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 75 | impl<'a> Note<'a> { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 76 | fn new(title: &'a str, body: &'a str) -> Note<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | fn edit_title(&mut self, new_title: &'a str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | fn edit_body(&mut self, new_body: &'a str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `title`, `description`, and `color` are never read [INFO] [stdout] --> src/main.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | struct Tag<'a> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 98 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 99 | title: &'a str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 100 | description: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 101 | color: Color, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_date` and `end_date` are never read [INFO] [stdout] --> src/main.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 104 | struct Duration { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 105 | // start_date: datetime [INFO] [stdout] 106 | start_date: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 107 | end_date: DateTime, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_duration_days`, `get_duration_weeks`, `remaining_days_from_now`, and `remaining_weeks_from_now` are never used [INFO] [stdout] --> src/main.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 109 | impl Duration { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 110 | fn new(start_date: DateTime, end_date: DateTime) -> Duration { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn get_duration_days(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | fn get_duration_weeks(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | fn remaining_days_from_now(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn remaining_weeks_from_now(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `title`, `is_completed`, `created_at`, and `completed_at` are never read [INFO] [stdout] --> src/main.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 149 | struct TodoItem<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 150 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 151 | title: &'a str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 152 | is_completed: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 153 | created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 154 | completed_at: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TodoItem` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `set_completed` are never used [INFO] [stdout] --> src/main.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 157 | impl<'a> TodoItem<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 158 | fn new(title: &'a str) -> TodoItem<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | fn set_completed(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `title`, `items`, `created_at`, and `updated_at` are never read [INFO] [stdout] --> src/main.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 174 | struct TodoList<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 175 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] 176 | title: &'a str, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 177 | items: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 178 | created_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 179 | updated_at: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_todo_item`, `get_completed_items`, and `get_uncompleted_items` are never used [INFO] [stdout] --> src/main.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 182 | impl<'a> TodoList<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 183 | fn new(title: &'a str) -> TodoList<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | fn add_todo_item(&mut self, title: &'a str) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | fn get_completed_items(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | fn get_uncompleted_items(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `notes`, `todo_lists`, `duration`, `tags`, and `status` are never read [INFO] [stdout] --> src/main.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 217 | struct Project<'a> { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 220 | notes: Vec>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 221 | todo_lists: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 222 | duration: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 223 | priority: Option, [INFO] [stdout] 224 | tags: Vec>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 225 | status: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `duration`, `add_tag`, `add_note`, and `add_todo_list` are never used [INFO] [stdout] --> src/main.rs:248:8 [INFO] [stdout] | [INFO] [stdout] 229 | impl<'a> Project<'a> { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 248 | fn duration(&mut self, start_date: DateTime, end_date: DateTime) -> &mut Project<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | fn add_tag(&mut self, tag: Tag<'a>) -> &mut Project<'a> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | fn add_note(&mut self, note: Note<'a>) -> &mut Project<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | fn add_todo_list(&mut self, todo_list: TodoList<'a>) -> &mut Project<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_table_data` is never used [INFO] [stdout] --> src/database.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl PgDatabase { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn get_table_data(&mut self, table_name: &str) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:44:52 [INFO] [stdout] | [INFO] [stdout] 44 | fn set_reminder(date: DateTime, message: &'a str) -> Reminder; [INFO] [stdout] | ^^ -------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 44 | fn set_reminder(date: DateTime, message: &'a str) -> Reminder<'a>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:201:28 [INFO] [stdout] | [INFO] [stdout] 201 | fn get_completed_items(&self) -> Vec { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 201 | fn get_completed_items(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:208:30 [INFO] [stdout] | [INFO] [stdout] 208 | fn get_uncompleted_items(&self) -> Vec { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 208 | fn get_uncompleted_items(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:289:26 [INFO] [stdout] | [INFO] [stdout] 289 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 289 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 289 - Err(e) => panic!(e), [INFO] [stdout] 289 + Err(e) => std::panic::panic_any(e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcMfMfQl/symbols.o" "<10 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libpostgres-6a9be6642d9fe5fb.rlib,libtokio_postgres-c4e219a873189c89.rlib,libphf-71a0e43bc0337d6b.rlib,libphf_shared-2575282d11120a8e.rlib,libsiphasher-eef717097ffe6f3c.rlib,libpercent_encoding-3f452dc5e318e927.rlib,libpostgres_types-8b77013bf79c132e.rlib,libtokio_util-d1268ebe7fe7053e.rlib,libparking_lot-40f26d6eb3587d68.rlib,libparking_lot_core-fe317e34b96984a0.rlib,libsmallvec-40aa8da2aaa6084b.rlib,liblock_api-749ee5206cd8e524.rlib,libscopeguard-73056285f12cb829.rlib,libinstant-77eb43519d2b9415.rlib,libtokio-81b4e1f83d79e83f.rlib,libmio_uds-20a7aa97532f6f6c.rlib,libmio-be563d4d30c3f9a0.rlib,liblog-e27f9015365cb9c5.rlib,libiovec-927839fa16ee14c0.rlib,libnet2-ef09263df7f94f4a.rlib,libpostgres_protocol-1abaed81c9b840a6.rlib,libbase64-58f9c786d7f23eb6.rlib,libstringprep-9249126061661240.rlib,libunicode_normalization-cfb8c536c15edfa3.rlib,libtinyvec-703a1b97f1e8bd6e.rlib,libunicode_bidi-3c976b4886511d83.rlib,libmatches-d7125afe50072f5c.rlib,libsha2-6c2e89e5c37caa22.rlib,libcpuid_bool-f14a20ba81419679.rlib,libopaque_debug-bfd86111b0908dde.rlib,libblock_buffer-f451bb18cbb2a26c.rlib,librand-13d49905ccf2ac98.rlib,librand_chacha-c92b881bacc2f153.rlib,libppv_lite86-ef53971f935c91f9.rlib,librand_core-5a38e12979959a50.rlib,libgetrandom-0afe9745c20cc309.rlib,libcfg_if-2d17986ae484e939.rlib,libhmac-9151a197d754887f.rlib,libdigest-7835ff63f12de265.rlib,libcrypto_mac-821faa5bcca4f575.rlib,libsubtle-7c404d78b73cf2a0.rlib,libgeneric_array-6bd2b8661ff28ad4.rlib,libtypenum-0d13c3a14e20be66.rlib,libmd5-1874fcc3af47e6d3.rlib,libpin_project_lite-9425618866ebf4ff.rlib,libfutures-96f7b024066423b4.rlib,libfutures_executor-2a72b36a62e59ba5.rlib,libfutures_util-36b13f275cd95c90.rlib,libproc_macro_nested-2e4002de4910557b.rlib,libfutures_io-03acb20cab29e44e.rlib,libslab-7c577fd9ceb1ab41.rlib,libfutures_channel-88a582a6a67dec5e.rlib,libpin_project-83464fcc831192d4.rlib,libfutures_sink-fb942baf8af709d2.rlib,libfutures_task-a090238293355c73.rlib,libonce_cell-89be73b5fd0211ba.rlib,libpin_utils-b08f1197f0cdae19.rlib,libfutures_core-1fa6d914b49bd78d.rlib,libbytes-3e6aab9f92fa68ff.rlib,libbyteorder-549def2b2525ef52.rlib,libfallible_iterator-da18290346318e11.rlib,libchrono-87dd96e2942d4cad.rlib,libnum_integer-e009e61fca2e8093.rlib,libnum_traits-aeac748b956c4d6e.rlib,libtime-8d1526c103e11458.rlib,liblibc-81e87d35ea52d121.rlib,libregex-430e00fca47259de.rlib,libthread_local-c6b88a4b7954c5cd.rlib,liblazy_static-4b136fc9bfbd2c4b.rlib,libregex_syntax-cb353ff079726287.rlib,libaho_corasick-61bf4caab8600cce.rlib,libmemchr-66f21ea766679294.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcMfMfQl/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/projcli-49a73d8749f75f68" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-0afe9745c20cc309.rlib(getrandom-0afe9745c20cc309.getrandom.2825e2aeb8860349-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.1.14/src/util_libc.rs:112:(.text._ZN9getrandom9util_libc13open_readonly17h0cdc88924bac4b7bE+0x79): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `projcli` (bin "projcli") due to 1 previous error; 24 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b54dfefff9c1f7366051333c8649d7e790c3ffad756271275797286c193c5266", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b54dfefff9c1f7366051333c8649d7e790c3ffad756271275797286c193c5266", kill_on_drop: false }` [INFO] [stdout] b54dfefff9c1f7366051333c8649d7e790c3ffad756271275797286c193c5266