[INFO] cloning repository https://github.com/nico2sh/notto
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nico2sh/notto" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnico2sh%2Fnotto", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnico2sh%2Fnotto'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f8c24cbc993cc5f7da4730fba970ab086cf059c2
[INFO] testing nico2sh/notto against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnico2sh%2Fnotto" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/nico2sh/notto on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/nico2sh/notto
[INFO] finished tweaking git repo https://github.com/nico2sh/notto
[INFO] tweaked toml for git repo https://github.com/nico2sh/notto written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/nico2sh/notto already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 677262e6dc6d11d032891cd1cd89d565966c0b331c9576902a7277e0f6e0ed71
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "677262e6dc6d11d032891cd1cd89d565966c0b331c9576902a7277e0f6e0ed71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "677262e6dc6d11d032891cd1cd89d565966c0b331c9576902a7277e0f6e0ed71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "677262e6dc6d11d032891cd1cd89d565966c0b331c9576902a7277e0f6e0ed71", kill_on_drop: false }`
[INFO] [stdout] 677262e6dc6d11d032891cd1cd89d565966c0b331c9576902a7277e0f6e0ed71
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f1a09b64450e1a58cafe47f2a0f44a25cea431090581234823609e1576f6b97e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "f1a09b64450e1a58cafe47f2a0f44a25cea431090581234823609e1576f6b97e", kill_on_drop: false }`
[INFO] [stderr] Compiling libc v0.2.91
[INFO] [stderr] Compiling proc-macro2 v1.0.24
[INFO] [stderr] Compiling unicode-xid v0.2.1
[INFO] [stderr] Compiling cfg-if v1.0.0
[INFO] [stderr] Compiling syn v1.0.64
[INFO] [stderr] Compiling version_check v0.9.3
[INFO] [stderr] Compiling unicode-width v0.1.8
[INFO] [stderr] Compiling memchr v2.3.4
[INFO] [stderr] Compiling lazy_static v1.4.0
[INFO] [stderr] Compiling ident_case v1.0.1
[INFO] [stderr] Compiling strsim v0.9.3
[INFO] [stderr] Compiling fnv v1.0.7
[INFO] [stderr] Compiling serde_derive v1.0.125
[INFO] [stderr] Compiling serde v1.0.125
[INFO] [stderr] Compiling regex-syntax v0.6.23
[INFO] [stderr] Compiling smallvec v1.6.1
[INFO] [stderr] Compiling scopeguard v1.1.0
[INFO] [stderr] Compiling ppv-lite86 v0.2.10
[INFO] [stderr] Compiling array-macro v1.0.5
[INFO] [stderr] Compiling signal-hook v0.3.8
[INFO] [stderr] Compiling once_cell v1.7.2
[INFO] [stderr] Compiling stable_deref_trait v1.2.0
[INFO] [stderr] Compiling termcolor v1.1.2
[INFO] [stderr] Compiling xi-unicode v0.3.0
[INFO] [stderr] Compiling pulldown-cmark v0.8.0
[INFO] [stderr] Compiling vec_map v0.8.2
[INFO] [stderr] Compiling zeroize v1.2.0
[INFO] [stderr] Compiling num-traits v0.2.14
[INFO] [stderr] Compiling num-integer v0.1.44
[INFO] [stderr] Compiling num-rational v0.3.2
[INFO] [stderr] Compiling crossbeam-utils v0.8.3
[INFO] [stderr] Compiling num-iter v0.1.42
[INFO] [stderr] Compiling indexmap v1.6.2
[INFO] [stderr] Compiling heck v0.3.2
[INFO] [stderr] Compiling instant v0.1.9
[INFO] [stderr] Compiling getopts v0.2.21
[INFO] [stderr] Compiling textwrap v0.12.1
[INFO] [stderr] Compiling lock_api v0.4.3
[INFO] [stderr] Compiling owning_ref v0.4.1
[INFO] [stderr] Compiling log v0.4.14
[INFO] [stderr] Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr] Compiling proc-macro-error v1.0.4
[INFO] [stderr] Compiling ahash v0.6.3
[INFO] [stderr] Compiling unicase v2.6.0
[INFO] [stderr] Compiling aho-corasick v0.7.15
[INFO] [stderr] Compiling quote v1.0.9
[INFO] [stderr] Compiling crossbeam-channel v0.5.0
[INFO] [stderr] Compiling getrandom v0.2.2
[INFO] [stderr] Compiling signal-hook-registry v1.3.0
[INFO] [stderr] Compiling mio v0.7.11
[INFO] [stderr] Compiling time v0.1.44
[INFO] [stderr] Compiling parking_lot_core v0.8.3
[INFO] [stderr] Compiling terminal_size v0.1.16
[INFO] [stderr] Compiling atty v0.2.14
[INFO] [stderr] Compiling dirs-sys v0.3.5
[INFO] [stderr] Compiling num-complex v0.3.1
[INFO] [stderr] Compiling rand_core v0.6.2
[INFO] [stderr] Compiling parking_lot v0.11.1
[INFO] [stderr] Compiling dirs v3.0.1
[INFO] [stderr] Compiling signal-hook v0.1.17
[INFO] [stderr] Compiling rand_chacha v0.3.0
[INFO] [stderr] Compiling regex v1.4.5
[INFO] [stderr] Compiling chrono v0.4.19
[INFO] [stderr] Compiling crossterm v0.19.0
[INFO] [stderr] Compiling rand v0.8.3
[INFO] [stderr] Compiling num v0.3.1
[INFO] [stderr] Compiling tempfile v3.2.0
[INFO] [stderr] Compiling console v0.14.1
[INFO] [stderr] Compiling env_logger v0.8.3
[INFO] [stderr] Compiling dialoguer v0.8.0
[INFO] [stderr] Compiling darling_core v0.10.2
[INFO] [stderr] Compiling enum-map-derive v0.4.6
[INFO] [stderr] Compiling thiserror-impl v1.0.24
[INFO] [stderr] Compiling clap_derive v3.0.0-beta.2
[INFO] [stderr] Compiling darling_macro v0.10.2
[INFO] [stderr] Compiling enum-map v0.6.4
[INFO] [stderr] Compiling darling v0.10.2
[INFO] [stderr] Compiling wasmer_enumset_derive v0.5.0
[INFO] [stderr] Compiling thiserror v1.0.24
[INFO] [stderr] Compiling clap v3.0.0-beta.2
[INFO] [stderr] Compiling wasmer_enumset v1.0.1
[INFO] [stderr] Compiling cursive_core v0.2.2
[INFO] [stderr] Compiling cursive v0.16.3
[INFO] [stderr] Compiling serde_yaml v0.8.17
[INFO] [stderr] Compiling uuid v0.8.2
[INFO] [stderr] Compiling notto v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `tag`
[INFO] [stdout] --> src/finder/mod.rs:53:40
[INFO] [stdout] |
[INFO] [stdout] 53 | FindCondition::Tag(tag) => { false }
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `when`
[INFO] [stdout] --> src/finder/mod.rs:54:41
[INFO] [stdout] |
[INFO] [stdout] 54 | FindCondition::Date(when, date) => { false }
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_when`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `date`
[INFO] [stdout] --> src/finder/mod.rs:54:47
[INFO] [stdout] |
[INFO] [stdout] 54 | FindCondition::Date(when, date) => { false }
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_date`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `when`
[INFO] [stdout] --> src/finder/mod.rs:55:41
[INFO] [stdout] |
[INFO] [stdout] 55 | FindCondition::Time(when, time) => { false }
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_when`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout] --> src/finder/mod.rs:55:47
[INFO] [stdout] |
[INFO] [stdout] 55 | FindCondition::Time(when, time) => { false }
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `process`
[INFO] [stdout] --> src/models/bucket.rs:26:12
[INFO] [stdout] |
[INFO] [stdout] 26 | pub fn process(&self, config: Config, temp_dir: PathBuf) {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `is_dir`
[INFO] [stdout] --> src/io/mod.rs:152:8
[INFO] [stdout] |
[INFO] [stdout] 152 | fn is_dir
(&self, path: P) -> bool where P: AsRef {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `super::NottoScreen`
[INFO] [stdout] --> src/bin/ui/note_browser.rs:3:5
[INFO] [stdout] |
[INFO] [stdout] 3 | use super::NottoScreen;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `PathBuf`, `Path`, `fs`
[INFO] [stdout] --> src/bin/notto.rs:3:11
[INFO] [stdout] |
[INFO] [stdout] 3 | use std::{fs, path::{Path, PathBuf}};
[INFO] [stdout] | ^^ ^^^^ ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Arc`, `Mutex`
[INFO] [stdout] --> src/bin/notto.rs:4:17
[INFO] [stdout] |
[INFO] [stdout] 4 | use std::sync::{Arc, Mutex};
[INFO] [stdout] | ^^^ ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `notto::models::note::Note`
[INFO] [stdout] --> src/bin/notto.rs:12:5
[INFO] [stdout] |
[INFO] [stdout] 12 | use notto::models::note::Note;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `matches`
[INFO] [stdout] --> src/bin/notto.rs:69:9
[INFO] [stdout] |
[INFO] [stdout] 69 | fn open(matches: &ArgMatches) -> Result<(), NottoError> {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `note_result`
[INFO] [stdout] --> src/bin/notto.rs:94:48
[INFO] [stdout] |
[INFO] [stdout] 94 | if let NoteFindMessage::Result(note_result) = msg {
[INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_note_result`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout] --> src/bin/notto.rs:101:17
[INFO] [stdout] |
[INFO] [stdout] 101 | Err(e) => {}
[INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `event`
[INFO] [stdout] --> src/bin/ui/mod.rs:49:28
[INFO] [stdout] |
[INFO] [stdout] 49 | fn on_event(&mut self, event: Event) -> EventResult {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/bin/notto.rs:90:13
[INFO] [stdout] |
[INFO] [stdout] 90 | let mut selection = Select::with_theme(&theme);
[INFO] [stdout] | ----^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct is never constructed: `NoteBrowser`
[INFO] [stdout] --> src/bin/ui/note_browser.rs:5:12
[INFO] [stdout] |
[INFO] [stdout] 5 | pub struct NoteBrowser {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variant is never constructed: `LoadViewError`
[INFO] [stdout] --> src/bin/ui/error.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | LoadViewError { message: String },
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field is never read: `siv`
[INFO] [stdout] --> src/bin/ui/mod.rs:18:5
[INFO] [stdout] |
[INFO] [stdout] 18 | siv: Cursive,
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field is never read: `rx`
[INFO] [stdout] --> src/bin/ui/mod.rs:19:5
[INFO] [stdout] |
[INFO] [stdout] 19 | rx: Receiver,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field is never read: `tx`
[INFO] [stdout] --> src/bin/ui/mod.rs:20:5
[INFO] [stdout] |
[INFO] [stdout] 20 | tx: Sender
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout] --> src/bin/ui/mod.rs:24:12
[INFO] [stdout] |
[INFO] [stdout] 24 | pub fn new() -> Self {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `run`
[INFO] [stdout] --> src/bin/ui/mod.rs:30:8
[INFO] [stdout] |
[INFO] [stdout] 30 | fn run(&mut self) {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `build_view`
[INFO] [stdout] --> src/bin/ui/mod.rs:35:8
[INFO] [stdout] |
[INFO] [stdout] 35 | fn build_view(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout] --> src/bin/notto.rs:44:38
[INFO] [stdout] |
[INFO] [stdout] 44 | Some(("open", matches)) => { open(matches); },
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout] --> src/bin/notto.rs:45:38
[INFO] [stdout] |
[INFO] [stdout] 45 | Some(("find", matches)) => { find(matches); },
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 19 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 46.19s
[INFO] running `Command { std: "docker" "inspect" "f1a09b64450e1a58cafe47f2a0f44a25cea431090581234823609e1576f6b97e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f1a09b64450e1a58cafe47f2a0f44a25cea431090581234823609e1576f6b97e", kill_on_drop: false }`
[INFO] [stdout] f1a09b64450e1a58cafe47f2a0f44a25cea431090581234823609e1576f6b97e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 4e80f49f785fa369655902c90ad2dfc1fd116aaf80c9a64a2ab03197713dae79
[INFO] running `Command { std: "docker" "start" "-a" "4e80f49f785fa369655902c90ad2dfc1fd116aaf80c9a64a2ab03197713dae79", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stdout] warning: unused variable: `tag`
[INFO] [stdout] --> src/finder/mod.rs:53:40
[INFO] [stdout] |
[INFO] [stdout] 53 | FindCondition::Tag(tag) => { false }
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `when`
[INFO] [stdout] --> src/finder/mod.rs:54:41
[INFO] [stdout] |
[INFO] [stdout] 54 | FindCondition::Date(when, date) => { false }
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_when`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `date`
[INFO] [stdout] --> src/finder/mod.rs:54:47
[INFO] [stdout] |
[INFO] [stdout] 54 | FindCondition::Date(when, date) => { false }
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_date`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `when`
[INFO] [stdout] --> src/finder/mod.rs:55:41
[INFO] [stdout] |
[INFO] [stdout] 55 | FindCondition::Time(when, time) => { false }
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_when`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout] --> src/finder/mod.rs:55:47
[INFO] [stdout] |
[INFO] [stdout] 55 | FindCondition::Time(when, time) => { false }
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `process`
[INFO] [stdout] --> src/models/bucket.rs:26:12
[INFO] [stdout] |
[INFO] [stdout] 26 | pub fn process(&self, config: Config, temp_dir: PathBuf) {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `is_dir`
[INFO] [stdout] --> src/io/mod.rs:152:8
[INFO] [stdout] |
[INFO] [stdout] 152 | fn is_dir(&self, path: P) -> bool where P: AsRef {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Compiling notto v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `super::NottoScreen`
[INFO] [stdout] --> src/bin/ui/note_browser.rs:3:5
[INFO] [stdout] |
[INFO] [stdout] 3 | use super::NottoScreen;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `PathBuf`, `Path`, `fs`
[INFO] [stdout] --> src/bin/notto.rs:3:11
[INFO] [stdout] |
[INFO] [stdout] 3 | use std::{fs, path::{Path, PathBuf}};
[INFO] [stdout] | ^^ ^^^^ ^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Arc`, `Mutex`
[INFO] [stdout] --> src/bin/notto.rs:4:17
[INFO] [stdout] |
[INFO] [stdout] 4 | use std::sync::{Arc, Mutex};
[INFO] [stdout] | ^^^ ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `notto::models::note::Note`
[INFO] [stdout] --> src/bin/notto.rs:12:5
[INFO] [stdout] |
[INFO] [stdout] 12 | use notto::models::note::Note;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `matches`
[INFO] [stdout] --> src/bin/notto.rs:69:9
[INFO] [stdout] |
[INFO] [stdout] 69 | fn open(matches: &ArgMatches) -> Result<(), NottoError> {
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `note_result`
[INFO] [stdout] --> src/bin/notto.rs:94:48
[INFO] [stdout] |
[INFO] [stdout] 94 | if let NoteFindMessage::Result(note_result) = msg {
[INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_note_result`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout] --> src/bin/notto.rs:101:17
[INFO] [stdout] |
[INFO] [stdout] 101 | Err(e) => {}
[INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `event`
[INFO] [stdout] --> src/bin/ui/mod.rs:49:28
[INFO] [stdout] |
[INFO] [stdout] 49 | fn on_event(&mut self, event: Event) -> EventResult {
[INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/bin/notto.rs:90:13
[INFO] [stdout] |
[INFO] [stdout] 90 | let mut selection = Select::with_theme(&theme);
[INFO] [stdout] | ----^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct is never constructed: `NoteBrowser`
[INFO] [stdout] --> src/bin/ui/note_browser.rs:5:12
[INFO] [stdout] |
[INFO] [stdout] 5 | pub struct NoteBrowser {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variant is never constructed: `LoadViewError`
[INFO] [stdout] --> src/bin/ui/error.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | LoadViewError { message: String },
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field is never read: `siv`
[INFO] [stdout] --> src/bin/ui/mod.rs:18:5
[INFO] [stdout] |
[INFO] [stdout] 18 | siv: Cursive,
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field is never read: `rx`
[INFO] [stdout] --> src/bin/ui/mod.rs:19:5
[INFO] [stdout] |
[INFO] [stdout] 19 | rx: Receiver,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field is never read: `tx`
[INFO] [stdout] --> src/bin/ui/mod.rs:20:5
[INFO] [stdout] |
[INFO] [stdout] 20 | tx: Sender
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout] --> src/bin/ui/mod.rs:24:12
[INFO] [stdout] |
[INFO] [stdout] 24 | pub fn new() -> Self {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `run`
[INFO] [stdout] --> src/bin/ui/mod.rs:30:8
[INFO] [stdout] |
[INFO] [stdout] 30 | fn run(&mut self) {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `build_view`
[INFO] [stdout] --> src/bin/ui/mod.rs:35:8
[INFO] [stdout] |
[INFO] [stdout] 35 | fn build_view(&mut self) {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout] --> src/bin/notto.rs:44:38
[INFO] [stdout] |
[INFO] [stdout] 44 | Some(("open", matches)) => { open(matches); },
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout] --> src/bin/notto.rs:45:38
[INFO] [stdout] |
[INFO] [stdout] 45 | Some(("find", matches)) => { find(matches); },
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `tag`
[INFO] [stdout] --> src/finder/mod.rs:53:40
[INFO] [stdout] |
[INFO] [stdout] 53 | FindCondition::Tag(tag) => { false }
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `when`
[INFO] [stdout] --> src/finder/mod.rs:54:41
[INFO] [stdout] |
[INFO] [stdout] 54 | FindCondition::Date(when, date) => { false }
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_when`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `date`
[INFO] [stdout] --> src/finder/mod.rs:54:47
[INFO] [stdout] |
[INFO] [stdout] 54 | FindCondition::Date(when, date) => { false }
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_date`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `when`
[INFO] [stdout] --> src/finder/mod.rs:55:41
[INFO] [stdout] |
[INFO] [stdout] 55 | FindCondition::Time(when, time) => { false }
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_when`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `time`
[INFO] [stdout] --> src/finder/mod.rs:55:47
[INFO] [stdout] |
[INFO] [stdout] 55 | FindCondition::Time(when, time) => { false }
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `process`
[INFO] [stdout] --> src/models/bucket.rs:26:12
[INFO] [stdout] |
[INFO] [stdout] 26 | pub fn process(&self, config: Config, temp_dir: PathBuf) {
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `is_dir`
[INFO] [stdout] --> src/io/mod.rs:152:8
[INFO] [stdout] |
[INFO] [stdout] 152 | fn is_dir(&self, path: P) -> bool where P: AsRef {
[INFO] [stdout] | ^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 19 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 22.00s
[INFO] running `Command { std: "docker" "inspect" "4e80f49f785fa369655902c90ad2dfc1fd116aaf80c9a64a2ab03197713dae79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4e80f49f785fa369655902c90ad2dfc1fd116aaf80c9a64a2ab03197713dae79", kill_on_drop: false }`
[INFO] [stdout] 4e80f49f785fa369655902c90ad2dfc1fd116aaf80c9a64a2ab03197713dae79
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 2f939d816e997853f92f08e828b51fc84cd443803301675d665fa8c87605e688
[INFO] running `Command { std: "docker" "start" "-a" "2f939d816e997853f92f08e828b51fc84cd443803301675d665fa8c87605e688", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `tag`
[INFO] [stderr] --> src/finder/mod.rs:53:40
[INFO] [stderr] |
[INFO] [stderr] 53 | FindCondition::Tag(tag) => { false }
[INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag`
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `when`
[INFO] [stderr] --> src/finder/mod.rs:54:41
[INFO] [stderr] |
[INFO] [stderr] 54 | FindCondition::Date(when, date) => { false }
[INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_when`
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `date`
[INFO] [stderr] --> src/finder/mod.rs:54:47
[INFO] [stderr] |
[INFO] [stderr] 54 | FindCondition::Date(when, date) => { false }
[INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_date`
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `when`
[INFO] [stderr] --> src/finder/mod.rs:55:41
[INFO] [stderr] |
[INFO] [stderr] 55 | FindCondition::Time(when, time) => { false }
[INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_when`
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `time`
[INFO] [stderr] --> src/finder/mod.rs:55:47
[INFO] [stderr] |
[INFO] [stderr] 55 | FindCondition::Time(when, time) => { false }
[INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stderr]
[INFO] [stderr] warning: associated function is never used: `process`
[INFO] [stderr] --> src/models/bucket.rs:26:12
[INFO] [stderr] |
[INFO] [stderr] 26 | pub fn process(&self, config: Config, temp_dir: PathBuf) {
[INFO] [stderr] | ^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(dead_code)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: associated function is never used: `is_dir`
[INFO] [stderr] --> src/io/mod.rs:152:8
[INFO] [stderr] |
[INFO] [stderr] 152 | fn is_dir(&self, path: P) -> bool where P: AsRef {
[INFO] [stderr] | ^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: 7 warnings emitted
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `tag`
[INFO] [stderr] --> src/finder/mod.rs:53:40
[INFO] [stderr] |
[INFO] [stderr] 53 | FindCondition::Tag(tag) => { false }
[INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag`
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `when`
[INFO] [stderr] --> src/finder/mod.rs:54:41
[INFO] [stderr] |
[INFO] [stderr] 54 | FindCondition::Date(when, date) => { false }
[INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_when`
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `date`
[INFO] [stderr] --> src/finder/mod.rs:54:47
[INFO] [stderr] |
[INFO] [stderr] 54 | FindCondition::Date(when, date) => { false }
[INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_date`
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `when`
[INFO] [stderr] --> src/finder/mod.rs:55:41
[INFO] [stderr] |
[INFO] [stderr] 55 | FindCondition::Time(when, time) => { false }
[INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_when`
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `time`
[INFO] [stderr] --> src/finder/mod.rs:55:47
[INFO] [stderr] |
[INFO] [stderr] 55 | FindCondition::Time(when, time) => { false }
[INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time`
[INFO] [stderr]
[INFO] [stderr] warning: associated function is never used: `process`
[INFO] [stderr] --> src/models/bucket.rs:26:12
[INFO] [stderr] |
[INFO] [stderr] 26 | pub fn process(&self, config: Config, temp_dir: PathBuf) {
[INFO] [stderr] | ^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(dead_code)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: associated function is never used: `is_dir`
[INFO] [stderr] --> src/io/mod.rs:152:8
[INFO] [stderr] |
[INFO] [stderr] 152 | fn is_dir(&self, path: P) -> bool where P: AsRef {
[INFO] [stderr] | ^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: 7 warnings emitted
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `super::NottoScreen`
[INFO] [stderr] --> src/bin/ui/note_browser.rs:3:5
[INFO] [stderr] |
[INFO] [stderr] 3 | use super::NottoScreen;
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: unused imports: `PathBuf`, `Path`, `fs`
[INFO] [stderr] --> src/bin/notto.rs:3:11
[INFO] [stderr] |
[INFO] [stderr] 3 | use std::{fs, path::{Path, PathBuf}};
[INFO] [stderr] | ^^ ^^^^ ^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused imports: `Arc`, `Mutex`
[INFO] [stderr] --> src/bin/notto.rs:4:17
[INFO] [stderr] |
[INFO] [stderr] 4 | use std::sync::{Arc, Mutex};
[INFO] [stderr] | ^^^ ^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused import: `notto::models::note::Note`
[INFO] [stderr] --> src/bin/notto.rs:12:5
[INFO] [stderr] |
[INFO] [stderr] 12 | use notto::models::note::Note;
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `matches`
[INFO] [stderr] --> src/bin/notto.rs:69:9
[INFO] [stderr] |
[INFO] [stderr] 69 | fn open(matches: &ArgMatches) -> Result<(), NottoError> {
[INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches`
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `note_result`
[INFO] [stderr] --> src/bin/notto.rs:94:48
[INFO] [stderr] |
[INFO] [stderr] 94 | if let NoteFindMessage::Result(note_result) = msg {
[INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_note_result`
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr] --> src/bin/notto.rs:101:17
[INFO] [stderr] |
[INFO] [stderr] 101 | Err(e) => {}
[INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr]
[INFO] [stderr] warning: unused variable: `event`
[INFO] [stderr] --> src/bin/ui/mod.rs:49:28
[INFO] [stderr] |
[INFO] [stderr] 49 | fn on_event(&mut self, event: Event) -> EventResult {
[INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event`
[INFO] [stderr]
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr] --> src/bin/notto.rs:90:13
[INFO] [stderr] |
[INFO] [stderr] 90 | let mut selection = Select::with_theme(&theme);
[INFO] [stderr] | ----^^^^^^^^^
[INFO] [stderr] | |
[INFO] [stderr] | help: remove this `mut`
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: struct is never constructed: `NoteBrowser`
[INFO] [stderr] --> src/bin/ui/note_browser.rs:5:12
[INFO] [stderr] |
[INFO] [stderr] 5 | pub struct NoteBrowser {
[INFO] [stderr] | ^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(dead_code)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: variant is never constructed: `LoadViewError`
[INFO] [stderr] --> src/bin/ui/error.rs:7:5
[INFO] [stderr] |
[INFO] [stderr] 7 | LoadViewError { message: String },
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: field is never read: `siv`
[INFO] [stderr] --> src/bin/ui/mod.rs:18:5
[INFO] [stderr] |
[INFO] [stderr] 18 | siv: Cursive,
[INFO] [stderr] | ^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: field is never read: `rx`
[INFO] [stderr] --> src/bin/ui/mod.rs:19:5
[INFO] [stderr] |
[INFO] [stderr] 19 | rx: Receiver,
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: field is never read: `tx`
[INFO] [stderr] --> src/bin/ui/mod.rs:20:5
[INFO] [stderr] |
[INFO] [stderr] 20 | tx: Sender
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: associated function is never used: `new`
[INFO] [stderr] --> src/bin/ui/mod.rs:24:12
[INFO] [stderr] |
[INFO] [stderr] 24 | pub fn new() -> Self {
[INFO] [stderr] | ^^^
[INFO] [stderr]
[INFO] [stderr] warning: associated function is never used: `run`
[INFO] [stderr] --> src/bin/ui/mod.rs:30:8
[INFO] [stderr] |
[INFO] [stderr] 30 | fn run(&mut self) {
[INFO] [stderr] | ^^^
[INFO] [stderr]
[INFO] [stderr] warning: associated function is never used: `build_view`
[INFO] [stderr] --> src/bin/ui/mod.rs:35:8
[INFO] [stderr] |
[INFO] [stderr] 35 | fn build_view(&mut self) {
[INFO] [stderr] | ^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: unused `std::result::Result` that must be used
[INFO] [stderr] --> src/bin/notto.rs:44:38
[INFO] [stderr] |
[INFO] [stderr] 44 | Some(("open", matches)) => { open(matches); },
[INFO] [stderr] | ^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]
[INFO] [stderr] warning: unused `std::result::Result` that must be used
[INFO] [stderr] --> src/bin/notto.rs:45:38
[INFO] [stderr] |
[INFO] [stderr] 45 | Some(("find", matches)) => { find(matches); },
[INFO] [stderr] | ^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr]
[INFO] [stderr] warning: 19 warnings emitted
[INFO] [stderr]
[INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/notto-c51f1a75c468c564)
[INFO] [stdout]
[INFO] [stdout] running 8 tests
[INFO] [stdout] test models::front_matter::tests::deserialize_date ... ok
[INFO] [stdout] test models::note::test::detects_title_with_starting_invalid_line ... ok
[INFO] [stdout] test models::note::test::detects_title_with_starting_periods ... ok
[INFO] [stdout] test models::note::test::detects_title_with_two_sentences ... ok
[INFO] [stdout] test models::note::test::detects_front_matter ... ok
[INFO] [stdout] test models::front_matter::tests::serializes_date ... ok
[INFO] [stdout] test models::note::test::detects_title ... ok
[INFO] [stdout] test io::test::create_note ... FAILED
[INFO] [stdout]
[INFO] [stdout] failures:
[INFO] [stdout]
[INFO] [stdout] ---- io::test::create_note stdout ----
[INFO] [stdout] Error: ConfigDirectory { source: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } }
[INFO] [stdout] thread 'io::test::create_note' panicked at 'assertion failed: `(left == right)`
[INFO] [stdout] left: `1`,
[INFO] [stdout] right: `0`: the test returned a termination value with a non-zero status code (1) which indicates a failure', /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/test/src/lib.rs:193:5
[INFO] [stdout] stack backtrace:
[INFO] [stdout] 0: 0x5591ba900960 - std::backtrace_rs::backtrace::libunwind::trace::h706b838f5bbd876b
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5
[INFO] [stdout] 1: 0x5591ba900960 - std::backtrace_rs::backtrace::trace_unsynchronized::hc15f29ae7822b7b8
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
[INFO] [stdout] 2: 0x5591ba900960 - std::sys_common::backtrace::_print_fmt::h7c580c971f91926c
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:67:5
[INFO] [stdout] 3: 0x5591ba900960 - ::fmt::h2a772198c4032452
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:46:22
[INFO] [stdout] 4: 0x5591ba925c6c - core::fmt::write::h9a6d9c74526a6c1b
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/fmt/mod.rs:1115:17
[INFO] [stdout] 5: 0x5591ba8fd175 - std::io::Write::write_fmt::h583dff5009d01a9f
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/io/mod.rs:1663:15
[INFO] [stdout] 6: 0x5591ba902f2b - std::sys_common::backtrace::_print::h5b3c171e6f864ae4
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:49:5
[INFO] [stdout] 7: 0x5591ba902f2b - std::sys_common::backtrace::print::h93b9e9ed2a98e611
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:36:9
[INFO] [stdout] 8: 0x5591ba902f2b - std::panicking::default_hook::{{closure}}::hd8da92bb68d520c5
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:208:50
[INFO] [stdout] 9: 0x5591ba902a3c - std::panicking::default_hook::hdbc8b2951c5afbab
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:222:9
[INFO] [stdout] 10: 0x5591ba9035f4 - std::panicking::rust_panic_with_hook::h8a4c841655926f4e
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:622:17
[INFO] [stdout] 11: 0x5591ba9030d7 - std::panicking::begin_panic_handler::{{closure}}::h471b6bc74904b7b0
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:519:13
[INFO] [stdout] 12: 0x5591ba900e5c - std::sys_common::backtrace::__rust_end_short_backtrace::h309f5c707f29932f
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:141:18
[INFO] [stdout] 13: 0x5591ba903039 - rust_begin_unwind
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:515:5
[INFO] [stdout] 14: 0x5591ba78da61 - core::panicking::panic_fmt::hcf5f6d96e1dd7099
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/panicking.rs:92:14
[INFO] [stdout] 15: 0x5591ba92466e - core::panicking::assert_failed_inner::h6ded2444c01d76f2
[INFO] [stdout] 16: 0x5591ba8e8fba - core::panicking::assert_failed::h4da18f1a4a86fcd4
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/panicking.rs:117:5
[INFO] [stdout] 17: 0x5591ba79e0f3 - test::assert_test_result::he4967c315c21e7e8
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/test/src/lib.rs:193:5
[INFO] [stdout] 18: 0x5591ba79e233 - notto::io::test::create_note::{{closure}}::hdd63f1539f3f25d8
[INFO] [stdout] at /opt/rustwide/workdir/src/io/mod.rs:230:5
[INFO] [stdout] 19: 0x5591ba7a9dde - core::ops::function::FnOnce::call_once::h06e59b40b4cc66b3
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/ops/function.rs:227:5
[INFO] [stdout] 20: 0x5591ba83e303 - core::ops::function::FnOnce::call_once::h99a97b0ff983bd25
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/ops/function.rs:227:5
[INFO] [stdout] 21: 0x5591ba83e303 - test::__rust_begin_short_backtrace::h8fe0d26ed1584e50
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/test/src/lib.rs:577:5
[INFO] [stdout] 22: 0x5591ba83cd90 - as core::ops::function::FnOnce>::call_once::he6b90e352f394d8f
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/alloc/src/boxed.rs:1572:9
[INFO] [stdout] 23: 0x5591ba83cd90 - as core::ops::function::FnOnce<()>>::call_once::h1c05475e029700b8
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panic.rs:347:9
[INFO] [stdout] 24: 0x5591ba83cd90 - std::panicking::try::do_call::he6de943476ae628a
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:401:40
[INFO] [stdout] 25: 0x5591ba83cd90 - std::panicking::try::ha21937b8feb06f89
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:365:19
[INFO] [stdout] 26: 0x5591ba83cd90 - std::panic::catch_unwind::ha79830b3325c9fa6
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panic.rs:434:14
[INFO] [stdout] 27: 0x5591ba83cd90 - test::run_test_in_process::h1ab180b83ee2d5b5
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/test/src/lib.rs:600:18
[INFO] [stdout] 28: 0x5591ba83cd90 - test::run_test::run_test_inner::{{closure}}::h8258ffe088f187a1
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/test/src/lib.rs:492:39
[INFO] [stdout] 29: 0x5591ba816352 - test::run_test::run_test_inner::{{closure}}::hc697b214abd32bc6
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/test/src/lib.rs:519:37
[INFO] [stdout] 30: 0x5591ba816352 - std::sys_common::backtrace::__rust_begin_short_backtrace::h64de0d3f894854a9
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys_common/backtrace.rs:125:18
[INFO] [stdout] 31: 0x5591ba819fa8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h1fd98fc86e533ece
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/thread/mod.rs:476:17
[INFO] [stdout] 32: 0x5591ba819fa8 - as core::ops::function::FnOnce<()>>::call_once::h4e2a7abf702e4cfd
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panic.rs:347:9
[INFO] [stdout] 33: 0x5591ba819fa8 - std::panicking::try::do_call::h4496392321a3c8c0
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:401:40
[INFO] [stdout] 34: 0x5591ba819fa8 - std::panicking::try::hf1e14258e04e8e9a
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panicking.rs:365:19
[INFO] [stdout] 35: 0x5591ba819fa8 - std::panic::catch_unwind::hb72c3777cd55642f
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/panic.rs:434:14
[INFO] [stdout] 36: 0x5591ba819fa8 - std::thread::Builder::spawn_unchecked::{{closure}}::h2d7915a5910e148e
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/thread/mod.rs:475:30
[INFO] [stdout] 37: 0x5591ba819fa8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h83fd2f1ef5be797c
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/core/src/ops/function.rs:227:5
[INFO] [stdout] 38: 0x5591ba9090e7 - as core::ops::function::FnOnce>::call_once::ha8b1d5a0092467fc
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/alloc/src/boxed.rs:1572:9
[INFO] [stdout] 39: 0x5591ba9090e7 - as core::ops::function::FnOnce>::call_once::h4b9f24ec4e8a879e
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/alloc/src/boxed.rs:1572:9
[INFO] [stdout] 40: 0x5591ba9090e7 - std::sys::unix::thread::Thread::new::thread_start::h2a0e98fbc4ab4c32
[INFO] [stdout] at /rustc/432e145bd5a974c5b6f4dd9b352891bd7502b69d/library/std/src/sys/unix/thread.rs:72:17
[INFO] [stdout] 41: 0x7f6538a05609 - start_thread
[INFO] [stdout] 42: 0x7f65387d7293 - clone
[INFO] [stdout] 43: 0x0 -
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] failures:
[INFO] [stdout] io::test::create_note
[INFO] [stdout]
[INFO] [stdout] test result: FAILED. 7 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s
[INFO] [stdout]
[INFO] [stderr] error: test failed, to rerun pass '--lib'
[INFO] running `Command { std: "docker" "inspect" "2f939d816e997853f92f08e828b51fc84cd443803301675d665fa8c87605e688", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f939d816e997853f92f08e828b51fc84cd443803301675d665fa8c87605e688", kill_on_drop: false }`
[INFO] [stdout] 2f939d816e997853f92f08e828b51fc84cd443803301675d665fa8c87605e688