[INFO] fetching crate s2gpp 1.0.2... [INFO] testing s2gpp-1.0.2 against 1.91.0 for beta-1.92-2 [INFO] extracting crate s2gpp 1.0.2 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate s2gpp 1.0.2 [INFO] finished tweaking crates.io crate s2gpp 1.0.2 [INFO] tweaked toml for crates.io crate s2gpp 1.0.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate s2gpp 1.0.2 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate s2gpp 1.0.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_with_macros v1.5.2 [INFO] [stderr] Downloaded crossbeam-deque v0.8.1 [INFO] [stderr] Downloaded crossbeam-utils v0.8.8 [INFO] [stderr] Downloaded kdtree v0.6.0 [INFO] [stderr] Downloaded num_enum v0.5.7 [INFO] [stderr] Downloaded actix_telepathy_derive v0.3.0 [INFO] [stderr] Downloaded cauchy v0.4.0 [INFO] [stderr] Downloaded lapack-sys v0.12.1 [INFO] [stderr] Downloaded lax v0.2.0 [INFO] [stderr] Downloaded actix-broker v0.4.1 [INFO] [stderr] Downloaded flexbuffers v2.0.0 [INFO] [stderr] Downloaded actix v0.12.0 [INFO] [stderr] Downloaded crossbeam-channel v0.5.4 [INFO] [stderr] Downloaded regex v1.5.6 [INFO] [stderr] Downloaded ndarray v0.15.4 [INFO] [stderr] Downloaded lapack v0.18.0 [INFO] [stderr] Downloaded trust-dns-proto v0.20.4 [INFO] [stderr] Downloaded ndarray-linalg v0.14.1 [INFO] [stderr] Downloaded indexmap v1.8.2 [INFO] [stderr] Downloaded regex-syntax v0.6.26 [INFO] [stderr] Downloaded pyo3 v0.16.5 [INFO] [stderr] Downloaded ndarray-stats v0.5.0 [INFO] [stderr] Downloaded numpy v0.16.2 [INFO] [stderr] Downloaded pyo3-ffi v0.16.5 [INFO] [stderr] Downloaded pyo3-macros-backend v0.16.5 [INFO] [stderr] Downloaded syn v1.0.96 [INFO] [stderr] Downloaded serde_yaml v0.8.24 [INFO] [stderr] Downloaded num_enum_derive v0.5.7 [INFO] [stderr] Downloaded anyhow v1.0.57 [INFO] [stderr] Downloaded dirs v3.0.2 [INFO] [stderr] Downloaded num-complex v0.4.1 [INFO] [stderr] Downloaded port_scanner v0.1.5 [INFO] [stderr] Downloaded indoc v1.0.6 [INFO] [stderr] Downloaded pyo3-build-config v0.16.5 [INFO] [stderr] Downloaded ndarray_einsum_beta v0.7.0 [INFO] [stderr] Downloaded matrixmultiply v0.3.2 [INFO] [stderr] Downloaded target-lexicon v0.12.4 [INFO] [stderr] Downloaded meanshift-rs v0.8.0 [INFO] [stderr] Downloaded sortedvec v0.5.0 [INFO] [stderr] Downloaded openblas-build v0.1.1 [INFO] [stderr] Downloaded pyo3-macros v0.16.5 [INFO] [stderr] Downloaded unindent v0.1.9 [INFO] [stderr] Downloaded mio v0.8.3 [INFO] [stderr] Downloaded semver v1.0.10 [INFO] [stderr] Downloaded linked-hash-map v0.5.4 [INFO] [stderr] Downloaded resolv-conf v0.7.0 [INFO] [stderr] Downloaded async-trait v0.1.56 [INFO] [stderr] Downloaded trust-dns-resolver v0.20.4 [INFO] [stderr] Downloaded actix-telepathy v0.4.1 [INFO] [stderr] Downloaded console v0.15.0 [INFO] [stderr] Downloaded actix_derive v0.6.0 [INFO] [stderr] Downloaded actix-macros v0.2.3 [INFO] [stderr] Downloaded thiserror-impl v1.0.31 [INFO] [stderr] Downloaded thiserror v1.0.31 [INFO] [stderr] Downloaded cblas-sys v0.1.4 [INFO] [stderr] Downloaded actix-rt v2.7.0 [INFO] [stderr] Downloaded sorted-vec v0.5.2 [INFO] [stderr] Downloaded serde_with v1.14.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.39 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.8 [INFO] [stderr] Downloaded openblas-src v0.10.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01ae03c1af2c0a1894392012de6b333ac79a29d0dff4e00b851ba904eaa82efc [INFO] running `Command { std: "docker" "start" "-a" "01ae03c1af2c0a1894392012de6b333ac79a29d0dff4e00b851ba904eaa82efc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01ae03c1af2c0a1894392012de6b333ac79a29d0dff4e00b851ba904eaa82efc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01ae03c1af2c0a1894392012de6b333ac79a29d0dff4e00b851ba904eaa82efc", kill_on_drop: false }` [INFO] [stdout] 01ae03c1af2c0a1894392012de6b333ac79a29d0dff4e00b851ba904eaa82efc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 354828d94408ade0fdf2f300c08fd5a977d614e123376c850b6e4dc5c7bd920f [INFO] running `Command { std: "docker" "start" "-a" "354828d94408ade0fdf2f300c08fd5a977d614e123376c850b6e4dc5c7bd920f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling tokio v1.19.2 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling cblas-sys v0.1.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling lapack-sys v0.12.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling noisy_float v0.2.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling kdtree v0.6.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling sorted-vec v0.5.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling sortedvec v0.5.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling actix_derive v0.6.0 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling openblas-build v0.1.1 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling openblas-src v0.10.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling actix v0.12.0 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling trust-dns-proto v0.20.4 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling actix-broker v0.4.1 [INFO] [stderr] Compiling trust-dns-resolver v0.20.4 [INFO] [stderr] Compiling num-complex v0.4.1 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling serde_yaml v0.8.24 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling ndarray v0.15.4 [INFO] [stderr] Compiling lapack v0.18.0 [INFO] [stderr] Compiling cauchy v0.4.0 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling actix_telepathy_derive v0.3.0 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Compiling num_enum v0.5.7 [INFO] [stderr] Compiling flexbuffers v2.0.0 [INFO] [stderr] Compiling actix-telepathy v0.4.1 [INFO] [stderr] Compiling ndarray-stats v0.5.0 [INFO] [stderr] Compiling ndarray_einsum_beta v0.7.0 [INFO] [stderr] Compiling meanshift-rs v0.8.0 [INFO] [stderr] Compiling lax v0.2.0 [INFO] [stderr] Compiling ndarray-linalg v0.14.1 [INFO] [stderr] Compiling s2gpp v1.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `messages::DataReceivedMessage` [INFO] [stdout] --> src/data_manager/data_reader/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use messages::DataReceivedMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PCAMessage` [INFO] [stdout] --> src/training/rotation/pca/mod.rs:15:78 [INFO] [stdout] | [INFO] [stdout] 15 | PCAComponents, PCADecompositionMessage, PCADoneMessage, PCAMeansMessage, PCAMessage, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataReceivedMessage` is never constructed [INFO] [stdout] --> src/data_manager/data_reader/messages.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DataReceivedMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `column` and `processed_column` are never read [INFO] [stdout] --> src/data_manager/preprocessor/messages.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ProcessedColumnMessage { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 19 | pub column: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | pub processed_column: Array1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DatasetStatsMessage` is never constructed [INFO] [stdout] --> src/data_manager/stats_collector/messages.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct DatasetStatsMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StartRotation` is never constructed [INFO] [stdout] --> src/training/rotation/messages.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct StartRotation { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PCAMessage` is never constructed [INFO] [stdout] --> src/training/rotation/pca/messages.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PCAMessage { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ArcArray3` is never used [INFO] [stdout] --> src/utils/mod.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub type ArcArray3 = ArcArray; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `all` is never used [INFO] [stdout] --> src/utils/ndarray_extensions/boolean.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) trait BooleanCollectives { [INFO] [stdout] | ------------------ method in this trait [INFO] [stdout] 5 | fn all(&self) -> bool; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IndexArr` is never used [INFO] [stdout] --> src/utils/ndarray_extensions/index_arr.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait IndexArr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Shift` is never used [INFO] [stdout] --> src/utils/ndarray_extensions/shift.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) trait Shift { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Softmax` is never used [INFO] [stdout] --> src/utils/ndarray_extensions/softmax.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) trait Softmax [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `result` is never read [INFO] [stdout] --> src/interface/sink.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct SinkActor [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | pub result: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/data_store/intersection.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_coordinates(&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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_coordinates(&self) -> ArrayView1<'_, f32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/training/scoring/weights.rs:133:56 [INFO] [stdout] | [INFO] [stdout] 133 | .map(|(node, degree)| (node.deref().deref().clone(), *degree)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `IndependentNode` does not implement `Deref`, so calling `deref` on `&IndependentNode` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 133 - .map(|(node, degree)| (node.deref().deref().clone(), *degree)) [INFO] [stdout] 133 + .map(|(node, degree)| (node.deref().clone(), *degree)) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `IndependentNode`, implement `Clone` for it [INFO] [stdout] --> src/data_store/node/independent.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(Clone)] [INFO] [stdout] 7 | pub(crate) struct IndependentNode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/float_approx.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_array_view(array: ArrayView1) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the 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] 27 | pub fn from_array_view(array: ArrayView1<'_, A>) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 25s [INFO] running `Command { std: "docker" "inspect" "354828d94408ade0fdf2f300c08fd5a977d614e123376c850b6e4dc5c7bd920f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "354828d94408ade0fdf2f300c08fd5a977d614e123376c850b6e4dc5c7bd920f", kill_on_drop: false }` [INFO] [stdout] 354828d94408ade0fdf2f300c08fd5a977d614e123376c850b6e4dc5c7bd920f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 079b0fe7aaca138476594bdb58f2216f81c90010350fc6e084c65d69b24e771f [INFO] running `Command { std: "docker" "start" "-a" "079b0fe7aaca138476594bdb58f2216f81c90010350fc6e084c65d69b24e771f", kill_on_drop: false }` [INFO] [stderr] Compiling port_scanner v0.1.5 [INFO] [stdout] warning: unused import: `messages::DataReceivedMessage` [INFO] [stdout] --> src/data_manager/data_reader/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use messages::DataReceivedMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PCAMessage` [INFO] [stdout] --> src/training/rotation/pca/mod.rs:15:78 [INFO] [stdout] | [INFO] [stdout] 15 | PCAComponents, PCADecompositionMessage, PCADoneMessage, PCAMeansMessage, PCAMessage, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataReceivedMessage` is never constructed [INFO] [stdout] --> src/data_manager/data_reader/messages.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct DataReceivedMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `column` and `processed_column` are never read [INFO] [stdout] --> src/data_manager/preprocessor/messages.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ProcessedColumnMessage { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 19 | pub column: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | pub processed_column: Array1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DatasetStatsMessage` is never constructed [INFO] [stdout] --> src/data_manager/stats_collector/messages.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct DatasetStatsMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StartRotation` is never constructed [INFO] [stdout] --> src/training/rotation/messages.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct StartRotation { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PCAMessage` is never constructed [INFO] [stdout] --> src/training/rotation/pca/messages.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct PCAMessage { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ArcArray3` is never used [INFO] [stdout] --> src/utils/mod.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | pub type ArcArray3 = ArcArray; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `all` is never used [INFO] [stdout] --> src/utils/ndarray_extensions/boolean.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) trait BooleanCollectives { [INFO] [stdout] | ------------------ method in this trait [INFO] [stdout] 5 | fn all(&self) -> bool; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IndexArr` is never used [INFO] [stdout] --> src/utils/ndarray_extensions/index_arr.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait IndexArr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Shift` is never used [INFO] [stdout] --> src/utils/ndarray_extensions/shift.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) trait Shift { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Softmax` is never used [INFO] [stdout] --> src/utils/ndarray_extensions/softmax.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) trait Softmax [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `result` is never read [INFO] [stdout] --> src/interface/sink.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 59 | pub struct SinkActor [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 64 | pub result: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/data_store/intersection.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_coordinates(&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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_coordinates(&self) -> ArrayView1<'_, f32> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/training/scoring/weights.rs:133:56 [INFO] [stdout] | [INFO] [stdout] 133 | .map(|(node, degree)| (node.deref().deref().clone(), *degree)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `IndependentNode` does not implement `Deref`, so calling `deref` on `&IndependentNode` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 133 - .map(|(node, degree)| (node.deref().deref().clone(), *degree)) [INFO] [stdout] 133 + .map(|(node, degree)| (node.deref().clone(), *degree)) [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `IndependentNode`, implement `Clone` for it [INFO] [stdout] --> src/data_store/node/independent.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 + #[derive(Clone)] [INFO] [stdout] 7 | pub(crate) struct IndependentNode { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/float_approx.rs:27:35 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn from_array_view(array: ArrayView1) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the 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] 27 | pub fn from_array_view(array: ArrayView1<'_, A>) -> Vec> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling s2gpp v1.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error: expected identifier, found metavariable [INFO] [stdout] --> src/training/node_estimation/multi_kde/gaussian_kde.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | assert_close_l1!(&result, &expected, 0.0000001); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected identifier, found metavariable [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_close_l1` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found metavariable [INFO] [stdout] --> src/training/node_estimation/multi_kde/gaussian_kernel_estimate.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | assert_close_l1!(&result, &expected, 0.0000001) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected identifier, found metavariable [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_close_l1` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found metavariable [INFO] [stdout] --> src/training/node_estimation/multi_kde/mod.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | assert_close_l1!(&Array1::from_vec(peaks), &Array1::from_vec(expected), 0.4) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected identifier, found metavariable [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_close_l1` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `messages::DataReceivedMessage` [INFO] [stdout] --> src/data_manager/data_reader/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use messages::DataReceivedMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PCAMessage` [INFO] [stdout] --> src/training/rotation/pca/mod.rs:15:78 [INFO] [stdout] | [INFO] [stdout] 15 | PCAComponents, PCADecompositionMessage, PCADoneMessage, PCAMeansMessage, PCAMessage, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `s2gpp` (lib test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "079b0fe7aaca138476594bdb58f2216f81c90010350fc6e084c65d69b24e771f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "079b0fe7aaca138476594bdb58f2216f81c90010350fc6e084c65d69b24e771f", kill_on_drop: false }` [INFO] [stdout] 079b0fe7aaca138476594bdb58f2216f81c90010350fc6e084c65d69b24e771f