[INFO] fetching crate mates 0.3.0... [INFO] checking mates-0.3.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate mates 0.3.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate mates 0.3.0 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking 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-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 97 packages [INFO] [stderr] Adding atomicwrites v0.1.5 (latest: v0.4.3) [INFO] [stderr] Adding base64 v0.11.0 (latest: v0.22.0) [INFO] [stderr] Adding bitflags v0.9.1 (latest: v2.5.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.4) [INFO] [stderr] Adding cursive v0.5.1 (latest: v0.20.0) [INFO] [stderr] Adding getrandom v0.1.16 (latest: v0.2.12) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding ncurses v5.101.0 (latest: v6.0.0) [INFO] [stderr] Adding nix v0.9.0 (latest: v0.28.0) [INFO] [stderr] Adding num v0.1.42 (latest: v0.4.1) [INFO] [stderr] Adding num-bigint v0.1.44 (latest: v0.4.4) [INFO] [stderr] Adding num-complex v0.1.43 (latest: v0.4.5) [INFO] [stderr] Adding num-rational v0.1.42 (latest: v0.4.1) [INFO] [stderr] Adding odds v0.2.26 (latest: v0.4.0) [INFO] [stderr] Adding owning_ref v0.2.4 (latest: v0.4.1) [INFO] [stderr] Adding rand v0.3.23 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (latest: v0.8.5) [INFO] [stderr] Adding rand v0.7.3 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.2.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.5.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.2.0 (latest: v0.3.2) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding remove_dir_all v0.5.3 (latest: v0.8.2) [INFO] [stderr] Adding serde v0.9.15 (latest: v1.0.197) [INFO] [stderr] Adding strsim v0.8.0 (latest: v0.11.1) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding toml v0.3.2 (latest: v0.8.12) [INFO] [stderr] Adding uuid v0.5.1 (latest: v1.8.0) [INFO] [stderr] Adding vobject v0.2.1 (latest: v0.7.0) [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.55.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v0.9.15 [INFO] [stderr] Downloaded atomicwrites v0.1.5 [INFO] [stderr] Downloaded ncurses v5.101.0 [INFO] [stderr] Downloaded odds v0.2.26 [INFO] [stderr] Downloaded cursive v0.5.1 [INFO] [stderr] Downloaded vobject v0.2.1 [INFO] [stderr] Downloaded owning_ref v0.2.4 [INFO] [stderr] Downloaded toml v0.3.2 [INFO] [stderr] Downloaded email v0.0.21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3b773483371737c59a054e233fe3a671eea3ed90b56092583164016807e309e [INFO] running `Command { std: "docker" "start" "-a" "f3b773483371737c59a054e233fe3a671eea3ed90b56092583164016807e309e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3b773483371737c59a054e233fe3a671eea3ed90b56092583164016807e309e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3b773483371737c59a054e233fe3a671eea3ed90b56092583164016807e309e", kill_on_drop: false }` [INFO] [stdout] f3b773483371737c59a054e233fe3a671eea3ed90b56092583164016807e309e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57df67f9c9849d69064cd3e88dc7647491bf80036a0368faae56de778131b90b [INFO] running `Command { std: "docker" "start" "-a" "57df67f9c9849d69064cd3e88dc7647491bf80036a0368faae56de778131b90b", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling ncurses v5.101.0 [INFO] [stderr] Compiling email v0.0.21 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling cursive v0.5.1 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking odds v0.2.26 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking nix v0.9.0 [INFO] [stderr] Checking owning_ref v0.2.4 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking vobject v0.2.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking atomicwrites v0.1.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking toml v0.3.2 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Compiling mates v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/mates/cli.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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: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: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/mates/cli.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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: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: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/mates/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/mates/utils.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [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: the item `vobject` is imported redundantly [INFO] [stdout] --> src/mates/editor/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use vobject; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/mates/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate vobject; [INFO] [stdout] | --------------------- the item `vobject` is already imported here [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: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/mates/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/mates/utils.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [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: the item `atomicwrites` is imported redundantly [INFO] [stdout] --> src/mates/editor/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use atomicwrites; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/mates/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate atomicwrites; [INFO] [stdout] | -------------------------- the item `atomicwrites` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `vobject` is imported redundantly [INFO] [stdout] --> src/mates/editor/widgets.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use vobject; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/mates/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate vobject; [INFO] [stdout] | --------------------- the item `vobject` is already imported here [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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 251 | pub type MainResult = Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `vobject` is imported redundantly [INFO] [stdout] --> src/mates/editor/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use vobject; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/mates/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate vobject; [INFO] [stdout] | --------------------- the item `vobject` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `atomicwrites` is imported redundantly [INFO] [stdout] --> src/mates/editor/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use atomicwrites; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/mates/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate atomicwrites; [INFO] [stdout] | -------------------------- the item `atomicwrites` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `vobject` is imported redundantly [INFO] [stdout] --> src/mates/editor/widgets.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use vobject; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/mates/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate vobject; [INFO] [stdout] | --------------------- the item `vobject` is already imported here [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 an object-safe 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 258 | fn cause(&self) -> Option<&dyn Error> { [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 an object-safe 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 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_end_matches('>')), [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_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] [stdout] warning: 41 warnings emitted [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: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.06s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint v0.1.44, num-complex v0.1.43, num-rational v0.1.42 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "57df67f9c9849d69064cd3e88dc7647491bf80036a0368faae56de778131b90b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57df67f9c9849d69064cd3e88dc7647491bf80036a0368faae56de778131b90b", kill_on_drop: false }` [INFO] [stdout] 57df67f9c9849d69064cd3e88dc7647491bf80036a0368faae56de778131b90b [INFO] checking mates-0.3.0 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate mates 0.3.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate mates 0.3.0 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking 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-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bcdae77ed9431ee0008d9474cb6d104b81def6a8be27848d98e90686fbfe17e4 [INFO] running `Command { std: "docker" "start" "-a" "bcdae77ed9431ee0008d9474cb6d104b81def6a8be27848d98e90686fbfe17e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bcdae77ed9431ee0008d9474cb6d104b81def6a8be27848d98e90686fbfe17e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcdae77ed9431ee0008d9474cb6d104b81def6a8be27848d98e90686fbfe17e4", kill_on_drop: false }` [INFO] [stdout] bcdae77ed9431ee0008d9474cb6d104b81def6a8be27848d98e90686fbfe17e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 945ece1813960081707ef6ab95c220b5a927b687ee8c29c3d9fbae337067ad0a [INFO] running `Command { std: "docker" "start" "-a" "945ece1813960081707ef6ab95c220b5a927b687ee8c29c3d9fbae337067ad0a", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling ncurses v5.101.0 [INFO] [stderr] Compiling email v0.0.21 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Compiling cursive v0.5.1 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking nix v0.9.0 [INFO] [stderr] Checking odds v0.2.26 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking owning_ref v0.2.4 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking vobject v0.2.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking toml v0.3.2 [INFO] [stderr] Checking atomicwrites v0.1.5 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Compiling mates v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/mates/cli.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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: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: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/mates/cli.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` 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: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: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: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: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: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: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: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: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/mates/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [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: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/mates/utils.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [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/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/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/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/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/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/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/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/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: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/mates/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/mates/utils.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [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: the item `vobject` is imported redundantly [INFO] [stdout] --> src/mates/editor/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use vobject; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/mates/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate vobject; [INFO] [stdout] | --------------------- the item `vobject` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `atomicwrites` is imported redundantly [INFO] [stdout] --> src/mates/editor/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use atomicwrites; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/mates/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate atomicwrites; [INFO] [stdout] | -------------------------- the item `atomicwrites` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `vobject` is imported redundantly [INFO] [stdout] --> src/mates/editor/widgets.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use vobject; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/mates/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate vobject; [INFO] [stdout] | --------------------- the item `vobject` is already imported here [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: the item `vobject` is imported redundantly [INFO] [stdout] --> src/mates/editor/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use vobject; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/mates/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate vobject; [INFO] [stdout] | --------------------- the item `vobject` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `atomicwrites` is imported redundantly [INFO] [stdout] --> src/mates/editor/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use atomicwrites; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/mates/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate atomicwrites; [INFO] [stdout] | -------------------------- the item `atomicwrites` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `vobject` is imported redundantly [INFO] [stdout] --> src/mates/editor/widgets.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use vobject; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/mates/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate vobject; [INFO] [stdout] | --------------------- the item `vobject` is already imported here [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 an object-safe 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 an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 258 | fn cause(&self) -> Option<&dyn Error> { [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 an object-safe 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 an object-safe 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 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_end_matches('>')), [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_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] [stdout] warning: 41 warnings emitted [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: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.53s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint v0.1.44, num-complex v0.1.43, num-rational v0.1.42 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "945ece1813960081707ef6ab95c220b5a927b687ee8c29c3d9fbae337067ad0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "945ece1813960081707ef6ab95c220b5a927b687ee8c29c3d9fbae337067ad0a", kill_on_drop: false }` [INFO] [stdout] 945ece1813960081707ef6ab95c220b5a927b687ee8c29c3d9fbae337067ad0a