[INFO] cloning repository https://github.com/maciekglowka/cam_trap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maciekglowka/cam_trap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaciekglowka%2Fcam_trap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaciekglowka%2Fcam_trap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0fc7fa37afa92f6f5a6857815937afeb834e1548 [INFO] checking maciekglowka/cam_trap against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaciekglowka%2Fcam_trap" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maciekglowka/cam_trap on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maciekglowka/cam_trap [INFO] finished tweaking git repo https://github.com/maciekglowka/cam_trap [INFO] tweaked toml for git repo https://github.com/maciekglowka/cam_trap written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/maciekglowka/cam_trap 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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ryu v1.0.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 834cf28ede3db5093cc521bb1ce01ba9d7290f1a79d3ae744aae158c482aa0a0 [INFO] running `Command { std: "docker" "start" "-a" "834cf28ede3db5093cc521bb1ce01ba9d7290f1a79d3ae744aae158c482aa0a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "834cf28ede3db5093cc521bb1ce01ba9d7290f1a79d3ae744aae158c482aa0a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "834cf28ede3db5093cc521bb1ce01ba9d7290f1a79d3ae744aae158c482aa0a0", kill_on_drop: false }` [INFO] [stdout] 834cf28ede3db5093cc521bb1ce01ba9d7290f1a79d3ae744aae158c482aa0a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bbdb75c974743b790e167e0f3299d08aa384a907e4f6cad1e4999f6721fa555 [INFO] running `Command { std: "docker" "start" "-a" "5bbdb75c974743b790e167e0f3299d08aa384a907e4f6cad1e4999f6721fa555", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Checking matrixmultiply v0.3.2 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking ryu v1.0.7 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking ndarray v0.15.4 [INFO] [stderr] Checking rscam v0.5.5 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking jpeg-decoder v0.2.1 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Checking tokio v1.16.1 [INFO] [stderr] Checking cam_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `GrayImage` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use image::{GrayImage, RgbImage}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GrayImage` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use image::{GrayImage, RgbImage}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cam_thread` [INFO] [stdout] --> src/main.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | let cam_thread = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cam_thread` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cam_thread` [INFO] [stdout] --> src/main.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | let cam_thread = thread::spawn(move || { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cam_thread` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `height` is never read [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct Pixels<'a, T: std::marker::Copy> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 31 | width: usize, [INFO] [stdout] 32 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `k0` should have an upper case name [INFO] [stdout] --> src/main.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | const k0: Kernel:: = Kernel::{data: [-1,0,1,-2,0,2,-1,0,1]}; [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `K0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `k1` should have an upper case name [INFO] [stdout] --> src/main.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | const k1: Kernel:: = Kernel::{data: [1,2,1,0,0,0,-1,-2,-1]}; [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `K1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `height` is never read [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct Pixels<'a, T: std::marker::Copy> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 31 | width: usize, [INFO] [stdout] 32 | height: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `k0` should have an upper case name [INFO] [stdout] --> src/main.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | const k0: Kernel:: = Kernel::{data: [-1,0,1,-2,0,2,-1,0,1]}; [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `K0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `k1` should have an upper case name [INFO] [stdout] --> src/main.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | const k1: Kernel:: = Kernel::{data: [1,2,1,0,0,0,-1,-2,-1]}; [INFO] [stdout] | ^^ help: convert the identifier to upper case (notice the capitalization): `K1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | tx.blocking_send(frame); //expect("Sendind frame to async thread failed!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 271 | let _ = tx.blocking_send(frame); //expect("Sendind frame to async thread failed!"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | tx.blocking_send(frame); //expect("Sendind frame to async thread failed!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 271 | let _ = tx.blocking_send(frame); //expect("Sendind frame to async thread failed!"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.34s [INFO] running `Command { std: "docker" "inspect" "5bbdb75c974743b790e167e0f3299d08aa384a907e4f6cad1e4999f6721fa555", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bbdb75c974743b790e167e0f3299d08aa384a907e4f6cad1e4999f6721fa555", kill_on_drop: false }` [INFO] [stdout] 5bbdb75c974743b790e167e0f3299d08aa384a907e4f6cad1e4999f6721fa555