[INFO] fetching crate tcalc-rustyline 1.0.2... [INFO] checking tcalc-rustyline-1.0.2 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate tcalc-rustyline 1.0.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate tcalc-rustyline 1.0.2 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tcalc-rustyline 1.0.2 [INFO] finished tweaking crates.io crate tcalc-rustyline 1.0.2 [INFO] tweaked toml for crates.io crate tcalc-rustyline 1.0.2 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56a6661d67ea3e2a7e3e48f7ff2323e5aa51e3b69b1be8b05dac8d7c23256542 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "56a6661d67ea3e2a7e3e48f7ff2323e5aa51e3b69b1be8b05dac8d7c23256542", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56a6661d67ea3e2a7e3e48f7ff2323e5aa51e3b69b1be8b05dac8d7c23256542", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56a6661d67ea3e2a7e3e48f7ff2323e5aa51e3b69b1be8b05dac8d7c23256542", kill_on_drop: false }` [INFO] [stdout] 56a6661d67ea3e2a7e3e48f7ff2323e5aa51e3b69b1be8b05dac8d7c23256542 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94a833344f971bc2e4b22a6bff4751b9996640dd46171dd487a285e0a9d31470 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "94a833344f971bc2e4b22a6bff4751b9996640dd46171dd487a285e0a9d31470", kill_on_drop: false }` [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking encode_unicode v0.1.3 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling nix v0.7.0 [INFO] [stderr] Checking tcalc-rustyline v1.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown lint: `match_same_arms` [INFO] [stdout] --> src/consts.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | #[allow(match_same_arms)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `match_same_arms` [INFO] [stdout] --> src/consts.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | #[allow(match_same_arms)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/completion.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | let matches = try!(filename_complete(&path, ESCAPE_CHAR, &self.break_chars)); [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/completion.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 179 | for entry in try!(dir.read_dir()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/completion.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/completion.rs:184:20 [INFO] [stdout] | [INFO] [stdout] 184 | if try!(fs::metadata(entry.path())).is_dir() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/history.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | let file = try!(f); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/history.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | try!(wtr.write_all(&entry.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/history.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | try!(wtr.write_all(b"\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/history.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | let file = try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/history.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | self.add(try!(line)); // TODO truncate to MAX_LINE [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/char_iter.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tty/mod.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 40 | fn clear_screen(&mut self, w: &mut Write) -> Result<()>; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tty/test.rs:139:40 [INFO] [stdout] | [INFO] [stdout] 139 | fn clear_screen(&mut self, _: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | out: &'out mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | fn new(out: &'out mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | try!(w.write_all(buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | try!(w.flush()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:227:28 [INFO] [stdout] | [INFO] [stdout] 227 | fn write_and_flush(w: &mut Write, buf: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:421:31 [INFO] [stdout] | [INFO] [stdout] 421 | let (start, candidates) = try!(completer.complete(&s.line, s.line.pos())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | try!(beep()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:435:17 [INFO] [stdout] | [INFO] [stdout] 435 | try!(s.refresh_line()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 439 | try!(s.refresh_line()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:443:19 [INFO] [stdout] | [INFO] [stdout] 443 | key = try!(rdr.next_key(config.keyseq_timeout())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:448:25 [INFO] [stdout] | [INFO] [stdout] 448 | try!(beep()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:455:25 [INFO] [stdout] | [INFO] [stdout] 455 | try!(s.refresh_line()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:471:13 [INFO] [stdout] | [INFO] [stdout] 471 | try!(beep()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:477:17 [INFO] [stdout] | [INFO] [stdout] 477 | try!(s.refresh_line()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:482:23 [INFO] [stdout] | [INFO] [stdout] 482 | let mut key = try!(rdr.next_key(config.keyseq_timeout())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:489:9 [INFO] [stdout] | [INFO] [stdout] 489 | try!(edit_move_end(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:495:13 [INFO] [stdout] | [INFO] [stdout] 495 | try!(write_and_flush(s.out, msg.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:500:23 [INFO] [stdout] | [INFO] [stdout] 500 | key = try!(rdr.next_key(config.keyseq_timeout())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:511:13 [INFO] [stdout] | [INFO] [stdout] 511 | try!(s.refresh_line()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:417:44 [INFO] [stdout] | [INFO] [stdout] 417 | ... completer: &Completer, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Completer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:540:13 [INFO] [stdout] | [INFO] [stdout] 540 | try!(write_and_flush(s.out, b"\n--More--")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:548:23 [INFO] [stdout] | [INFO] [stdout] 548 | key = try!(rdr.next_key(config.keyseq_timeout())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:561:13 [INFO] [stdout] | [INFO] [stdout] 561 | try!(write_and_flush(s.out, b"\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:563:13 [INFO] [stdout] | [INFO] [stdout] 563 | try!(write_and_flush(s.out, b"\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:579:9 [INFO] [stdout] | [INFO] [stdout] 579 | try!(write_and_flush(s.out, ab.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:581:5 [INFO] [stdout] | [INFO] [stdout] 581 | try!(write_and_flush(s.out, b"\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:582:5 [INFO] [stdout] | [INFO] [stdout] 582 | try!(s.refresh_line()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:611:9 [INFO] [stdout] | [INFO] [stdout] 611 | try!(s.refresh_prompt_and_line(&prompt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:613:15 [INFO] [stdout] | [INFO] [stdout] 613 | key = try!(rdr.next_key(config.keyseq_timeout())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:644:21 [INFO] [stdout] | [INFO] [stdout] 644 | try!(s.refresh_line()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:678:5 [INFO] [stdout] | [INFO] [stdout] 678 | try!(s.refresh_line()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:680:19 [INFO] [stdout] | [INFO] [stdout] 680 | let mut rdr = try!(s.term.create_reader()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:686:13 [INFO] [stdout] | [INFO] [stdout] 686 | try!(s.refresh_line()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:689:23 [INFO] [stdout] | [INFO] [stdout] 689 | let mut key = try!(rk); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:692:13 [INFO] [stdout] | [INFO] [stdout] 692 | try!(edit_insert(&mut s, c)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:698:24 [INFO] [stdout] | [INFO] [stdout] 698 | let next = try!(complete_line(&mut rdr, &mut s, completer.unwrap(), &editor.config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:703:21 [INFO] [stdout] | [INFO] [stdout] 703 | try!(edit_insert(&mut s, c)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:712:17 [INFO] [stdout] | [INFO] [stdout] 712 | try!(reverse_incremental_search(&mut rdr, &mut s, &editor.history, &editor.config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:726:17 [INFO] [stdout] | [INFO] [stdout] 726 | try!(edit_move_home(&mut s)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:731:17 [INFO] [stdout] | [INFO] [stdout] 731 | try!(edit_move_left(&mut s)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:746:17 [INFO] [stdout] | [INFO] [stdout] 746 | try!(edit_move_end(&mut s)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:751:17 [INFO] [stdout] | [INFO] [stdout] 751 | try!(edit_move_right(&mut s)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:756:17 [INFO] [stdout] | [INFO] [stdout] 756 | try!(edit_backspace(&mut s)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:761:17 [INFO] [stdout] | [INFO] [stdout] 761 | try!(edit_history_next(&mut s, &editor.history, false)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:766:17 [INFO] [stdout] | [INFO] [stdout] 766 | try!(edit_history_next(&mut s, &editor.history, true)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:771:17 [INFO] [stdout] | [INFO] [stdout] 771 | try!(edit_move_end(&mut s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:777:17 [INFO] [stdout] | [INFO] [stdout] 777 | try!(edit_move_to_prev_word(&mut s)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:782:17 [INFO] [stdout] | [INFO] [stdout] 782 | try!(edit_move_to_next_word(&mut s)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:786:17 [INFO] [stdout] | [INFO] [stdout] 786 | try!(edit_delete(&mut s)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:671:61 [INFO] [stdout] | [INFO] [stdout] 671 | let completer = editor.completer.as_ref().map(|c| c as &Completer); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Completer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:810:25 [INFO] [stdout] | [INFO] [stdout] 810 | let original_mode = try!(editor.term.enable_raw_mode()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:820:8 [INFO] [stdout] | [INFO] [stdout] 820 | if try!(io::stdin().read_line(&mut line)) > 0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:855:13 [INFO] [stdout] | [INFO] [stdout] 855 | try!(write_and_flush(&mut stdout, prompt.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:958:40 [INFO] [stdout] | [INFO] [stdout] 958 | fn init_state<'out>(out: &'out mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/completion.rs:95:23 [INFO] [stdout] | [INFO] [stdout] 95 | let matches = try!(filename_complete(&path, ESCAPE_CHAR, &self.break_chars)); [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/completion.rs:179:18 [INFO] [stdout] | [INFO] [stdout] 179 | for entry in try!(dir.read_dir()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/completion.rs:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | let entry = try!(entry); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/completion.rs:184:20 [INFO] [stdout] | [INFO] [stdout] 184 | if try!(fs::metadata(entry.path())).is_dir() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/history.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | let file = try!(f); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/history.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | try!(wtr.write_all(&entry.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/history.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | try!(wtr.write_all(b"\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/history.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | let file = try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/history.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | self.add(try!(line)); // TODO truncate to MAX_LINE [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/char_iter.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tty/mod.rs:40:40 [INFO] [stdout] | [INFO] [stdout] 40 | fn clear_screen(&mut self, w: &mut Write) -> Result<()>; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tty/unix.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | try!(termios::tcsetattr(STDIN_FILENO, termios::TCSADRAIN, self)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tty/unix.rs:105:15 [INFO] [stdout] | [INFO] [stdout] 105 | match try!(self.next_char()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tty/unix.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | '[' => match try!(self.next_char()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tty/unix.rs:107:30 [INFO] [stdout] | [INFO] [stdout] 107 | '1' => match try!(self.next_char()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tty/unix.rs:108:34 [INFO] [stdout] | [INFO] [stdout] 108 | ';' => match try!(self.next_char()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tty/unix.rs:109:38 [INFO] [stdout] | [INFO] [stdout] 109 | '3' => match try!(self.next_char()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tty/unix.rs:118:38 [INFO] [stdout] | [INFO] [stdout] 118 | '5' => match try!(self.next_char()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tty/unix.rs:132:30 [INFO] [stdout] | [INFO] [stdout] 132 | '3' => match try!(self.next_char()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tty/unix.rs:136:30 [INFO] [stdout] | [INFO] [stdout] 136 | '4' => match try!(self.next_char()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tty/unix.rs:140:30 [INFO] [stdout] | [INFO] [stdout] 140 | '5' => match try!(self.next_char()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tty/unix.rs:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | '6' => match try!(self.next_char()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tty/unix.rs:148:30 [INFO] [stdout] | [INFO] [stdout] 148 | '7' => match try!(self.next_char()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tty/unix.rs:152:30 [INFO] [stdout] | [INFO] [stdout] 152 | '8' => match try!(self.next_char()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tty/unix.rs:164:26 [INFO] [stdout] | [INFO] [stdout] 164 | 'O' => match try!(self.next_char()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tty/unix.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | let c = try!(self.next_char()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tty/unix.rs:207:27 [INFO] [stdout] | [INFO] [stdout] 207 | key = try!(self.escape_sequence()) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tty/unix.rs:218:27 [INFO] [stdout] | [INFO] [stdout] 218 | Some(c) => Ok(try!(c)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tty/unix.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | try!(Err(nix::Error::from_errno(ENOTTY))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tty/unix.rs:299:29 [INFO] [stdout] | [INFO] [stdout] 299 | let original_mode = try!(termios::tcgetattr(STDIN_FILENO)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tty/unix.rs:311:9 [INFO] [stdout] | [INFO] [stdout] 311 | try!(termios::tcsetattr(STDIN_FILENO, termios::TCSADRAIN, &raw)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tty/unix.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 327 | try!(w.write_all(b"\x1b[H\x1b[2J")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tty/unix.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | try!(w.flush()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tty/unix.rs:326:40 [INFO] [stdout] | [INFO] [stdout] 326 | fn clear_screen(&mut self, w: &mut Write) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | out: &'out mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | fn new(out: &'out mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | try!(w.write_all(buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | try!(w.flush()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:227:28 [INFO] [stdout] | [INFO] [stdout] 227 | fn write_and_flush(w: &mut Write, buf: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:421:31 [INFO] [stdout] | [INFO] [stdout] 421 | let (start, candidates) = try!(completer.complete(&s.line, s.line.pos())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | try!(beep()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:435:17 [INFO] [stdout] | [INFO] [stdout] 435 | try!(s.refresh_line()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:439:17 [INFO] [stdout] | [INFO] [stdout] 439 | try!(s.refresh_line()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:443:19 [INFO] [stdout] | [INFO] [stdout] 443 | key = try!(rdr.next_key(config.keyseq_timeout())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:448:25 [INFO] [stdout] | [INFO] [stdout] 448 | try!(beep()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:455:25 [INFO] [stdout] | [INFO] [stdout] 455 | try!(s.refresh_line()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:471:13 [INFO] [stdout] | [INFO] [stdout] 471 | try!(beep()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:477:17 [INFO] [stdout] | [INFO] [stdout] 477 | try!(s.refresh_line()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:482:23 [INFO] [stdout] | [INFO] [stdout] 482 | let mut key = try!(rdr.next_key(config.keyseq_timeout())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:489:9 [INFO] [stdout] | [INFO] [stdout] 489 | try!(edit_move_end(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:495:13 [INFO] [stdout] | [INFO] [stdout] 495 | try!(write_and_flush(s.out, msg.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:500:23 [INFO] [stdout] | [INFO] [stdout] 500 | key = try!(rdr.next_key(config.keyseq_timeout())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:511:13 [INFO] [stdout] | [INFO] [stdout] 511 | try!(s.refresh_line()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:417:44 [INFO] [stdout] | [INFO] [stdout] 417 | ... completer: &Completer, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Completer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:540:13 [INFO] [stdout] | [INFO] [stdout] 540 | try!(write_and_flush(s.out, b"\n--More--")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:548:23 [INFO] [stdout] | [INFO] [stdout] 548 | key = try!(rdr.next_key(config.keyseq_timeout())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:561:13 [INFO] [stdout] | [INFO] [stdout] 561 | try!(write_and_flush(s.out, b"\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:563:13 [INFO] [stdout] | [INFO] [stdout] 563 | try!(write_and_flush(s.out, b"\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:579:9 [INFO] [stdout] | [INFO] [stdout] 579 | try!(write_and_flush(s.out, ab.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:581:5 [INFO] [stdout] | [INFO] [stdout] 581 | try!(write_and_flush(s.out, b"\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:582:5 [INFO] [stdout] | [INFO] [stdout] 582 | try!(s.refresh_line()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:611:9 [INFO] [stdout] | [INFO] [stdout] 611 | try!(s.refresh_prompt_and_line(&prompt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:613:15 [INFO] [stdout] | [INFO] [stdout] 613 | key = try!(rdr.next_key(config.keyseq_timeout())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:644:21 [INFO] [stdout] | [INFO] [stdout] 644 | try!(s.refresh_line()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:678:5 [INFO] [stdout] | [INFO] [stdout] 678 | try!(s.refresh_line()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:680:19 [INFO] [stdout] | [INFO] [stdout] 680 | let mut rdr = try!(s.term.create_reader()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:686:13 [INFO] [stdout] | [INFO] [stdout] 686 | try!(s.refresh_line()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:689:23 [INFO] [stdout] | [INFO] [stdout] 689 | let mut key = try!(rk); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:692:13 [INFO] [stdout] | [INFO] [stdout] 692 | try!(edit_insert(&mut s, c)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:698:24 [INFO] [stdout] | [INFO] [stdout] 698 | let next = try!(complete_line(&mut rdr, &mut s, completer.unwrap(), &editor.config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:703:21 [INFO] [stdout] | [INFO] [stdout] 703 | try!(edit_insert(&mut s, c)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:712:17 [INFO] [stdout] | [INFO] [stdout] 712 | try!(reverse_incremental_search(&mut rdr, &mut s, &editor.history, &editor.config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:726:17 [INFO] [stdout] | [INFO] [stdout] 726 | try!(edit_move_home(&mut s)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:731:17 [INFO] [stdout] | [INFO] [stdout] 731 | try!(edit_move_left(&mut s)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:746:17 [INFO] [stdout] | [INFO] [stdout] 746 | try!(edit_move_end(&mut s)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:751:17 [INFO] [stdout] | [INFO] [stdout] 751 | try!(edit_move_right(&mut s)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:756:17 [INFO] [stdout] | [INFO] [stdout] 756 | try!(edit_backspace(&mut s)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:761:17 [INFO] [stdout] | [INFO] [stdout] 761 | try!(edit_history_next(&mut s, &editor.history, false)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:766:17 [INFO] [stdout] | [INFO] [stdout] 766 | try!(edit_history_next(&mut s, &editor.history, true)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:771:17 [INFO] [stdout] | [INFO] [stdout] 771 | try!(edit_move_end(&mut s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:777:17 [INFO] [stdout] | [INFO] [stdout] 777 | try!(edit_move_to_prev_word(&mut s)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:782:17 [INFO] [stdout] | [INFO] [stdout] 782 | try!(edit_move_to_next_word(&mut s)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:786:17 [INFO] [stdout] | [INFO] [stdout] 786 | try!(edit_delete(&mut s)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:671:61 [INFO] [stdout] | [INFO] [stdout] 671 | let completer = editor.completer.as_ref().map(|c| c as &Completer); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Completer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:810:25 [INFO] [stdout] | [INFO] [stdout] 810 | let original_mode = try!(editor.term.enable_raw_mode()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:820:8 [INFO] [stdout] | [INFO] [stdout] 820 | if try!(io::stdin().read_line(&mut line)) > 0 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:855:13 [INFO] [stdout] | [INFO] [stdout] 855 | try!(write_and_flush(&mut stdout, prompt.as_bytes())); [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/char_iter.rs:93:41 [INFO] [stdout] | [INFO] [stdout] 93 | CharsError::Other(ref e) => error::Error::description(e), [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/char_iter.rs:93:41 [INFO] [stdout] | [INFO] [stdout] 93 | CharsError::Other(ref e) => error::Error::description(e), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/tty/unix.rs:225:36 [INFO] [stdout] | [INFO] [stdout] 225 | static SIGWINCH_ONCE: sync::Once = sync::ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [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/error.rs:59:47 [INFO] [stdout] | [INFO] [stdout] 59 | ReadlineError::Io(ref err) => err.description(), [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/error.rs:64:49 [INFO] [stdout] | [INFO] [stdout] 64 | ReadlineError::Char(ref err) => err.description(), [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/error.rs:59:47 [INFO] [stdout] | [INFO] [stdout] 59 | ReadlineError::Io(ref err) => err.description(), [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/error.rs:64:49 [INFO] [stdout] | [INFO] [stdout] 64 | ReadlineError::Char(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/tty/unix.rs:322:18 [INFO] [stdout] | [INFO] [stdout] 322 | SIGWINCH.compare_and_swap(true, false, atomic::Ordering::SeqCst) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 93 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `chars` [INFO] [stdout] --> src/char_iter.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn chars(read: R) -> Chars [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 71 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> examples/example.rs:31:43 [INFO] [stdout] | [INFO] [stdout] 31 | rl.add_history_entry(line.as_ref()); [INFO] [stdout] | -----^^^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type parameter `T` declared on the trait `AsRef` [INFO] [stdout] | this method call resolves to `&T` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `String: AsRef<_>` [INFO] [stdout] help: use the fully qualified path for the potential candidates [INFO] [stdout] | [INFO] [stdout] 31 | rl.add_history_entry(>::as_ref(line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | rl.add_history_entry(>::as_ref(line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | rl.add_history_entry(>::as_ref(line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | rl.add_history_entry(>::as_ref(line)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tcalc-rustyline` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "94a833344f971bc2e4b22a6bff4751b9996640dd46171dd487a285e0a9d31470", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94a833344f971bc2e4b22a6bff4751b9996640dd46171dd487a285e0a9d31470", kill_on_drop: false }` [INFO] [stdout] 94a833344f971bc2e4b22a6bff4751b9996640dd46171dd487a285e0a9d31470