[INFO] fetching crate black-jack 0.1.0... [INFO] testing black-jack-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate black-jack 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate black-jack 0.1.0 [INFO] finished tweaking crates.io crate black-jack 0.1.0 [INFO] tweaked toml for crates.io crate black-jack 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate black-jack 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 147 packages to latest compatible versions [INFO] [stderr] Adding GSL v1.1.0 (available: v7.0.0) [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding c_vec v1.0.12 (available: v1.3.3) [INFO] [stderr] Adding criterion v0.2.11 (available: v0.7.0) [INFO] [stderr] Adding derive_more v0.14.1 (available: v2.0.1) [INFO] [stderr] Adding float-cmp v0.4.0 (available: v0.10.0) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.11.0) [INFO] [stderr] Adding itertools v0.8.2 (available: v0.14.0) [INFO] [stderr] Adding ndarray v0.12.1 (available: v0.16.1) [INFO] [stderr] Adding num v0.2.1 (available: v0.4.3) [INFO] [stderr] Adding prettytable-rs v0.8.0 (available: v0.10.0) [INFO] [stderr] Adding snap v0.2.5 (available: v1.1.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded float-cmp v0.4.0 [INFO] [stderr] Downloaded derive_more v0.14.1 [INFO] [stderr] Downloaded baggie v0.2.1 [INFO] [stderr] Downloaded rand_xoshiro v0.1.0 [INFO] [stderr] Downloaded criterion-plot v0.3.1 [INFO] [stderr] Downloaded c_vec v1.0.12 [INFO] [stderr] Downloaded streaming-stats v0.2.3 [INFO] [stderr] Downloaded GSL v1.1.0 [INFO] [stderr] Downloaded criterion v0.2.11 [INFO] [stderr] Downloaded snap v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4376dfec60d145ec0372064f0f100982738a8c2f2127d3593d1681eea7c8b5ee [INFO] running `Command { std: "docker" "start" "-a" "4376dfec60d145ec0372064f0f100982738a8c2f2127d3593d1681eea7c8b5ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4376dfec60d145ec0372064f0f100982738a8c2f2127d3593d1681eea7c8b5ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4376dfec60d145ec0372064f0f100982738a8c2f2127d3593d1681eea7c8b5ee", kill_on_drop: false }` [INFO] [stdout] 4376dfec60d145ec0372064f0f100982738a8c2f2127d3593d1681eea7c8b5ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7cd440b2017db4df44ac4b6b54085e48864da3847ab41422d3db8e3aca92fe7 [INFO] running `Command { std: "docker" "start" "-a" "b7cd440b2017db4df44ac4b6b54085e48864da3847ab41422d3db8e3aca92fe7", kill_on_drop: false }` [INFO] [stderr] Compiling camino v1.1.12 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling GSL v1.1.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling ndarray v0.12.1 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling c_vec v1.0.12 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling snap v0.2.5 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling prettytable-rs v0.8.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling streaming-stats v0.2.3 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling baggie v0.2.1 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling skeptic v0.13.7 [INFO] [stderr] Compiling derive_more v0.14.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling black-jack v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dataframe/io.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | let file_reader: Box = if self.path.to_string().to_lowercase().ends_with(".gz") { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 | let file_reader: Box = if self.path.to_string().to_lowercase().ends_with(".gz") { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dataframe/io.rs:241:30 [INFO] [stdout] | [INFO] [stdout] 241 | let file_writer: Box = if self.path.to_string().to_lowercase().ends_with(".gz") { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 241 | let file_writer: Box = if self.path.to_string().to_lowercase().ends_with(".gz") { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error/mod.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_BlackJackError` [INFO] [stdout] 7 | pub enum BlackJackError { [INFO] [stdout] | -------------- `BlackJackError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error/mod.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_BlackJackError` [INFO] [stdout] 7 | pub enum BlackJackError { [INFO] [stdout] | -------------- `BlackJackError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/series/mod.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn rolling(&self, window: usize) -> Rolling [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] 177 | pub fn rolling(&self, window: usize) -> Rolling<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.70s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: snap v0.2.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "b7cd440b2017db4df44ac4b6b54085e48864da3847ab41422d3db8e3aca92fe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7cd440b2017db4df44ac4b6b54085e48864da3847ab41422d3db8e3aca92fe7", kill_on_drop: false }` [INFO] [stdout] b7cd440b2017db4df44ac4b6b54085e48864da3847ab41422d3db8e3aca92fe7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7e22b4940c17ca57b5922a079524ee5e5ac8b3f011e9b0e3e24f6a371a350b0 [INFO] running `Command { std: "docker" "start" "-a" "d7e22b4940c17ca57b5922a079524ee5e5ac8b3f011e9b0e3e24f6a371a350b0", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling camino v1.1.12 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling bytecount v0.6.9 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling float-cmp v0.4.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling rand_xoshiro v0.1.0 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling criterion-plot v0.3.1 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling criterion v0.2.11 [INFO] [stderr] Compiling skeptic v0.13.7 [INFO] [stderr] Compiling black-jack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dataframe/io.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | let file_reader: Box = if self.path.to_string().to_lowercase().ends_with(".gz") { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 | let file_reader: Box = if self.path.to_string().to_lowercase().ends_with(".gz") { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dataframe/io.rs:241:30 [INFO] [stdout] | [INFO] [stdout] 241 | let file_writer: Box = if self.path.to_string().to_lowercase().ends_with(".gz") { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 241 | let file_writer: Box = if self.path.to_string().to_lowercase().ends_with(".gz") { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error/mod.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_BlackJackError` [INFO] [stdout] 7 | pub enum BlackJackError { [INFO] [stdout] | -------------- `BlackJackError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error/mod.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_BlackJackError` [INFO] [stdout] 7 | pub enum BlackJackError { [INFO] [stdout] | -------------- `BlackJackError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/series/mod.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn rolling(&self, window: usize) -> Rolling [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] 177 | pub fn rolling(&self, window: usize) -> Rolling<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `float_cmp::ApproxEq` [INFO] [stdout] --> tests/test_dataframe_selectors.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use float_cmp::ApproxEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/test_series_indexes.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let mut series = Series::from_vec(vec![1, 2, 3, 4, 5]); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `float_cmp::ApproxEq` [INFO] [stdout] --> tests/test_series.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use float_cmp::ApproxEq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dataframe/io.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | let file_reader: Box = if self.path.to_string().to_lowercase().ends_with(".gz") { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 113 | let file_reader: Box = if self.path.to_string().to_lowercase().ends_with(".gz") { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dataframe/io.rs:241:30 [INFO] [stdout] | [INFO] [stdout] 241 | let file_writer: Box = if self.path.to_string().to_lowercase().ends_with(".gz") { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 241 | let file_writer: Box = if self.path.to_string().to_lowercase().ends_with(".gz") { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error/mod.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_BlackJackError` [INFO] [stdout] 7 | pub enum BlackJackError { [INFO] [stdout] | -------------- `BlackJackError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error/mod.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_BlackJackError` [INFO] [stdout] 7 | pub enum BlackJackError { [INFO] [stdout] | -------------- `BlackJackError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/series/mod.rs:177:20 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn rolling(&self, window: usize) -> Rolling [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] 177 | pub fn rolling(&self, window: usize) -> Rolling<'_, T> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcnm8ZCP/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libfloat_cmp-aa1d27c93b92c248,libblackjack-a0f92e8ee9466999,libbincode-a5d33e5494890060,libprettytable-0b2ce360477ab07e,libcsv-ef2ec0901735e52e,libryu-0ea4bafc9bef6d8b,libitoa-6b76ec393d6a2c41,libcsv_core-3dc4a1b6bf5091c8,libencode_unicode-b09c4d608e656717,liblazy_static-b3603208c0de2608,libatty-6c4f4405874fa436,libterm-35430d67df9d897c,libdirs-8869d36f9f856f11,libbyteorder-1efcbe4f07366651,libunicode_width-08b963676a6677c5,libindexmap-aabe4307af1ccc85,libhashbrown-8ac6e23154e6c3d0,librgsl-8f4960ee3642fac4,libc_vec-2bdb67cf9162038e,libndarray-3f3a0f5fac54325c,libitertools-3bc103632cef3f18,libmatrixmultiply-f18003181a5e9615,librawpointer-15bb92437792cab4,libstats-84f32e0cc2a93df5,librayon-380c63807d2b5582,librayon_core-e3d7e751b31f5166,libcrossbeam_deque-ce08bd9aba37d973,libcrossbeam_epoch-0e344cb0f6dc787c,libcrossbeam_utils-57acb8582d3ed5fe,libitertools-360755d3269a22b7,libeither-3b4351e3b18e236a,libfailure-305a17201845d166,libbacktrace-c19f3780e5399056,libobject-d5677037c4d1136f,libmemchr-6f5829dadd40eda8,liblibc-a58beeab2e1413cc,libaddr2line-9b33b1b221c0ad25,libgimli-672214083c0de216,librustc_demangle-5999d1fab1f5d4fa,libflate2-65c17374eebe2050,libminiz_oxide-63622f1d3ce634bc,libadler2-6c84652b4f76062c,libcrc32fast-cb59b8a1512452f0,libcfg_if-666d36e5ee0df220,libserde-8c2aa93aa5bf8c28,libnum-c83d1794124ba8e0,libnum_rational-1e6a93bc41f35896,libnum_iter-34494f0cf0974599,libnum_complex-03f58ad84effa7dc,libnum_bigint-36661eb3286a23a4,libnum_integer-e040bf46f30c1e17,libnum_traits-e05972f153d0dad0,libbaggie-e32ea135a67c318e}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcnm8ZCP/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/test_series-7b005cf5bcd9cd70" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: gsl_stats_quantile_from_sorted_data [INFO] [stdout] >>> referenced by statistics.rs:405 (src/statistics.rs:405) [INFO] [stdout] >>> rgsl-8f4960ee3642fac4.rgsl.cec76a7ac468cf3d-cgu.2.rcgu.o:(rgsl::statistics::quantile_from_sorted_data::h71e53b2dd92e0330) in archive /opt/rustwide/target/debug/deps/librgsl-8f4960ee3642fac4.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `black-jack` (test "test_series") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d7e22b4940c17ca57b5922a079524ee5e5ac8b3f011e9b0e3e24f6a371a350b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7e22b4940c17ca57b5922a079524ee5e5ac8b3f011e9b0e3e24f6a371a350b0", kill_on_drop: false }` [INFO] [stdout] d7e22b4940c17ca57b5922a079524ee5e5ac8b3f011e9b0e3e24f6a371a350b0