[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b714d18f451912eb46294b7003dd1dfe12a99ba [INFO] testing gangashman/rust_recognition_digit against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgangashman%2Frust_recognition_digit" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/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 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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-8/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02a7a9092789f9da39883c1f909884460e9049887e3303247f8a0b346ac67166 [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" "02a7a9092789f9da39883c1f909884460e9049887e3303247f8a0b346ac67166", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02a7a9092789f9da39883c1f909884460e9049887e3303247f8a0b346ac67166", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02a7a9092789f9da39883c1f909884460e9049887e3303247f8a0b346ac67166", kill_on_drop: false }` [INFO] [stdout] 02a7a9092789f9da39883c1f909884460e9049887e3303247f8a0b346ac67166 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 550cba6e3822aaefd721ce096fe27eb943e770478df41fe0c50838d754410cea [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" "550cba6e3822aaefd721ce096fe27eb943e770478df41fe0c50838d754410cea", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling matrixmultiply v0.1.13 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling rand v0.3.18 [INFO] [stderr] Compiling mnist v0.4.0 [INFO] [stderr] Compiling num v0.1.40 [INFO] [stderr] Compiling rulinalg v0.3.7 [INFO] [stderr] Compiling rulinalg v0.4.2 [INFO] [stderr] Compiling rusty-machine v0.5.4 [INFO] [stderr] Compiling 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: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] running `Command { std: "docker" "inspect" "550cba6e3822aaefd721ce096fe27eb943e770478df41fe0c50838d754410cea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "550cba6e3822aaefd721ce096fe27eb943e770478df41fe0c50838d754410cea", kill_on_drop: false }` [INFO] [stdout] 550cba6e3822aaefd721ce096fe27eb943e770478df41fe0c50838d754410cea