[INFO] fetching crate gchemol-parser 0.5.1... [INFO] checking gchemol-parser-0.5.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate gchemol-parser 0.5.1 into /workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gchemol-parser 0.5.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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 116 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1b3d53a448951e935001d078d2f615e5c22b0666a05fdce6b5b496b32a45c25 [INFO] running `Command { std: "docker" "start" "-a" "d1b3d53a448951e935001d078d2f615e5c22b0666a05fdce6b5b496b32a45c25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1b3d53a448951e935001d078d2f615e5c22b0666a05fdce6b5b496b32a45c25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1b3d53a448951e935001d078d2f615e5c22b0666a05fdce6b5b496b32a45c25", kill_on_drop: false }` [INFO] [stdout] d1b3d53a448951e935001d078d2f615e5c22b0666a05fdce6b5b496b32a45c25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fded980dd80f3aa1f292629ba70cf67833d6163fa425ade00bb0d6964c5522c [INFO] running `Command { std: "docker" "start" "-a" "2fded980dd80f3aa1f292629ba70cf67833d6163fa425ade00bb0d6964c5522c", kill_on_drop: false }` [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Checking grep-matcher v0.1.7 [INFO] [stderr] Checking encoding_rs_io v0.1.7 [INFO] [stderr] Checking os_pipe v1.2.2 [INFO] [stderr] Checking memmap2 v0.9.8 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking clap_builder v4.5.47 [INFO] [stderr] Checking time v0.3.43 [INFO] [stderr] Checking winnow v0.6.26 [INFO] [stderr] Checking sigchld v0.2.4 [INFO] [stderr] Checking shared_child v1.1.1 [INFO] [stderr] Checking duct v0.13.7 [INFO] [stderr] Checking clap v4.5.47 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Checking grep-searcher v0.1.14 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Checking grep-regex v0.1.13 [INFO] [stderr] Checking grep-cli v0.1.11 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking grep-printer v0.2.2 [INFO] [stderr] Checking grep v0.3.2 [INFO] [stderr] Checking grep-reader v0.1.3 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking gchemol-gut v0.4.4 [INFO] [stderr] Checking 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)]` 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: 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: 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)]` 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: 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)]` 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 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: 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: 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)]` 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: 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)]` 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 `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)]` 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] [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)]` 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)]` 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: 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: 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.22s [INFO] running `Command { std: "docker" "inspect" "2fded980dd80f3aa1f292629ba70cf67833d6163fa425ade00bb0d6964c5522c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fded980dd80f3aa1f292629ba70cf67833d6163fa425ade00bb0d6964c5522c", kill_on_drop: false }` [INFO] [stdout] 2fded980dd80f3aa1f292629ba70cf67833d6163fa425ade00bb0d6964c5522c