[INFO] fetching crate linfa 0.7.1... [INFO] checking linfa-0.7.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate linfa 0.7.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate linfa 0.7.1 [INFO] finished tweaking crates.io crate linfa 0.7.1 [INFO] tweaked toml for crates.io crate linfa 0.7.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate linfa 0.7.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 307 packages to latest compatible versions [INFO] [stderr] Adding approx v0.4.0 (available: v0.5.1) [INFO] [stderr] Adding criterion v0.4.0 (available: v0.7.0) [INFO] [stderr] Adding ndarray v0.15.6 (available: v0.16.1) [INFO] [stderr] Adding ndarray-linalg v0.16.0 (available: v0.17.0) [INFO] [stderr] Adding ndarray-rand v0.14.0 (available: v0.15.0) [INFO] [stderr] Adding once_cell v1.19.0 (available: v1.21.3) [INFO] [stderr] Adding pprof v0.11.1 (available: v0.15.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding regex v1.10.6 (available: v1.11.2) [INFO] [stderr] Adding sprs v0.11.1 (available: v0.11.3) [INFO] [stderr] Adding statrs v0.16.1 (available: v0.18.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dda20b357ca23b754bffae037ffaf770ec6dd2f3d119a50a2aa1b68e356cede2 [INFO] running `Command { std: "docker" "start" "-a" "dda20b357ca23b754bffae037ffaf770ec6dd2f3d119a50a2aa1b68e356cede2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dda20b357ca23b754bffae037ffaf770ec6dd2f3d119a50a2aa1b68e356cede2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dda20b357ca23b754bffae037ffaf770ec6dd2f3d119a50a2aa1b68e356cede2", kill_on_drop: false }` [INFO] [stdout] dda20b357ca23b754bffae037ffaf770ec6dd2f3d119a50a2aa1b68e356cede2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e997a751ff914c24809eb152ce12e3a6fab4018b43794cdd6a0fbda21f80b40d [INFO] running `Command { std: "docker" "start" "-a" "e997a751ff914c24809eb152ce12e3a6fab4018b43794cdd6a0fbda21f80b40d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling linfa v0.7.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking simba v0.6.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking sprs v0.11.1 [INFO] [stderr] Checking ndarray-rand v0.14.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dataset/mod.rs:246:19 [INFO] [stdout] | [INFO] [stdout] 246 | fn as_targets(&self) -> ArrayView; [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] 246 | fn as_targets(&self) -> ArrayView<'_, Self::Elem, Self::Ix>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dataset/mod.rs:251:26 [INFO] [stdout] | [INFO] [stdout] 251 | fn as_single_targets(&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] 251 | fn as_single_targets(&self) -> ArrayView1<'_, Self::Elem> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dataset/mod.rs:258:25 [INFO] [stdout] | [INFO] [stdout] 258 | fn as_multi_targets(&self) -> ArrayView2 { [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] 258 | fn as_multi_targets(&self) -> ArrayView2<'_, Self::Elem> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dataset/mod.rs:285:23 [INFO] [stdout] | [INFO] [stdout] 285 | fn as_targets_mut(&mut self) -> ArrayViewMut; [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] 285 | fn as_targets_mut(&mut self) -> ArrayViewMut<'_, Self::Elem, Self::Ix>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dataset/mod.rs:290:30 [INFO] [stdout] | [INFO] [stdout] 290 | fn as_single_targets_mut(&mut self) -> ArrayViewMut1 { [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] 290 | fn as_single_targets_mut(&mut self) -> ArrayViewMut1<'_, Self::Elem> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dataset/mod.rs:297:29 [INFO] [stdout] | [INFO] [stdout] 297 | fn as_multi_targets_mut(&mut self) -> ArrayViewMut2 { [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] 297 | fn as_multi_targets_mut(&mut self) -> ArrayViewMut2<'_, Self::Elem> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dataset/mod.rs:307:38 [INFO] [stdout] | [INFO] [stdout] 307 | fn as_multi_target_probabilities(&self) -> CowArray; [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] 307 | fn as_multi_target_probabilities(&self) -> CowArray<'_, Pr, Ix3>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dataset/impl_dataset.rs:253:19 [INFO] [stdout] | [INFO] [stdout] 253 | fn as_targets(&self) -> ArrayView { [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] 253 | fn as_targets(&self) -> ArrayView<'_, Self::Elem, Self::Ix> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dataset/impl_dataset.rs:262:23 [INFO] [stdout] | [INFO] [stdout] 262 | fn as_targets_mut(&mut self) -> ArrayViewMut { [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] 262 | fn as_targets_mut(&mut self) -> ArrayViewMut<'_, Self::Elem, Self::Ix> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dataset/impl_targets.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | fn as_targets(&self) -> ArrayView { [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] 20 | fn as_targets(&self) -> ArrayView<'_, L, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dataset/impl_targets.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | fn as_targets_mut(&mut self) -> ArrayViewMut { [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] 47 | fn as_targets_mut(&mut self) -> ArrayViewMut<'_, Self::Elem, I> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dataset/impl_targets.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | fn as_targets(&self) -> ArrayView { [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] 59 | fn as_targets(&self) -> ArrayView<'_, Self::Elem, Self::Ix> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dataset/impl_targets.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | fn as_targets(&self) -> ArrayView { [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] 68 | fn as_targets(&self) -> ArrayView<'_, Self::Elem, Self::Ix> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dataset/impl_targets.rs:77:23 [INFO] [stdout] | [INFO] [stdout] 77 | fn as_targets_mut(&mut self) -> ArrayViewMut { [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] 77 | fn as_targets_mut(&mut self) -> ArrayViewMut<'_, Self::Elem, Self::Ix> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking nalgebra v0.29.0 [INFO] [stderr] Checking statrs v0.16.1 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linfa_datasets` [INFO] [stdout] --> src/dataset/mod.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | use linfa_datasets::generate::make_dataset; [INFO] [stdout] | ^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linfa_datasets` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `linfa_datasets`, use `cargo add linfa_datasets` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `linfa` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "e997a751ff914c24809eb152ce12e3a6fab4018b43794cdd6a0fbda21f80b40d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e997a751ff914c24809eb152ce12e3a6fab4018b43794cdd6a0fbda21f80b40d", kill_on_drop: false }` [INFO] [stdout] e997a751ff914c24809eb152ce12e3a6fab4018b43794cdd6a0fbda21f80b40d