[INFO] fetching crate nixterm 0.1.2... [INFO] testing nixterm-0.1.2 against try#fc4ba03ef77ca5018fb78a097d3b924d30f15bfc+target=i686-unknown-linux-musl for musl_upgrade_1_2_take4 [INFO] extracting crate nixterm 0.1.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate nixterm 0.1.2 on toolchain fc4ba03ef77ca5018fb78a097d3b924d30f15bfc [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nixterm 0.1.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate nixterm 0.1.2 [INFO] tweaked toml for crates.io crate nixterm 0.1.2 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7af00d630f6cf559a8075e930a81dde2da9ba3bf19988003006b465be89c1a01 [INFO] running `Command { std: "docker" "start" "-a" "7af00d630f6cf559a8075e930a81dde2da9ba3bf19988003006b465be89c1a01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7af00d630f6cf559a8075e930a81dde2da9ba3bf19988003006b465be89c1a01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7af00d630f6cf559a8075e930a81dde2da9ba3bf19988003006b465be89c1a01", kill_on_drop: false }` [INFO] [stdout] 7af00d630f6cf559a8075e930a81dde2da9ba3bf19988003006b465be89c1a01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "build" "--frozen" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4aad550732c7ff0a5f570c95b62e9e38448fc3294abd356eac1f9eac96b77200 [INFO] running `Command { std: "docker" "start" "-a" "4aad550732c7ff0a5f570c95b62e9e38448fc3294abd356eac1f9eac96b77200", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling syn v1.0.105 [INFO] [stderr] Compiling cc v1.0.77 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling nixterm v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ansi.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | '0'...'9' => (), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ansi.rs:184:16 [INFO] [stdout] | [INFO] [stdout] 184 | '0'...'9' => Ok(Color::Index( [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ansi.rs:211:27 [INFO] [stdout] | [INFO] [stdout] 211 | Color::Index(x @ 0...7) => write!(w, "\x1b[{}m", x + 30), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ansi.rs:212:27 [INFO] [stdout] | [INFO] [stdout] 212 | Color::Index(x @ 8...15) => write!(w, "\x1b[{}m", x + 82), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ansi.rs:220:27 [INFO] [stdout] | [INFO] [stdout] 220 | Color::Index(x @ 0...7) => write!(w, "\x1b[{}m", x + 40), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ansi.rs:221:27 [INFO] [stdout] | [INFO] [stdout] 221 | Color::Index(x @ 8...15) => write!(w, "\x1b[{}m", x + 92), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/events.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | 0...8 | 10...12 | 14...26 | 28...31 => Key::Control((ch + 64) as char), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/events.rs:246:23 [INFO] [stdout] | [INFO] [stdout] 246 | 0...8 | 10...12 | 14...26 | 28...31 => Key::Control((ch + 64) as char), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/events.rs:246:33 [INFO] [stdout] | [INFO] [stdout] 246 | 0...8 | 10...12 | 14...26 | 28...31 => Key::Control((ch + 64) as char), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/events.rs:246:43 [INFO] [stdout] | [INFO] [stdout] 246 | 0...8 | 10...12 | 14...26 | 28...31 => Key::Control((ch + 64) as char), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/events.rs:251:15 [INFO] [stdout] | [INFO] [stdout] 251 | 32...126 => Key::Char(ch as char), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | / /// Turn off canonical mode. [INFO] [stdout] 161 | | /// In non-canonical mode the terminal does perform line editing, the input buffer is 4096 characters long, [INFO] [stdout] 162 | | /// and timeouts may be set for input. [INFO] [stdout] | |_____-------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | / /// Set the minimum number of characters for the `Term::read` function to return. [INFO] [stdout] 166 | | /// [INFO] [stdout] 167 | | /// __*non-canonical mode only__ [INFO] [stdout] | |_____-------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | / /// Set the maximum time the `Term::read` function will wait before returning (time in deciseconds) [INFO] [stdout] 171 | | /// [INFO] [stdout] 172 | | /// [INFO] [stdout] 173 | | /// __*non-canonical mode only__ [INFO] [stdout] | |_____-------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | /// Set the character that will signal the stdout buffer should be flushed. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | /// Set an extra end-of-line character [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | /// Set the erase char (typically it will be something like `DEL` by default) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | /// Set the interrupt char, when this character is read the running process will be sent `SIGINT`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | /// Set the suspend char, when this character is read the running process will be sent `SIGTSTP`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | /// Set the kill char, when this character is read the running process will be sent `SIGKILL`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | /// Set the quit char, when this character is read the running process will be sent `SIGQUIT`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | /// stop showing output until the `start_output` char is reached. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | /// Set the character the will restart output, ofter the `stop_output` char. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/term.rs:374:51 [INFO] [stdout] | [INFO] [stdout] 374 | ansi::Color::Index(x @ 8..=15) => (x - 8), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 374 - ansi::Color::Index(x @ 8..=15) => (x - 8), [INFO] [stdout] 374 + ansi::Color::Index(x @ 8..=15) => x - 8, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/term.rs:674:12 [INFO] [stdout] | [INFO] [stdout] 674 | if (x > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 674 - if (x > 0) { [INFO] [stdout] 674 + if x > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/term.rs:678:19 [INFO] [stdout] | [INFO] [stdout] 678 | } else if (x < 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 678 - } else if (x < 0) { [INFO] [stdout] 678 + } else if x < 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/term.rs:688:12 [INFO] [stdout] | [INFO] [stdout] 688 | if (y > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 688 - if (y > 0) { [INFO] [stdout] 688 + if y > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/term.rs:692:19 [INFO] [stdout] | [INFO] [stdout] 692 | } else if (y < 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 692 - } else if (y < 0) { [INFO] [stdout] 692 + } else if y < 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `size_of`, `transmute` [INFO] [stdout] --> src/util.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::mem::{size_of, transmute}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::from_raw_parts` [INFO] [stdout] --> src/util.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::slice::from_raw_parts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/terminfo/mod.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(home) = env::home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 98 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 | fn cause(&self) -> Option<&dyn failure::Fail> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/terminfo/errors.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | fn cause(&self) -> Option<&dyn failure::Fail> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/events.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | 10 | 13 => Key::Enter, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/term.rs:701:31 [INFO] [stdout] | [INFO] [stdout] 701 | pub fn default_background(mut self) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/term.rs:705:31 [INFO] [stdout] | [INFO] [stdout] 705 | pub fn default_foreground(mut self) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write_u8` is never used [INFO] [stdout] --> src/term.rs:419:8 [INFO] [stdout] | [INFO] [stdout] 419 | fn write_u8(mut self, x: u8) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/term.rs:675:13 [INFO] [stdout] | [INFO] [stdout] 675 | / self.exec(terminfo::ParmRightCursor) [INFO] [stdout] 676 | | .map(|ctx| ctx.arg(x).write(&mut self)) [INFO] [stdout] 677 | | .map_err(|e| self.err = Some(e)); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/term.rs:679:13 [INFO] [stdout] | [INFO] [stdout] 679 | / self.exec(terminfo::ParmLeftCursor) [INFO] [stdout] 680 | | .map(|ctx| ctx.arg(-x).write(&mut self)) [INFO] [stdout] 681 | | .map_err(|e| self.err = Some(e)); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/term.rs:689:13 [INFO] [stdout] | [INFO] [stdout] 689 | / self.exec(terminfo::ParmUpCursor) [INFO] [stdout] 690 | | .map(|ctx| ctx.arg(y).write(&mut self)) [INFO] [stdout] 691 | | .map_err(|e| self.err = Some(e)); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/term.rs:693:13 [INFO] [stdout] | [INFO] [stdout] 693 | / self.exec(terminfo::ParmDownCursor) [INFO] [stdout] 694 | | .map(|ctx| ctx.arg(-y).write(&mut self)) [INFO] [stdout] 695 | | .map_err(|e| self.err = Some(e)); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/terminfo/lang/executor.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | self.env.write(&mut Parser::new(self.src), &mut w); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.41s [INFO] running `Command { std: "docker" "inspect" "4aad550732c7ff0a5f570c95b62e9e38448fc3294abd356eac1f9eac96b77200", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4aad550732c7ff0a5f570c95b62e9e38448fc3294abd356eac1f9eac96b77200", kill_on_drop: false }` [INFO] [stdout] 4aad550732c7ff0a5f570c95b62e9e38448fc3294abd356eac1f9eac96b77200 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "test" "--frozen" "--no-run" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d53860d3ee9b65c6427da94a4d619b6e42736fef893f6080635816b6905f3482 [INFO] running `Command { std: "docker" "start" "-a" "d53860d3ee9b65c6427da94a4d619b6e42736fef893f6080635816b6905f3482", kill_on_drop: false }` [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ansi.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | '0'...'9' => (), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ansi.rs:184:16 [INFO] [stdout] | [INFO] [stdout] 184 | '0'...'9' => Ok(Color::Index( [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ansi.rs:211:27 [INFO] [stdout] | [INFO] [stdout] 211 | Color::Index(x @ 0...7) => write!(w, "\x1b[{}m", x + 30), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ansi.rs:212:27 [INFO] [stdout] | [INFO] [stdout] 212 | Color::Index(x @ 8...15) => write!(w, "\x1b[{}m", x + 82), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ansi.rs:220:27 [INFO] [stdout] | [INFO] [stdout] 220 | Color::Index(x @ 0...7) => write!(w, "\x1b[{}m", x + 40), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ansi.rs:221:27 [INFO] [stdout] | [INFO] [stdout] 221 | Color::Index(x @ 8...15) => write!(w, "\x1b[{}m", x + 92), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/events.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | 0...8 | 10...12 | 14...26 | 28...31 => Key::Control((ch + 64) as char), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/events.rs:246:23 [INFO] [stdout] | [INFO] [stdout] 246 | 0...8 | 10...12 | 14...26 | 28...31 => Key::Control((ch + 64) as char), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/events.rs:246:33 [INFO] [stdout] | [INFO] [stdout] 246 | 0...8 | 10...12 | 14...26 | 28...31 => Key::Control((ch + 64) as char), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/events.rs:246:43 [INFO] [stdout] | [INFO] [stdout] 246 | 0...8 | 10...12 | 14...26 | 28...31 => Key::Control((ch + 64) as char), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/events.rs:251:15 [INFO] [stdout] | [INFO] [stdout] 251 | 32...126 => Key::Char(ch as char), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | / /// Turn off canonical mode. [INFO] [stdout] 161 | | /// In non-canonical mode the terminal does perform line editing, the input buffer is 4096 characters long, [INFO] [stdout] 162 | | /// and timeouts may be set for input. [INFO] [stdout] | |_____-------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | / /// Set the minimum number of characters for the `Term::read` function to return. [INFO] [stdout] 166 | | /// [INFO] [stdout] 167 | | /// __*non-canonical mode only__ [INFO] [stdout] | |_____-------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | / /// Set the maximum time the `Term::read` function will wait before returning (time in deciseconds) [INFO] [stdout] 171 | | /// [INFO] [stdout] 172 | | /// [INFO] [stdout] 173 | | /// __*non-canonical mode only__ [INFO] [stdout] | |_____-------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | /// Set the character that will signal the stdout buffer should be flushed. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nixterm v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | /// Set an extra end-of-line character [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | /// Set the erase char (typically it will be something like `DEL` by default) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | /// Set the interrupt char, when this character is read the running process will be sent `SIGINT`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | /// Set the suspend char, when this character is read the running process will be sent `SIGTSTP`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | /// Set the kill char, when this character is read the running process will be sent `SIGKILL`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | /// Set the quit char, when this character is read the running process will be sent `SIGQUIT`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | /// stop showing output until the `start_output` char is reached. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | /// Set the character the will restart output, ofter the `stop_output` char. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/term.rs:374:51 [INFO] [stdout] | [INFO] [stdout] 374 | ansi::Color::Index(x @ 8..=15) => (x - 8), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 374 - ansi::Color::Index(x @ 8..=15) => (x - 8), [INFO] [stdout] 374 + ansi::Color::Index(x @ 8..=15) => x - 8, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/term.rs:674:12 [INFO] [stdout] | [INFO] [stdout] 674 | if (x > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 674 - if (x > 0) { [INFO] [stdout] 674 + if x > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/term.rs:678:19 [INFO] [stdout] | [INFO] [stdout] 678 | } else if (x < 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 678 - } else if (x < 0) { [INFO] [stdout] 678 + } else if x < 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/term.rs:688:12 [INFO] [stdout] | [INFO] [stdout] 688 | if (y > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 688 - if (y > 0) { [INFO] [stdout] 688 + if y > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/term.rs:692:19 [INFO] [stdout] | [INFO] [stdout] 692 | } else if (y < 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 692 - } else if (y < 0) { [INFO] [stdout] 692 + } else if y < 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `size_of`, `transmute` [INFO] [stdout] --> src/util.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::mem::{size_of, transmute}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::from_raw_parts` [INFO] [stdout] --> src/util.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::slice::from_raw_parts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/terminfo/mod.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(home) = env::home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 98 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 | fn cause(&self) -> Option<&dyn failure::Fail> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/terminfo/errors.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | fn cause(&self) -> Option<&dyn failure::Fail> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/events.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | 10 | 13 => Key::Enter, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/term.rs:701:31 [INFO] [stdout] | [INFO] [stdout] 701 | pub fn default_background(mut self) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/term.rs:705:31 [INFO] [stdout] | [INFO] [stdout] 705 | pub fn default_foreground(mut self) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write_u8` is never used [INFO] [stdout] --> src/term.rs:419:8 [INFO] [stdout] | [INFO] [stdout] 419 | fn write_u8(mut self, x: u8) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/term.rs:675:13 [INFO] [stdout] | [INFO] [stdout] 675 | / self.exec(terminfo::ParmRightCursor) [INFO] [stdout] 676 | | .map(|ctx| ctx.arg(x).write(&mut self)) [INFO] [stdout] 677 | | .map_err(|e| self.err = Some(e)); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/term.rs:679:13 [INFO] [stdout] | [INFO] [stdout] 679 | / self.exec(terminfo::ParmLeftCursor) [INFO] [stdout] 680 | | .map(|ctx| ctx.arg(-x).write(&mut self)) [INFO] [stdout] 681 | | .map_err(|e| self.err = Some(e)); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/term.rs:689:13 [INFO] [stdout] | [INFO] [stdout] 689 | / self.exec(terminfo::ParmUpCursor) [INFO] [stdout] 690 | | .map(|ctx| ctx.arg(y).write(&mut self)) [INFO] [stdout] 691 | | .map_err(|e| self.err = Some(e)); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/term.rs:693:13 [INFO] [stdout] | [INFO] [stdout] 693 | / self.exec(terminfo::ParmDownCursor) [INFO] [stdout] 694 | | .map(|ctx| ctx.arg(-y).write(&mut self)) [INFO] [stdout] 695 | | .map_err(|e| self.err = Some(e)); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/terminfo/lang/executor.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | self.env.write(&mut Parser::new(self.src), &mut w); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/term.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | term.println(""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/term.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | term.println(""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/term.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | term.println(""); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ansi.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | '0'...'9' => (), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ansi.rs:184:16 [INFO] [stdout] | [INFO] [stdout] 184 | '0'...'9' => Ok(Color::Index( [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ansi.rs:211:27 [INFO] [stdout] | [INFO] [stdout] 211 | Color::Index(x @ 0...7) => write!(w, "\x1b[{}m", x + 30), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ansi.rs:212:27 [INFO] [stdout] | [INFO] [stdout] 212 | Color::Index(x @ 8...15) => write!(w, "\x1b[{}m", x + 82), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ansi.rs:220:27 [INFO] [stdout] | [INFO] [stdout] 220 | Color::Index(x @ 0...7) => write!(w, "\x1b[{}m", x + 40), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/ansi.rs:221:27 [INFO] [stdout] | [INFO] [stdout] 221 | Color::Index(x @ 8...15) => write!(w, "\x1b[{}m", x + 92), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/events.rs:246:14 [INFO] [stdout] | [INFO] [stdout] 246 | 0...8 | 10...12 | 14...26 | 28...31 => Key::Control((ch + 64) as char), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/events.rs:246:23 [INFO] [stdout] | [INFO] [stdout] 246 | 0...8 | 10...12 | 14...26 | 28...31 => Key::Control((ch + 64) as char), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/events.rs:246:33 [INFO] [stdout] | [INFO] [stdout] 246 | 0...8 | 10...12 | 14...26 | 28...31 => Key::Control((ch + 64) as char), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/events.rs:246:43 [INFO] [stdout] | [INFO] [stdout] 246 | 0...8 | 10...12 | 14...26 | 28...31 => Key::Control((ch + 64) as char), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/events.rs:251:15 [INFO] [stdout] | [INFO] [stdout] 251 | 32...126 => Key::Char(ch as char), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | / /// Turn off canonical mode. [INFO] [stdout] 161 | | /// In non-canonical mode the terminal does perform line editing, the input buffer is 4096 characters long, [INFO] [stdout] 162 | | /// and timeouts may be set for input. [INFO] [stdout] | |_____-------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | / /// Set the minimum number of characters for the `Term::read` function to return. [INFO] [stdout] 166 | | /// [INFO] [stdout] 167 | | /// __*non-canonical mode only__ [INFO] [stdout] | |_____-------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | / /// Set the maximum time the `Term::read` function will wait before returning (time in deciseconds) [INFO] [stdout] 171 | | /// [INFO] [stdout] 172 | | /// [INFO] [stdout] 173 | | /// __*non-canonical mode only__ [INFO] [stdout] | |_____-------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 176 | /// Set the character that will signal the stdout buffer should be flushed. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | /// Set an extra end-of-line character [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | /// Set the erase char (typically it will be something like `DEL` by default) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | /// Set the interrupt char, when this character is read the running process will be sent `SIGINT`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | /// Set the suspend char, when this character is read the running process will be sent `SIGTSTP`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | /// Set the kill char, when this character is read the running process will be sent `SIGKILL`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | /// Set the quit char, when this character is read the running process will be sent `SIGQUIT`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | /// stop showing output until the `start_output` char is reached. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/term.rs:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | /// Set the character the will restart output, ofter the `stop_output` char. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/term.rs:374:51 [INFO] [stdout] | [INFO] [stdout] 374 | ansi::Color::Index(x @ 8..=15) => (x - 8), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 374 - ansi::Color::Index(x @ 8..=15) => (x - 8), [INFO] [stdout] 374 + ansi::Color::Index(x @ 8..=15) => x - 8, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/term.rs:674:12 [INFO] [stdout] | [INFO] [stdout] 674 | if (x > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 674 - if (x > 0) { [INFO] [stdout] 674 + if x > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/term.rs:678:19 [INFO] [stdout] | [INFO] [stdout] 678 | } else if (x < 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 678 - } else if (x < 0) { [INFO] [stdout] 678 + } else if x < 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/term.rs:688:12 [INFO] [stdout] | [INFO] [stdout] 688 | if (y > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 688 - if (y > 0) { [INFO] [stdout] 688 + if y > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/term.rs:692:19 [INFO] [stdout] | [INFO] [stdout] 692 | } else if (y < 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 692 - } else if (y < 0) { [INFO] [stdout] 692 + } else if y < 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `size_of`, `transmute` [INFO] [stdout] --> src/util.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::mem::{size_of, transmute}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::from_raw_parts` [INFO] [stdout] --> src/util.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::slice::from_raw_parts; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/terminfo/mod.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(home) = env::home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 98 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 | fn cause(&self) -> Option<&dyn failure::Fail> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/terminfo/errors.rs:100:32 [INFO] [stdout] | [INFO] [stdout] 100 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 100 | fn cause(&self) -> Option<&dyn failure::Fail> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/events.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | 10 | 13 => Key::Enter, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/term.rs:701:31 [INFO] [stdout] | [INFO] [stdout] 701 | pub fn default_background(mut self) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/term.rs:705:31 [INFO] [stdout] | [INFO] [stdout] 705 | pub fn default_foreground(mut self) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write_u8` is never used [INFO] [stdout] --> src/term.rs:419:8 [INFO] [stdout] | [INFO] [stdout] 419 | fn write_u8(mut self, x: u8) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/term.rs:675:13 [INFO] [stdout] | [INFO] [stdout] 675 | / self.exec(terminfo::ParmRightCursor) [INFO] [stdout] 676 | | .map(|ctx| ctx.arg(x).write(&mut self)) [INFO] [stdout] 677 | | .map_err(|e| self.err = Some(e)); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/term.rs:679:13 [INFO] [stdout] | [INFO] [stdout] 679 | / self.exec(terminfo::ParmLeftCursor) [INFO] [stdout] 680 | | .map(|ctx| ctx.arg(-x).write(&mut self)) [INFO] [stdout] 681 | | .map_err(|e| self.err = Some(e)); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/term.rs:689:13 [INFO] [stdout] | [INFO] [stdout] 689 | / self.exec(terminfo::ParmUpCursor) [INFO] [stdout] 690 | | .map(|ctx| ctx.arg(y).write(&mut self)) [INFO] [stdout] 691 | | .map_err(|e| self.err = Some(e)); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/term.rs:693:13 [INFO] [stdout] | [INFO] [stdout] 693 | / self.exec(terminfo::ParmDownCursor) [INFO] [stdout] 694 | | .map(|ctx| ctx.arg(-y).write(&mut self)) [INFO] [stdout] 695 | | .map_err(|e| self.err = Some(e)); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/terminfo/lang/executor.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | self.env.write(&mut Parser::new(self.src), &mut w); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.46s [INFO] running `Command { std: "docker" "inspect" "d53860d3ee9b65c6427da94a4d619b6e42736fef893f6080635816b6905f3482", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d53860d3ee9b65c6427da94a4d619b6e42736fef893f6080635816b6905f3482", kill_on_drop: false }` [INFO] [stdout] d53860d3ee9b65c6427da94a4d619b6e42736fef893f6080635816b6905f3482 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "test" "--frozen" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ce033deccb085662b1ba4dc51cd666154782061f924926251b317900017a86ff [INFO] running `Command { std: "docker" "start" "-a" "ce033deccb085662b1ba4dc51cd666154782061f924926251b317900017a86ff", kill_on_drop: false }` [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/ansi.rs:133:24 [INFO] [stderr] | [INFO] [stderr] 133 | '0'...'9' => (), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/ansi.rs:184:16 [INFO] [stderr] | [INFO] [stderr] 184 | '0'...'9' => Ok(Color::Index( [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/ansi.rs:211:27 [INFO] [stderr] | [INFO] [stderr] 211 | Color::Index(x @ 0...7) => write!(w, "\x1b[{}m", x + 30), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/ansi.rs:212:27 [INFO] [stderr] | [INFO] [stderr] 212 | Color::Index(x @ 8...15) => write!(w, "\x1b[{}m", x + 82), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/ansi.rs:220:27 [INFO] [stderr] | [INFO] [stderr] 220 | Color::Index(x @ 0...7) => write!(w, "\x1b[{}m", x + 40), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/ansi.rs:221:27 [INFO] [stderr] | [INFO] [stderr] 221 | Color::Index(x @ 8...15) => write!(w, "\x1b[{}m", x + 92), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/events.rs:246:14 [INFO] [stderr] | [INFO] [stderr] 246 | 0...8 | 10...12 | 14...26 | 28...31 => Key::Control((ch + 64) as char), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/events.rs:246:23 [INFO] [stderr] | [INFO] [stderr] 246 | 0...8 | 10...12 | 14...26 | 28...31 => Key::Control((ch + 64) as char), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/events.rs:246:33 [INFO] [stderr] | [INFO] [stderr] 246 | 0...8 | 10...12 | 14...26 | 28...31 => Key::Control((ch + 64) as char), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/events.rs:246:43 [INFO] [stderr] | [INFO] [stderr] 246 | 0...8 | 10...12 | 14...26 | 28...31 => Key::Control((ch + 64) as char), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/events.rs:251:15 [INFO] [stderr] | [INFO] [stderr] 251 | 32...126 => Key::Char(ch as char), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/term.rs:160:5 [INFO] [stderr] | [INFO] [stderr] 160 | / /// Turn off canonical mode. [INFO] [stderr] 161 | | /// In non-canonical mode the terminal does perform line editing, the input buffer is 4096 characters long, [INFO] [stderr] 162 | | /// and timeouts may be set for input. [INFO] [stderr] | |_____-------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/term.rs:165:5 [INFO] [stderr] | [INFO] [stderr] 165 | / /// Set the minimum number of characters for the `Term::read` function to return. [INFO] [stderr] 166 | | /// [INFO] [stderr] 167 | | /// __*non-canonical mode only__ [INFO] [stderr] | |_____-------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/term.rs:170:5 [INFO] [stderr] | [INFO] [stderr] 170 | / /// Set the maximum time the `Term::read` function will wait before returning (time in deciseconds) [INFO] [stderr] 171 | | /// [INFO] [stderr] 172 | | /// [INFO] [stderr] 173 | | /// __*non-canonical mode only__ [INFO] [stderr] | |_____-------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/term.rs:176:5 [INFO] [stderr] | [INFO] [stderr] 176 | /// Set the character that will signal the stdout buffer should be flushed. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/term.rs:179:5 [INFO] [stderr] | [INFO] [stderr] 179 | /// Set an extra end-of-line character [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/term.rs:182:5 [INFO] [stderr] | [INFO] [stderr] 182 | /// Set the erase char (typically it will be something like `DEL` by default) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/term.rs:185:5 [INFO] [stderr] | [INFO] [stderr] 185 | /// Set the interrupt char, when this character is read the running process will be sent `SIGINT`. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/term.rs:188:5 [INFO] [stderr] | [INFO] [stderr] 188 | /// Set the suspend char, when this character is read the running process will be sent `SIGTSTP`. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/term.rs:191:5 [INFO] [stderr] | [INFO] [stderr] 191 | /// Set the kill char, when this character is read the running process will be sent `SIGKILL`. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/term.rs:194:5 [INFO] [stderr] | [INFO] [stderr] 194 | /// Set the quit char, when this character is read the running process will be sent `SIGQUIT`. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/term.rs:197:5 [INFO] [stderr] | [INFO] [stderr] 197 | /// stop showing output until the `start_output` char is reached. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/term.rs:200:5 [INFO] [stderr] | [INFO] [stderr] 200 | /// Set the character the will restart output, ofter the `stop_output` char. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/term.rs:374:51 [INFO] [stderr] | [INFO] [stderr] 374 | ansi::Color::Index(x @ 8..=15) => (x - 8), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 374 - ansi::Color::Index(x @ 8..=15) => (x - 8), [INFO] [stderr] 374 + ansi::Color::Index(x @ 8..=15) => x - 8, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/term.rs:674:12 [INFO] [stderr] | [INFO] [stderr] 674 | if (x > 0) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 674 - if (x > 0) { [INFO] [stderr] 674 + if x > 0 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/term.rs:678:19 [INFO] [stderr] | [INFO] [stderr] 678 | } else if (x < 0) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 678 - } else if (x < 0) { [INFO] [stderr] 678 + } else if x < 0 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/term.rs:688:12 [INFO] [stderr] | [INFO] [stderr] 688 | if (y > 0) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 688 - if (y > 0) { [INFO] [stderr] 688 + if y > 0 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/term.rs:692:19 [INFO] [stderr] | [INFO] [stderr] 692 | } else if (y < 0) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 692 - } else if (y < 0) { [INFO] [stderr] 692 + } else if y < 0 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused imports: `size_of`, `transmute` [INFO] [stderr] --> src/util.rs:6:16 [INFO] [stderr] | [INFO] [stderr] 6 | use std::mem::{size_of, transmute}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::slice::from_raw_parts` [INFO] [stderr] --> src/util.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::slice::from_raw_parts; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stderr] --> src/terminfo/mod.rs:31:30 [INFO] [stderr] | [INFO] [stderr] 31 | if let Some(home) = env::home_dir() { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/errors.rs:98:32 [INFO] [stderr] | [INFO] [stderr] 98 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 98 | fn cause(&self) -> Option<&dyn failure::Fail> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/terminfo/errors.rs:100:32 [INFO] [stderr] | [INFO] [stderr] 100 | fn cause(&self) -> Option<&failure::Fail> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 100 | fn cause(&self) -> Option<&dyn failure::Fail> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/events.rs:248:13 [INFO] [stderr] | [INFO] [stderr] 248 | 10 | 13 => Key::Enter, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/term.rs:701:31 [INFO] [stderr] | [INFO] [stderr] 701 | pub fn default_background(mut self) -> Self { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/term.rs:705:31 [INFO] [stderr] | [INFO] [stderr] 705 | pub fn default_foreground(mut self) -> Self { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: associated function `write_u8` is never used [INFO] [stderr] --> src/term.rs:419:8 [INFO] [stderr] | [INFO] [stderr] 419 | fn write_u8(mut self, x: u8) -> Self { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/term.rs:675:13 [INFO] [stderr] | [INFO] [stderr] 675 | / self.exec(terminfo::ParmRightCursor) [INFO] [stderr] 676 | | .map(|ctx| ctx.arg(x).write(&mut self)) [INFO] [stderr] 677 | | .map_err(|e| self.err = Some(e)); [INFO] [stderr] | |________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/term.rs:679:13 [INFO] [stderr] | [INFO] [stderr] 679 | / self.exec(terminfo::ParmLeftCursor) [INFO] [stderr] 680 | | .map(|ctx| ctx.arg(-x).write(&mut self)) [INFO] [stderr] 681 | | .map_err(|e| self.err = Some(e)); [INFO] [stderr] | |________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/term.rs:689:13 [INFO] [stderr] | [INFO] [stderr] 689 | / self.exec(terminfo::ParmUpCursor) [INFO] [stderr] 690 | | .map(|ctx| ctx.arg(y).write(&mut self)) [INFO] [stderr] 691 | | .map_err(|e| self.err = Some(e)); [INFO] [stderr] | |________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/term.rs:693:13 [INFO] [stderr] | [INFO] [stderr] 693 | / self.exec(terminfo::ParmDownCursor) [INFO] [stderr] 694 | | .map(|ctx| ctx.arg(-y).write(&mut self)) [INFO] [stderr] 695 | | .map_err(|e| self.err = Some(e)); [INFO] [stderr] | |________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/terminfo/lang/executor.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | self.env.write(&mut Parser::new(self.src), &mut w); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `nixterm` (lib) generated 42 warnings [INFO] [stderr] warning: `nixterm` (lib test) generated 42 warnings (42 duplicates) [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> examples/term.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | term.println(""); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> examples/term.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | term.println(""); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> examples/term.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | term.println(""); [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `nixterm` (example "term") generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/i686-unknown-linux-musl/debug/deps/nixterm-e9e16b0acaea0252) [INFO] [stdout] test terminfo::terminfo::test::lookup_bool ... ok [INFO] [stdout] test terminfo::lang::tests::printf ... ok [INFO] [stdout] test terminfo::lang::tests::simple ... ok [INFO] [stdout] test terminfo::terminfo::test::lookup_ext_bool ... ok [INFO] [stdout] test terminfo::terminfo::test::lookup_ext_number ... ok [INFO] [stdout] test terminfo::terminfo::test::lookup_number ... ok [INFO] [stdout] test terminfo::terminfo::test::lookup_string ... ok [INFO] [stdout] test terminfo::terminfobuf::test::lookup_bool ... ok [INFO] [stdout] test terminfo::terminfo::test::names ... ok [INFO] [stdout] test terminfo::terminfo::test::lookup_ext_string ... ok [INFO] [stdout] test terminfo::terminfobuf::test::lookup_number ... ok [INFO] [stdout] test terminfo::terminfobuf::test::lookup_ext_bool ... ok [INFO] [stdout] test terminfo::terminfobuf::test::set_bool ... ok [INFO] [stdout] test terminfo::terminfobuf::test::lookup_ext_number ... ok [INFO] [stdout] test terminfo::terminfobuf::test::set_number ... ok [INFO] [stdout] test terminfo::terminfobuf::test::set_string ... ok [INFO] [stdout] test terminfo::terminfobuf::test::lookup_ext_string ... ok [INFO] [stdout] test terminfo::terminfobuf::test::lookup_string ... ok [INFO] [stdout] test term::test::term ... FAILED [INFO] [stdout] test term::test::print ... FAILED [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] test terminfo::terminfobuf::test::from_terminfo ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- term::test::term stdout ---- [INFO] [stdout] thread 'term::test::term' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `[27, 91, 48, 59, 49, 109, 15, 72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100, 63]`, [INFO] [stdout] right: `[27, 91, 48, 59, 49, 109, 72, 101, 108, 108, 111, 32, 87, 111, 114, 108, 100, 63, 27, 91, 109, 15]`', src/term.rs:1031:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x81cefe1 - std::backtrace_rs::backtrace::libunwind::trace::h5f291319ef5c6762 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x81cefe1 - std::backtrace_rs::backtrace::trace_unsynchronized::h96ca96ef06a343d3 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x81cefe1 - std::sys_common::backtrace::_print_fmt::h9ecddad7ef420251 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/sys_common/backtrace.rs:65:5 [INFO] [stdout] 3: 0x81cefe1 - ::fmt::h7345cc970529ac34 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x820e0ec - core::fmt::write::hf580cd49f879cb74 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/core/src/fmt/mod.rs:1208:17 [INFO] [stdout] 5: 0x81cbeeb - std::io::Write::write_fmt::hceb49ab886ea57c9 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/io/mod.rs:1682:15 [INFO] [stdout] 6: 0x81cede6 - std::sys_common::backtrace::_print::h8b6713f1e30cd3b1 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 7: 0x81cede6 - std::sys_common::backtrace::print::h228371403e861751 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 8: 0x81d09c5 - std::panicking::default_hook::{{closure}}::h6da55f6f475e59d6 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/panicking.rs:267:22 [INFO] [stdout] 9: 0x81d06c5 - std::panicking::default_hook::h8f14cf6f2f2f52d8 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/panicking.rs:283:9 [INFO] [stdout] 10: 0x81ade6c - core::ops::function::Fn::call::h9b26c25f04212ebd [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/core/src/ops/function.rs:161:5 [INFO] [stdout] 11: 0x80cc679 - as core::ops::function::Fn>::call::h0b6006386399b354 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/alloc/src/boxed.rs:2032:9 [INFO] [stdout] 12: 0x80cc679 - test::test_main::{{closure}}::hf462dccab4831d1f [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/test/src/lib.rs:135:21 [INFO] [stdout] 13: 0x81d1104 - as core::ops::function::Fn>::call::h9163b46de7e7a7ba [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/alloc/src/boxed.rs:2032:9 [INFO] [stdout] 14: 0x81d1104 - std::panicking::rust_panic_with_hook::h2f79ffe424d88114 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/panicking.rs:692:13 [INFO] [stdout] 15: 0x81d0ebc - std::panicking::begin_panic_handler::{{closure}}::h59ef6a1246219cbe [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/panicking.rs:579:13 [INFO] [stdout] 16: 0x81cf45a - std::sys_common::backtrace::__rust_end_short_backtrace::h3d3587da31656282 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/sys_common/backtrace.rs:137:18 [INFO] [stdout] 17: 0x81d0b93 - rust_begin_unwind [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/panicking.rs:575:5 [INFO] [stdout] 18: 0x804c670 - core::panicking::panic_fmt::h40e949315ccf1c11 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/core/src/panicking.rs:64:14 [INFO] [stdout] 19: 0x804c9bb - core::panicking::assert_failed_inner::h1e71a98e19ea3237 [INFO] [stdout] 20: 0x8077162 - core::panicking::assert_failed::h3da7fb59ef11f1ef [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/core/src/panicking.rs:199:5 [INFO] [stdout] 21: 0x807a986 - nixterm::term::test::term::h0387d5ef243eaf9d [INFO] [stdout] at /opt/rustwide/workdir/src/term.rs:1031:9 [INFO] [stdout] 22: 0x807a677 - nixterm::term::test::term::{{closure}}::h0cd9011399a28500 [INFO] [stdout] at /opt/rustwide/workdir/src/term.rs:1020:15 [INFO] [stdout] 23: 0x8065b4d - core::ops::function::FnOnce::call_once::h41da63ba0a440323 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/core/src/ops/function.rs:507:5 [INFO] [stdout] 24: 0x80d10be - core::ops::function::FnOnce::call_once::hecc3c5fab6cb88cd [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/core/src/ops/function.rs:507:5 [INFO] [stdout] 25: 0x80d10be - test::__rust_begin_short_backtrace::h18e977d49f646cd0 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/test/src/lib.rs:657:18 [INFO] [stdout] 26: 0x80a4060 - test::run_test::{{closure}}::ha39325b57d1cb768 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/test/src/lib.rs:648:30 [INFO] [stdout] 27: 0x80a4060 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h5040e45b1e845123 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/core/src/ops/function.rs:507:5 [INFO] [stdout] 28: 0x80d0237 - as core::ops::function::FnOnce>::call_once::h26c70f40318b0360 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/alloc/src/boxed.rs:2000:9 [INFO] [stdout] 29: 0x80d0237 - as core::ops::function::FnOnce<()>>::call_once::hfa679c02d5269ea1 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 30: 0x80d0237 - std::panicking::try::do_call::h5bc1d3d4ab3d7acd [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/panicking.rs:483:40 [INFO] [stdout] 31: 0x80d0237 - std::panicking::try::h0d0734d848512873 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/panicking.rs:447:19 [INFO] [stdout] 32: 0x80d0237 - std::panic::catch_unwind::h1b17ff745af6bff3 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/panic.rs:137:14 [INFO] [stdout] 33: 0x80d0237 - test::run_test_in_process::h7545f915ef03cbbe [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/test/src/lib.rs:680:27 [INFO] [stdout] 34: 0x80d0237 - test::run_test::run_test_inner::{{closure}}::he5f64ab41218f776 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/test/src/lib.rs:574:39 [INFO] [stdout] 35: 0x809e8ca - test::run_test::run_test_inner::{{closure}}::h74ad460a34a68702 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/test/src/lib.rs:601:37 [INFO] [stdout] 36: 0x809e8ca - std::sys_common::backtrace::__rust_begin_short_backtrace::h3e8f4d074e786dcf [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/sys_common/backtrace.rs:121:18 [INFO] [stdout] 37: 0x80a3edb - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9aa166e39b65b836 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/thread/mod.rs:550:17 [INFO] [stdout] 38: 0x80a3edb - as core::ops::function::FnOnce<()>>::call_once::h49c1c6ee61f36b13 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 39: 0x80a3edb - std::panicking::try::do_call::h6c0758e2b02f2859 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/panicking.rs:483:40 [INFO] [stdout] 40: 0x80a3edb - std::panicking::try::h3684f436e633cc77 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/panicking.rs:447:19 [INFO] [stdout] 41: 0x80a3edb - std::panic::catch_unwind::hc37306cbaab1bf43 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/panic.rs:137:14 [INFO] [stdout] 42: 0x80a3edb - std::thread::Builder::spawn_unchecked_::{{closure}}::h6a4963ec3f0e3be6 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/thread/mod.rs:549:30 [INFO] [stdout] 43: 0x80a3edb - core::ops::function::FnOnce::call_once{{vtable.shim}}::h0914fb32932929dc [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/core/src/ops/function.rs:507:5 [INFO] [stdout] 44: 0x81d4d0d - as core::ops::function::FnOnce>::call_once::hb6157d95beb62c18 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/alloc/src/boxed.rs:2000:9 [INFO] [stdout] 45: 0x81d4d0d - as core::ops::function::FnOnce>::call_once::h710bd3383b288449 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/alloc/src/boxed.rs:2000:9 [INFO] [stdout] 46: 0x81d4d0d - std::sys::unix::thread::Thread::new::thread_start::ha4036db4cbfe1239 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] [INFO] [stdout] ---- term::test::print stdout ---- [INFO] [stdout] thread 'term::test::print' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `"\u{1b}[0;1m\u{f}Hello\u{1b}[0m\u{f}\u{1b}[31mWorld\u{1b}[0m\u{f}?"`, [INFO] [stdout] right: `"\u{1b}[0;1mHello\u{1b}[0m \u{1b}[31mWorld\u{1b}[0m?"`', src/term.rs:1055:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x81cefe1 - std::backtrace_rs::backtrace::libunwind::trace::h5f291319ef5c6762 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x81cefe1 - std::backtrace_rs::backtrace::trace_unsynchronized::h96ca96ef06a343d3 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x81cefe1 - std::sys_common::backtrace::_print_fmt::h9ecddad7ef420251 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/sys_common/backtrace.rs:65:5 [INFO] [stdout] 3: 0x81cefe1 - ::fmt::h7345cc970529ac34 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/sys_common/backtrace.rs:44:22 [INFO] [stdout] 4: 0x820e0ec - core::fmt::write::hf580cd49f879cb74 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/core/src/fmt/mod.rs:1208:17 [INFO] [stdout] 5: 0x81cbeeb - std::io::Write::write_fmt::hceb49ab886ea57c9 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/io/mod.rs:1682:15 [INFO] [stdout] 6: 0x81cede6 - std::sys_common::backtrace::_print::h8b6713f1e30cd3b1 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/sys_common/backtrace.rs:47:5 [INFO] [stdout] 7: 0x81cede6 - std::sys_common::backtrace::print::h228371403e861751 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/sys_common/backtrace.rs:34:9 [INFO] [stdout] 8: 0x81d09c5 - std::panicking::default_hook::{{closure}}::h6da55f6f475e59d6 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/panicking.rs:267:22 [INFO] [stdout] 9: 0x81d06c5 - std::panicking::default_hook::h8f14cf6f2f2f52d8 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/panicking.rs:283:9 [INFO] [stdout] 10: 0x81ade6c - core::ops::function::Fn::call::h9b26c25f04212ebd [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/core/src/ops/function.rs:161:5 [INFO] [stdout] 11: 0x80cc679 - as core::ops::function::Fn>::call::h0b6006386399b354 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/alloc/src/boxed.rs:2032:9 [INFO] [stdout] 12: 0x80cc679 - test::test_main::{{closure}}::hf462dccab4831d1f [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/test/src/lib.rs:135:21 [INFO] [stdout] 13: 0x81d1104 - as core::ops::function::Fn>::call::h9163b46de7e7a7ba [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/alloc/src/boxed.rs:2032:9 [INFO] [stdout] 14: 0x81d1104 - std::panicking::rust_panic_with_hook::h2f79ffe424d88114 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/panicking.rs:692:13 [INFO] [stdout] 15: 0x81d0ebc - std::panicking::begin_panic_handler::{{closure}}::h59ef6a1246219cbe [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/panicking.rs:579:13 [INFO] [stdout] 16: 0x81cf45a - std::sys_common::backtrace::__rust_end_short_backtrace::h3d3587da31656282 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/sys_common/backtrace.rs:137:18 [INFO] [stdout] 17: 0x81d0b93 - rust_begin_unwind [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/panicking.rs:575:5 [INFO] [stdout] 18: 0x804c670 - core::panicking::panic_fmt::h40e949315ccf1c11 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/core/src/panicking.rs:64:14 [INFO] [stdout] 19: 0x804c9bb - core::panicking::assert_failed_inner::h1e71a98e19ea3237 [INFO] [stdout] 20: 0x8077812 - core::panicking::assert_failed::he0b86ac6903792cb [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/core/src/panicking.rs:199:5 [INFO] [stdout] 21: 0x807aecf - nixterm::term::test::print::h697f36afb8bd222c [INFO] [stdout] at /opt/rustwide/workdir/src/term.rs:1055:9 [INFO] [stdout] 22: 0x807a9e7 - nixterm::term::test::print::{{closure}}::hcfaeb93ece7096bc [INFO] [stdout] at /opt/rustwide/workdir/src/term.rs:1035:16 [INFO] [stdout] 23: 0x8065ddd - core::ops::function::FnOnce::call_once::hb10b1ac74a23d0c6 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/core/src/ops/function.rs:507:5 [INFO] [stdout] 24: 0x80d10be - core::ops::function::FnOnce::call_once::hecc3c5fab6cb88cd [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/core/src/ops/function.rs:507:5 [INFO] [stdout] 25: 0x80d10be - test::__rust_begin_short_backtrace::h18e977d49f646cd0 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/test/src/lib.rs:657:18 [INFO] [stdout] 26: 0x80a4060 - test::run_test::{{closure}}::ha39325b57d1cb768 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/test/src/lib.rs:648:30 [INFO] [stdout] 27: 0x80a4060 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h5040e45b1e845123 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/core/src/ops/function.rs:507:5 [INFO] [stdout] 28: 0x80d0237 - as core::ops::function::FnOnce>::call_once::h26c70f40318b0360 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/alloc/src/boxed.rs:2000:9 [INFO] [stdout] 29: 0x80d0237 - as core::ops::function::FnOnce<()>>::call_once::hfa679c02d5269ea1 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 30: 0x80d0237 - std::panicking::try::do_call::h5bc1d3d4ab3d7acd [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/panicking.rs:483:40 [INFO] [stdout] 31: 0x80d0237 - std::panicking::try::h0d0734d848512873 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/panicking.rs:447:19 [INFO] [stdout] 32: 0x80d0237 - std::panic::catch_unwind::h1b17ff745af6bff3 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/panic.rs:137:14 [INFO] [stdout] 33: 0x80d0237 - test::run_test_in_process::h7545f915ef03cbbe [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/test/src/lib.rs:680:27 [INFO] [stdout] 34: 0x80d0237 - test::run_test::run_test_inner::{{closure}}::he5f64ab41218f776 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/test/src/lib.rs:574:39 [INFO] [stdout] 35: 0x809e8ca - test::run_test::run_test_inner::{{closure}}::h74ad460a34a68702 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/test/src/lib.rs:601:37 [INFO] [stdout] 36: 0x809e8ca - std::sys_common::backtrace::__rust_begin_short_backtrace::h3e8f4d074e786dcf [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/sys_common/backtrace.rs:121:18 [INFO] [stdout] 37: 0x80a3edb - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9aa166e39b65b836 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/thread/mod.rs:550:17 [INFO] [stdout] 38: 0x80a3edb - as core::ops::function::FnOnce<()>>::call_once::h49c1c6ee61f36b13 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 39: 0x80a3edb - std::panicking::try::do_call::h6c0758e2b02f2859 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/panicking.rs:483:40 [INFO] [stdout] 40: 0x80a3edb - std::panicking::try::h3684f436e633cc77 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/panicking.rs:447:19 [INFO] [stdout] 41: 0x80a3edb - std::panic::catch_unwind::hc37306cbaab1bf43 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/panic.rs:137:14 [INFO] [stdout] 42: 0x80a3edb - std::thread::Builder::spawn_unchecked_::{{closure}}::h6a4963ec3f0e3be6 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/thread/mod.rs:549:30 [INFO] [stdout] 43: 0x80a3edb - core::ops::function::FnOnce::call_once{{vtable.shim}}::h0914fb32932929dc [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/core/src/ops/function.rs:507:5 [INFO] [stdout] 44: 0x81d4d0d - as core::ops::function::FnOnce>::call_once::hb6157d95beb62c18 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/alloc/src/boxed.rs:2000:9 [INFO] [stdout] 45: 0x81d4d0d - as core::ops::function::FnOnce>::call_once::h710bd3383b288449 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/alloc/src/boxed.rs:2000:9 [INFO] [stdout] 46: 0x81d4d0d - std::sys::unix::thread::Thread::new::thread_start::ha4036db4cbfe1239 [INFO] [stdout] at /rustc/fc4ba03ef77ca5018fb78a097d3b924d30f15bfc/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] term::test::print [INFO] [stdout] term::test::term [INFO] [stdout] [INFO] [stdout] test result: FAILED. 19 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.32s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ce033deccb085662b1ba4dc51cd666154782061f924926251b317900017a86ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce033deccb085662b1ba4dc51cd666154782061f924926251b317900017a86ff", kill_on_drop: false }` [INFO] [stdout] ce033deccb085662b1ba4dc51cd666154782061f924926251b317900017a86ff