[INFO] cloning repository https://github.com/Jgansaown/digit-recognizer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jgansaown/digit-recognizer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJgansaown%2Fdigit-recognizer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJgansaown%2Fdigit-recognizer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ceac43103b6e7c1dc6681a67936e4fa8860c1b87 [INFO] checking Jgansaown/digit-recognizer against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJgansaown%2Fdigit-recognizer" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Jgansaown/digit-recognizer [INFO] finished tweaking git repo https://github.com/Jgansaown/digit-recognizer [INFO] tweaked toml for git repo https://github.com/Jgansaown/digit-recognizer written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Jgansaown/digit-recognizer on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Jgansaown/digit-recognizer 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.38 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.38 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.88 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.88 [INFO] [stderr] Downloaded ndarray-rand v0.14.0 [INFO] [stderr] Downloaded rawpointer v0.2.1 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.88 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.38 [INFO] [stderr] Downloaded noisy_float v0.2.0 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.88 [INFO] [stderr] Downloaded num-complex v0.4.3 [INFO] [stderr] Downloaded rand_distr v0.4.3 [INFO] [stderr] Downloaded matrixmultiply v0.3.7 [INFO] [stderr] Downloaded wasm-bindgen v0.2.88 [INFO] [stderr] Downloaded ndarray-stats v0.5.1 [INFO] [stderr] Downloaded js-sys v0.3.65 [INFO] [stderr] Downloaded syn v2.0.29 [INFO] [stderr] Downloaded ndarray v0.15.6 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25c08d04965330cf0c8e8dd39edfcb9bf6f1af5bf29d0f3499b8746eaf78a115 [INFO] running `Command { std: "docker" "start" "-a" "25c08d04965330cf0c8e8dd39edfcb9bf6f1af5bf29d0f3499b8746eaf78a115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25c08d04965330cf0c8e8dd39edfcb9bf6f1af5bf29d0f3499b8746eaf78a115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25c08d04965330cf0c8e8dd39edfcb9bf6f1af5bf29d0f3499b8746eaf78a115", kill_on_drop: false }` [INFO] [stdout] 25c08d04965330cf0c8e8dd39edfcb9bf6f1af5bf29d0f3499b8746eaf78a115 [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 732ff897a2703586114efca574eab5499051bed02dbba8dc878778afaf06f735 [INFO] running `Command { std: "docker" "start" "-a" "732ff897a2703586114efca574eab5499051bed02dbba8dc878778afaf06f735", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.88 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling bumpalo v3.13.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.88 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-complex v0.4.3 [INFO] [stderr] Checking noisy_float v0.2.0 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.88 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.38 [INFO] [stderr] Checking ndarray-stats v0.5.1 [INFO] [stderr] Checking ndarray-rand v0.14.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.88 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.88 [INFO] [stderr] Checking js-sys v0.3.65 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking mnist v0.1.0 (/opt/rustwide/workdir/wasm) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> wasm/src/dataset/mod.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn at(&self, i: usize) -> (ArrayView1, ArrayView1) { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] 55 | pub fn at(&self, i: usize) -> (ArrayView1<'_, f64>, ArrayView1<'_, f64>) { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> wasm/src/dataset/mod.rs:59:36 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn observation_target_iter(&self) -> ObservationTargetIter { [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 | pub fn observation_target_iter(&self) -> ObservationTargetIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> wasm/src/dataset/mod.rs:63:35 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn observation_label_iter(&self) -> ObservationLabelIter { [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] 63 | pub fn observation_label_iter(&self) -> ObservationLabelIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wasm-bindgen-futures v0.4.38 [INFO] [stderr] Checking wasm-bindgen-test v0.3.38 [INFO] [stdout] warning: function `print_image` is never used [INFO] [stdout] --> wasm/examples/test-models.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn print_image(data: ArrayView1) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_kmeans` is never used [INFO] [stdout] --> wasm/examples/test-models.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn test_kmeans(training: &Dataset, testing: &Dataset, max_iteration: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_knn` is never used [INFO] [stdout] --> wasm/examples/test-models.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn test_knn(training: &Dataset, testing: &Dataset, max_iteration: usize) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> wasm/src/dataset/mod.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn at(&self, i: usize) -> (ArrayView1, ArrayView1) { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [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] 55 | pub fn at(&self, i: usize) -> (ArrayView1<'_, f64>, ArrayView1<'_, f64>) { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> wasm/src/dataset/mod.rs:59:36 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn observation_target_iter(&self) -> ObservationTargetIter { [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 | pub fn observation_target_iter(&self) -> ObservationTargetIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> wasm/src/dataset/mod.rs:63:35 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn observation_label_iter(&self) -> ObservationLabelIter { [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] 63 | pub fn observation_label_iter(&self) -> ObservationLabelIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.66s [INFO] running `Command { std: "docker" "inspect" "732ff897a2703586114efca574eab5499051bed02dbba8dc878778afaf06f735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "732ff897a2703586114efca574eab5499051bed02dbba8dc878778afaf06f735", kill_on_drop: false }` [INFO] [stdout] 732ff897a2703586114efca574eab5499051bed02dbba8dc878778afaf06f735