[INFO] fetching crate rag-umap 0.0.0... [INFO] testing rag-umap-0.0.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rag-umap 0.0.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate rag-umap 0.0.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rag-umap 0.0.0 [INFO] tweaked toml for crates.io crate rag-umap 0.0.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rag-umap 0.0.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rag-umap 0.0.0 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6a85ffc97792053c5fea20136305cc0286448f245c55ad88d95b42a60f35f1b [INFO] running `Command { std: "docker" "start" "-a" "f6a85ffc97792053c5fea20136305cc0286448f245c55ad88d95b42a60f35f1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6a85ffc97792053c5fea20136305cc0286448f245c55ad88d95b42a60f35f1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6a85ffc97792053c5fea20136305cc0286448f245c55ad88d95b42a60f35f1b", kill_on_drop: false }` [INFO] [stdout] f6a85ffc97792053c5fea20136305cc0286448f245c55ad88d95b42a60f35f1b [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 384ed207adfb1c3fef74e9b9fd882c72a3f750c6944e8a89297b14c92f60bc6e [INFO] running `Command { std: "docker" "start" "-a" "384ed207adfb1c3fef74e9b9fd882c72a3f750c6944e8a89297b14c92f60bc6e", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling nalgebra v0.32.6 [INFO] [stderr] Compiling rag-umap v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `hi` is never read [INFO] [stdout] --> src/simplicial_set.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut hi = f64::INFINITY; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ManhattanDistance` is never constructed [INFO] [stdout] --> src/distance.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct ManhattanDistance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CosineDistance` is never constructed [INFO] [stdout] --> src/distance.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct CosineDistance; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HammingDistance` is never constructed [INFO] [stdout] --> src/distance.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct HammingDistance; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChebyshevDistance` is never constructed [INFO] [stdout] --> src/distance.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct ChebyshevDistance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MinkowskiDistance` is never constructed [INFO] [stdout] --> src/distance.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct MinkowskiDistance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JaccardDistance` is never constructed [INFO] [stdout] --> src/distance.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct JaccardDistance; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.79s [INFO] running `Command { std: "docker" "inspect" "384ed207adfb1c3fef74e9b9fd882c72a3f750c6944e8a89297b14c92f60bc6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "384ed207adfb1c3fef74e9b9fd882c72a3f750c6944e8a89297b14c92f60bc6e", kill_on_drop: false }` [INFO] [stdout] 384ed207adfb1c3fef74e9b9fd882c72a3f750c6944e8a89297b14c92f60bc6e [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24df7a267a1a7425864b018f04d5990b78ac277da3482ba654d13e04709a1a0e [INFO] running `Command { std: "docker" "start" "-a" "24df7a267a1a7425864b018f04d5990b78ac277da3482ba654d13e04709a1a0e", kill_on_drop: false }` [INFO] [stdout] warning: value assigned to `hi` is never read [INFO] [stdout] --> src/simplicial_set.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut hi = f64::INFINITY; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ManhattanDistance` is never constructed [INFO] [stdout] --> src/distance.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct ManhattanDistance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CosineDistance` is never constructed [INFO] [stdout] --> src/distance.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct CosineDistance; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HammingDistance` is never constructed [INFO] [stdout] --> src/distance.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct HammingDistance; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChebyshevDistance` is never constructed [INFO] [stdout] --> src/distance.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct ChebyshevDistance; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MinkowskiDistance` is never constructed [INFO] [stdout] --> src/distance.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct MinkowskiDistance { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JaccardDistance` is never constructed [INFO] [stdout] --> src/distance.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub struct JaccardDistance; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rag-umap v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> examples/high_dimensional.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::f64::consts::PI; [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: `crate::distance::EuclideanDistance` [INFO] [stdout] --> src/simplicial_set.rs:244:9 [INFO] [stdout] | [INFO] [stdout] 244 | use crate::distance::EuclideanDistance; [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: `crate::nearest_neighbor::KnnList` [INFO] [stdout] --> src/simplicial_set.rs:245:9 [INFO] [stdout] | [INFO] [stdout] 245 | use crate::nearest_neighbor::KnnList; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray::Array2` [INFO] [stdout] --> src/simplicial_set.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | use ndarray::Array2; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray::Array2` [INFO] [stdout] --> src/lib.rs:326:9 [INFO] [stdout] | [INFO] [stdout] 326 | use ndarray::Array2; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_random_high_dim_data` is never used [INFO] [stdout] --> examples/high_dimensional.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn generate_random_high_dim_data(n_samples: usize, n_dims: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `distance::MinkowskiDistance` in the current scope [INFO] [stdout] --> src/distance.rs:240:43 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct MinkowskiDistance { [INFO] [stdout] | ---------------------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 240 | let distance = MinkowskiDistance::new(1.0); [INFO] [stdout] | ^^^ function or associated item not found in `distance::MinkowskiDistance` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `DataOwned` [INFO] [stdout] candidate #2: `UniformSampler` [INFO] [stdout] candidate #3: `typenum::Bit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `distance::MinkowskiDistance` in the current scope [INFO] [stdout] --> src/distance.rs:245:43 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct MinkowskiDistance { [INFO] [stdout] | ---------------------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 245 | let distance = MinkowskiDistance::new(2.0); [INFO] [stdout] | ^^^ function or associated item not found in `distance::MinkowskiDistance` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `DataOwned` [INFO] [stdout] candidate #2: `UniformSampler` [INFO] [stdout] candidate #3: `typenum::Bit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `compute_normalized_laplacian` in this scope [INFO] [stdout] --> src/spectral.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | let laplacian = compute_normalized_laplacian(&adjacency).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `simple_force_directed_layout` in this scope [INFO] [stdout] --> src/optimization.rs:366:22 [INFO] [stdout] | [INFO] [stdout] 366 | let result = simple_force_directed_layout(&mut embedding, &fuzzy_set, 10, 0.1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `min_dist` found for struct `UmapParams` in the current scope [INFO] [stdout] --> src/lib.rs:333:14 [INFO] [stdout] | [INFO] [stdout] 40 | struct UmapParams { [INFO] [stdout] | ----------------- method `min_dist` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 330 | let valid_params = UmapParams::new() [INFO] [stdout] | ____________________________- [INFO] [stdout] 331 | | .n_neighbors(10) [INFO] [stdout] 332 | | .n_components(2) [INFO] [stdout] 333 | | .min_dist(0.1); [INFO] [stdout] | | -^^^^^^^^----- help: remove the arguments [INFO] [stdout] | | || [INFO] [stdout] | |_____________|field, not a method [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `vertex_degree` found for struct `FuzzySimplicialSet` in the current scope [INFO] [stdout] --> src/lib.rs:348:27 [INFO] [stdout] | [INFO] [stdout] 134 | struct FuzzySimplicialSet { [INFO] [stdout] | ------------------------- method `vertex_degree` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 348 | assert_eq!(fs_set.vertex_degree(0), 0.5); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `FuzzySimplicialSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `vertex_degree` found for struct `FuzzySimplicialSet` in the current scope [INFO] [stdout] --> src/lib.rs:349:27 [INFO] [stdout] | [INFO] [stdout] 134 | struct FuzzySimplicialSet { [INFO] [stdout] | ------------------------- method `vertex_degree` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 349 | assert_eq!(fs_set.vertex_degree(1), 0.8); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `FuzzySimplicialSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `hi` is never read [INFO] [stdout] --> src/simplicial_set.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let mut hi = f64::INFINITY; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rag-umap` (lib test) due to 7 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "24df7a267a1a7425864b018f04d5990b78ac277da3482ba654d13e04709a1a0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24df7a267a1a7425864b018f04d5990b78ac277da3482ba654d13e04709a1a0e", kill_on_drop: false }` [INFO] [stdout] 24df7a267a1a7425864b018f04d5990b78ac277da3482ba654d13e04709a1a0e