[INFO] fetching crate hmmm 0.2.0... [INFO] testing hmmm-0.2.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate hmmm 0.2.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate hmmm 0.2.0 [INFO] finished tweaking crates.io crate hmmm 0.2.0 [INFO] tweaked toml for crates.io crate hmmm 0.2.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hmmm 0.2.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 47 packages to latest compatible versions [INFO] [stderr] Adding counter v0.5.7 (available: v0.6.0) [INFO] [stderr] Adding itertools v0.9.0 (available: v0.14.0) [INFO] [stderr] Adding ndarray v0.13.1 (available: v0.16.1) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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 spectral v0.6.0 [INFO] [stderr] Downloaded counter v0.5.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ef150ebbcd75d53a9be1c4ce172b9e4ed5a38f31ae94a88f8aeb4e2bf440469 [INFO] running `Command { std: "docker" "start" "-a" "4ef150ebbcd75d53a9be1c4ce172b9e4ed5a38f31ae94a88f8aeb4e2bf440469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ef150ebbcd75d53a9be1c4ce172b9e4ed5a38f31ae94a88f8aeb4e2bf440469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ef150ebbcd75d53a9be1c4ce172b9e4ed5a38f31ae94a88f8aeb4e2bf440469", kill_on_drop: false }` [INFO] [stdout] 4ef150ebbcd75d53a9be1c4ce172b9e4ed5a38f31ae94a88f8aeb4e2bf440469 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 425594b7690fa557439f84935a594eb625645bbe1a7827e98eec5eadf5bcdfc1 [INFO] running `Command { std: "docker" "start" "-a" "425594b7690fa557439f84935a594eb625645bbe1a7827e98eec5eadf5bcdfc1", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.1.45 [INFO] [stderr] Compiling num-complex v0.1.44 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num v0.1.43 [INFO] [stderr] Compiling spectral v0.6.0 [INFO] [stderr] Compiling hmmm v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `ArrayFloat` is never used [INFO] [stdout] --> src/lib.rs:672:15 [INFO] [stdout] | [INFO] [stdout] 672 | pub trait ArrayFloat { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Array1Num` is never used [INFO] [stdout] --> src/lib.rs:696:15 [INFO] [stdout] | [INFO] [stdout] 696 | pub trait Array1Num [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:158:42 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn sampler<'a, R: Rng + ?Sized>(&'a self, rng: &'a mut R) -> HMMSampleIter { [INFO] [stdout] | ^^ ^^ ---------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 158 | pub fn sampler<'a, R: Rng + ?Sized>(&'a self, rng: &'a mut R) -> HMMSampleIter<'a, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:193:22 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn filter(&self, ys: I) -> HMMFilterIter [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 193 | pub fn filter(&self, ys: I) -> HMMFilterIter<'_, I::IntoIter> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:750:17 [INFO] [stdout] | [INFO] [stdout] 750 | format!("Sum of {} must be positive", label) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 750 - format!("Sum of {} must be positive", label) [INFO] [stdout] 750 + "Sum of {} must be positive", label [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 12.16s [INFO] running `Command { std: "docker" "inspect" "425594b7690fa557439f84935a594eb625645bbe1a7827e98eec5eadf5bcdfc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "425594b7690fa557439f84935a594eb625645bbe1a7827e98eec5eadf5bcdfc1", kill_on_drop: false }` [INFO] [stdout] 425594b7690fa557439f84935a594eb625645bbe1a7827e98eec5eadf5bcdfc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7c98fd69f28f4f5eff8f277cb0a495374151eaa734a7dcbef41cd7912790f111 [INFO] running `Command { std: "docker" "start" "-a" "7c98fd69f28f4f5eff8f277cb0a495374151eaa734a7dcbef41cd7912790f111", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling counter v0.5.7 [INFO] [stdout] warning: trait `ArrayFloat` is never used [INFO] [stdout] --> src/lib.rs:672:15 [INFO] [stdout] | [INFO] [stdout] 672 | pub trait ArrayFloat { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Array1Num` is never used [INFO] [stdout] --> src/lib.rs:696:15 [INFO] [stdout] | [INFO] [stdout] 696 | pub trait Array1Num [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:158:42 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn sampler<'a, R: Rng + ?Sized>(&'a self, rng: &'a mut R) -> HMMSampleIter { [INFO] [stdout] | ^^ ^^ ---------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 158 | pub fn sampler<'a, R: Rng + ?Sized>(&'a self, rng: &'a mut R) -> HMMSampleIter<'a, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:193:22 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn filter(&self, ys: I) -> HMMFilterIter [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 193 | pub fn filter(&self, ys: I) -> HMMFilterIter<'_, I::IntoIter> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:750:17 [INFO] [stdout] | [INFO] [stdout] 750 | format!("Sum of {} must be positive", label) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 750 - format!("Sum of {} must be positive", label) [INFO] [stdout] 750 + "Sum of {} must be positive", label [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hmmm v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `Array1Num` is never used [INFO] [stdout] --> src/lib.rs:696:15 [INFO] [stdout] | [INFO] [stdout] 696 | pub trait Array1Num [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:158:42 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn sampler<'a, R: Rng + ?Sized>(&'a self, rng: &'a mut R) -> HMMSampleIter { [INFO] [stdout] | ^^ ^^ ---------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 158 | pub fn sampler<'a, R: Rng + ?Sized>(&'a self, rng: &'a mut R) -> HMMSampleIter<'a, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:193:22 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn filter(&self, ys: I) -> HMMFilterIter [INFO] [stdout] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 193 | pub fn filter(&self, ys: I) -> HMMFilterIter<'_, I::IntoIter> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:750:17 [INFO] [stdout] | [INFO] [stdout] 750 | format!("Sum of {} must be positive", label) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 750 - format!("Sum of {} must be positive", label) [INFO] [stdout] 750 + "Sum of {} must be positive", label [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 11.82s [INFO] running `Command { std: "docker" "inspect" "7c98fd69f28f4f5eff8f277cb0a495374151eaa734a7dcbef41cd7912790f111", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c98fd69f28f4f5eff8f277cb0a495374151eaa734a7dcbef41cd7912790f111", kill_on_drop: false }` [INFO] [stdout] 7c98fd69f28f4f5eff8f277cb0a495374151eaa734a7dcbef41cd7912790f111 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1f658469bd72708dadfb76141463eb131602b7a5fcee10b44e4583720521e8b2 [INFO] running `Command { std: "docker" "start" "-a" "1f658469bd72708dadfb76141463eb131602b7a5fcee10b44e4583720521e8b2", kill_on_drop: false }` [INFO] [stderr] warning: trait `ArrayFloat` is never used [INFO] [stderr] --> src/lib.rs:672:15 [INFO] [stderr] | [INFO] [stderr] 672 | pub trait ArrayFloat { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait `Array1Num` is never used [INFO] [stderr] --> src/lib.rs:696:15 [INFO] [stderr] | [INFO] [stderr] 696 | pub trait Array1Num [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:158:42 [INFO] [stderr] | [INFO] [stderr] 158 | pub fn sampler<'a, R: Rng + ?Sized>(&'a self, rng: &'a mut R) -> HMMSampleIter { [INFO] [stderr] | ^^ ^^ ---------------- the lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 158 | pub fn sampler<'a, R: Rng + ?Sized>(&'a self, rng: &'a mut R) -> HMMSampleIter<'a, R> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:193:22 [INFO] [stderr] | [INFO] [stderr] 193 | pub fn filter(&self, ys: I) -> HMMFilterIter [INFO] [stderr] | ^^^^^ -------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 193 | pub fn filter(&self, ys: I) -> HMMFilterIter<'_, I::IntoIter> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:750:17 [INFO] [stderr] | [INFO] [stderr] 750 | format!("Sum of {} must be positive", label) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 750 - format!("Sum of {} must be positive", label) [INFO] [stderr] 750 + "Sum of {} must be positive", label [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait `Array1Num` is never used [INFO] [stderr] --> src/lib.rs:696:15 [INFO] [stderr] | [INFO] [stderr] 696 | pub trait Array1Num [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `hmmm` (lib) generated 5 warnings (run `cargo fix --lib -p hmmm` to apply 3 suggestions) [INFO] [stderr] warning: `hmmm` (lib test) generated 4 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/hmmm-0cf9a3d5c9d4f190) [INFO] [stdout] [INFO] [stdout] running 40 tests [INFO] [stdout] test tests::ll_given_states_certain ... ok [INFO] [stdout] test tests::ll_given_states_impossible_observation ... ok [INFO] [stdout] test tests::ll_given_states_impossible_initial_state ... ok [INFO] [stdout] test tests::filter_empty ... ok [INFO] [stdout] test tests::predict_one_step ... ok [INFO] [stdout] test tests::filter_one_zero ... ok [INFO] [stdout] test tests::predict_zero_steps ... ok [INFO] [stdout] test tests::predict_two_steps ... ok [INFO] [stdout] test tests::filter_one_one ... ok [INFO] [stdout] test tests::ll_given_states_empty ... ok [INFO] [stdout] test tests::ll_given_states_one ... ok [INFO] [stdout] test tests::filter_zero_one ... ok [INFO] [stdout] test tests::filter_zero_zero ... ok [INFO] [stdout] test tests::filter_zero ... ok [INFO] [stdout] test tests::filter_one ... ok [INFO] [stdout] test tests::sampler_periodic ... ok [INFO] [stdout] test tests::sampler_unit ... ok [INFO] [stdout] test tests::test_smooth_one ... ok [INFO] [stdout] test tests::test_train_n_1_k_2_constant ... ok [INFO] [stdout] test tests::ll_given_states_impossible_transition ... ok [INFO] [stdout] test tests::test_train_n_2_k_2_no_observations ... ok [INFO] [stdout] test tests::test_viterbi_0 ... ok [INFO] [stdout] test tests::test_viterbi_1 ... ok [INFO] [stdout] test tests::test_train_n_1_k_1_no_observations ... ok [INFO] [stdout] test tests::test_smooth_zero ... ok [INFO] [stdout] test tests::test_viterbi_empty ... ok [INFO] [stdout] test tests::test_smooth_zero_zero ... ok [INFO] [stdout] test tests_weighted_choice_float::first ... ok [INFO] [stdout] test tests_weighted_choice_float::last ... ok [INFO] [stdout] test tests_weighted_choice_float::middle ... ok [INFO] [stdout] test tests_weighted_choice_float::unit ... ok [INFO] [stdout] test tests::test_train_n_2_k_2 ... ok [INFO] [stdout] test tests::test_train_n_1_k_1_constant ... ok [INFO] [stdout] test tests::test_train_n_1_k_2_random ... ok [INFO] [stdout] test tests::test_smooth_zero_one ... ok [INFO] [stdout] test tests::test_viterbi_0_1 ... ok [INFO] [stdout] test tests::test_viterbi_0_0 ... ok [INFO] [stdout] test tests::test_smooth_zero_zero_zero ... ok [INFO] [stdout] test tests::test_smooth_zero_one_one ... ok [INFO] [stdout] test tests::test_viterbi ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 40 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.15s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1f658469bd72708dadfb76141463eb131602b7a5fcee10b44e4583720521e8b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f658469bd72708dadfb76141463eb131602b7a5fcee10b44e4583720521e8b2", kill_on_drop: false }` [INFO] [stdout] 1f658469bd72708dadfb76141463eb131602b7a5fcee10b44e4583720521e8b2