[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 master#00bfd6b2734d9c28a147bf237490995731781fdd for pr-117984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpimutils%2Fmates.rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pimutils/mates.rs on toolchain 00bfd6b2734d9c28a147bf237490995731781fdd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "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-1-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atomicwrites v0.1.5 [INFO] [stderr] Downloaded ncurses v5.91.0 [INFO] [stderr] Downloaded cursive v0.5.1 [INFO] [stderr] Downloaded vobject v0.2.1 [INFO] [stderr] Downloaded email v0.0.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+00bfd6b2734d9c28a147bf237490995731781fdd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 017b0799e4ec12e148d0c22c7aa2a028c503442cd2d2fd1d15f5ff0ba7dee773 [INFO] running `Command { std: "docker" "start" "-a" "017b0799e4ec12e148d0c22c7aa2a028c503442cd2d2fd1d15f5ff0ba7dee773", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "017b0799e4ec12e148d0c22c7aa2a028c503442cd2d2fd1d15f5ff0ba7dee773", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "017b0799e4ec12e148d0c22c7aa2a028c503442cd2d2fd1d15f5ff0ba7dee773", kill_on_drop: false }` [INFO] [stdout] 017b0799e4ec12e148d0c22c7aa2a028c503442cd2d2fd1d15f5ff0ba7dee773 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+00bfd6b2734d9c28a147bf237490995731781fdd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a495838cfa5f7863dd72b0130d0c9f4d0d97151aeb790e227d297245cace41e [INFO] running `Command { std: "docker" "start" "-a" "6a495838cfa5f7863dd72b0130d0c9f4d0d97151aeb790e227d297245cace41e", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling version_check v0.1.3 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Compiling email v0.0.19 [INFO] [stderr] Checking cfg-if v0.1.3 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Compiling cursive v0.5.1 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking byteorder v1.2.2 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Checking unicode-segmentation v1.2.1 [INFO] [stderr] Checking owning_ref v0.2.4 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Compiling atty v0.2.10 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking nix v0.9.0 [INFO] [stderr] Checking base64 v0.9.1 [INFO] [stderr] Checking odds v0.2.26 [INFO] [stderr] Compiling clap v2.31.2 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking vobject v0.2.1 [INFO] [stderr] Compiling ncurses v5.91.0 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stderr] Checking uuid v0.5.1 [INFO] [stderr] Checking chrono v0.4.2 [INFO] [stderr] Checking num-bigint v0.1.43 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking atomicwrites v0.1.5 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking toml v0.3.2 [INFO] [stderr] Checking 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/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/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/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/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/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/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:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | try!(build_index(&config.index_path, &config.vdir_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | try!(mutt_query(&config, &query[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | try!(file_query(&config, &query[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | try!(email_query(&config, &query[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | try!(stdin.lock().read_to_string(&mut email)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | try!(index_fp.write_all(index_entry.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | let contact = try!(utils::add_contact_from_email( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 138 | let mut index_fp = try!(fs::OpenOptions::new() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:143:31 [INFO] [stdout] | [INFO] [stdout] 143 | let index_entry = try!(utils::index_item_from_contact(&contact)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | try!(edit_contact(&config, &query[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | try!(utils::file_query(config, query)).into_iter().collect() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | try!(file.read_to_string(&mut fcontent)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | let mut file = try!(fs::File::open(fpath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | try!(fs::remove_file(fpath)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | for path in try!(utils::file_query(config, query)).iter() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/cli.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | for item in try!(utils::index_query(config, query)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | let exitcode = try!(process.wait()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 106 | let mut contact_file = try!(fs::File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | try!(contact_file.read_to_string(&mut x)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | try!(af.write(|f| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | try!(handle_process(&mut process)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | try!(stream.read_to_string(&mut output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:171:23 [INFO] [stdout] | [INFO] [stdout] 171 | let mut process = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | try!(index_query(config, query)).filter_map(|x| x.filepath) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/mates/utils.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | try!(contact.write_create()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mates/cli.rs:251:40 [INFO] [stdout] | [INFO] [stdout] 251 | pub type MainResult = Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: 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: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: 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: 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: 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 `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 `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: 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: 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: 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: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 34 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.72s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6a495838cfa5f7863dd72b0130d0c9f4d0d97151aeb790e227d297245cace41e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a495838cfa5f7863dd72b0130d0c9f4d0d97151aeb790e227d297245cace41e", kill_on_drop: false }` [INFO] [stdout] 6a495838cfa5f7863dd72b0130d0c9f4d0d97151aeb790e227d297245cace41e [INFO] checking pimutils/mates.rs against try#aa7c6ba69acce8b10a275eabfe6157ea72c8b599 for pr-117984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpimutils%2Fmates.rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pimutils/mates.rs on toolchain aa7c6ba69acce8b10a275eabfe6157ea72c8b599 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "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-1-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f065914a51fb632e8dfc568fba6aee5d8366e694c3c7155609da4f6281f6dc4d [INFO] running `Command { std: "docker" "start" "-a" "f065914a51fb632e8dfc568fba6aee5d8366e694c3c7155609da4f6281f6dc4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f065914a51fb632e8dfc568fba6aee5d8366e694c3c7155609da4f6281f6dc4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f065914a51fb632e8dfc568fba6aee5d8366e694c3c7155609da4f6281f6dc4d", kill_on_drop: false }` [INFO] [stdout] f065914a51fb632e8dfc568fba6aee5d8366e694c3c7155609da4f6281f6dc4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0fbb1df3f65d2b444eccb68600d2be343e5fd782c9f82467c2af0338829a075 [INFO] running `Command { std: "docker" "start" "-a" "d0fbb1df3f65d2b444eccb68600d2be343e5fd782c9f82467c2af0338829a075", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.40 [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.38 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling version_check v0.1.3 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking byteorder v1.2.2 [INFO] [stderr] Compiling email v0.0.19 [INFO] [stderr] Checking cfg-if v0.1.3 [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.24/src/serialize.rs:1155:5 [INFO] [stdout] | [INFO] [stdout] 1155 | fn decode(d: &mut D) -> Result, D::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /rustc/aa7c6ba69acce8b10a275eabfe6157ea72c8b599/library/alloc/src/borrow.rs:180:30 [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1151 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cursive v0.5.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking serde v0.9.15 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Checking odds v0.2.26 [INFO] [stderr] Compiling atty v0.2.10 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking base64 v0.9.1 [INFO] [stderr] Compiling clap v2.31.2 [INFO] [stderr] Checking nix v0.9.0 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking owning_ref v0.2.4 [INFO] [stderr] Checking unicode-segmentation v1.2.1 [INFO] [stderr] Checking vobject v0.2.1 [INFO] [stderr] Compiling ncurses v5.91.0 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking rand v0.3.22 [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] Checking uuid v0.5.1 [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "d0fbb1df3f65d2b444eccb68600d2be343e5fd782c9f82467c2af0338829a075", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0fbb1df3f65d2b444eccb68600d2be343e5fd782c9f82467c2af0338829a075", kill_on_drop: false }` [INFO] [stdout] d0fbb1df3f65d2b444eccb68600d2be343e5fd782c9f82467c2af0338829a075