[INFO] cloning repository https://github.com/Stopkaa/UnsafeToDo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Stopkaa/UnsafeToDo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStopkaa%2FUnsafeToDo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStopkaa%2FUnsafeToDo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f6390f272fe882a068a291e3f3674909e52c5c1a [INFO] testing Stopkaa/UnsafeToDo/f6390f272fe882a068a291e3f3674909e52c5c1a against 1.94.0 for beta-1.95-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStopkaa%2FUnsafeToDo" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Stopkaa/UnsafeToDo [INFO] finished tweaking git repo https://github.com/Stopkaa/UnsafeToDo [INFO] tweaked toml for git repo https://github.com/Stopkaa/UnsafeToDo written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Stopkaa/UnsafeToDo on toolchain 1.94.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 142 packages to latest Rust 1.94.0 compatible versions [INFO] [stderr] Adding dirs v5.0.1 (available: v6.0.0) [INFO] [stderr] Adding tabled v0.19.0 (available: v0.20.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tabled_derive v0.11.0 [INFO] [stderr] Downloaded papergrid v0.15.0 [INFO] [stderr] Downloaded tabled v0.19.0 [INFO] [stderr] Downloaded libz-sys v1.1.24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3867952a1874eac85fc22fea225897521b7189a77014814e0ba0cc05e6451a8 [INFO] running `Command { std: "docker" "start" "-a" "f3867952a1874eac85fc22fea225897521b7189a77014814e0ba0cc05e6451a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3867952a1874eac85fc22fea225897521b7189a77014814e0ba0cc05e6451a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3867952a1874eac85fc22fea225897521b7189a77014814e0ba0cc05e6451a8", kill_on_drop: false }` [INFO] [stdout] f3867952a1874eac85fc22fea225897521b7189a77014814e0ba0cc05e6451a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b322baf9377ebb23998c3e02f57e84438f2459e7d9ea3083896a359ac467c14 [INFO] running `Command { std: "docker" "start" "-a" "9b322baf9377ebb23998c3e02f57e84438f2459e7d9ea3083896a359ac467c14", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling zerocopy v0.8.42 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling clap_lex v1.0.0 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling testing_table v0.3.0 [INFO] [stderr] Compiling clap_builder v4.5.60 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling terminal_size v0.4.3 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling libz-sys v1.1.24 [INFO] [stderr] Compiling libssh2-sys v0.3.1 [INFO] [stderr] Compiling libgit2-sys v0.18.3+1.9.2 [INFO] [stderr] Compiling papergrid v0.15.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tabled_derive v0.11.0 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tabled v0.19.0 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling clap v4.5.60 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling git2 v0.20.4 [INFO] [stderr] Compiling unsafetodo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 23 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 26 | let conf = config::load_config()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/config.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | let config = Config::load()?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_finished`, and `set_creation_date` are never used [INFO] [stdout] --> src/todo.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Todo { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(title: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn get_finished(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn set_creation_date(&mut self, creation_date: DateTime) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id` and `finished` are never used [INFO] [stdout] --> src/todo.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 210 | impl TodoBuilder { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn id(mut self, id: u32) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn finished(mut self, finished: impl Into>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_todo` is never used [INFO] [stdout] --> src/todo_list.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TodoList { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn get_todo(&self, id: usize) -> Option<&Todo> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_data_path` is never used [INFO] [stdout] --> src/utils.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn get_data_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `set_data_path`, `set_auto_sync`, `set_git_remote`, `migrate_todos`, `get_sort_order`, and `get_config_file_path` are never used [INFO] [stdout] --> src/config.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Config { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn set_data_path(&mut self, new_path: PathBuf) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn set_auto_sync(&mut self, enabled: bool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn set_git_remote(&mut self, path: String) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn migrate_todos(&self, old_path: &PathBuf) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn get_sort_order(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn get_config_file_path() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_data_path` is never used [INFO] [stdout] --> src/config.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn set_data_path(new_path: PathBuf) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_config` is never used [INFO] [stdout] --> src/config.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn validate_config() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_config` is never used [INFO] [stdout] --> src/config.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn init_config() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_sort_order` is never used [INFO] [stdout] --> src/config.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn get_sort_order() -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_git_remote` is never used [INFO] [stdout] --> src/config.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn set_git_remote(path: String) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_auto_sync` is never used [INFO] [stdout] --> src/config.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn set_auto_sync(enabled: bool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.29s [INFO] running `Command { std: "docker" "inspect" "9b322baf9377ebb23998c3e02f57e84438f2459e7d9ea3083896a359ac467c14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b322baf9377ebb23998c3e02f57e84438f2459e7d9ea3083896a359ac467c14", kill_on_drop: false }` [INFO] [stdout] 9b322baf9377ebb23998c3e02f57e84438f2459e7d9ea3083896a359ac467c14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3df6cf03dafd6a3cd948551b34bd68a605cd203b581c7a77fe32d84d618976a [INFO] running `Command { std: "docker" "start" "-a" "c3df6cf03dafd6a3cd948551b34bd68a605cd203b581c7a77fe32d84d618976a", kill_on_drop: false }` [INFO] [stderr] Compiling unsafetodo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 23 | return Ok(()); [INFO] [stdout] | ------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 26 | let conf = config::load_config()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/config.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | let config = Config::load()?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_finished`, and `set_creation_date` are never used [INFO] [stdout] --> src/todo.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Todo { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(title: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn get_finished(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn set_creation_date(&mut self, creation_date: DateTime) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id` and `finished` are never used [INFO] [stdout] --> src/todo.rs:222:12 [INFO] [stdout] | [INFO] [stdout] 210 | impl TodoBuilder { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn id(mut self, id: u32) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn finished(mut self, finished: impl Into>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_todo` is never used [INFO] [stdout] --> src/todo_list.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TodoList { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn get_todo(&self, id: usize) -> Option<&Todo> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_data_path` is never used [INFO] [stdout] --> src/utils.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn get_data_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `set_data_path`, `set_auto_sync`, `set_git_remote`, `migrate_todos`, `get_sort_order`, and `get_config_file_path` are never used [INFO] [stdout] --> src/config.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Config { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn set_data_path(&mut self, new_path: PathBuf) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn set_auto_sync(&mut self, enabled: bool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn set_git_remote(&mut self, path: String) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn migrate_todos(&self, old_path: &PathBuf) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn get_sort_order(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn get_config_file_path() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_data_path` is never used [INFO] [stdout] --> src/config.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn set_data_path(new_path: PathBuf) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_config` is never used [INFO] [stdout] --> src/config.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn validate_config() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_config` is never used [INFO] [stdout] --> src/config.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn init_config() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_sort_order` is never used [INFO] [stdout] --> src/config.rs:226:8 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn get_sort_order() -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_git_remote` is never used [INFO] [stdout] --> src/config.rs:247:8 [INFO] [stdout] | [INFO] [stdout] 247 | pub fn set_git_remote(path: String) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_auto_sync` is never used [INFO] [stdout] --> src/config.rs:255:8 [INFO] [stdout] | [INFO] [stdout] 255 | pub fn set_auto_sync(enabled: bool) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.97s [INFO] running `Command { std: "docker" "inspect" "c3df6cf03dafd6a3cd948551b34bd68a605cd203b581c7a77fe32d84d618976a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3df6cf03dafd6a3cd948551b34bd68a605cd203b581c7a77fe32d84d618976a", kill_on_drop: false }` [INFO] [stdout] c3df6cf03dafd6a3cd948551b34bd68a605cd203b581c7a77fe32d84d618976a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c896ab41e87bc2e369906c0eef3b0c113d7e6069bc2532bfa01a82d7b5cce3d8 [INFO] running `Command { std: "docker" "start" "-a" "c896ab41e87bc2e369906c0eef3b0c113d7e6069bc2532bfa01a82d7b5cce3d8", kill_on_drop: false }` [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/main.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 23 | return Ok(()); [INFO] [stderr] | ------------- any code following this expression is unreachable [INFO] [stderr] ... [INFO] [stderr] 26 | let conf = config::load_config()?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/config.rs:205:9 [INFO] [stderr] | [INFO] [stderr] 205 | let config = Config::load()?; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `get_finished`, and `set_creation_date` are never used [INFO] [stderr] --> src/todo.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 20 | impl Todo { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] 21 | pub fn new(title: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 95 | pub fn get_finished(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 123 | pub fn set_creation_date(&mut self, creation_date: DateTime) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `id` and `finished` are never used [INFO] [stderr] --> src/todo.rs:222:12 [INFO] [stderr] | [INFO] [stderr] 210 | impl TodoBuilder { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 222 | pub fn id(mut self, id: u32) -> Self { [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 237 | pub fn finished(mut self, finished: impl Into>) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_todo` is never used [INFO] [stderr] --> src/todo_list.rs:69:12 [INFO] [stderr] | [INFO] [stderr] 14 | impl TodoList { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 69 | pub fn get_todo(&self, id: usize) -> Option<&Todo> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_data_path` is never used [INFO] [stderr] --> src/utils.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn get_data_path() -> PathBuf { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `set_data_path`, `set_auto_sync`, `set_git_remote`, `migrate_todos`, `get_sort_order`, and `get_config_file_path` are never used [INFO] [stderr] --> src/config.rs:105:12 [INFO] [stderr] | [INFO] [stderr] 22 | impl Config { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 105 | pub fn set_data_path(&mut self, new_path: PathBuf) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 115 | pub fn set_auto_sync(&mut self, enabled: bool) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 122 | pub fn set_git_remote(&mut self, path: String) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 129 | pub fn migrate_todos(&self, old_path: &PathBuf) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 143 | pub fn get_sort_order(&self) -> &Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 154 | pub fn get_config_file_path() -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `set_data_path` is never used [INFO] [stderr] --> src/config.rs:188:8 [INFO] [stderr] | [INFO] [stderr] 188 | pub fn set_data_path(new_path: PathBuf) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `validate_config` is never used [INFO] [stderr] --> src/config.rs:204:8 [INFO] [stderr] | [INFO] [stderr] 204 | pub fn validate_config() -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `init_config` is never used [INFO] [stderr] --> src/config.rs:211:8 [INFO] [stderr] | [INFO] [stderr] 211 | pub fn init_config() -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_sort_order` is never used [INFO] [stderr] --> src/config.rs:226:8 [INFO] [stderr] | [INFO] [stderr] 226 | pub fn get_sort_order() -> Result, Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `set_git_remote` is never used [INFO] [stderr] --> src/config.rs:247:8 [INFO] [stderr] | [INFO] [stderr] 247 | pub fn set_git_remote(path: String) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `set_auto_sync` is never used [INFO] [stderr] --> src/config.rs:255:8 [INFO] [stderr] | [INFO] [stderr] 255 | pub fn set_auto_sync(enabled: bool) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `unsafetodo` (bin "unsafetodo" test) generated 13 warnings (run `cargo fix --bin "unsafetodo" -p unsafetodo --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/unsafetodo-2b343414d5dfaa7b) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/unsafetodo-5720705b2a0a39f1) [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] [stderr] Doc-tests unsafetodo [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" "c896ab41e87bc2e369906c0eef3b0c113d7e6069bc2532bfa01a82d7b5cce3d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c896ab41e87bc2e369906c0eef3b0c113d7e6069bc2532bfa01a82d7b5cce3d8", kill_on_drop: false }` [INFO] [stdout] c896ab41e87bc2e369906c0eef3b0c113d7e6069bc2532bfa01a82d7b5cce3d8