[INFO] cloning repository https://github.com/kekonen/todo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kekonen/todo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkekonen%2Ftodo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkekonen%2Ftodo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e19f3ec767c381467b1f34a418725d91fcacd11 [INFO] checking kekonen/todo against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkekonen%2Ftodo" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kekonen/todo on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kekonen/todo [INFO] finished tweaking git repo https://github.com/kekonen/todo [INFO] tweaked toml for git repo https://github.com/kekonen/todo written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kekonen/todo 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] daebed33ce87155c4954a48192c664ac3741821454f8c9b7a9947ad49f255de5 [INFO] running `Command { std: "docker" "start" "-a" "daebed33ce87155c4954a48192c664ac3741821454f8c9b7a9947ad49f255de5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "daebed33ce87155c4954a48192c664ac3741821454f8c9b7a9947ad49f255de5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "daebed33ce87155c4954a48192c664ac3741821454f8c9b7a9947ad49f255de5", kill_on_drop: false }` [INFO] [stdout] daebed33ce87155c4954a48192c664ac3741821454f8c9b7a9947ad49f255de5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9640de35f4d9a1e042b4d343cebdd79a0c0aa5c593c2f4f8dfdb5a48105a424 [INFO] running `Command { std: "docker" "start" "-a" "e9640de35f4d9a1e042b4d343cebdd79a0c0aa5c593c2f4f8dfdb5a48105a424", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking todo v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib/storage/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lib/storage/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib/storage/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lib/storage/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/d0ne.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | let location = std::env::home_dir().map(|path| path.join("todo.json")).expect("No HOME dir found"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/d0ne.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | let location = std::env::home_dir().map(|path| path.join("todo.json")).expect("No HOME dir found"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib/storage/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lib/storage/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib/storage/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/todo.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | let location = std::env::home_dir().map(|path| path.join("todo.json")).expect("No HOME dir found"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lib/storage/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/todos.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | let location = std::env::home_dir().map(|path| path.join("todo.json")).expect("No HOME dir found"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib/storage/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lib/storage/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/__d0ne_completion.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | let location = std::env::home_dir().map(|path| path.join("todo.json")).expect("No HOME dir found"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib/storage/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lib/storage/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib/storage/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lib/storage/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `captures_re_first` is never used [INFO] [stdout] --> src/lib/task/mod.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn captures_re_first(s: &str, r: Regex) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/__d0ne_completion.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | let location = std::env::home_dir().map(|path| path.join("todo.json")).expect("No HOME dir found"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `hashtags` and `get_body` are never used [INFO] [stdout] --> src/lib/task/mod.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Task { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn hashtags(&self,) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_body(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `drop` and `get_tasks` are never used [INFO] [stdout] --> src/lib/storage/mod.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait Storage { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 42 | fn add(&self, t: Task) -> Result<(), Box>; [INFO] [stdout] 43 | fn drop(&self, id: &str) -> Result<(), Box>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | fn get_tasks(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/todos.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | let location = std::env::home_dir().map(|path| path.join("todo.json")).expect("No HOME dir found"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib/storage/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lib/storage/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/todo.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | let location = std::env::home_dir().map(|path| path.join("todo.json")).expect("No HOME dir found"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib/task/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Task { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 40 | pub fn new(body: &str, some_id: Option<&str>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add` and `drop` are never used [INFO] [stdout] --> src/lib/storage/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait Storage { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 42 | fn add(&self, t: Task) -> Result<(), Box>; [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | fn drop(&self, id: &str) -> Result<(), Box>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `captures_re_first` is never used [INFO] [stdout] --> src/lib/task/mod.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn captures_re_first(s: &str, r: Regex) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `hashtags` are never used [INFO] [stdout] --> src/lib/task/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Task { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 40 | pub fn new(body: &str, some_id: Option<&str>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn hashtags(&self,) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add` and `drop` are never used [INFO] [stdout] --> src/lib/storage/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait Storage { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 42 | fn add(&self, t: Task) -> Result<(), Box>; [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | fn drop(&self, id: &str) -> Result<(), Box>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `captures_re_first` is never used [INFO] [stdout] --> src/lib/task/mod.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn captures_re_first(s: &str, r: Regex) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `hashtags` are never used [INFO] [stdout] --> src/lib/task/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Task { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 40 | pub fn new(body: &str, some_id: Option<&str>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn hashtags(&self,) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add` and `drop` are never used [INFO] [stdout] --> src/lib/storage/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait Storage { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 42 | fn add(&self, t: Task) -> Result<(), Box>; [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | fn drop(&self, id: &str) -> Result<(), Box>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `captures_re_first` is never used [INFO] [stdout] --> src/lib/task/mod.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn captures_re_first(s: &str, r: Regex) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `hashtags` and `get_body` are never used [INFO] [stdout] --> src/lib/task/mod.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Task { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn hashtags(&self,) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_body(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add` and `get_tasks` are never used [INFO] [stdout] --> src/lib/storage/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait Storage { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 42 | fn add(&self, t: Task) -> Result<(), Box>; [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | fn drop(&self, id: &str) -> Result<(), Box>; [INFO] [stdout] 44 | fn get_tasks(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `captures_re_first` is never used [INFO] [stdout] --> src/lib/task/mod.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn captures_re_first(s: &str, r: Regex) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `hashtags` and `get_body` are never used [INFO] [stdout] --> src/lib/task/mod.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Task { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn hashtags(&self,) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_body(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add` and `get_tasks` are never used [INFO] [stdout] --> src/lib/storage/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait Storage { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 42 | fn add(&self, t: Task) -> Result<(), Box>; [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | fn drop(&self, id: &str) -> Result<(), Box>; [INFO] [stdout] 44 | fn get_tasks(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib/task/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Task { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 40 | pub fn new(body: &str, some_id: Option<&str>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add` and `drop` are never used [INFO] [stdout] --> src/lib/storage/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait Storage { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 42 | fn add(&self, t: Task) -> Result<(), Box>; [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | fn drop(&self, id: &str) -> Result<(), Box>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `captures_re_first` is never used [INFO] [stdout] --> src/lib/task/mod.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn captures_re_first(s: &str, r: Regex) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `hashtags` and `get_body` are never used [INFO] [stdout] --> src/lib/task/mod.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Task { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn hashtags(&self,) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_body(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `drop` and `get_tasks` are never used [INFO] [stdout] --> src/lib/storage/mod.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait Storage { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 42 | fn add(&self, t: Task) -> Result<(), Box>; [INFO] [stdout] 43 | fn drop(&self, id: &str) -> Result<(), Box>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | fn get_tasks(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.51s [INFO] running `Command { std: "docker" "inspect" "e9640de35f4d9a1e042b4d343cebdd79a0c0aa5c593c2f4f8dfdb5a48105a424", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9640de35f4d9a1e042b4d343cebdd79a0c0aa5c593c2f4f8dfdb5a48105a424", kill_on_drop: false }` [INFO] [stdout] e9640de35f4d9a1e042b4d343cebdd79a0c0aa5c593c2f4f8dfdb5a48105a424 [INFO] checking kekonen/todo against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkekonen%2Ftodo" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kekonen/todo on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kekonen/todo [INFO] finished tweaking git repo https://github.com/kekonen/todo [INFO] tweaked toml for git repo https://github.com/kekonen/todo written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kekonen/todo 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4feab732e27b0487befb945ce72a7d34643fc43540e2f4b16d62242ffb400f11 [INFO] running `Command { std: "docker" "start" "-a" "4feab732e27b0487befb945ce72a7d34643fc43540e2f4b16d62242ffb400f11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4feab732e27b0487befb945ce72a7d34643fc43540e2f4b16d62242ffb400f11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4feab732e27b0487befb945ce72a7d34643fc43540e2f4b16d62242ffb400f11", kill_on_drop: false }` [INFO] [stdout] 4feab732e27b0487befb945ce72a7d34643fc43540e2f4b16d62242ffb400f11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59930904ff5fb75d0e54a40ff538dcfd58bba733bdcabdb02bbe73874c63364f [INFO] running `Command { std: "docker" "start" "-a" "59930904ff5fb75d0e54a40ff538dcfd58bba733bdcabdb02bbe73874c63364f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling serde_json v1.0.60 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking todo v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib/storage/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lib/storage/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/todo.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | let location = std::env::home_dir().map(|path| path.join("todo.json")).expect("No HOME dir found"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib/storage/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lib/storage/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib/storage/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lib/storage/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/d0ne.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | let location = std::env::home_dir().map(|path| path.join("todo.json")).expect("No HOME dir found"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib/storage/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lib/storage/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/__d0ne_completion.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | let location = std::env::home_dir().map(|path| path.join("todo.json")).expect("No HOME dir found"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib/storage/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lib/storage/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/todos.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | let location = std::env::home_dir().map(|path| path.join("todo.json")).expect("No HOME dir found"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/__d0ne_completion.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | let location = std::env::home_dir().map(|path| path.join("todo.json")).expect("No HOME dir found"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib/storage/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lib/storage/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib/storage/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lib/storage/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/todos.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | let location = std::env::home_dir().map(|path| path.join("todo.json")).expect("No HOME dir found"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/lib/storage/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lib/storage/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/todo.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | let location = std::env::home_dir().map(|path| path.join("todo.json")).expect("No HOME dir found"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/d0ne.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | let location = std::env::home_dir().map(|path| path.join("todo.json")).expect("No HOME dir found"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `captures_re_first` is never used [INFO] [stdout] --> src/lib/task/mod.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn captures_re_first(s: &str, r: Regex) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `hashtags` are never used [INFO] [stdout] --> src/lib/task/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Task { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 40 | pub fn new(body: &str, some_id: Option<&str>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn hashtags(&self,) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add` and `drop` are never used [INFO] [stdout] --> src/lib/storage/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait Storage { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 42 | fn add(&self, t: Task) -> Result<(), Box>; [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | fn drop(&self, id: &str) -> Result<(), Box>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `captures_re_first` is never used [INFO] [stdout] --> src/lib/task/mod.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn captures_re_first(s: &str, r: Regex) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `hashtags` are never used [INFO] [stdout] --> src/lib/task/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Task { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 40 | pub fn new(body: &str, some_id: Option<&str>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn hashtags(&self,) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add` and `drop` are never used [INFO] [stdout] --> src/lib/storage/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait Storage { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 42 | fn add(&self, t: Task) -> Result<(), Box>; [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | fn drop(&self, id: &str) -> Result<(), Box>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `captures_re_first` is never used [INFO] [stdout] --> src/lib/task/mod.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn captures_re_first(s: &str, r: Regex) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `hashtags` and `get_body` are never used [INFO] [stdout] --> src/lib/task/mod.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Task { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn hashtags(&self,) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_body(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add` and `get_tasks` are never used [INFO] [stdout] --> src/lib/storage/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait Storage { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 42 | fn add(&self, t: Task) -> Result<(), Box>; [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | fn drop(&self, id: &str) -> Result<(), Box>; [INFO] [stdout] 44 | fn get_tasks(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `captures_re_first` is never used [INFO] [stdout] --> src/lib/task/mod.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn captures_re_first(s: &str, r: Regex) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `hashtags` and `get_body` are never used [INFO] [stdout] --> src/lib/task/mod.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Task { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn hashtags(&self,) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_body(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `drop` and `get_tasks` are never used [INFO] [stdout] --> src/lib/storage/mod.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait Storage { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 42 | fn add(&self, t: Task) -> Result<(), Box>; [INFO] [stdout] 43 | fn drop(&self, id: &str) -> Result<(), Box>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | fn get_tasks(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `captures_re_first` is never used [INFO] [stdout] --> src/lib/task/mod.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn captures_re_first(s: &str, r: Regex) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `hashtags` and `get_body` are never used [INFO] [stdout] --> src/lib/task/mod.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Task { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn hashtags(&self,) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_body(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `drop` and `get_tasks` are never used [INFO] [stdout] --> src/lib/storage/mod.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait Storage { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 42 | fn add(&self, t: Task) -> Result<(), Box>; [INFO] [stdout] 43 | fn drop(&self, id: &str) -> Result<(), Box>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 44 | fn get_tasks(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib/task/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Task { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 40 | pub fn new(body: &str, some_id: Option<&str>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add` and `drop` are never used [INFO] [stdout] --> src/lib/storage/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait Storage { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 42 | fn add(&self, t: Task) -> Result<(), Box>; [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | fn drop(&self, id: &str) -> Result<(), Box>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib/task/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Task { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 40 | pub fn new(body: &str, some_id: Option<&str>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add` and `drop` are never used [INFO] [stdout] --> src/lib/storage/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait Storage { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 42 | fn add(&self, t: Task) -> Result<(), Box>; [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | fn drop(&self, id: &str) -> Result<(), Box>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `captures_re_first` is never used [INFO] [stdout] --> src/lib/task/mod.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn captures_re_first(s: &str, r: Regex) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `hashtags` and `get_body` are never used [INFO] [stdout] --> src/lib/task/mod.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Task { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn hashtags(&self,) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_body(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add` and `get_tasks` are never used [INFO] [stdout] --> src/lib/storage/mod.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub trait Storage { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 42 | fn add(&self, t: Task) -> Result<(), Box>; [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | fn drop(&self, id: &str) -> Result<(), Box>; [INFO] [stdout] 44 | fn get_tasks(&self) -> Vec; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.71s [INFO] running `Command { std: "docker" "inspect" "59930904ff5fb75d0e54a40ff538dcfd58bba733bdcabdb02bbe73874c63364f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59930904ff5fb75d0e54a40ff538dcfd58bba733bdcabdb02bbe73874c63364f", kill_on_drop: false }` [INFO] [stdout] 59930904ff5fb75d0e54a40ff538dcfd58bba733bdcabdb02bbe73874c63364f