[INFO] fetching crate scors 0.2.2... [INFO] checking scors-0.2.2 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate scors 0.2.2 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate scors 0.2.2 [INFO] finished tweaking crates.io crate scors 0.2.2 [INFO] tweaked toml for crates.io crate scors 0.2.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate scors 0.2.2 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate scors 0.2.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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded numpy v0.23.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58c8946915205ce7b3d81cb67c4ef1dd5eb5082bf1d9365716182721c1f5ff68 [INFO] running `Command { std: "docker" "start" "-a" "58c8946915205ce7b3d81cb67c4ef1dd5eb5082bf1d9365716182721c1f5ff68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58c8946915205ce7b3d81cb67c4ef1dd5eb5082bf1d9365716182721c1f5ff68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58c8946915205ce7b3d81cb67c4ef1dd5eb5082bf1d9365716182721c1f5ff68", kill_on_drop: false }` [INFO] [stdout] 58c8946915205ce7b3d81cb67c4ef1dd5eb5082bf1d9365716182721c1f5ff68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5dcd904f72999655fa7d60d13fae0737a2549f1c75d3cfbb28e37e128ef9d76 [INFO] running `Command { std: "docker" "start" "-a" "c5dcd904f72999655fa7d60d13fae0737a2549f1c75d3cfbb28e37e128ef9d76", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling pyo3-build-config v0.23.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Compiling pyo3-ffi v0.23.5 [INFO] [stderr] Compiling pyo3-macros-backend v0.23.5 [INFO] [stderr] Compiling pyo3 v0.23.5 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Compiling pyo3-macros v0.23.5 [INFO] [stderr] Checking numpy v0.23.0 [INFO] [stderr] Checking scors v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `arr2` in this scope [INFO] [stdout] --> src/lib.rs:958:20 [INFO] [stdout] | [INFO] [stdout] 958 | let data = arr2(&[[0.77395605, 0.43887844, 0.85859792], [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 908 + use ndarray::arr2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `arr3` in this scope [INFO] [stdout] --> src/lib.rs:967:20 [INFO] [stdout] | [INFO] [stdout] 967 | let data = arr3(&[[[0.77395605, 0.43887844, 0.85859792], [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 908 + use ndarray::arr3; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `arr1` in this scope [INFO] [stdout] --> src/lib.rs:976:24 [INFO] [stdout] | [INFO] [stdout] 976 | let expected = arr1(&[0.95385941, 0.62417001, 0.92228589, 0.90025417]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 908 + use ndarray::arr1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SortedSampleDescending` is never constructed [INFO] [stdout] --> src/lib.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 204 | struct SortedSampleDescending<'a, B, L, P, W> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 213 | / impl <'a, B, L, P, W> SortedSampleDescending<'a, B, L, P, W> [INFO] [stdout] 214 | | where B: BinaryLabel + Clone + 'a, &'a L: IntoIterator, &'a P: IntoIterator, &'a W: IntoIterator [INFO] [stdout] | |______________________________________________________________________________________________________________________________________________- associated function in this implementation [INFO] [stdout] 215 | { [INFO] [stdout] 216 | fn new(labels: &'a L, predictions: &'a P, weights: &'a W) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `scors` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "c5dcd904f72999655fa7d60d13fae0737a2549f1c75d3cfbb28e37e128ef9d76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5dcd904f72999655fa7d60d13fae0737a2549f1c75d3cfbb28e37e128ef9d76", kill_on_drop: false }` [INFO] [stdout] c5dcd904f72999655fa7d60d13fae0737a2549f1c75d3cfbb28e37e128ef9d76