[INFO] cloning repository https://github.com/kod-kristoff/hfst-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kod-kristoff/hfst-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkod-kristoff%2Fhfst-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkod-kristoff%2Fhfst-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 76310f2641060d2b10a9f729eea88526619dd00e [INFO] building kod-kristoff/hfst-rs against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkod-kristoff%2Fhfst-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kod-kristoff/hfst-rs [INFO] finished tweaking git repo https://github.com/kod-kristoff/hfst-rs [INFO] tweaked toml for git repo https://github.com/kod-kristoff/hfst-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kod-kristoff/hfst-rs on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kod-kristoff/hfst-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-0-tc2/source/tools/hfst-pmatch/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-0-tc2/source/tools/hfst-pmatch2fst/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c919c01edabe9a049a3e92c947e140ef833b06edd14d5380d9f43acc7d504449 [INFO] running `Command { std: "docker" "start" "-a" "c919c01edabe9a049a3e92c947e140ef833b06edd14d5380d9f43acc7d504449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c919c01edabe9a049a3e92c947e140ef833b06edd14d5380d9f43acc7d504449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c919c01edabe9a049a3e92c947e140ef833b06edd14d5380d9f43acc7d504449", kill_on_drop: false }` [INFO] [stdout] c919c01edabe9a049a3e92c947e140ef833b06edd14d5380d9f43acc7d504449 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 295cd6273cfb01b306df374b73fb62c1b94cf1759d400ef18a1f91bb1e628a06 [INFO] running `Command { std: "docker" "start" "-a" "295cd6273cfb01b306df374b73fb62c1b94cf1759d400ef18a1f91bb1e628a06", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/tools/hfst-pmatch/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/tools/hfst-pmatch2fst/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling hfst v0.1.0 (/opt/rustwide/workdir/libs/hfst) [INFO] [stdout] warning: unused variable: `add_symbols_to_alphabet` [INFO] [stdout] --> libs/hfst/src/implementations/hfst_basic_transducer.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | add_symbols_to_alphabet: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_add_symbols_to_alphabet` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `isymbol` [INFO] [stdout] --> libs/hfst/src/implementations/hfst_basic_transition.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(target_state: HfstState, isymbol: String, osymbol: String, weight: f32) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_isymbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `osymbol` [INFO] [stdout] --> libs/hfst/src/implementations/hfst_basic_transition.rs:9:58 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(target_state: HfstState, isymbol: String, osymbol: String, weight: f32) -> Self { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_osymbol` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weight` [INFO] [stdout] --> libs/hfst/src/implementations/hfst_basic_transition.rs:9:75 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(target_state: HfstState, isymbol: String, osymbol: String, weight: f32) -> Self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_weight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HfstTropicalTransducerTransitionData` is never constructed [INFO] [stdout] --> libs/hfst/src/implementations/hfst_tropical_transducer_transition_data.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct HfstTropicalTransducerTransitionData {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling eyre v0.6.5 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling bufparser v0.1.0 (/opt/rustwide/workdir/libs/bufparser) [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> libs/bufparser/src/lib.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn parse(&mut self, f: F) -> Result> [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> libs/bufparser/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct BufReader { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 4 | inner: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hfst-output v0.1.0 (/opt/rustwide/workdir/libs/hfst-output) [INFO] [stdout] warning: unused variable: `filename` [INFO] [stdout] --> libs/hfst-output/src/olw.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn from_name(filename: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filename` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling nom-bufreader v0.2.0 (https://github.com/rust-bakery/nom-bufreader#c2e48f5b) [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling hfst-ol v0.1.0 (/opt/rustwide/workdir/libs/hfst-ol) [INFO] [stderr] Compiling hfst-fs v0.1.0 (/opt/rustwide/workdir/libs/hfst-fs) [INFO] [stderr] Compiling pmatch-compiler v0.1.0 (/opt/rustwide/workdir/libs/pmatch-compiler) [INFO] [stdout] warning: unused imports: `IResult`, `be_u16`, `le_u16`, `multi::many1`, `preceded`, `separated_pair`, and `terminated` [INFO] [stdout] --> libs/hfst-fs/src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | multi::many1, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 4 | number::streaming::{be_u16, le_u16}, [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] 5 | sequence::{preceded, separated_pair, terminated}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 6 | IResult, [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: `std::io` [INFO] [stdout] --> libs/hfst-fs/src/streaming/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::HfstHeaderError` [INFO] [stdout] --> libs/hfst-fs/src/streaming/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::HfstHeaderError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextError`, `Error as NomError`, `ErrorKind`, `FromExternalError`, and `ParseError` [INFO] [stdout] --> libs/hfst-fs/src/streaming/mod.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | error::{ContextError, Error as NomError, ErrorKind, FromExternalError, ParseError}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `byteorder::ReadBytesExt` [INFO] [stdout] --> libs/hfst-fs/src/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | use byteorder::ReadBytesExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `letters` and `symbols` are never read [INFO] [stdout] --> libs/hfst-ol/src/tries.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct OlLetterTrie { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 3 | letters: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | symbols: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OlLetterTrie` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `input_symbol` and `first_transition_index` are never read [INFO] [stdout] --> libs/hfst-ol/src/transitions.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct TransitionWIndex { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 4 | input_symbol: u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 5 | first_transition_index: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransitionWIndex` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> libs/hfst-ol/src/transducer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct TransducerHeader { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 2 | number_of_input_symbols: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | number_of_states: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | number_of_transitions: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | weighted: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | deterministic: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | input_deterministic: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | minimized: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | cyclic: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | has_epsilon_epsilon_transitions: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | has_input_epsilon_transitions: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | has_input_epsilon_cycles: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | has_unweighted_input_epsilon_cycles: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pmatch v0.1.0 (/opt/rustwide/workdir/libs/pmatch) [INFO] [stderr] Compiling hfst-ol-parser v0.1.0 (/opt/rustwide/workdir/libs/hfst-ol-parser) [INFO] [stdout] warning: unused import: `Seek` [INFO] [stdout] --> libs/hfst-fs/src/lib.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | use io::{Read, Seek}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> libs/hfst-fs/src/streaming/mod.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn le_hfst3_header(input: &[u8]) -> IResult<&[u8], HashMap> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> libs/hfst-fs/src/lib.rs:134:24 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn le_hfst3_header(input: &[u8]) -> IResult<&[u8], HashMap> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> libs/hfst-fs/src/streaming/mod.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | i: &[u8] [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 101 | ) -> IResult<&[u8], Cow, OwnedParseError> [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 101 | ) -> IResult<&[u8], Cow<'_, str>, OwnedParseError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> libs/hfst-fs/src/lib.rs:211:28 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn nullended_string(i: &[u8]) -> IResult<&[u8], Cow> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 211 | pub fn nullended_string(i: &[u8]) -> IResult<&[u8], Cow<'_, str>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> libs/hfst-fs/src/lib.rs:215:29 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn nullended_string0(i: &[u8]) -> IResult<&[u8], Cow> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 215 | pub fn nullended_string0(i: &[u8]) -> IResult<&[u8], Cow<'_, str>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> libs/hfst-fs/src/lib.rs:222:21 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn key_value(i: &[u8]) -> IResult<&[u8], (Cow, Cow)> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 222 | pub fn key_value(i: &[u8]) -> IResult<&[u8], (Cow<'_, str>, Cow<'_, str>)> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> libs/hfst-fs/src/streaming/mod.rs:109:8 [INFO] [stdout] | [INFO] [stdout] 109 | i: &[u8] [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 110 | ) -> IResult<&[u8], Cow, OwnedParseError> [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 110 | ) -> IResult<&[u8], Cow<'_, str>, OwnedParseError> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> libs/hfst-fs/src/streaming/mod.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn key_value(i: &[u8]) -> IResult<&[u8], (Cow, Cow), OwnedParseError> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 120 | pub fn key_value(i: &[u8]) -> IResult<&[u8], (Cow<'_, str>, Cow<'_, str>), OwnedParseError> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> libs/pmatch/src/container.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let input = Input::init(line, &mut self.alphabet, &mut self.encoder); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `symbols` is never read [INFO] [stdout] --> libs/pmatch/src/container.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | struct Input { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 38 | symbols: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Input` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index_table` is never read [INFO] [stdout] --> libs/pmatch/src/transducer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PmatchTransducer { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 5 | index_table: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PmatchTransducer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is` [INFO] [stdout] --> libs/hfst-ol-parser/src/transducer_header.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | is: &mut fs::File [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_is` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is` [INFO] [stdout] --> libs/hfst-ol-parser/src/streaming/transducer_header.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | is: &mut fs::File [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_is` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `HEADER_SIZE` is never used [INFO] [stdout] --> libs/hfst-ol-parser/src/streaming/transducer_header.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const HEADER_SIZE: usize = 56; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_transducer_header` is never used [INFO] [stdout] --> libs/hfst-ol-parser/src/streaming/transducer_header.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn parse_transducer_header( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_transducer_header_le` is never used [INFO] [stdout] --> libs/hfst-ol-parser/src/streaming/transducer_header.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn parse_transducer_header_le( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pmatch-serialize v0.1.0 (/opt/rustwide/workdir/libs/pmatch-serialize) [INFO] [stdout] warning: unused import: `nom_bufreader::bufreader::BufReader as NomBufReader` [INFO] [stdout] --> libs/pmatch-serialize/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use nom_bufreader::bufreader::BufReader as NomBufReader; [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: `parse_transducer_header_le` [INFO] [stdout] --> libs/pmatch-serialize/src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | parse_transducer_header_le, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `le_u16` and `le_u32` [INFO] [stdout] --> libs/pmatch-serialize/src/transducer.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | number::complete::{be_u16, be_u32, le_u16, le_u32}, [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::IResult` [INFO] [stdout] --> libs/pmatch-serialize/src/streaming/alphabet.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use nom::IResult; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom_bufreader::bufreader::BufReader as NomBufReader` [INFO] [stdout] --> libs/pmatch-serialize/src/streaming/alphabet.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use nom_bufreader::bufreader::BufReader as NomBufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `le_u16` and `le_u32` [INFO] [stdout] --> libs/pmatch-serialize/src/streaming/transducer.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | number::complete::{be_u16, be_u32, le_u16, le_u32}, [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AlphabetParserLe` and `alphabet_le` [INFO] [stdout] --> libs/pmatch-serialize/src/lib.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | use streaming::{alphabet_le, AlphabetParserLe, parse_alphabet_le}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: function is expected to take 0 arguments, but it takes 1 argument [INFO] [stdout] --> libs/pmatch-serialize/src/streaming/alphabet.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | let symbol = reader.parse(nullended_string)?; [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^ expected function that takes 0 arguments [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `bufparser::BufReader::parse` [INFO] [stdout] --> /opt/rustwide/workdir/libs/bufparser/src/lib.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn parse(&mut self, f: F) -> Result> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 16 | where [INFO] [stdout] 17 | F: Fn() [INFO] [stdout] | ^^^^ required by this bound in `BufReader::parse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: function is expected to take 0 arguments, but it takes 1 argument [INFO] [stdout] --> libs/pmatch-serialize/src/streaming/alphabet.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | let symbol = reader.parse(nullended_string)?; [INFO] [stdout] | ^^^^^ expected function that takes 0 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `PmatchHfst3Error` [INFO] [stdout] --> libs/pmatch-serialize/src/streaming/alphabet.rs:40:52 [INFO] [stdout] | [INFO] [stdout] 30 | ) -> Result [INFO] [stdout] | ---------------------------------------- expected `PmatchHfst3Error` because of this [INFO] [stdout] ... [INFO] [stdout] 40 | let symbol = reader.parse(nullended_string)?; [INFO] [stdout] | -----------------------^ the trait `From>` is not implemented for `PmatchHfst3Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] | [INFO] [stdout] note: `PmatchHfst3Error` needs to implement `From>` [INFO] [stdout] --> libs/pmatch-serialize/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum PmatchHfst3Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `PmatchHfst3Error` implements `From` [INFO] [stdout] `PmatchHfst3Error` implements `From` [INFO] [stdout] `PmatchHfst3Error` implements `From>` [INFO] [stdout] `PmatchHfst3Error` implements `From>` [INFO] [stdout] `PmatchHfst3Error` implements `From>>` [INFO] [stdout] `PmatchHfst3Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: function is expected to take 0 arguments, but it takes 1 argument [INFO] [stdout] --> libs/pmatch-serialize/src/lib.rs:124:53 [INFO] [stdout] | [INFO] [stdout] 124 | let header: TransducerHeader = reader.parse(transducer_header_le)?; [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^^ expected function that takes 0 arguments [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `bufparser::BufReader::parse` [INFO] [stdout] --> /opt/rustwide/workdir/libs/bufparser/src/lib.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn parse(&mut self, f: F) -> Result> [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] 16 | where [INFO] [stdout] 17 | F: Fn() [INFO] [stdout] | ^^^^ required by this bound in `BufReader::parse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: function is expected to take 0 arguments, but it takes 1 argument [INFO] [stdout] --> libs/pmatch-serialize/src/lib.rs:124:47 [INFO] [stdout] | [INFO] [stdout] 124 | let header: TransducerHeader = reader.parse(transducer_header_le)?; [INFO] [stdout] | ^^^^^ expected function that takes 0 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `PmatchHfst3Error` [INFO] [stdout] --> libs/pmatch-serialize/src/lib.rs:124:74 [INFO] [stdout] | [INFO] [stdout] 124 | let header: TransducerHeader = reader.parse(transducer_header_le)?; [INFO] [stdout] | ---------------------------^ the trait `From>` is not implemented for `PmatchHfst3Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] | [INFO] [stdout] note: `PmatchHfst3Error` needs to implement `From>` [INFO] [stdout] --> libs/pmatch-serialize/src/lib.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub enum PmatchHfst3Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `PmatchHfst3Error` implements `From` [INFO] [stdout] `PmatchHfst3Error` implements `From` [INFO] [stdout] `PmatchHfst3Error` implements `From>` [INFO] [stdout] `PmatchHfst3Error` implements `From>` [INFO] [stdout] `PmatchHfst3Error` implements `From>>` [INFO] [stdout] `PmatchHfst3Error` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom_bufreader::Parse` [INFO] [stdout] --> libs/pmatch-serialize/src/streaming/alphabet.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | use nom_bufreader::Parse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hfst-pmatch2fst v0.1.0 (/opt/rustwide/workdir/tools/hfst-pmatch2fst) [INFO] [stdout] warning: unused import: `nom_bufreader::Parse` [INFO] [stdout] --> libs/pmatch-serialize/src/lib.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | use nom_bufreader::Parse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> libs/pmatch-serialize/src/alphabet.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let mut symbol_table: Vec = Vec::with_capacity(symbol_count as usize); [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: variable does not need to be mutable [INFO] [stdout] --> libs/pmatch-serialize/src/streaming/alphabet.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut symbol_table: Vec = Vec::with_capacity(symbol_count as usize); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0593. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pmatch-serialize` (lib) due to 6 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `hfst` [INFO] [stdout] --> tools/hfst-pmatch2fst/src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use hfst; [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 variable: `outstream` [INFO] [stdout] --> tools/hfst-pmatch2fst/src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | outstream: hfst_output::HfstOLWOutputStream [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_outstream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `matches` is never used [INFO] [stdout] --> tools/hfst-pmatch2fst/src/args.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Args { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn matches(&self) -> &ArgMatches { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "295cd6273cfb01b306df374b73fb62c1b94cf1759d400ef18a1f91bb1e628a06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "295cd6273cfb01b306df374b73fb62c1b94cf1759d400ef18a1f91bb1e628a06", kill_on_drop: false }` [INFO] [stdout] 295cd6273cfb01b306df374b73fb62c1b94cf1759d400ef18a1f91bb1e628a06