[INFO] fetching crate mates 0.3.0... [INFO] checking mates-0.3.0 against master#b56aaec52bc0fa35591a872fb4aac81f606e265c for pr-122661-1 [INFO] extracting crate mates 0.3.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate mates 0.3.0 [INFO] finished tweaking crates.io crate mates 0.3.0 [INFO] tweaked toml for crates.io crate mates 0.3.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mates 0.3.0 on toolchain b56aaec52bc0fa35591a872fb4aac81f606e265c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "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" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "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 97 packages to latest compatible versions [INFO] [stderr] Adding atomicwrites v0.1.5 (available: v0.4.4) [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.41) [INFO] [stderr] Adding cursive v0.5.1 (available: v0.21.1) [INFO] [stderr] Adding uuid v0.5.1 (available: v1.17.0) [INFO] [stderr] Adding vobject v0.2.1 (available: v0.7.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded owning_ref v0.2.4 [INFO] [stderr] Downloaded atomicwrites v0.1.5 [INFO] [stderr] Downloaded toml v0.3.2 [INFO] [stderr] Downloaded vobject v0.2.1 [INFO] [stderr] Downloaded cursive v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80a09a787b1cdc197e37b1eb47fb530d54c288b4825fac6b9a386f12625037c1 [INFO] running `Command { std: "docker" "start" "-a" "80a09a787b1cdc197e37b1eb47fb530d54c288b4825fac6b9a386f12625037c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80a09a787b1cdc197e37b1eb47fb530d54c288b4825fac6b9a386f12625037c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80a09a787b1cdc197e37b1eb47fb530d54c288b4825fac6b9a386f12625037c1", kill_on_drop: false }` [INFO] [stdout] 80a09a787b1cdc197e37b1eb47fb530d54c288b4825fac6b9a386f12625037c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc09333f31721760404e346f24c9dd996c267a2cd37f667d83871b7afe1759a2 [INFO] running `Command { std: "docker" "start" "-a" "bc09333f31721760404e346f24c9dd996c267a2cd37f667d83871b7afe1759a2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling cursive v0.5.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking odds v0.2.26 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.1.45 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.44 [INFO] [stderr] Compiling email v0.0.21 [INFO] [stderr] Checking owning_ref v0.2.4 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking vobject v0.2.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking nix v0.9.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking uuid v0.5.1 [INFO] [stderr] Checking toml v0.3.2 [INFO] [stderr] Compiling ncurses v5.101.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking atomicwrites v0.1.5 [INFO] [stderr] Checking num v0.1.43 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling mates v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | try!(af.write::<(), io::Error, _>(|outf| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | for entry in try!(fs::read_dir(dir)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | try!(outf.write_all(index_string.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | try!(build_index(&config.index_path, &config.vdir_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | try!(mutt_query(&config, &query[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | try!(file_query(&config, &query[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | try!(email_query(&config, &query[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | try!(stdin.lock().read_to_string(&mut email)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | try!(index_fp.write_all(index_entry.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | let contact = try!(utils::add_contact_from_email( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | let mut index_fp = try!(fs::OpenOptions::new() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:143:31 [INFO] [stdout] | [INFO] [stdout] 143 | let index_entry = try!(utils::index_item_from_contact(&contact)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | try!(edit_contact(&config, &query[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | try!(utils::file_query(config, query)).into_iter().collect() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | try!(file.read_to_string(&mut fcontent)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | let mut file = try!(fs::File::open(fpath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | try!(fs::remove_file(fpath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | for path in try!(utils::file_query(config, query)).iter() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | for item in try!(utils::index_query(config, query)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | let exitcode = try!(process.wait()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | let mut contact_file = try!(fs::File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | try!(contact_file.read_to_string(&mut x)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | try!(af.write(|f| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | try!(handle_process(&mut process)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | try!(stream.read_to_string(&mut output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | let mut process = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | try!(index_query(config, query)).filter_map(|x| x.filepath) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | try!(contact.write_create()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mates/cli.rs:251:40 [INFO] [stdout] | [INFO] [stdout] 251 | pub type MainResult = Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 251 | pub type MainResult = Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mates/cli.rs:258:32 [INFO] [stdout] | [INFO] [stdout] 258 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 258 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/mates/cli.rs:265:14 [INFO] [stdout] | [INFO] [stdout] 265 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | try!(af.write::<(), io::Error, _>(|outf| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/mates/utils.rs:226:27 [INFO] [stdout] | [INFO] [stdout] 226 | Some(x) => Some(x.trim_right_matches('>')), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 226 - Some(x) => Some(x.trim_right_matches('>')), [INFO] [stdout] 226 + Some(x) => Some(x.trim_end_matches('>')), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | for entry in try!(fs::read_dir(dir)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | try!(outf.write_all(index_string.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | try!(build_index(&config.index_path, &config.vdir_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | try!(mutt_query(&config, &query[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | try!(file_query(&config, &query[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | try!(email_query(&config, &query[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | try!(stdin.lock().read_to_string(&mut email)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | try!(index_fp.write_all(index_entry.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | let contact = try!(utils::add_contact_from_email( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | let mut index_fp = try!(fs::OpenOptions::new() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:143:31 [INFO] [stdout] | [INFO] [stdout] 143 | let index_entry = try!(utils::index_item_from_contact(&contact)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | try!(edit_contact(&config, &query[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | try!(utils::file_query(config, query)).into_iter().collect() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | try!(file.read_to_string(&mut fcontent)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | let mut file = try!(fs::File::open(fpath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | try!(fs::remove_file(fpath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | for path in try!(utils::file_query(config, query)).iter() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | for item in try!(utils::index_query(config, query)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | let exitcode = try!(process.wait()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | let mut contact_file = try!(fs::File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | try!(contact_file.read_to_string(&mut x)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | try!(af.write(|f| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | try!(handle_process(&mut process)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | try!(stream.read_to_string(&mut output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | let mut process = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | try!(index_query(config, query)).filter_map(|x| x.filepath) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | try!(contact.write_create()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mates/cli.rs:251:40 [INFO] [stdout] | [INFO] [stdout] 251 | pub type MainResult = Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 251 | pub type MainResult = Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mates/cli.rs:258:32 [INFO] [stdout] | [INFO] [stdout] 258 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 258 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mates/editor/mod.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | af.write(|mut f| f.write_all(vobject::write_component(&vobj).as_bytes())).unwrap(); [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: methods `metadata`, `exists`, `is_file`, and `is_dir` are never used [INFO] [stdout] --> src/mates/utils.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait CustomPathExt { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] 18 | fn metadata(&self) -> io::Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | fn exists(&self) -> bool; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | fn is_file(&self) -> bool; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | fn is_dir(&self) -> bool; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mates/cli.rs:28:53 [INFO] [stdout] | [INFO] [stdout] 28 | Err(env::VarError::NotUnicode(_)) => panic!(format!("{} is not unicode.", key)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 28 - Err(env::VarError::NotUnicode(_)) => panic!(format!("{} is not unicode.", key)), [INFO] [stdout] 28 + Err(env::VarError::NotUnicode(_)) => panic!("{} is not unicode.", key), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/mates/cli.rs:265:14 [INFO] [stdout] | [INFO] [stdout] 265 | self.description().fmt(f) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/mates/utils.rs:226:27 [INFO] [stdout] | [INFO] [stdout] 226 | Some(x) => Some(x.trim_right_matches('>')), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 226 - Some(x) => Some(x.trim_right_matches('>')), [INFO] [stdout] 226 + Some(x) => Some(x.trim_end_matches('>')), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mates/editor/mod.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | af.write(|mut f| f.write_all(vobject::write_component(&vobj).as_bytes())).unwrap(); [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: methods `metadata`, `exists`, `is_file`, and `is_dir` are never used [INFO] [stdout] --> src/mates/utils.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait CustomPathExt { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] 18 | fn metadata(&self) -> io::Result; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | fn exists(&self) -> bool; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | fn is_file(&self) -> bool; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | fn is_dir(&self) -> bool; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mates/cli.rs:28:53 [INFO] [stdout] | [INFO] [stdout] 28 | Err(env::VarError::NotUnicode(_)) => panic!(format!("{} is not unicode.", key)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 28 - Err(env::VarError::NotUnicode(_)) => panic!(format!("{} is not unicode.", key)), [INFO] [stdout] 28 + Err(env::VarError::NotUnicode(_)) => panic!("{} is not unicode.", key), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.05s [INFO] running `Command { std: "docker" "inspect" "bc09333f31721760404e346f24c9dd996c267a2cd37f667d83871b7afe1759a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc09333f31721760404e346f24c9dd996c267a2cd37f667d83871b7afe1759a2", kill_on_drop: false }` [INFO] [stdout] bc09333f31721760404e346f24c9dd996c267a2cd37f667d83871b7afe1759a2