[INFO] cloning repository https://github.com/JakeSaphhire/revective [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JakeSaphhire/revective" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJakeSaphhire%2Frevective", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJakeSaphhire%2Frevective'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b83984739006dfe3aec4d9792e182f9b81484b82 [INFO] checking JakeSaphhire/revective/b83984739006dfe3aec4d9792e182f9b81484b82 against master#36b21637e93b038453924d3c66821089e71d8baa for pr-143164 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJakeSaphhire%2Frevective" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JakeSaphhire/revective [INFO] finished tweaking git repo https://github.com/JakeSaphhire/revective [INFO] tweaked toml for git repo https://github.com/JakeSaphhire/revective written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JakeSaphhire/revective on toolchain 36b21637e93b038453924d3c66821089e71d8baa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 76 packages to latest compatible versions [INFO] [stderr] Adding image v0.23.14 (available: v0.25.6) [INFO] [stderr] Adding imageproc v0.22.0 (available: v0.25.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num v0.1.43 [INFO] [stderr] Downloaded unescaper v0.1.6 [INFO] [stderr] Downloaded serialport v4.7.2 [INFO] [stderr] Downloaded rulinalg v0.4.2 [INFO] [stderr] Downloaded imageproc v0.22.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32612d5f55ed97926bf483f4e08d14325f2fd77a52ec542bc53ed70c25fd9b25 [INFO] running `Command { std: "docker" "start" "-a" "32612d5f55ed97926bf483f4e08d14325f2fd77a52ec542bc53ed70c25fd9b25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32612d5f55ed97926bf483f4e08d14325f2fd77a52ec542bc53ed70c25fd9b25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32612d5f55ed97926bf483f4e08d14325f2fd77a52ec542bc53ed70c25fd9b25", kill_on_drop: false }` [INFO] [stdout] 32612d5f55ed97926bf483f4e08d14325f2fd77a52ec542bc53ed70c25fd9b25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85b1d277f271ab6e82826fcb6fe38d51bb18ca293a15d43fcc5a2fc28a6d07d9 [INFO] running `Command { std: "docker" "start" "-a" "85b1d277f271ab6e82826fcb6fe38d51bb18ca293a15d43fcc5a2fc28a6d07d9", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking num v0.1.43 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.9 [INFO] [stderr] Checking bytemuck v1.23.1 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Checking rulinalg v0.4.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking libudev v0.3.0 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking owned_ttf_parser v0.15.2 [INFO] [stderr] Checking rusttype v0.9.3 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking unescaper v0.1.6 [INFO] [stderr] Checking serialport v4.7.2 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking imageproc v0.22.0 [INFO] [stderr] Checking vectr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `opencv` [INFO] [stdout] --> src/realtime.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use opencv::{Result, prelude::*, videoio, imgproc, highgui}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `opencv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opencv`, use `cargo add opencv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `opencv` [INFO] [stdout] --> src/realtime.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use opencv::{Result, prelude::*, videoio, imgproc, highgui}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `opencv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opencv`, use `cargo add opencv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `opencv` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use opencv::{Result, prelude::*, videoio, imgproc, highgui, types}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `opencv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opencv`, use `cargo add opencv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::realtime::hello_cv2`, `crate::realtime::hello_cv` [INFO] [stdout] --> src/main.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::realtime::{hello_cv2, hello_cv}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ no `hello_cv` in `realtime` [INFO] [stdout] | | [INFO] [stdout] | no `hello_cv2` in `realtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `opencv` [INFO] [stdout] --> src/realtime.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use opencv::core::{BorderTypes, Point, Size, Scalar}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `opencv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opencv`, use `cargo add opencv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `opencv` [INFO] [stdout] --> src/realtime.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use opencv::{Result, prelude::*, videoio, imgproc, highgui}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `opencv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opencv`, use `cargo add opencv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `opencv` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use opencv::{Result, prelude::*, videoio, imgproc, highgui, types}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `opencv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opencv`, use `cargo add opencv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `opencv` [INFO] [stdout] --> src/graphics/contour.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl Drawable for opencv::types::VectorOfPoint { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `opencv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opencv`, use `cargo add opencv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `opencv` [INFO] [stdout] --> src/graphics.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | impl Pointable for opencv::core::Point { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `opencv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opencv`, use `cargo add opencv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `opencv` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use opencv::{Result, prelude::*, videoio, imgproc, highgui, types}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `opencv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opencv`, use `cargo add opencv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::realtime::hello_cv2`, `crate::realtime::hello_cv` [INFO] [stdout] --> src/main.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::realtime::{hello_cv2, hello_cv}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ no `hello_cv` in `realtime` [INFO] [stdout] | | [INFO] [stdout] | no `hello_cv2` in `realtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `opencv` [INFO] [stdout] --> src/realtime.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use opencv::core::{BorderTypes, Point, Size, Scalar}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `opencv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opencv`, use `cargo add opencv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `opencv` [INFO] [stdout] --> src/realtime.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use opencv::{Result, prelude::*, videoio, imgproc, highgui}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `opencv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opencv`, use `cargo add opencv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `opencv` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use opencv::{Result, prelude::*, videoio, imgproc, highgui, types}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `opencv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opencv`, use `cargo add opencv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `opencv` [INFO] [stdout] --> src/realtime.rs:11:62 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn realtime(file: &'static str, sender: mpsc::Sender> ) -> thread::JoinHandle> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `opencv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opencv`, use `cargo add opencv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `opencv` [INFO] [stdout] --> src/graphics/contour.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | impl Drawable for opencv::types::VectorOfPoint { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `opencv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opencv`, use `cargo add opencv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `opencv` [INFO] [stdout] --> src/graphics.rs:60:25 [INFO] [stdout] | [INFO] [stdout] 60 | impl Pointable for opencv::core::Point { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `opencv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opencv`, use `cargo add opencv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `opencv` [INFO] [stdout] --> src/realtime.rs:11:62 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn realtime(file: &'static str, sender: mpsc::Sender> ) -> thread::JoinHandle> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `opencv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opencv`, use `cargo add opencv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `opencv` [INFO] [stdout] --> src/realtime.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | let mut contours = opencv::types::VectorOfVectorOfPoint::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `opencv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opencv`, use `cargo add opencv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `opencv` [INFO] [stdout] --> src/main.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | let f : Frame = Frame::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `opencv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opencv`, use `cargo add opencv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `opencv` [INFO] [stdout] --> src/realtime.rs:39:134 [INFO] [stdout] | [INFO] [stdout] 39 | ...ETR_TREE, imgproc::CHAIN_APPROX_NONE, opencv::core::Point::new(0,0)).expect("Failed to get contours"); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `opencv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opencv`, use `cargo add opencv` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Point; [INFO] [stdout] | [INFO] [stdout] 1 + use imageproc::point::Point; [INFO] [stdout] | [INFO] [stdout] help: if you import `Point`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 39 - imgproc::find_contours_with_hierarchy(&cframe, &mut contours, &mut hier, imgproc::RETR_TREE, imgproc::CHAIN_APPROX_NONE, opencv::core::Point::new(0,0)).expect("Failed to get contours"); [INFO] [stdout] 39 + imgproc::find_contours_with_hierarchy(&cframe, &mut contours, &mut hier, imgproc::RETR_TREE, imgproc::CHAIN_APPROX_NONE, Point::new(0,0)).expect("Failed to get contours"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `opencv` [INFO] [stdout] --> src/realtime.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | let mut contours = opencv::types::VectorOfVectorOfPoint::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `opencv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opencv`, use `cargo add opencv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/realtime.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/realtime.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Arc, Mutex, mpsc}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Drawable`, `Frame`, and `Pointable` [INFO] [stdout] --> src/realtime.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::graphics::{Frame, Drawable, Pointable}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Point` [INFO] [stdout] --> src/main.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::graphics::{Frame, Point, Flag}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/main.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use std::sync::{Arc, Mutex, mpsc}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `opencv` [INFO] [stdout] --> src/main.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | let f : Frame = Frame::new(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `opencv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opencv`, use `cargo add opencv` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `opencv` [INFO] [stdout] --> src/realtime.rs:39:134 [INFO] [stdout] | [INFO] [stdout] 39 | ...ETR_TREE, imgproc::CHAIN_APPROX_NONE, opencv::core::Point::new(0,0)).expect("Failed to get contours"); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `opencv` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `opencv`, use `cargo add opencv` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Point; [INFO] [stdout] | [INFO] [stdout] 1 + use imageproc::point::Point; [INFO] [stdout] | [INFO] [stdout] help: if you import `Point`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 39 - imgproc::find_contours_with_hierarchy(&cframe, &mut contours, &mut hier, imgproc::RETR_TREE, imgproc::CHAIN_APPROX_NONE, opencv::core::Point::new(0,0)).expect("Failed to get contours"); [INFO] [stdout] 39 + imgproc::find_contours_with_hierarchy(&cframe, &mut contours, &mut hier, imgproc::RETR_TREE, imgproc::CHAIN_APPROX_NONE, Point::new(0,0)).expect("Failed to get contours"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Instant` [INFO] [stdout] --> src/realtime.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::Instant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/realtime.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Arc, Mutex, mpsc}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Drawable`, `Frame`, and `Pointable` [INFO] [stdout] --> src/realtime.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::graphics::{Frame, Drawable, Pointable}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Point` [INFO] [stdout] --> src/main.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::graphics::{Frame, Point, Flag}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> src/main.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | use std::sync::{Arc, Mutex, mpsc}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat` [INFO] [stdout] --> src/realtime.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | let mut curframe = Mat::default(); [INFO] [stdout] | ^^^ use of undeclared type `Mat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat` [INFO] [stdout] --> src/realtime.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | let mut newfr = Mat::default(); [INFO] [stdout] | ^^^ use of undeclared type `Mat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat` [INFO] [stdout] --> src/realtime.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cframe = Mat::default(); [INFO] [stdout] | ^^^ use of undeclared type `Mat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat` [INFO] [stdout] --> src/realtime.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | let mut hier = Mat::default(); [INFO] [stdout] | ^^^ use of undeclared type `Mat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat` [INFO] [stdout] --> src/realtime.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | let mut curframe = Mat::default(); [INFO] [stdout] | ^^^ use of undeclared type `Mat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat` [INFO] [stdout] --> src/realtime.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | let mut newfr = Mat::default(); [INFO] [stdout] | ^^^ use of undeclared type `Mat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat` [INFO] [stdout] --> src/realtime.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | let mut cframe = Mat::default(); [INFO] [stdout] | ^^^ use of undeclared type `Mat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mat` [INFO] [stdout] --> src/realtime.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 38 | let mut hier = Mat::default(); [INFO] [stdout] | ^^^ use of undeclared type `Mat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vectr` (bin "vectr") due to 16 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vectr` (bin "vectr" test) due to 16 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "85b1d277f271ab6e82826fcb6fe38d51bb18ca293a15d43fcc5a2fc28a6d07d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85b1d277f271ab6e82826fcb6fe38d51bb18ca293a15d43fcc5a2fc28a6d07d9", kill_on_drop: false }` [INFO] [stdout] 85b1d277f271ab6e82826fcb6fe38d51bb18ca293a15d43fcc5a2fc28a6d07d9