[INFO] fetching crate easy-ml 1.4.0... [INFO] checking easy-ml-1.4.0 against master#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] extracting crate easy-ml 1.4.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate easy-ml 1.4.0 on toolchain 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate easy-ml 1.4.0 [INFO] finished tweaking crates.io crate easy-ml 1.4.0 [INFO] tweaked toml for crates.io crate easy-ml 1.4.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 80a76dfb9a6b78d1c46d8f7cb99c7b0b3541909824b8a91aceebaee93570be7f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "80a76dfb9a6b78d1c46d8f7cb99c7b0b3541909824b8a91aceebaee93570be7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "80a76dfb9a6b78d1c46d8f7cb99c7b0b3541909824b8a91aceebaee93570be7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80a76dfb9a6b78d1c46d8f7cb99c7b0b3541909824b8a91aceebaee93570be7f", kill_on_drop: false }` [INFO] [stdout] 80a76dfb9a6b78d1c46d8f7cb99c7b0b3541909824b8a91aceebaee93570be7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 62ad8b33079916663d76d5902b75d2ae01845433a6583bdcc4b25a883ffb3807 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "62ad8b33079916663d76d5902b75d2ae01845433a6583bdcc4b25a883ffb3807", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.70 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling bumpalo v3.5.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.70 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking drawille v0.2.3 [INFO] [stderr] Checking easy-ml v1.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Checking textplots v0.5.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.70 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.70 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.70 [INFO] [stderr] Checking js-sys v0.3.47 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/differentiation_nn.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | / Shape::Lines(&losses.iter() [INFO] [stdout] 94 | | .cloned() [INFO] [stdout] 95 | | .enumerate() [INFO] [stdout] 96 | | .map(|(i, x)| (i as f32, x)) [INFO] [stdout] 97 | | .collect::>()) [INFO] [stdout] | |______________________________________________^ expected `&Shape<'_>`, found enum `Shape` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 93 | &Shape::Lines(&losses.iter() [INFO] [stdout] 94 | .cloned() [INFO] [stdout] 95 | .enumerate() [INFO] [stdout] 96 | .map(|(i, x)| (i as f32, x)) [INFO] [stdout] 97 | .collect::>()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `easy-ml` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/bayesian_regression.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 132 | .lineplot(Shape::Lines(&merge_for_plotting(&x, &y))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Shape<'_>`, found enum `Shape` [INFO] [stdout] | help: consider borrowing here: `&Shape::Lines(&merge_for_plotting(&x, &y))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/bayesian_regression.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 133 | .lineplot(Shape::Points(&sort_and_merge_for_plotting(&observations, &targets))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Shape<'_>`, found enum `Shape` [INFO] [stdout] | help: consider borrowing here: `&Shape::Points(&sort_and_merge_for_plotting(&observations, &targets))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/bayesian_regression.rs:163:24 [INFO] [stdout] | [INFO] [stdout] 163 | chart.lineplot(Shape::Lines(&merge_for_plotting(&x, &y))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Shape<'_>`, found enum `Shape` [INFO] [stdout] | help: consider borrowing here: `&Shape::Lines(&merge_for_plotting(&x, &y))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/bayesian_regression.rs:167:28 [INFO] [stdout] | [INFO] [stdout] 167 | chart.lineplot(Shape::Lines(&merge_for_plotting( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 168 | | &x, [INFO] [stdout] 169 | | &Matrix::column(predicted_targets.column_iter(i).collect())))); [INFO] [stdout] | |_____________________________________________________________________________^ expected `&Shape<'_>`, found enum `Shape` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 167 | chart.lineplot(&Shape::Lines(&merge_for_plotting( [INFO] [stdout] 168 | &x, [INFO] [stdout] 169 | &Matrix::column(predicted_targets.column_iter(i).collect())))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/bayesian_regression.rs:178:24 [INFO] [stdout] | [INFO] [stdout] 178 | chart.lineplot(Shape::Points(&split_for_plotting(&weights))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Shape<'_>`, found enum `Shape` [INFO] [stdout] | help: consider borrowing here: `&Shape::Points(&split_for_plotting(&weights))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/bayesian_regression.rs:203:27 [INFO] [stdout] | [INFO] [stdout] 203 | .lineplot(Shape::Points(&sort_and_merge_for_plotting(&observations_n, &targets_n))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Shape<'_>`, found enum `Shape` [INFO] [stdout] | help: consider borrowing here: `&Shape::Points(&sort_and_merge_for_plotting(&observations_n, &targets_n))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/bayesian_regression.rs:230:28 [INFO] [stdout] | [INFO] [stdout] 230 | chart.lineplot(Shape::Lines(&merge_for_plotting(&x, &y))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Shape<'_>`, found enum `Shape` [INFO] [stdout] | help: consider borrowing here: `&Shape::Lines(&merge_for_plotting(&x, &y))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/bayesian_regression.rs:234:32 [INFO] [stdout] | [INFO] [stdout] 234 | chart.lineplot(Shape::Lines(&merge_for_plotting( [INFO] [stdout] | ________________________________^ [INFO] [stdout] 235 | | &x, [INFO] [stdout] 236 | | &Matrix::column(predicted_targets.column_iter(i).collect())))); [INFO] [stdout] | |_________________________________________________________________________________^ expected `&Shape<'_>`, found enum `Shape` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 234 | chart.lineplot(&Shape::Lines(&merge_for_plotting( [INFO] [stdout] 235 | &x, [INFO] [stdout] 236 | &Matrix::column(predicted_targets.column_iter(i).collect())))); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/bayesian_regression.rs:245:28 [INFO] [stdout] | [INFO] [stdout] 245 | chart.lineplot(Shape::Points(&split_for_plotting(&weights))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&Shape<'_>`, found enum `Shape` [INFO] [stdout] | help: consider borrowing here: `&Shape::Points(&split_for_plotting(&weights))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "62ad8b33079916663d76d5902b75d2ae01845433a6583bdcc4b25a883ffb3807", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62ad8b33079916663d76d5902b75d2ae01845433a6583bdcc4b25a883ffb3807", kill_on_drop: false }` [INFO] [stdout] 62ad8b33079916663d76d5902b75d2ae01845433a6583bdcc4b25a883ffb3807