[INFO] cloning repository https://github.com/pimutils/mates.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pimutils/mates.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpimutils%2Fmates.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpimutils%2Fmates.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4973303ee9305c8b7e05b8724d7105a277524364 [INFO] checking pimutils/mates.rs against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpimutils%2Fmates.rs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pimutils/mates.rs on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pimutils/mates.rs [INFO] finished tweaking git repo https://github.com/pimutils/mates.rs [INFO] tweaked toml for git repo https://github.com/pimutils/mates.rs written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/pimutils/mates.rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cursive v0.5.1 [INFO] [stderr] Downloaded email v0.0.19 [INFO] [stderr] Downloaded toml v0.3.2 [INFO] [stderr] Downloaded vobject v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2617e6d0b483111220e0cb1d97bcfb6ac1ba8ee5461e277ad75085decff8e290 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2617e6d0b483111220e0cb1d97bcfb6ac1ba8ee5461e277ad75085decff8e290", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2617e6d0b483111220e0cb1d97bcfb6ac1ba8ee5461e277ad75085decff8e290", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2617e6d0b483111220e0cb1d97bcfb6ac1ba8ee5461e277ad75085decff8e290", kill_on_drop: false }` [INFO] [stdout] 2617e6d0b483111220e0cb1d97bcfb6ac1ba8ee5461e277ad75085decff8e290 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa2dc6839c003b4e1c3c33f813659a8c9fc86ba11a70dba9da110addc125820e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fa2dc6839c003b4e1c3c33f813659a8c9fc86ba11a70dba9da110addc125820e", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling version_check v0.1.3 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Compiling cursive v0.5.1 [INFO] [stderr] Checking byteorder v1.2.2 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking odds v0.2.26 [INFO] [stderr] Checking owning_ref v0.2.4 [INFO] [stderr] Checking vobject v0.2.1 [INFO] [stderr] Checking num-integer v0.1.38 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Checking base64 v0.9.1 [INFO] [stderr] Checking num-iter v0.1.37 [INFO] [stderr] Compiling email v0.0.19 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking atty v0.2.10 [INFO] [stderr] Checking nix v0.9.0 [INFO] [stderr] Checking clap v2.31.2 [INFO] [stderr] Compiling ncurses v5.91.0 [INFO] [stderr] Checking chrono v0.4.2 [INFO] [stderr] Checking num-bigint v0.1.43 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking uuid v0.5.1 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking toml v0.3.2 [INFO] [stderr] Checking atomicwrites v0.1.5 [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: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: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: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: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: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: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: 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] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^ help: use `dyn`: `dyn Error` [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: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: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: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: 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: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: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: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: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: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: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: 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] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] | ^^^^^ help: use `dyn`: `dyn Error` [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: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: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: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: use of deprecated associated function `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 associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [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: use of deprecated associated function `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 associated function `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] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [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: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 28 | Err(env::VarError::NotUnicode(_)) => panic!("{} is not unicode.", key), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 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: 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: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 28 | Err(env::VarError::NotUnicode(_)) => panic!("{} is not unicode.", key), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.25s [INFO] running `Command { std: "docker" "inspect" "fa2dc6839c003b4e1c3c33f813659a8c9fc86ba11a70dba9da110addc125820e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa2dc6839c003b4e1c3c33f813659a8c9fc86ba11a70dba9da110addc125820e", kill_on_drop: false }` [INFO] [stdout] fa2dc6839c003b4e1c3c33f813659a8c9fc86ba11a70dba9da110addc125820e