[INFO] cloning repository https://github.com/kortgrabb/jot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kortgrabb/jot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkortgrabb%2Fjot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkortgrabb%2Fjot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9bacd7fd4df4092fc0a8675468e445ac0284987 [INFO] checking kortgrabb/jot against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkortgrabb%2Fjot" "/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/kortgrabb/jot [INFO] finished tweaking git repo https://github.com/kortgrabb/jot [INFO] tweaked toml for git repo https://github.com/kortgrabb/jot written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kortgrabb/jot on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kortgrabb/jot 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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking kortgrabb/jot against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkortgrabb%2Fjot" "/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/kortgrabb/jot [INFO] finished tweaking git repo https://github.com/kortgrabb/jot [INFO] tweaked toml for git repo https://github.com/kortgrabb/jot written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kortgrabb/jot on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kortgrabb/jot 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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] [stderr] Adding assert_cmd v2.1.2 [INFO] [stderr] Adding bstr v1.12.1 [INFO] [stderr] Adding difflib v0.4.0 [INFO] [stderr] Adding predicates v3.1.3 [INFO] [stderr] Adding predicates-core v1.0.9 [INFO] [stderr] Adding predicates-tree v1.0.12 [INFO] [stderr] Adding regex-automata v0.4.14 [INFO] [stderr] Adding termtree v0.5.1 [INFO] [stderr] Adding wait-timeout v0.2.1 [INFO] [stderr] Blocking waiting for file lock on package cache [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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a5f99abc7c2993ed2fb73ffc16fcedb4806aa45f218c33aea60a42bf71a9ac03 [INFO] running `Command { std: "docker" "start" "-a" "a5f99abc7c2993ed2fb73ffc16fcedb4806aa45f218c33aea60a42bf71a9ac03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a5f99abc7c2993ed2fb73ffc16fcedb4806aa45f218c33aea60a42bf71a9ac03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5f99abc7c2993ed2fb73ffc16fcedb4806aa45f218c33aea60a42bf71a9ac03", kill_on_drop: false }` [INFO] [stdout] a5f99abc7c2993ed2fb73ffc16fcedb4806aa45f218c33aea60a42bf71a9ac03 [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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9535af2a2cc9e0c6e04b4f7944d101c6928a4e977eead12fa1a26aaf7439a49a [INFO] running `Command { std: "docker" "start" "-a" "9535af2a2cc9e0c6e04b4f7944d101c6928a4e977eead12fa1a26aaf7439a49a", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Checking anstyle v1.0.9 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling thiserror v1.0.66 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling thiserror v2.0.9 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Compiling assert_cmd v2.1.2 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking anstream v0.6.17 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking clap_builder v4.5.23 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking console v0.15.10 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Compiling syn v2.0.91 [INFO] [stderr] Checking tempfile v3.14.0 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling thiserror-impl v1.0.66 [INFO] [stderr] Compiling thiserror-impl v2.0.9 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Checking dialoguer v0.11.0 [INFO] [stderr] Checking clap v4.5.23 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking OxidLog v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::utils` [INFO] [stdout] --> tests/utils_tests.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::{get_input, do_tags_match, parse_tags, parse_date, format_entry, fuzzy_match, view_by_id, print_single_entry}; [INFO] [stdout] | ^^^^^ could not find `utils` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `storage` in the crate root [INFO] [stdout] --> tests/utils_tests.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::storage::config::JournalConfig; [INFO] [stdout] | ^^^^^^^ could not find `storage` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::storage` [INFO] [stdout] --> tests/utils_tests.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::storage::{Entry, Tag, Journal}; [INFO] [stdout] | ^^^^^^^ could not find `storage` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Utc` [INFO] [stdout] --> tests/utils_tests.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::{NaiveDate, Utc}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `predicates` [INFO] [stdout] --> tests/cli_tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use predicates::prelude::*; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `predicates` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `predicates`, use `cargo add predicates` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JotError` [INFO] [stdout] --> src/cli/mod.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::{JotError, JotResult}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for struct `Stdin` in the current scope [INFO] [stdout] --> tests/utils_tests.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | stdin.write_all(input).unwrap(); [INFO] [stdout] | ^^^^^^^^^ method not found in `Stdin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TagMatch` [INFO] [stdout] --> tests/utils_tests.rs:21:53 [INFO] [stdout] | [INFO] [stdout] 21 | assert!(do_tags_match(&query_tags, &entry_tags, TagMatch::Any)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TagMatch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TagMatch` [INFO] [stdout] --> tests/utils_tests.rs:28:53 [INFO] [stdout] | [INFO] [stdout] 28 | assert!(do_tags_match(&query_tags, &entry_tags, TagMatch::All)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TagMatch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JotError` [INFO] [stdout] --> src/cli/mod.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::{JotError, JotResult}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> tests/utils_tests.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(date, NaiveDate::from_ymd(2023, 9, 15)); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::storage` [INFO] [stdout] --> tests/storage_tests.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::storage::{self, Journal, Entry, Tag}; [INFO] [stdout] | ^^^^ no `storage` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> tests/storage_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `Stdout` doesn't implement `std::fmt::Display` [INFO] [stdout] --> tests/utils_tests.rs:80:25 [INFO] [stdout] | [INFO] [stdout] 80 | let output = stdout.to_string(); [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Stdout` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Stdout: std::fmt::Display` [INFO] [stdout] which is required by `Stdout: ToString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `OxidLog` (test "storage_tests") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `OxidLog` (test "utils_tests") due to 7 previous errors; 2 warnings emitted [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `predicate` [INFO] [stdout] --> tests/cli_tests.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | .stdout(predicate::str::contains("Journal initialized successfully")); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `predicate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `predicate`, use `cargo add predicate` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this builtin type [INFO] [stdout] | [INFO] [stdout] 1 + use std::primitive::str; [INFO] [stdout] | [INFO] [stdout] help: if you import `str`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 13 - .stdout(predicate::str::contains("Journal initialized successfully")); [INFO] [stdout] 13 + .stdout(str::contains("Journal initialized successfully")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `predicate` [INFO] [stdout] --> tests/cli_tests.rs:31:17 [INFO] [stdout] | [INFO] [stdout] 31 | .stdout(predicate::str::contains("Entry 1 added")); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `predicate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `predicate`, use `cargo add predicate` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this builtin type [INFO] [stdout] | [INFO] [stdout] 1 + use std::primitive::str; [INFO] [stdout] | [INFO] [stdout] help: if you import `str`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 31 - .stdout(predicate::str::contains("Entry 1 added")); [INFO] [stdout] 31 + .stdout(str::contains("Entry 1 added")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `predicate` [INFO] [stdout] --> tests/cli_tests.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | .stdout(predicate::str::contains("Test entry")); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `predicate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `predicate`, use `cargo add predicate` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this builtin type [INFO] [stdout] | [INFO] [stdout] 1 + use std::primitive::str; [INFO] [stdout] | [INFO] [stdout] help: if you import `str`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 55 - .stdout(predicate::str::contains("Test entry")); [INFO] [stdout] 55 + .stdout(str::contains("Test entry")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `predicate` [INFO] [stdout] --> tests/cli_tests.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | .stdout(predicate::str::contains("Entry 1 removed")); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `predicate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `predicate`, use `cargo add predicate` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this builtin type [INFO] [stdout] | [INFO] [stdout] 1 + use std::primitive::str; [INFO] [stdout] | [INFO] [stdout] help: if you import `str`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 80 - .stdout(predicate::str::contains("Entry 1 removed")); [INFO] [stdout] 80 + .stdout(str::contains("Entry 1 removed")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `predicate` [INFO] [stdout] --> tests/cli_tests.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | .stdout(predicate::str::contains("Entry updated")); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `predicate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `predicate`, use `cargo add predicate` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this builtin type [INFO] [stdout] | [INFO] [stdout] 1 + use std::primitive::str; [INFO] [stdout] | [INFO] [stdout] help: if you import `str`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 106 - .stdout(predicate::str::contains("Entry updated")); [INFO] [stdout] 106 + .stdout(str::contains("Entry updated")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `predicate` [INFO] [stdout] --> tests/cli_tests.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | .stdout(predicate::str::contains("Test entry")); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `predicate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `predicate`, use `cargo add predicate` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this builtin type [INFO] [stdout] | [INFO] [stdout] 1 + use std::primitive::str; [INFO] [stdout] | [INFO] [stdout] help: if you import `str`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 131 - .stdout(predicate::str::contains("Test entry")); [INFO] [stdout] 131 + .stdout(str::contains("Test entry")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `predicate` [INFO] [stdout] --> tests/cli_tests.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | .stdout(predicate::str::contains("Journal exported successfully")); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `predicate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `predicate`, use `cargo add predicate` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this builtin type [INFO] [stdout] | [INFO] [stdout] 1 + use std::primitive::str; [INFO] [stdout] | [INFO] [stdout] help: if you import `str`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 157 - .stdout(predicate::str::contains("Journal exported successfully")); [INFO] [stdout] 157 + .stdout(str::contains("Journal exported successfully")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `predicate` [INFO] [stdout] --> tests/cli_tests.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | .stdout(predicate::str::contains("Backup created")); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `predicate` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `predicate`, use `cargo add predicate` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this builtin type [INFO] [stdout] | [INFO] [stdout] 1 + use std::primitive::str; [INFO] [stdout] | [INFO] [stdout] help: if you import `str`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 183 - .stdout(predicate::str::contains("Backup created")); [INFO] [stdout] 183 + .stdout(str::contains("Backup created")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `assert_cmd::Command::cargo_bin`: incompatible with a custom cargo build-dir, see instead `cargo::cargo_bin_cmd!` [INFO] [stdout] --> tests/cli_tests.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | let mut cmd = Command::cargo_bin("xlog").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `assert_cmd::Command::cargo_bin`: incompatible with a custom cargo build-dir, see instead `cargo::cargo_bin_cmd!` [INFO] [stdout] --> tests/cli_tests.rs:19:28 [INFO] [stdout] | [INFO] [stdout] 19 | let mut cmd = Command::cargo_bin("xlog").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `assert_cmd::Command::cargo_bin`: incompatible with a custom cargo build-dir, see instead `cargo::cargo_bin_cmd!` [INFO] [stdout] --> tests/cli_tests.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | let mut cmd = Command::cargo_bin("xlog").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `assert_cmd::Command::cargo_bin`: incompatible with a custom cargo build-dir, see instead `cargo::cargo_bin_cmd!` [INFO] [stdout] --> tests/cli_tests.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | let mut cmd = Command::cargo_bin("xlog").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `assert_cmd::Command::cargo_bin`: incompatible with a custom cargo build-dir, see instead `cargo::cargo_bin_cmd!` [INFO] [stdout] --> tests/cli_tests.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | let mut cmd = Command::cargo_bin("xlog").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `assert_cmd::Command::cargo_bin`: incompatible with a custom cargo build-dir, see instead `cargo::cargo_bin_cmd!` [INFO] [stdout] --> tests/cli_tests.rs:50:28 [INFO] [stdout] | [INFO] [stdout] 50 | let mut cmd = Command::cargo_bin("xlog").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `assert_cmd::Command::cargo_bin`: incompatible with a custom cargo build-dir, see instead `cargo::cargo_bin_cmd!` [INFO] [stdout] --> tests/cli_tests.rs:61:28 [INFO] [stdout] | [INFO] [stdout] 61 | let mut cmd = Command::cargo_bin("xlog").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `assert_cmd::Command::cargo_bin`: incompatible with a custom cargo build-dir, see instead `cargo::cargo_bin_cmd!` [INFO] [stdout] --> tests/cli_tests.rs:67:28 [INFO] [stdout] | [INFO] [stdout] 67 | let mut cmd = Command::cargo_bin("xlog").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `assert_cmd::Command::cargo_bin`: incompatible with a custom cargo build-dir, see instead `cargo::cargo_bin_cmd!` [INFO] [stdout] --> tests/cli_tests.rs:74:28 [INFO] [stdout] | [INFO] [stdout] 74 | let mut cmd = Command::cargo_bin("xlog").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `assert_cmd::Command::cargo_bin`: incompatible with a custom cargo build-dir, see instead `cargo::cargo_bin_cmd!` [INFO] [stdout] --> tests/cli_tests.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 86 | let mut cmd = Command::cargo_bin("xlog").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `assert_cmd::Command::cargo_bin`: incompatible with a custom cargo build-dir, see instead `cargo::cargo_bin_cmd!` [INFO] [stdout] --> tests/cli_tests.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | let mut cmd = Command::cargo_bin("xlog").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `assert_cmd::Command::cargo_bin`: incompatible with a custom cargo build-dir, see instead `cargo::cargo_bin_cmd!` [INFO] [stdout] --> tests/cli_tests.rs:99:28 [INFO] [stdout] | [INFO] [stdout] 99 | let mut cmd = Command::cargo_bin("xlog").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `assert_cmd::Command::cargo_bin`: incompatible with a custom cargo build-dir, see instead `cargo::cargo_bin_cmd!` [INFO] [stdout] --> tests/cli_tests.rs:112:28 [INFO] [stdout] | [INFO] [stdout] 112 | let mut cmd = Command::cargo_bin("xlog").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `assert_cmd::Command::cargo_bin`: incompatible with a custom cargo build-dir, see instead `cargo::cargo_bin_cmd!` [INFO] [stdout] --> tests/cli_tests.rs:118:28 [INFO] [stdout] | [INFO] [stdout] 118 | let mut cmd = Command::cargo_bin("xlog").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `assert_cmd::Command::cargo_bin`: incompatible with a custom cargo build-dir, see instead `cargo::cargo_bin_cmd!` [INFO] [stdout] --> tests/cli_tests.rs:125:28 [INFO] [stdout] | [INFO] [stdout] 125 | let mut cmd = Command::cargo_bin("xlog").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `assert_cmd::Command::cargo_bin`: incompatible with a custom cargo build-dir, see instead `cargo::cargo_bin_cmd!` [INFO] [stdout] --> tests/cli_tests.rs:137:28 [INFO] [stdout] | [INFO] [stdout] 137 | let mut cmd = Command::cargo_bin("xlog").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `assert_cmd::Command::cargo_bin`: incompatible with a custom cargo build-dir, see instead `cargo::cargo_bin_cmd!` [INFO] [stdout] --> tests/cli_tests.rs:143:28 [INFO] [stdout] | [INFO] [stdout] 143 | let mut cmd = Command::cargo_bin("xlog").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `assert_cmd::Command::cargo_bin`: incompatible with a custom cargo build-dir, see instead `cargo::cargo_bin_cmd!` [INFO] [stdout] --> tests/cli_tests.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | let mut cmd = Command::cargo_bin("xlog").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `assert_cmd::Command::cargo_bin`: incompatible with a custom cargo build-dir, see instead `cargo::cargo_bin_cmd!` [INFO] [stdout] --> tests/cli_tests.rs:163:28 [INFO] [stdout] | [INFO] [stdout] 163 | let mut cmd = Command::cargo_bin("xlog").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `assert_cmd::Command::cargo_bin`: incompatible with a custom cargo build-dir, see instead `cargo::cargo_bin_cmd!` [INFO] [stdout] --> tests/cli_tests.rs:169:28 [INFO] [stdout] | [INFO] [stdout] 169 | let mut cmd = Command::cargo_bin("xlog").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `assert_cmd::Command::cargo_bin`: incompatible with a custom cargo build-dir, see instead `cargo::cargo_bin_cmd!` [INFO] [stdout] --> tests/cli_tests.rs:176:28 [INFO] [stdout] | [INFO] [stdout] 176 | let mut cmd = Command::cargo_bin("xlog").unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `OxidLog` (test "cli_tests") due to 9 previous errors; 21 warnings emitted [INFO] [stdout] warning: unused variable: `journal` [INFO] [stdout] --> src/commands/remove.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | fn remove_entries_by_range(journal: &mut Journal, range: &str) -> JotResult> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_journal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `journal` [INFO] [stdout] --> src/commands/remove.rs:31:28 [INFO] [stdout] | [INFO] [stdout] 31 | fn remove_entries_by_range(journal: &mut Journal, range: &str) -> JotResult> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_journal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BackupError` and `SearchError` are never constructed [INFO] [stdout] --> src/error/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum JotError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 39 | BackupError(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | SearchError(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JotError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_hash` is never used [INFO] [stdout] --> src/storage/journal.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Tag { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn from_hash(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_tags` is never used [INFO] [stdout] --> src/utils/mod.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn parse_tags(tags: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `BackupError` and `SearchError` are never constructed [INFO] [stdout] --> src/error/mod.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum JotError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 39 | BackupError(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | SearchError(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JotError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_hash` is never used [INFO] [stdout] --> src/storage/journal.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl Tag { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn from_hash(s: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_tags` is never used [INFO] [stdout] --> src/utils/mod.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn parse_tags(tags: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9535af2a2cc9e0c6e04b4f7944d101c6928a4e977eead12fa1a26aaf7439a49a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9535af2a2cc9e0c6e04b4f7944d101c6928a4e977eead12fa1a26aaf7439a49a", kill_on_drop: false }` [INFO] [stdout] 9535af2a2cc9e0c6e04b4f7944d101c6928a4e977eead12fa1a26aaf7439a49a