[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] testing pimutils/mates.rs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpimutils%2Fmates.rs" "/workspace/builds/worker-19/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-19/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pimutils/mates.rs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-19/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cursive v0.5.1 [INFO] [stderr] Downloaded atomicwrites v0.1.5 [INFO] [stderr] Downloaded odds v0.2.26 [INFO] [stderr] Downloaded owning_ref v0.2.4 [INFO] [stderr] Downloaded email v0.0.19 [INFO] [stderr] Downloaded chrono v0.4.2 [INFO] [stderr] Downloaded vobject v0.2.1 [INFO] [stderr] Downloaded toml v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] abaf93791f0c646556eb04a74d3a1f8708ab78119c2f57e3d6900cd042333e04 [INFO] running `Command { std: "docker" "start" "-a" "abaf93791f0c646556eb04a74d3a1f8708ab78119c2f57e3d6900cd042333e04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abaf93791f0c646556eb04a74d3a1f8708ab78119c2f57e3d6900cd042333e04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abaf93791f0c646556eb04a74d3a1f8708ab78119c2f57e3d6900cd042333e04", kill_on_drop: false }` [INFO] [stdout] abaf93791f0c646556eb04a74d3a1f8708ab78119c2f57e3d6900cd042333e04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c730b4552b90b514564e19e6bfca6826c7429dbf8693b4898ddcf67ce0f1ab6 [INFO] running `Command { std: "docker" "start" "-a" "5c730b4552b90b514564e19e6bfca6826c7429dbf8693b4898ddcf67ce0f1ab6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.40 [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling version_check v0.1.3 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling cfg-if v0.1.3 [INFO] [stderr] Compiling cursive v0.5.1 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling byteorder v1.2.2 [INFO] [stderr] Compiling odds v0.2.26 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling owning_ref v0.2.4 [INFO] [stderr] Compiling unicode-segmentation v1.2.1 [INFO] [stderr] Compiling vobject v0.2.1 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling base64 v0.9.1 [INFO] [stderr] Compiling email v0.0.19 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling atty v0.2.10 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling nix v0.9.0 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling clap v2.31.2 [INFO] [stderr] Compiling ncurses v5.91.0 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-bigint v0.1.43 [INFO] [stderr] Compiling chrono v0.4.2 [INFO] [stderr] Compiling atomicwrites v0.1.5 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling toml v0.3.2 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling mates v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | try!(af.write::<(), io::Error, _>(|outf| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | for entry in try!(fs::read_dir(dir)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | try!(outf.write_all(index_string.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | try!(build_index(&config.index_path, &config.vdir_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | try!(mutt_query(&config, &query[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | try!(file_query(&config, &query[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | try!(email_query(&config, &query[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | try!(stdin.lock().read_to_string(&mut email)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | try!(index_fp.write_all(index_entry.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | let contact = try!(utils::add_contact_from_email( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | let mut index_fp = try!(fs::OpenOptions::new() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:143:31 [INFO] [stdout] | [INFO] [stdout] 143 | let index_entry = try!(utils::index_item_from_contact(&contact)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | try!(edit_contact(&config, &query[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | try!(utils::file_query(config, query)).into_iter().collect() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | try!(file.read_to_string(&mut fcontent)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | let mut file = try!(fs::File::open(fpath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | try!(fs::remove_file(fpath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | for path in try!(utils::file_query(config, query)).iter() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | for item in try!(utils::index_query(config, query)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | let exitcode = try!(process.wait()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | let mut contact_file = try!(fs::File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | try!(contact_file.read_to_string(&mut x)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | try!(af.write(|f| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | try!(handle_process(&mut process)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | try!(stream.read_to_string(&mut output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | let mut process = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | try!(index_query(config, query)).filter_map(|x| x.filepath) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | try!(contact.write_create()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mates/cli.rs:251:40 [INFO] [stdout] | [INFO] [stdout] 251 | pub type MainResult = Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 251 - pub type MainResult = Result>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 258 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 258 + fn cause(&self) -> Option<&dyn Error> { [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: 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_panics)]` on by default [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] 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: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.98s [INFO] running `Command { std: "docker" "inspect" "5c730b4552b90b514564e19e6bfca6826c7429dbf8693b4898ddcf67ce0f1ab6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c730b4552b90b514564e19e6bfca6826c7429dbf8693b4898ddcf67ce0f1ab6", kill_on_drop: false }` [INFO] [stdout] 5c730b4552b90b514564e19e6bfca6826c7429dbf8693b4898ddcf67ce0f1ab6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b3e0c3d8b0e876cd58e13f3ee24583694913c37ce7a91de8c18157ef32d4152 [INFO] running `Command { std: "docker" "start" "-a" "7b3e0c3d8b0e876cd58e13f3ee24583694913c37ce7a91de8c18157ef32d4152", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [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/utils.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | let exitcode = try!(process.wait()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | let mut contact_file = try!(fs::File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | try!(contact_file.read_to_string(&mut x)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | try!(af.write(|f| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | try!(handle_process(&mut process)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | try!(stream.read_to_string(&mut output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | let mut process = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | try!(index_query(config, query)).filter_map(|x| x.filepath) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | try!(contact.write_create()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mates/cli.rs:251:40 [INFO] [stdout] | [INFO] [stdout] 251 | pub type MainResult = Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 251 - pub type MainResult = Result>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 258 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 258 + fn cause(&self) -> Option<&dyn Error> { [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: 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_panics)]` on by default [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] 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: 34 warnings emitted [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | let exitcode = try!(process.wait()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | let mut contact_file = try!(fs::File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | try!(contact_file.read_to_string(&mut x)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | try!(af.write(|f| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | try!(handle_process(&mut process)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | try!(stream.read_to_string(&mut output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | let mut process = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | try!(index_query(config, query)).filter_map(|x| x.filepath) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | try!(contact.write_create()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mates/cli.rs:251:40 [INFO] [stdout] | [INFO] [stdout] 251 | pub type MainResult = Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 251 - pub type MainResult = Result>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 258 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 258 + fn cause(&self) -> Option<&dyn Error> { [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: 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_panics)]` on by default [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] 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: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.17s [INFO] running `Command { std: "docker" "inspect" "7b3e0c3d8b0e876cd58e13f3ee24583694913c37ce7a91de8c18157ef32d4152", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b3e0c3d8b0e876cd58e13f3ee24583694913c37ce7a91de8c18157ef32d4152", kill_on_drop: false }` [INFO] [stdout] 7b3e0c3d8b0e876cd58e13f3ee24583694913c37ce7a91de8c18157ef32d4152 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-19/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9a0045cbec584b23f180ac7bed3331f8b82f805143275393b25949a329bbe8d0 [INFO] running `Command { std: "docker" "start" "-a" "9a0045cbec584b23f180ac7bed3331f8b82f805143275393b25949a329bbe8d0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/mates/cli.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | try!(af.write::<(), io::Error, _>(|outf| { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/mates/cli.rs:41:22 [INFO] [stderr] | [INFO] [stderr] 41 | for entry in try!(fs::read_dir(dir)) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/mates/cli.rs:68:21 [INFO] [stderr] | [INFO] [stderr] 68 | try!(outf.write_all(index_string.as_bytes())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/mates/cli.rs:114:13 [INFO] [stderr] | [INFO] [stderr] 114 | try!(build_index(&config.index_path, &config.vdir_path)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/mates/cli.rs:118:13 [INFO] [stderr] | [INFO] [stderr] 118 | try!(mutt_query(&config, &query[..])); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/mates/cli.rs:122:13 [INFO] [stderr] | [INFO] [stderr] 122 | try!(file_query(&config, &query[..])); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/mates/cli.rs:126:13 [INFO] [stderr] | [INFO] [stderr] 126 | try!(email_query(&config, &query[..])); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/mates/cli.rs:131:13 [INFO] [stderr] | [INFO] [stderr] 131 | try!(stdin.lock().read_to_string(&mut email)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/mates/cli.rs:144:13 [INFO] [stderr] | [INFO] [stderr] 144 | try!(index_fp.write_all(index_entry.as_bytes())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/mates/cli.rs:132:27 [INFO] [stderr] | [INFO] [stderr] 132 | let contact = try!(utils::add_contact_from_email( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/mates/cli.rs:138:32 [INFO] [stderr] | [INFO] [stderr] 138 | let mut index_fp = try!(fs::OpenOptions::new() [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/mates/cli.rs:143:31 [INFO] [stderr] | [INFO] [stderr] 143 | let index_entry = try!(utils::index_item_from_contact(&contact)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/mates/cli.rs:148:13 [INFO] [stderr] | [INFO] [stderr] 148 | try!(edit_contact(&config, &query[..])); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/mates/cli.rs:161:9 [INFO] [stderr] | [INFO] [stderr] 161 | try!(utils::file_query(config, query)).into_iter().collect() [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/mates/cli.rs:176:9 [INFO] [stderr] | [INFO] [stderr] 176 | try!(file.read_to_string(&mut fcontent)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/mates/cli.rs:175:24 [INFO] [stderr] | [INFO] [stderr] 175 | let mut file = try!(fs::File::open(fpath)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/mates/cli.rs:181:9 [INFO] [stderr] | [INFO] [stderr] 181 | try!(fs::remove_file(fpath)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/mates/cli.rs:202:17 [INFO] [stderr] | [INFO] [stderr] 202 | for path in try!(utils::file_query(config, query)).iter() { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/mates/cli.rs:209:17 [INFO] [stderr] | [INFO] [stderr] 209 | for item in try!(utils::index_query(config, query)) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/mates/utils.rs:43:20 [INFO] [stderr] | [INFO] [stderr] 43 | let exitcode = try!(process.wait()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/mates/utils.rs:106:32 [INFO] [stderr] | [INFO] [stderr] 106 | let mut contact_file = try!(fs::File::open(&path)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/mates/utils.rs:109:13 [INFO] [stderr] | [INFO] [stderr] 109 | try!(contact_file.read_to_string(&mut x)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/mates/utils.rs:144:9 [INFO] [stderr] | [INFO] [stderr] 144 | try!(af.write(|f| { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/mates/utils.rs:180:5 [INFO] [stderr] | [INFO] [stderr] 180 | try!(handle_process(&mut process)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/mates/utils.rs:191:5 [INFO] [stderr] | [INFO] [stderr] 191 | try!(stream.read_to_string(&mut output)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/mates/utils.rs:171:23 [INFO] [stderr] | [INFO] [stderr] 171 | let mut process = try!( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/mates/utils.rs:200:9 [INFO] [stderr] | [INFO] [stderr] 200 | try!(index_query(config, query)).filter_map(|x| x.filepath) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/mates/utils.rs:260:5 [INFO] [stderr] | [INFO] [stderr] 260 | try!(contact.write_create()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mates/cli.rs:251:40 [INFO] [stderr] | [INFO] [stderr] 251 | pub type MainResult = Result>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 251 - pub type MainResult = Result>; [INFO] [stderr] 251 + pub type MainResult = Result>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mates/cli.rs:258:32 [INFO] [stderr] | [INFO] [stderr] 258 | fn cause(&self) -> Option<&Error> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 258 - fn cause(&self) -> Option<&Error> { [INFO] [stderr] 258 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/mates/cli.rs:265:14 [INFO] [stderr] | [INFO] [stderr] 265 | self.description().fmt(f) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stderr] --> src/mates/utils.rs:226:27 [INFO] [stderr] | [INFO] [stderr] 226 | Some(x) => Some(x.trim_right_matches('>')), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/mates/editor/mod.rs:60:15 [INFO] [stderr] | [INFO] [stderr] 60 | af.write(|mut f| f.write_all(vobject::write_component(&vobj).as_bytes())).unwrap(); [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/mates/cli.rs:28:53 [INFO] [stderr] | [INFO] [stderr] 28 | Err(env::VarError::NotUnicode(_)) => panic!(format!("{} is not unicode.", key)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 28 - Err(env::VarError::NotUnicode(_)) => panic!(format!("{} is not unicode.", key)), [INFO] [stderr] 28 + Err(env::VarError::NotUnicode(_)) => panic!("{} is not unicode.", key), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `mates` (lib) generated 34 warnings [INFO] [stderr] warning: `mates` (lib test) generated 34 warnings (34 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.69s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/mates-18871cc9246d6b2c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests mates [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9a0045cbec584b23f180ac7bed3331f8b82f805143275393b25949a329bbe8d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a0045cbec584b23f180ac7bed3331f8b82f805143275393b25949a329bbe8d0", kill_on_drop: false }` [INFO] [stdout] 9a0045cbec584b23f180ac7bed3331f8b82f805143275393b25949a329bbe8d0