[INFO] fetching crate gchemol-parser 0.5.1... [INFO] building gchemol-parser-0.5.1 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate gchemol-parser 0.5.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate gchemol-parser 0.5.1 [INFO] finished tweaking crates.io crate gchemol-parser 0.5.1 [INFO] tweaked toml for crates.io crate gchemol-parser 0.5.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gchemol-parser 0.5.1 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 119 packages to latest compatible versions [INFO] [stderr] Adding winnow v0.6.26 (available: v0.7.13) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded grep v0.3.2 [INFO] [stderr] Downloaded encoding_rs_io v0.1.7 [INFO] [stderr] Downloaded grep-matcher v0.1.7 [INFO] [stderr] Downloaded grep-reader v0.1.3 [INFO] [stderr] Downloaded gchemol-gut v0.4.4 [INFO] [stderr] Downloaded grep-cli v0.1.11 [INFO] [stderr] Downloaded grep-printer v0.2.2 [INFO] [stderr] Downloaded grep-regex v0.1.13 [INFO] [stderr] Downloaded grep-searcher v0.1.14 [INFO] [stderr] Downloaded str_indices v0.4.4 [INFO] [stderr] Downloaded ropey v1.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c4546b3355aecd0d8893efbbb01b56d11f0fef63e94e544f78b468afd969436a [INFO] running `Command { std: "docker" "start" "-a" "c4546b3355aecd0d8893efbbb01b56d11f0fef63e94e544f78b468afd969436a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c4546b3355aecd0d8893efbbb01b56d11f0fef63e94e544f78b468afd969436a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4546b3355aecd0d8893efbbb01b56d11f0fef63e94e544f78b468afd969436a", kill_on_drop: false }` [INFO] [stdout] c4546b3355aecd0d8893efbbb01b56d11f0fef63e94e544f78b468afd969436a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09c55deef30e7d6bf5ca9ee555a76aa71889e7fd7311ce33854c999847218959 [INFO] running `Command { std: "docker" "start" "-a" "09c55deef30e7d6bf5ca9ee555a76aa71889e7fd7311ce33854c999847218959", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling os_pipe v1.2.2 [INFO] [stderr] Compiling memmap2 v0.9.8 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling encoding_rs_io v0.1.7 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling str_indices v0.4.4 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling shell-escape v0.1.5 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling ropey v1.6.1 [INFO] [stderr] Compiling winnow v0.6.26 [INFO] [stderr] Compiling sigchld v0.2.4 [INFO] [stderr] Compiling shared_child v1.1.1 [INFO] [stderr] Compiling duct v0.13.7 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling grep-matcher v0.1.7 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling grep-searcher v0.1.14 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling grep-regex v0.1.13 [INFO] [stderr] Compiling grep-printer v0.2.2 [INFO] [stderr] Compiling grep-cli v0.1.11 [INFO] [stderr] Compiling grep v0.3.2 [INFO] [stderr] Compiling grep-reader v0.1.3 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Compiling gchemol-gut v0.4.4 [INFO] [stderr] Compiling gchemol-parser v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `winnow::stream::Stream` [INFO] [stdout] --> src/parsers.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winnow::stream::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winnow::stream::Located` [INFO] [stdout] --> src/parsers.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | use winnow::stream::Located; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `winnow::combinator::rest`: replaced with `token::rest` [INFO] [stdout] --> src/parsers.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | pub use winnow::combinator::rest; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn not_space<'a>(input: &mut &'a str) -> PResult<&'a str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:46:42 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn read_line<'a>(s: &mut &'a str) -> PResult<&'a str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:59:46 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn rest_line<'a>(input: &mut &'a str) -> PResult<&'a str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:65:63 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn jump_to<'a>(literal: &str) -> impl FnMut(&mut &str) -> PResult<()> + '_ { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:74:66 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn jump_until<'a>(literal: &str) -> impl FnMut(&mut &str) -> PResult<()> + '_ { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:101:54 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn recognize_integer<'i>(input: &mut &'i str) -> PResult<&'i str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:110:53 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn unsigned_integer<'a>(input: &mut &'a str) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:115:40 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn signed_integer(s: &mut &str) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:120:36 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn read_usize(s: &mut &str) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:127:41 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn read_usize_many(s: &mut &str) -> PResult> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:144:36 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn double(input: &mut &str) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:151:47 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn sci_double<'i>(input: &mut &'i str) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::Located`: Replaced with `LocatingSlice` [INFO] [stdout] --> src/parsers.rs:154:25 [INFO] [stdout] | [INFO] [stdout] 154 | use winnow::stream::Located; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:176:35 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn xyz_array(s: &mut &str) -> PResult<[f64; 3]> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:182:37 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn read_double(s: &mut &str) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:189:42 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn read_double_many(s: &mut &str) -> PResult> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/reader.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 98 | / loop { [INFO] [stdout] 99 | | let n = self.inner.read_line(&mut line)?; [INFO] [stdout] 100 | | if n == 0 { [INFO] [stdout] ... | [INFO] [stdout] 111 | | line.clear(); [INFO] [stdout] 112 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 113 | [INFO] [stdout] 114 | Ok(m) [INFO] [stdout] | ^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/reader.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 127 | / loop { [INFO] [stdout] 128 | | let n = self.inner.read_line(buf)?; [INFO] [stdout] 129 | | if n == 0 { [INFO] [stdout] ... | [INFO] [stdout] 139 | | m += n; [INFO] [stdout] 140 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 141 | [INFO] [stdout] 142 | Ok(m) [INFO] [stdout] | ^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `winnow::Parser::recognize`: Replaced with `Parser::take` [INFO] [stdout] --> src/parsers.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | .recognize() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `winnow::Parser::recognize`: Replaced with `Parser::take` [INFO] [stdout] --> src/parsers.rs:105:56 [INFO] [stdout] | [INFO] [stdout] 105 | let r = (opt(one_of(['+', '-'])), cut_err(digit1)).recognize().parse_next(input)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `winnow::Parser::recognize`: Replaced with `Parser::take` [INFO] [stdout] --> src/parsers.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 162 | .recognize() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/reader.rs:57:44 [INFO] [stdout] | [INFO] [stdout] 57 | self.inner.read_line(buf).map_err(|e| anyhow!("Read line failure")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/reader.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | let pos = self.inner.seek(SeekFrom::Start(pos))?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/reader.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | self.inner.rewind(); [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 147 | let _ = self.inner.rewind(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/reader.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | self.inner.seek(SeekFrom::End(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 152 | let _ = self.inner.seek(SeekFrom::End(0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.43s [INFO] running `Command { std: "docker" "inspect" "09c55deef30e7d6bf5ca9ee555a76aa71889e7fd7311ce33854c999847218959", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09c55deef30e7d6bf5ca9ee555a76aa71889e7fd7311ce33854c999847218959", kill_on_drop: false }` [INFO] [stdout] 09c55deef30e7d6bf5ca9ee555a76aa71889e7fd7311ce33854c999847218959 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49bd81f3438d801bc3ed44ef6487c3f59f7192535e74cba8185b2d459116f62b [INFO] running `Command { std: "docker" "start" "-a" "49bd81f3438d801bc3ed44ef6487c3f59f7192535e74cba8185b2d459116f62b", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `winnow::stream::Stream` [INFO] [stdout] --> src/parsers.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winnow::stream::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winnow::stream::Located` [INFO] [stdout] --> src/parsers.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | use winnow::stream::Located; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `winnow::combinator::rest`: replaced with `token::rest` [INFO] [stdout] --> src/parsers.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | pub use winnow::combinator::rest; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn not_space<'a>(input: &mut &'a str) -> PResult<&'a str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:46:42 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn read_line<'a>(s: &mut &'a str) -> PResult<&'a str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:59:46 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn rest_line<'a>(input: &mut &'a str) -> PResult<&'a str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:65:63 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn jump_to<'a>(literal: &str) -> impl FnMut(&mut &str) -> PResult<()> + '_ { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:74:66 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn jump_until<'a>(literal: &str) -> impl FnMut(&mut &str) -> PResult<()> + '_ { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:101:54 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn recognize_integer<'i>(input: &mut &'i str) -> PResult<&'i str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:110:53 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn unsigned_integer<'a>(input: &mut &'a str) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:115:40 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn signed_integer(s: &mut &str) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:120:36 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn read_usize(s: &mut &str) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:127:41 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn read_usize_many(s: &mut &str) -> PResult> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:144:36 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn double(input: &mut &str) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:151:47 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn sci_double<'i>(input: &mut &'i str) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::Located`: Replaced with `LocatingSlice` [INFO] [stdout] --> src/parsers.rs:154:25 [INFO] [stdout] | [INFO] [stdout] 154 | use winnow::stream::Located; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:176:35 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn xyz_array(s: &mut &str) -> PResult<[f64; 3]> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:182:37 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn read_double(s: &mut &str) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:189:42 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn read_double_many(s: &mut &str) -> PResult> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/reader.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 98 | / loop { [INFO] [stdout] 99 | | let n = self.inner.read_line(&mut line)?; [INFO] [stdout] 100 | | if n == 0 { [INFO] [stdout] ... | [INFO] [stdout] 111 | | line.clear(); [INFO] [stdout] 112 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 113 | [INFO] [stdout] 114 | Ok(m) [INFO] [stdout] | ^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/reader.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 127 | / loop { [INFO] [stdout] 128 | | let n = self.inner.read_line(buf)?; [INFO] [stdout] 129 | | if n == 0 { [INFO] [stdout] ... | [INFO] [stdout] 139 | | m += n; [INFO] [stdout] 140 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 141 | [INFO] [stdout] 142 | Ok(m) [INFO] [stdout] | ^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gchemol-parser v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `winnow::Parser::recognize`: Replaced with `Parser::take` [INFO] [stdout] --> src/parsers.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | .recognize() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `winnow::Parser::recognize`: Replaced with `Parser::take` [INFO] [stdout] --> src/parsers.rs:105:56 [INFO] [stdout] | [INFO] [stdout] 105 | let r = (opt(one_of(['+', '-'])), cut_err(digit1)).recognize().parse_next(input)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `winnow::Parser::recognize`: Replaced with `Parser::take` [INFO] [stdout] --> src/parsers.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 162 | .recognize() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/reader.rs:57:44 [INFO] [stdout] | [INFO] [stdout] 57 | self.inner.read_line(buf).map_err(|e| anyhow!("Read line failure")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/reader.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | let pos = self.inner.seek(SeekFrom::Start(pos))?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/reader.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | self.inner.rewind(); [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 147 | let _ = self.inner.rewind(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/reader.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | self.inner.seek(SeekFrom::End(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 152 | let _ = self.inner.seek(SeekFrom::End(0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winnow::stream::Stream` [INFO] [stdout] --> src/parsers.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winnow::stream::Stream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `winnow::stream::Located` [INFO] [stdout] --> src/parsers.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | use winnow::stream::Located; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `gchemol_parser::parsers::PResult`: Replaced with ModalResult [INFO] [stdout] --> tests/xyz.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | fn read_atom_xyz(s: &mut &str) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `gchemol_parser::parsers::PResult`: Replaced with ModalResult [INFO] [stdout] --> tests/xyz.rs:53:37 [INFO] [stdout] | [INFO] [stdout] 53 | fn read_xyz_stream(s: &mut &str) -> PResult> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `winnow::combinator::rest`: replaced with `token::rest` [INFO] [stdout] --> src/parsers.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | pub use winnow::combinator::rest; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:38:46 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn not_space<'a>(input: &mut &'a str) -> PResult<&'a str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:46:42 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn read_line<'a>(s: &mut &'a str) -> PResult<&'a str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:59:46 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn rest_line<'a>(input: &mut &'a str) -> PResult<&'a str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:65:63 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn jump_to<'a>(literal: &str) -> impl FnMut(&mut &str) -> PResult<()> + '_ { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:74:66 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn jump_until<'a>(literal: &str) -> impl FnMut(&mut &str) -> PResult<()> + '_ { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:101:54 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn recognize_integer<'i>(input: &mut &'i str) -> PResult<&'i str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:110:53 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn unsigned_integer<'a>(input: &mut &'a str) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:115:40 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn signed_integer(s: &mut &str) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:120:36 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn read_usize(s: &mut &str) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:127:41 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn read_usize_many(s: &mut &str) -> PResult> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:144:36 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn double(input: &mut &str) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:151:47 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn sci_double<'i>(input: &mut &'i str) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::Located`: Replaced with `LocatingSlice` [INFO] [stdout] --> src/parsers.rs:154:25 [INFO] [stdout] | [INFO] [stdout] 154 | use winnow::stream::Located; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:176:35 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn xyz_array(s: &mut &str) -> PResult<[f64; 3]> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:182:37 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn read_double(s: &mut &str) -> PResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:189:42 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn read_double_many(s: &mut &str) -> PResult> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:235:25 [INFO] [stdout] | [INFO] [stdout] 235 | fn test_sci_double() -> PResult<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `winnow::PResult`: Replaced with ModalResult [INFO] [stdout] --> src/parsers.rs:252:17 [INFO] [stdout] | [INFO] [stdout] 252 | fn test_ws() -> PResult<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/xyz.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut read_atoms = repeat(1.., read_atom_xyz); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> tests/xyz.rs:97:34 [INFO] [stdout] | [INFO] [stdout] 97 | let parts = (0..n).map(move |i| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/reader.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 98 | / loop { [INFO] [stdout] 99 | | let n = self.inner.read_line(&mut line)?; [INFO] [stdout] 100 | | if n == 0 { [INFO] [stdout] ... | [INFO] [stdout] 111 | | line.clear(); [INFO] [stdout] 112 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 113 | [INFO] [stdout] 114 | Ok(m) [INFO] [stdout] | ^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/reader.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 127 | / loop { [INFO] [stdout] 128 | | let n = self.inner.read_line(buf)?; [INFO] [stdout] 129 | | if n == 0 { [INFO] [stdout] ... | [INFO] [stdout] 139 | | m += n; [INFO] [stdout] 140 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 141 | [INFO] [stdout] 142 | Ok(m) [INFO] [stdout] | ^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `winnow::Parser::recognize`: Replaced with `Parser::take` [INFO] [stdout] --> src/parsers.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | .recognize() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `winnow::Parser::recognize`: Replaced with `Parser::take` [INFO] [stdout] --> src/parsers.rs:105:56 [INFO] [stdout] | [INFO] [stdout] 105 | let r = (opt(one_of(['+', '-'])), cut_err(digit1)).recognize().parse_next(input)?; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `winnow::Parser::recognize`: Replaced with `Parser::take` [INFO] [stdout] --> src/parsers.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 162 | .recognize() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/reader.rs:57:44 [INFO] [stdout] | [INFO] [stdout] 57 | self.inner.read_line(buf).map_err(|e| anyhow!("Read line failure")) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/reader.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | let pos = self.inner.seek(SeekFrom::Start(pos))?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/reader.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | let n = reader.read_until(&mut buf, |line| line.starts_with("here"))?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/reader.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | self.inner.rewind(); [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 147 | let _ = self.inner.rewind(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/reader.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | self.inner.seek(SeekFrom::End(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 152 | let _ = self.inner.seek(SeekFrom::End(0)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/reader.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | reader.read_line(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 207 | let _ = reader.read_line(&mut buf); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/view.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | view.search_backward("^523 "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 187 | let _ = view.search_backward("^523 "); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.87s [INFO] running `Command { std: "docker" "inspect" "49bd81f3438d801bc3ed44ef6487c3f59f7192535e74cba8185b2d459116f62b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49bd81f3438d801bc3ed44ef6487c3f59f7192535e74cba8185b2d459116f62b", kill_on_drop: false }` [INFO] [stdout] 49bd81f3438d801bc3ed44ef6487c3f59f7192535e74cba8185b2d459116f62b