[INFO] cloning repository https://github.com/jeremyarde/domino-counter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jeremyarde/domino-counter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeremyarde%2Fdomino-counter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeremyarde%2Fdomino-counter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bfdf07c0c3b77728098a002fcde7828c7bb26f40 [INFO] testing jeremyarde/domino-counter against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjeremyarde%2Fdomino-counter" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jeremyarde/domino-counter on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jeremyarde/domino-counter [INFO] finished tweaking git repo https://github.com/jeremyarde/domino-counter [INFO] tweaked toml for git repo https://github.com/jeremyarde/domino-counter written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/jeremyarde/domino-counter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.73 [INFO] [stderr] Downloaded syn v1.0.68 [INFO] [stderr] Downloaded bumpalo v3.6.1 [INFO] [stderr] Downloaded unicode-normalization v0.1.18 [INFO] [stderr] Downloaded educe v0.4.16 [INFO] [stderr] Downloaded num-bigint v0.4.0 [INFO] [stderr] Downloaded derive-new v0.5.9 [INFO] [stderr] Downloaded doc-comment v0.3.3 [INFO] [stderr] Downloaded filetime v0.2.14 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.3 [INFO] [stderr] Downloaded liquid-derive v0.22.0 [INFO] [stderr] Downloaded liquid-core v0.22.0 [INFO] [stderr] Downloaded anymap v0.12.1 [INFO] [stderr] Downloaded proc-quote-impl v0.3.2 [INFO] [stderr] Downloaded proc-quote v0.3.2 [INFO] [stderr] Downloaded custom_derive v0.1.7 [INFO] [stderr] Downloaded bytemuck v1.5.1 [INFO] [stderr] Downloaded mapr v0.8.0 [INFO] [stderr] Downloaded rand_distr v0.2.2 [INFO] [stderr] Downloaded half v1.7.1 [INFO] [stderr] Downloaded weezl v0.1.4 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.73 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.73 [INFO] [stderr] Downloaded rulinalg v0.4.2 [INFO] [stderr] Downloaded conv v0.3.3 [INFO] [stderr] Downloaded tract-nnef v0.14.2 [INFO] [stderr] Downloaded console_error_panic_hook v0.1.6 [INFO] [stderr] Downloaded ndarray v0.15.2 [INFO] [stderr] Downloaded web-sys v0.3.50 [INFO] [stderr] Downloaded imageproc v0.22.0 [INFO] [stderr] Downloaded tract-onnx-opl v0.14.2 [INFO] [stderr] Downloaded lexical-core v0.7.6 [INFO] [stderr] Downloaded js-sys v0.3.50 [INFO] [stderr] Downloaded kstring v1.0.1 [INFO] [stderr] Downloaded liquid v0.22.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.73 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.73 [INFO] [stderr] Downloaded tar v0.4.35 [INFO] [stderr] Downloaded enum-ordinalize v3.1.10 [INFO] [stderr] Downloaded num-bigint v0.3.2 [INFO] [stderr] Downloaded byteorder v1.4.2 [INFO] [stderr] Downloaded liquid-lib v0.22.0 [INFO] [stderr] Downloaded itertools v0.10.0 [INFO] [stderr] Downloaded tract-data v0.14.2 [INFO] [stderr] Downloaded tract-linalg v0.14.2 [INFO] [stderr] Downloaded tract-onnx v0.14.2 [INFO] [stderr] Downloaded tract-core v0.14.2 [INFO] [stderr] Downloaded tract-hir v0.14.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d99a1155df5fc3961a5cbcade4148a85c3db8ab6e07ebc72062c419d3147ecff [INFO] running `Command { std: "docker" "start" "-a" "d99a1155df5fc3961a5cbcade4148a85c3db8ab6e07ebc72062c419d3147ecff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d99a1155df5fc3961a5cbcade4148a85c3db8ab6e07ebc72062c419d3147ecff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d99a1155df5fc3961a5cbcade4148a85c3db8ab6e07ebc72062c419d3147ecff", kill_on_drop: false }` [INFO] [stdout] d99a1155df5fc3961a5cbcade4148a85c3db8ab6e07ebc72062c419d3147ecff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 808d83d2c53123a9adcc713e7d6b227723a946c6f19531849436c3744625f06d [INFO] running `Command { std: "docker" "start" "-a" "808d83d2c53123a9adcc713e7d6b227723a946c6f19531849436c3744625f06d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.73 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling bumpalo v3.6.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling dyn-clone v1.0.4 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.73 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling weezl v0.1.4 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling rawpointer v0.1.0 [INFO] [stderr] Compiling bytemuck v1.5.1 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-bigint v0.3.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-normalization v0.1.18 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling matrixmultiply v0.3.1 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling gif v0.11.1 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling proc-quote-impl v0.3.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling which v4.1.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling filetime v0.2.14 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling mapr v0.8.0 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling tar v0.4.35 [INFO] [stderr] Compiling prost-build v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling ndarray v0.15.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling rulinalg v0.4.2 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling proc-quote v0.3.2 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.73 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.73 [INFO] [stderr] Compiling liquid-derive v0.22.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling enum-ordinalize v3.1.10 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling prost-derive v0.7.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.73 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling educe v0.4.16 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling prost v0.7.0 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling prost-types v0.7.0 [INFO] [stderr] Compiling tract-data v0.14.2 [INFO] [stderr] Compiling tract-onnx v0.14.2 [INFO] [stderr] Compiling imageproc v0.22.0 [INFO] [stderr] Compiling kstring v1.0.1 [INFO] [stderr] Compiling liquid-core v0.22.0 [INFO] [stderr] Compiling js-sys v0.3.50 [INFO] [stderr] Compiling console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling liquid-lib v0.22.0 [INFO] [stderr] Compiling liquid v0.22.0 [INFO] [stderr] Compiling web-sys v0.3.50 [INFO] [stderr] Compiling tract-linalg v0.14.2 [INFO] [stderr] Compiling tract-core v0.14.2 [INFO] [stderr] Compiling tract-nnef v0.14.2 [INFO] [stderr] Compiling tract-hir v0.14.2 [INFO] [stderr] Compiling tract-onnx-opl v0.14.2 [INFO] [stderr] Compiling domino-counter v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read src/..\model_building\simplified.quant.onnx: No such file or directory (os error 2) [INFO] [stdout] --> src/ml.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | let model_file = include_bytes!("..\\model_building\\simplified.quant.onnx"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/..\model_building\labels_dict.json: No such file or directory (os error 2) [INFO] [stdout] --> src/ml.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | let class_file = include_bytes!("..\\model_building\\labels_dict.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/ml.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Mutex`, `Once` [INFO] [stdout] --> src/ml.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::{Arc, Mutex, Once}; [INFO] [stdout] | ^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImageView` [INFO] [stdout] --> src/ml.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use image::{DynamicImage, GenericImageView}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `internal::ToDim` [INFO] [stdout] --> src/ml.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | tract_hir::{internal::ToDim, tract_ndarray::Array}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GenericImage`, `RgbImage`, `math` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | math, DynamicImage, GenericImage, GenericImageView, ImageBuffer, Luma, Pixel, Rgb, RgbImage, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `contours::find_contours` [INFO] [stdout] --> src/lib.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use imageproc::{contours::find_contours, edges::canny}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `convert::TryInto`, `io::Cursor`, `path::Path`, `sync::Arc` [INFO] [stdout] --> src/lib.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | collections::HashMap, convert::TryInto, io::Cursor, ops::Range, path::Path, sync::Arc, usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::console` [INFO] [stdout] --> src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use web_sys::console; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `{integer}` [INFO] [stdout] --> src/ml.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 53 | let batch_size = 1; [INFO] [stdout] | ---------- consider giving `batch_size` a type [INFO] [stdout] ... [INFO] [stdout] 63 | InferenceFact::dt_shape(f32::datum_type(), tvec!(batch_size, 3, 224, 224)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `tract_onnx::prelude::TDim: From<{integer}>` found in the `tract_data` crate: [INFO] [stdout] - impl From for tract_onnx::prelude::TDim; [INFO] [stdout] - impl From for tract_onnx::prelude::TDim; [INFO] [stdout] - impl From for tract_onnx::prelude::TDim; [INFO] [stdout] - impl From for tract_onnx::prelude::TDim; [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] = note: required because of the requirements on the impl of `ToDim` for `{integer}` [INFO] [stdout] = note: required because of the requirements on the impl of `From>` for `ShapeFactoid` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `SmallVec<[{integer}; 4]>` [INFO] [stdout] note: required by a bound in `tract_onnx::prelude::InferenceFact::dt_shape` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tract-hir-0.14.2/src/infer/fact.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn dt_shape>(dt: DatumType, shape: S) -> InferenceFact { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `tract_onnx::prelude::InferenceFact::dt_shape` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `domino-counter` due to 4 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "808d83d2c53123a9adcc713e7d6b227723a946c6f19531849436c3744625f06d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "808d83d2c53123a9adcc713e7d6b227723a946c6f19531849436c3744625f06d", kill_on_drop: false }` [INFO] [stdout] 808d83d2c53123a9adcc713e7d6b227723a946c6f19531849436c3744625f06d