[INFO] fetching crate changeforest 1.1.4... [INFO] testing changeforest-1.1.4 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate changeforest 1.1.4 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate changeforest 1.1.4 [INFO] finished tweaking crates.io crate changeforest 1.1.4 [INFO] tweaked toml for crates.io crate changeforest 1.1.4 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate changeforest 1.1.4 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 67 packages to latest compatible versions [INFO] [stderr] Adding biosphere v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding ndarray v0.15.6 (available: v0.16.1) [INFO] [stderr] Adding ndarray-rand v0.14.0 (available: v0.15.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rstest v0.18.2 (available: v0.26.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 ndarray-csv v0.5.3 [INFO] [stderr] Downloaded biosphere v0.3.0 [INFO] [stderr] Downloaded ndarray-rand v0.14.0 [INFO] [stderr] Downloaded rstest v0.18.2 [INFO] [stderr] Downloaded rstest_macros v0.18.2 [INFO] [stderr] Downloaded ndarray v0.15.6 [INFO] [stderr] Downloaded ndarray v0.16.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] f4a7867af1bae144e238cc5229397eaf61968375fa84eebee902a6a09f731e15 [INFO] running `Command { std: "docker" "start" "-a" "f4a7867af1bae144e238cc5229397eaf61968375fa84eebee902a6a09f731e15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4a7867af1bae144e238cc5229397eaf61968375fa84eebee902a6a09f731e15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4a7867af1bae144e238cc5229397eaf61968375fa84eebee902a6a09f731e15", kill_on_drop: false }` [INFO] [stdout] f4a7867af1bae144e238cc5229397eaf61968375fa84eebee902a6a09f731e15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 7846a5231e2cc21b2e4034dbc0b4c4392c2ff32c75e10a5a70a92973a7fcc47a [INFO] running `Command { std: "docker" "start" "-a" "7846a5231e2cc21b2e4034dbc0b4c4392c2ff32c75e10a5a70a92973a7fcc47a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling biosphere v0.3.0 [INFO] [stderr] Compiling changeforest v1.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/classifier/knn.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | fn get_ordering(&self) -> Ref> { [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] 51 | fn get_ordering(&self) -> Ref<'_, Array2> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gain/change_in_mean.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_cumsum(&self) -> Ref> { [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] 31 | fn get_cumsum(&self) -> Ref<'_, ndarray::Array2> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.09s [INFO] running `Command { std: "docker" "inspect" "7846a5231e2cc21b2e4034dbc0b4c4392c2ff32c75e10a5a70a92973a7fcc47a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7846a5231e2cc21b2e4034dbc0b4c4392c2ff32c75e10a5a70a92973a7fcc47a", kill_on_drop: false }` [INFO] [stdout] 7846a5231e2cc21b2e4034dbc0b4c4392c2ff32c75e10a5a70a92973a7fcc47a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 523a86b5b21f6dec6008ac976fe38fc15956d49037f3f0249c436feafea73a51 [INFO] running `Command { std: "docker" "start" "-a" "523a86b5b21f6dec6008ac976fe38fc15956d49037f3f0249c436feafea73a51", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling rstest_macros v0.18.2 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling assert_approx_eq v1.1.0 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling ndarray v0.16.1 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling biosphere v0.3.0 [INFO] [stderr] Compiling ndarray-rand v0.14.0 [INFO] [stderr] Compiling changeforest v1.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling ndarray-csv v0.5.3 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/classifier/knn.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | fn get_ordering(&self) -> Ref> { [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] 51 | fn get_ordering(&self) -> Ref<'_, Array2> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/gain/change_in_mean.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 31 | fn get_cumsum(&self) -> Ref> { [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] 31 | fn get_cumsum(&self) -> Ref<'_, ndarray::Array2> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rstest v0.18.2 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/test_integration.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | let X: Array2 = reader.deserialize_array2((150, 4)).unwrap(); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ArrayBase, ...>`, found `ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `ndarray` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/lib.rs:1268:1 [INFO] [stdout] | [INFO] [stdout] 1268 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/lib.rs:1280:1 [INFO] [stdout] | [INFO] [stdout] 1280 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: tests/test_integration.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::Array2; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] 7 | use ndarray_csv::Array2Reader; [INFO] [stdout] | ----------- one version of crate `ndarray` used here, as a dependency of crate `ndarray_csv` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/test_integration.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | let X: Array2 = reader.deserialize_array2((20000, 16)).unwrap(); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ArrayBase, ...>`, found `ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `ndarray` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/lib.rs:1268:1 [INFO] [stdout] | [INFO] [stdout] 1268 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/lib.rs:1280:1 [INFO] [stdout] | [INFO] [stdout] 1280 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: tests/test_integration.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use ndarray::Array2; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] 7 | use ndarray_csv::Array2Reader; [INFO] [stdout] | ----------- one version of crate `ndarray` used here, as a dependency of crate `ndarray_csv` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `changeforest` (test "test_integration") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/classifier/random_forest.rs:77:30 [INFO] [stdout] | [INFO] [stdout] 77 | let X: Array2 = reader.deserialize_array2((150, 4)).unwrap(); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `ArrayBase, ...>`, found `ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] | [INFO] [stdout] note: two different versions of crate `ndarray` are being used; two types coming from two different versions of the same crate are different types even if they look the same [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.15.6/src/lib.rs:1268:1 [INFO] [stdout] | [INFO] [stdout] 1268 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type `ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ndarray-0.16.1/src/lib.rs:1280:1 [INFO] [stdout] | [INFO] [stdout] 1280 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ this is the found type `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] ::: src/classifier/classifier.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ndarray::{s, stack, Array1, Array2, Axis}; [INFO] [stdout] | ------- one version of crate `ndarray` used here, as a direct dependency of the current crate [INFO] [stdout] | [INFO] [stdout] ::: src/classifier/random_forest.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | use ndarray_csv::Array2Reader; [INFO] [stdout] | ----------- one version of crate `ndarray` used here, as a dependency of crate `ndarray_csv` [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `changeforest` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "523a86b5b21f6dec6008ac976fe38fc15956d49037f3f0249c436feafea73a51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "523a86b5b21f6dec6008ac976fe38fc15956d49037f3f0249c436feafea73a51", kill_on_drop: false }` [INFO] [stdout] 523a86b5b21f6dec6008ac976fe38fc15956d49037f3f0249c436feafea73a51