[INFO] fetching crate prophet 0.4.2... [INFO] testing prophet-0.4.2 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate prophet 0.4.2 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate prophet 0.4.2 [INFO] finished tweaking crates.io crate prophet 0.4.2 [INFO] tweaked toml for crates.io crate prophet 0.4.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate prophet 0.4.2 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 36 packages to latest compatible versions [INFO] [stderr] Adding approx v0.1.1 (available: v0.5.1) [INFO] [stderr] Adding itertools v0.7.11 (available: v0.14.0) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.29) [INFO] [stderr] Adding ndarray v0.10.14 (available: v0.17.2) [INFO] [stderr] Adding ndarray-rand v0.6.1 (available: v0.16.0) [INFO] [stderr] Adding num v0.1.43 (available: v0.4.3) [INFO] [stderr] Adding rand v0.3.23 (available: v0.10.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-traits v0.1.43 [INFO] [stderr] Downloaded rand v0.3.23 [INFO] [stderr] Downloaded num-complex v0.1.44 [INFO] [stderr] Downloaded ndarray-rand v0.6.1 [INFO] [stderr] Downloaded num v0.1.43 [INFO] [stderr] Downloaded rustc-serialize v0.3.25 [INFO] [stderr] Downloaded num-rational v0.1.43 [INFO] [stderr] Downloaded log v0.3.9 [INFO] [stderr] Downloaded matrixmultiply v0.1.15 [INFO] [stderr] Downloaded approx v0.1.1 [INFO] [stderr] Downloaded rawpointer v0.1.0 [INFO] [stderr] Downloaded itertools v0.7.11 [INFO] [stderr] Downloaded num-bigint v0.1.45 [INFO] [stderr] Downloaded ndarray v0.10.14 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bad988349a74fd6d1a306e7454ad91b527e67111f083cd1a1d0cf48b68b20aa [INFO] running `Command { std: "docker" "start" "-a" "9bad988349a74fd6d1a306e7454ad91b527e67111f083cd1a1d0cf48b68b20aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bad988349a74fd6d1a306e7454ad91b527e67111f083cd1a1d0cf48b68b20aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bad988349a74fd6d1a306e7454ad91b527e67111f083cd1a1d0cf48b68b20aa", kill_on_drop: false }` [INFO] [stdout] 9bad988349a74fd6d1a306e7454ad91b527e67111f083cd1a1d0cf48b68b20aa [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 337431213b91242fa91f9ec1e72b96854a56e681685d60c93dc5f72d1c2f8bc5 [INFO] running `Command { std: "docker" "start" "-a" "337431213b91242fa91f9ec1e72b96854a56e681685d60c93dc5f72d1c2f8bc5", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.185 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling num-complex v0.1.44 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling num-bigint v0.1.45 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling ndarray v0.10.14 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling num v0.1.43 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling ndarray-rand v0.6.1 [INFO] [stderr] Compiling prophet v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Criterion`, `LogConfig`, and `Scheduling` [INFO] [stdout] --> src/mentor/mod.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub use mentor::configs::{LogConfig, Scheduling, Criterion}; [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 imports: `MentorBuilder` and `Mentor` [INFO] [stdout] --> src/mentor/mod.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | pub use mentor::training::{Mentor, MentorBuilder}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SampleView` and `Sample` [INFO] [stdout] --> src/mentor/mod.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | pub use mentor::samples::{Sample, SampleView}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `elapsed_time`, `latest_mse`, and `recent_mse` are never read [INFO] [stdout] --> src/mentor/logger.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Stats { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub elapsed_time: Duration, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub latest_mse : f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub recent_mse : f64 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stats` has derived impls for the traits `Clone` and `Debug`, but these are 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | fn predict(&mut self, input: I) -> ArrayView1; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | fn predict(&mut self, input: I) -> ArrayView1<'_, f32>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/neural_net.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | fn output_view(&self) -> ArrayView1 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 139 | fn output_view(&self) -> ArrayView1<'_, f32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/neural_net.rs:161:18 [INFO] [stdout] | [INFO] [stdout] 161 | fn feed_forward(&mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 162 | input: ArrayView1) [INFO] [stdout] 163 | -> ArrayView1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 163 | -> ArrayView1<'_, f32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/neural_net.rs:251:20 [INFO] [stdout] | [INFO] [stdout] 251 | fn update_weights(&mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 255 | -> ArrayView1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 255 | -> ArrayView1<'_, f32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/neural_net.rs:328:13 [INFO] [stdout] | [INFO] [stdout] 328 | fn predict(&mut self, input: A) -> ArrayView1 { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 328 | fn predict(&mut self, input: A) -> ArrayView1<'_, f32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/topology.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn iter_layers(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 85 | pub fn iter_layers(&self) -> Iter<'_, Layer> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mentor/samples.rs:230:21 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn next_sample(&mut self) -> SampleView { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 230 | pub fn next_sample(&mut self) -> SampleView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.84s [INFO] running `Command { std: "docker" "inspect" "337431213b91242fa91f9ec1e72b96854a56e681685d60c93dc5f72d1c2f8bc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "337431213b91242fa91f9ec1e72b96854a56e681685d60c93dc5f72d1c2f8bc5", kill_on_drop: false }` [INFO] [stdout] 337431213b91242fa91f9ec1e72b96854a56e681685d60c93dc5f72d1c2f8bc5 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea0a5d6ead18c2f6103ad8b4a730edee50f0fd54cbc9377e485d954b8f2b71b6 [INFO] running `Command { std: "docker" "start" "-a" "ea0a5d6ead18c2f6103ad8b4a730edee50f0fd54cbc9377e485d954b8f2b71b6", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stdout] warning: unused imports: `Criterion`, `LogConfig`, and `Scheduling` [INFO] [stdout] --> src/mentor/mod.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub use mentor::configs::{LogConfig, Scheduling, Criterion}; [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 imports: `MentorBuilder` and `Mentor` [INFO] [stdout] --> src/mentor/mod.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | pub use mentor::training::{Mentor, MentorBuilder}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SampleView` and `Sample` [INFO] [stdout] --> src/mentor/mod.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | pub use mentor::samples::{Sample, SampleView}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `elapsed_time`, `latest_mse`, and `recent_mse` are never read [INFO] [stdout] --> src/mentor/logger.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Stats { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub elapsed_time: Duration, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub latest_mse : f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub recent_mse : f64 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stats` has derived impls for the traits `Clone` and `Debug`, but these are 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | fn predict(&mut self, input: I) -> ArrayView1; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | fn predict(&mut self, input: I) -> ArrayView1<'_, f32>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/neural_net.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | fn output_view(&self) -> ArrayView1 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 139 | fn output_view(&self) -> ArrayView1<'_, f32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/neural_net.rs:161:18 [INFO] [stdout] | [INFO] [stdout] 161 | fn feed_forward(&mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 162 | input: ArrayView1) [INFO] [stdout] 163 | -> ArrayView1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 163 | -> ArrayView1<'_, f32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/neural_net.rs:251:20 [INFO] [stdout] | [INFO] [stdout] 251 | fn update_weights(&mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 255 | -> ArrayView1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 255 | -> ArrayView1<'_, f32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/neural_net.rs:328:13 [INFO] [stdout] | [INFO] [stdout] 328 | fn predict(&mut self, input: A) -> ArrayView1 { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 328 | fn predict(&mut self, input: A) -> ArrayView1<'_, f32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/topology.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn iter_layers(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 85 | pub fn iter_layers(&self) -> Iter<'_, Layer> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mentor/samples.rs:230:21 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn next_sample(&mut self) -> SampleView { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 230 | pub fn next_sample(&mut self) -> SampleView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling prophet v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Criterion`, `LogConfig`, and `Scheduling` [INFO] [stdout] --> src/mentor/mod.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub use mentor::configs::{LogConfig, Scheduling, Criterion}; [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 imports: `MentorBuilder` and `Mentor` [INFO] [stdout] --> src/mentor/mod.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | pub use mentor::training::{Mentor, MentorBuilder}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SampleView` and `Sample` [INFO] [stdout] --> src/mentor/mod.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | pub use mentor::samples::{Sample, SampleView}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `elapsed_time`, `latest_mse`, and `recent_mse` are never read [INFO] [stdout] --> src/mentor/logger.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Stats { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub elapsed_time: Duration, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub latest_mse : f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub recent_mse : f64 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stats` has derived impls for the traits `Clone` and `Debug`, but these are 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/traits.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | fn predict(&mut self, input: I) -> ArrayView1; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 60 | fn predict(&mut self, input: I) -> ArrayView1<'_, f32>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/neural_net.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | fn output_view(&self) -> ArrayView1 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 139 | fn output_view(&self) -> ArrayView1<'_, f32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/neural_net.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | fn gradients_view(&self) -> ArrayView1 { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 146 | fn gradients_view(&self) -> ArrayView1<'_, f32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/neural_net.rs:161:18 [INFO] [stdout] | [INFO] [stdout] 161 | fn feed_forward(&mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 162 | input: ArrayView1) [INFO] [stdout] 163 | -> ArrayView1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 163 | -> ArrayView1<'_, f32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/neural_net.rs:251:20 [INFO] [stdout] | [INFO] [stdout] 251 | fn update_weights(&mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 255 | -> ArrayView1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 255 | -> ArrayView1<'_, f32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/neural_net.rs:328:13 [INFO] [stdout] | [INFO] [stdout] 328 | fn predict(&mut self, input: A) -> ArrayView1 { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 328 | fn predict(&mut self, input: A) -> ArrayView1<'_, f32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `to_owned` that must be used [INFO] [stdout] --> src/neural_net.rs:418:4 [INFO] [stdout] | [INFO] [stdout] 418 | layer.calculate_output_gradients(expected.view()).to_owned(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: cloning is often expensive and is not expected to have side effects [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] 418 | let _ = layer.calculate_output_gradients(expected.view()).to_owned(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/topology.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn iter_layers(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 85 | pub fn iter_layers(&self) -> Iter<'_, Layer> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mentor/samples.rs:230:21 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn next_sample(&mut self) -> SampleView { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 230 | pub fn next_sample(&mut self) -> SampleView<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.82s [INFO] running `Command { std: "docker" "inspect" "ea0a5d6ead18c2f6103ad8b4a730edee50f0fd54cbc9377e485d954b8f2b71b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea0a5d6ead18c2f6103ad8b4a730edee50f0fd54cbc9377e485d954b8f2b71b6", kill_on_drop: false }` [INFO] [stdout] ea0a5d6ead18c2f6103ad8b4a730edee50f0fd54cbc9377e485d954b8f2b71b6 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5a68ee5bbee56aa8ead0a12306c89c6e9d4ba35717683489f2bcf44b89d30a1f [INFO] running `Command { std: "docker" "start" "-a" "5a68ee5bbee56aa8ead0a12306c89c6e9d4ba35717683489f2bcf44b89d30a1f", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: unused imports: `Criterion`, `LogConfig`, and `Scheduling` [INFO] [stderr] --> src/mentor/mod.rs:8:27 [INFO] [stderr] | [INFO] [stderr] 8 | pub use mentor::configs::{LogConfig, Scheduling, Criterion}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `MentorBuilder` and `Mentor` [INFO] [stderr] --> src/mentor/mod.rs:9:28 [INFO] [stderr] | [INFO] [stderr] 9 | pub use mentor::training::{Mentor, MentorBuilder}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `SampleView` and `Sample` [INFO] [stderr] --> src/mentor/mod.rs:10:27 [INFO] [stderr] | [INFO] [stderr] 10 | pub use mentor::samples::{Sample, SampleView}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `elapsed_time`, `latest_mse`, and `recent_mse` are never read [INFO] [stderr] --> src/mentor/logger.rs:12:6 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct Stats { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 12 | pub elapsed_time: Duration, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 15 | pub latest_mse : f64, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 18 | pub recent_mse : f64 [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Stats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/traits.rs:60:13 [INFO] [stderr] | [INFO] [stderr] 60 | fn predict(&mut self, input: I) -> ArrayView1; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 60 | fn predict(&mut self, input: I) -> ArrayView1<'_, f32>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/neural_net.rs:139:17 [INFO] [stderr] | [INFO] [stderr] 139 | fn output_view(&self) -> ArrayView1 { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 139 | fn output_view(&self) -> ArrayView1<'_, f32> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/neural_net.rs:161:18 [INFO] [stderr] | [INFO] [stderr] 161 | fn feed_forward(&mut self, [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here [INFO] [stderr] 162 | input: ArrayView1) [INFO] [stderr] 163 | -> ArrayView1 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 163 | -> ArrayView1<'_, f32> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/neural_net.rs:251:20 [INFO] [stderr] | [INFO] [stderr] 251 | fn update_weights(&mut self, [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here [INFO] [stderr] ... [INFO] [stderr] 255 | -> ArrayView1 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 255 | -> ArrayView1<'_, f32> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/neural_net.rs:328:13 [INFO] [stderr] | [INFO] [stderr] 328 | fn predict(&mut self, input: A) -> ArrayView1 { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 328 | fn predict(&mut self, input: A) -> ArrayView1<'_, f32> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/topology.rs:85:21 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn iter_layers(&self) -> Iter { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 85 | pub fn iter_layers(&self) -> Iter<'_, Layer> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/mentor/samples.rs:230:21 [INFO] [stderr] | [INFO] [stderr] 230 | pub fn next_sample(&mut self) -> SampleView { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 230 | pub fn next_sample(&mut self) -> SampleView<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/neural_net.rs:146:20 [INFO] [stderr] | [INFO] [stderr] 146 | fn gradients_view(&self) -> ArrayView1 { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 146 | fn gradients_view(&self) -> ArrayView1<'_, f32> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `to_owned` that must be used [INFO] [stderr] --> src/neural_net.rs:418:4 [INFO] [stderr] | [INFO] [stderr] 418 | layer.calculate_output_gradients(expected.view()).to_owned(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: cloning is often expensive and is not expected to have side effects [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 418 | let _ = layer.calculate_output_gradients(expected.view()).to_owned(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `prophet` (lib) generated 11 warnings (run `cargo fix --lib -p prophet` to apply 10 suggestions) [INFO] [stderr] warning: `prophet` (lib test) generated 13 warnings (11 duplicates) (run `cargo fix --lib -p prophet --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/prophet-1a571e66e5afcc35) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test activation::tests::bent_identity ... ok [INFO] [stdout] test activation::tests::arctan ... ok [INFO] [stdout] test activation::tests::gaussian ... ok [INFO] [stdout] test activation::tests::identity ... ok [INFO] [stdout] test mentor::samples::tests::missing_left_brackets ... ok [INFO] [stdout] test neural_net::tests::equivalence ... ignored [INFO] [stdout] test mentor::samples::tests::missing_right_brackets ... ok [INFO] [stdout] test activation::tests::binary_step ... ok [INFO] [stdout] test mentor::samples::tests::sample_and_vec_equal ... ok [INFO] [stdout] test activation::tests::sinusoid ... ok [INFO] [stdout] test activation::tests::tanh ... ok [INFO] [stdout] test neural_net::tests::fully_connected_layer::construction_invariants ... ok [INFO] [stdout] test topology::tests::construction ... ok [INFO] [stdout] test activation::tests::logistic ... ok [INFO] [stdout] test activation::tests::softsign ... ok [INFO] [stdout] test neural_net::tests::fully_connected_layer::update_weights ... ok [INFO] [stdout] test neural_net::tests::fully_connected_layer::feed_forward ... ok [INFO] [stdout] test neural_net::tests::fully_connected_layer::update_output_gradients ... ok [INFO] [stdout] test mentor::samples::tests::missing_both_brackets ... ok [INFO] [stdout] test activation::tests::softplus ... ok [INFO] [stdout] test activation::tests::relu ... ok [INFO] [stdout] test neural_net::tests::fully_connected_layer::propagate_gradients ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 21 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.34s [INFO] [stdout] [INFO] [stderr] Running tests/integration.rs (/opt/rustwide/target/debug/deps/integration-5fe86cc4d01863d6) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test train_constant ... ok [INFO] [stdout] test train_triple_add ... ok [INFO] [stdout] test train_and ... ok [INFO] [stdout] test train_compare ... ok [INFO] [stdout] test train_xor ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s [INFO] [stdout] [INFO] [stderr] Doc-tests prophet [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/mentor/samples.rs - mentor::samples::samples (line 81) - compile ... ok [INFO] [stdout] test src/mentor/samples.rs - mentor::samples::samples (line 108) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 63) ... ok [INFO] [stdout] test src/lib.rs - (line 19) ... ok [INFO] [stdout] test src/mentor/samples.rs - mentor::samples::samples (line 89) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.97s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5a68ee5bbee56aa8ead0a12306c89c6e9d4ba35717683489f2bcf44b89d30a1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a68ee5bbee56aa8ead0a12306c89c6e9d4ba35717683489f2bcf44b89d30a1f", kill_on_drop: false }` [INFO] [stdout] 5a68ee5bbee56aa8ead0a12306c89c6e9d4ba35717683489f2bcf44b89d30a1f