[INFO] fetching crate tcalc-rustyline 1.0.2... [INFO] testing tcalc-rustyline-1.0.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate tcalc-rustyline 1.0.2 into /workspace/builds/worker-4-tc2/source [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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tcalc-rustyline 1.0.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 36 packages to latest compatible versions [INFO] [stderr] Adding dirs v2.0.2 (available: v6.0.0) [INFO] [stderr] Adding encode_unicode v0.1.3 (available: v1.0.0) [INFO] [stderr] Adding nix v0.7.0 (available: v0.30.1) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.1) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6fe1d16bc711f19713c9f58655e6cb03153a608789418636e0fe24604cd853e [INFO] running `Command { std: "docker" "start" "-a" "a6fe1d16bc711f19713c9f58655e6cb03153a608789418636e0fe24604cd853e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6fe1d16bc711f19713c9f58655e6cb03153a608789418636e0fe24604cd853e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6fe1d16bc711f19713c9f58655e6cb03153a608789418636e0fe24604cd853e", kill_on_drop: false }` [INFO] [stdout] a6fe1d16bc711f19713c9f58655e6cb03153a608789418636e0fe24604cd853e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 647ed30fb80437bf279a06ef02ff9581c8fabbf2327fd1c9338acbb3de7c8cbd [INFO] running `Command { std: "docker" "start" "-a" "647ed30fb80437bf279a06ef02ff9581c8fabbf2327fd1c9338acbb3de7c8cbd", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling encode_unicode v0.1.3 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling nix v0.7.0 [INFO] [stderr] Compiling tcalc-rustyline v1.0.2 (/opt/rustwide/workdir) [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: 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: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: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: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: 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: 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: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: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: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: 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: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: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: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: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: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: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: 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 method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/char_iter.rs:93:55 [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 `Once::new()` function is now preferred [INFO] [stdout] --> src/tty/unix.rs:225:42 [INFO] [stdout] | [INFO] [stdout] 225 | static SIGWINCH_ONCE: sync::Once = sync::ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 225 - static SIGWINCH_ONCE: sync::Once = sync::ONCE_INIT; [INFO] [stdout] 225 + static SIGWINCH_ONCE: sync::Once = sync::Once::new(); [INFO] [stdout] | [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] | ^^^^^ [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | out: &'out mut dyn Write, [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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 417 | completer: &dyn Completer, [INFO] [stdout] | +++ [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | fn clear_screen(&mut self, w: &mut dyn Write) -> Result<()>; [INFO] [stdout] | +++ [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 | fn new(out: &'out mut dyn Write, [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 96 | fn cause(&self) -> Option<&dyn error::Error> { [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 326 | fn clear_screen(&mut self, w: &mut dyn Write) -> Result<()> { [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 227 | fn write_and_flush(w: &mut dyn Write, buf: &[u8]) -> Result<()> { [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/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 method `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 method `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: 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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 671 | let completer = editor.completer.as_ref().map(|c| c as &dyn Completer); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear_screen` is never used [INFO] [stdout] --> src/tty/mod.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait Term: Clone { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 40 | fn clear_screen(&mut self, w: &mut Write) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:906:55 [INFO] [stdout] | [INFO] [stdout] 906 | pub fn iter<'a>(&'a mut self, prompt: &'a str) -> Iter { [INFO] [stdout] | -- -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 906 | pub fn iter<'a>(&'a mut self, prompt: &'a str) -> Iter<'a, C> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/completion.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn unescape(input: &str, esc_char: Option) -> Cow { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 101 | pub fn unescape(input: &str, esc_char: Option) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/history.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 167 | pub fn iter(&self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.84s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.4.0 [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" "647ed30fb80437bf279a06ef02ff9581c8fabbf2327fd1c9338acbb3de7c8cbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "647ed30fb80437bf279a06ef02ff9581c8fabbf2327fd1c9338acbb3de7c8cbd", kill_on_drop: false }` [INFO] [stdout] 647ed30fb80437bf279a06ef02ff9581c8fabbf2327fd1c9338acbb3de7c8cbd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 13b75d169b48768ccd679be17c649742d239f338c3ada7022709ff4d29c1c1cf [INFO] running `Command { std: "docker" "start" "-a" "13b75d169b48768ccd679be17c649742d239f338c3ada7022709ff4d29c1c1cf", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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: 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: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: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: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: 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: 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: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: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: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: 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: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: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: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: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: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: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: 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 method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/char_iter.rs:93:55 [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 `Once::new()` function is now preferred [INFO] [stdout] --> src/tty/unix.rs:225:42 [INFO] [stdout] | [INFO] [stdout] 225 | static SIGWINCH_ONCE: sync::Once = sync::ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 225 - static SIGWINCH_ONCE: sync::Once = sync::ONCE_INIT; [INFO] [stdout] 225 + static SIGWINCH_ONCE: sync::Once = sync::Once::new(); [INFO] [stdout] | [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] | ^^^^^ [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | out: &'out mut dyn Write, [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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 417 | completer: &dyn Completer, [INFO] [stdout] | +++ [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | fn clear_screen(&mut self, w: &mut dyn Write) -> Result<()>; [INFO] [stdout] | +++ [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 | fn new(out: &'out mut dyn Write, [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 96 | fn cause(&self) -> Option<&dyn error::Error> { [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 326 | fn clear_screen(&mut self, w: &mut dyn Write) -> Result<()> { [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 227 | fn write_and_flush(w: &mut dyn Write, buf: &[u8]) -> Result<()> { [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/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 method `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 method `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: 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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 671 | let completer = editor.completer.as_ref().map(|c| c as &dyn Completer); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear_screen` is never used [INFO] [stdout] --> src/tty/mod.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait Term: Clone { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 40 | fn clear_screen(&mut self, w: &mut Write) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:906:55 [INFO] [stdout] | [INFO] [stdout] 906 | pub fn iter<'a>(&'a mut self, prompt: &'a str) -> Iter { [INFO] [stdout] | -- -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 906 | pub fn iter<'a>(&'a mut self, prompt: &'a str) -> Iter<'a, C> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/completion.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn unescape(input: &str, esc_char: Option) -> Cow { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 101 | pub fn unescape(input: &str, esc_char: Option) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/history.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 167 | pub fn iter(&self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tcalc-rustyline v1.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> examples/example.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | rl.add_history_entry(line.as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ------ type must be known at this point [INFO] [stdout] | | [INFO] [stdout] | cannot infer type of the type parameter `S` declared on the method `add_history_entry` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `String: AsRef<_>` found in the following crates: `alloc`, `std`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef<[u8]> for String; [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 31 | rl.add_history_entry::<&T>(line.as_ref()); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> examples/example.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | rl.add_history_entry(line.as_ref()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ cannot infer type of the type parameter `S` declared on the method `add_history_entry` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `_: AsRef` found in the following crates: `alloc`, `core`, `encode_unicode`: [INFO] [stdout] - impl AsRef for String; [INFO] [stdout] - impl AsRef for encode_unicode::utf8_char::Utf8Char; [INFO] [stdout] - impl AsRef for str; [INFO] [stdout] = note: required for `&_` to implement `AsRef` [INFO] [stdout] note: required by a bound in `Editor::::add_history_entry` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:875:33 [INFO] [stdout] | [INFO] [stdout] 875 | pub fn add_history_entry + Into>(&mut self, line: S) -> bool { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `Editor::::add_history_entry` [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 31 | rl.add_history_entry::<&T>(line.as_ref()); [INFO] [stdout] | ++++++ [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` (example "example") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 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: 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: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: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: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: 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: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: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: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: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: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: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: 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 method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/char_iter.rs:93:55 [INFO] [stdout] | [INFO] [stdout] 93 | CharsError::Other(ref e) => error::Error::description(e), [INFO] [stdout] | ^^^^^^^^^^^ [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] | ^^^^^ [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 | out: &'out mut dyn Write, [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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 417 | completer: &dyn Completer, [INFO] [stdout] | +++ [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 | fn clear_screen(&mut self, w: &mut dyn Write) -> Result<()>; [INFO] [stdout] | +++ [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 80 | fn new(out: &'out mut dyn Write, [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] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 96 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 139 | fn clear_screen(&mut self, _: &mut dyn Write) -> Result<()> { [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 227 | fn write_and_flush(w: &mut dyn Write, buf: &[u8]) -> Result<()> { [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 958 | fn init_state<'out>(out: &'out mut dyn Write, [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/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 method `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: 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] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 671 | let completer = editor.completer.as_ref().map(|c| c as &dyn Completer); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chars` is never used [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `UTF8_CHAR_WIDTH` is never used [INFO] [stdout] --> src/char_iter.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | static UTF8_CHAR_WIDTH: [u8; 256] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `utf8_char_width` is never used [INFO] [stdout] --> src/char_iter.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn utf8_char_width(b: u8) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chars` is never constructed [INFO] [stdout] --> src/char_iter.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Chars { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `next_char` is never used [INFO] [stdout] --> src/tty/mod.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait RawReader: Sized { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 16 | fn next_char(&mut self) -> Result; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear_screen` is never used [INFO] [stdout] --> src/tty/mod.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait Term: Clone { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 40 | fn clear_screen(&mut self, w: &mut Write) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:906:55 [INFO] [stdout] | [INFO] [stdout] 906 | pub fn iter<'a>(&'a mut self, prompt: &'a str) -> Iter { [INFO] [stdout] | -- -- ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 906 | pub fn iter<'a>(&'a mut self, prompt: &'a str) -> Iter<'a, C> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/completion.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn unescape(input: &str, esc_char: Option) -> Cow { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 101 | pub fn unescape(input: &str, esc_char: Option) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/history.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 167 | pub fn iter(&self) -> Iter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "13b75d169b48768ccd679be17c649742d239f338c3ada7022709ff4d29c1c1cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "13b75d169b48768ccd679be17c649742d239f338c3ada7022709ff4d29c1c1cf", kill_on_drop: false }` [INFO] [stdout] 13b75d169b48768ccd679be17c649742d239f338c3ada7022709ff4d29c1c1cf