[INFO] cloning repository https://github.com/gangashman/rust_recognition_digit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gangashman/rust_recognition_digit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgangashman%2Frust_recognition_digit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgangashman%2Frust_recognition_digit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b714d18f451912eb46294b7003dd1dfe12a99ba [INFO] checking gangashman/rust_recognition_digit against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgangashman%2Frust_recognition_digit" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 50% (7/14) Checking out files: 57% (8/14) Checking out files: 64% (9/14) Checking out files: 71% (10/14) Checking out files: 78% (11/14) Checking out files: 85% (12/14) Checking out files: 92% (13/14) Checking out files: 100% (14/14) Checking out files: 100% (14/14), done. [INFO] validating manifest of git repo https://github.com/gangashman/rust_recognition_digit on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gangashman/rust_recognition_digit [INFO] finished tweaking git repo https://github.com/gangashman/rust_recognition_digit [INFO] tweaked toml for git repo https://github.com/gangashman/rust_recognition_digit written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/gangashman/rust_recognition_digit already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03ff3712dbd3377e904387b5d047582e888d3ad83cf2454426929ad5f2f451f1 [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" "03ff3712dbd3377e904387b5d047582e888d3ad83cf2454426929ad5f2f451f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03ff3712dbd3377e904387b5d047582e888d3ad83cf2454426929ad5f2f451f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03ff3712dbd3377e904387b5d047582e888d3ad83cf2454426929ad5f2f451f1", kill_on_drop: false }` [INFO] [stdout] 03ff3712dbd3377e904387b5d047582e888d3ad83cf2454426929ad5f2f451f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf40d994e17988202105650dfb2c329a4a1171ef7c02a17d92b980a4305d1e71 [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" "cf40d994e17988202105650dfb2c329a4a1171ef7c02a17d92b980a4305d1e71", kill_on_drop: false }` [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Compiling matrixmultiply v0.1.13 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking libc v0.2.33 [INFO] [stderr] Checking byteorder v1.1.0 [INFO] [stderr] Checking mnist v0.4.0 [INFO] [stderr] Checking rand v0.3.18 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Checking num v0.1.40 [INFO] [stderr] Checking rulinalg v0.3.7 [INFO] [stderr] Checking rulinalg v0.4.2 [INFO] [stderr] Checking rusty-machine v0.5.4 [INFO] [stderr] Checking recognition_digit v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | model.train(&inputs, &targets).unwrap(); [INFO] [stdout] | ^^^^^^^ expected `f64`, found `u8` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&rusty_machine::prelude::Matrix` [INFO] [stdout] found reference `&rusty_machine::prelude::Matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | model.train(&inputs, &targets).unwrap(); [INFO] [stdout] | ^^^^^^^ expected `f64`, found `u8` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&rusty_machine::prelude::Matrix` [INFO] [stdout] found reference `&rusty_machine::prelude::Matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | model.train(&inputs, &targets).unwrap(); [INFO] [stdout] | ^^^^^^^^ expected struct `rusty_machine::prelude::Matrix`, found struct `rusty_machine::prelude::Vector` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&rusty_machine::prelude::Matrix` [INFO] [stdout] found reference `&rusty_machine::prelude::Vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `recognition_digit` [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] --> src/main.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | model.train(&inputs, &targets).unwrap(); [INFO] [stdout] | ^^^^^^^^ expected struct `rusty_machine::prelude::Matrix`, found struct `rusty_machine::prelude::Vector` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&rusty_machine::prelude::Matrix` [INFO] [stdout] found reference `&rusty_machine::prelude::Vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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" "cf40d994e17988202105650dfb2c329a4a1171ef7c02a17d92b980a4305d1e71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf40d994e17988202105650dfb2c329a4a1171ef7c02a17d92b980a4305d1e71", kill_on_drop: false }` [INFO] [stdout] cf40d994e17988202105650dfb2c329a4a1171ef7c02a17d92b980a4305d1e71