[INFO] cloning repository https://github.com/moka491/stream-view
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/moka491/stream-view" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoka491%2Fstream-view", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoka491%2Fstream-view'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] af80d229f54b7c8e1c75575ff2dfc04a60e5d691
[INFO] checking moka491/stream-view against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoka491%2Fstream-view" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/moka491/stream-view on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/moka491/stream-view
[INFO] finished tweaking git repo https://github.com/moka491/stream-view
[INFO] tweaked toml for git repo https://github.com/moka491/stream-view written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/moka491/stream-view 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded windows_quote v0.21.1
[INFO] [stderr]   Downloaded windows_macros v0.21.1
[INFO] [stderr]   Downloaded rgb v0.8.29
[INFO] [stderr]   Downloaded mozjpeg v0.8.24
[INFO] [stderr]   Downloaded nasm-rs v0.2.1
[INFO] [stderr]   Downloaded windows_gen v0.21.1
[INFO] [stderr]   Downloaded windows v0.21.1
[INFO] [stderr]   Downloaded mozjpeg-sys v0.10.13
[INFO] [stderr]   Downloaded windows_reader v0.21.1
[INFO] [stderr]   Downloaded nokhwa-bindings-windows v0.3.2
[INFO] [stderr]   Downloaded fallible_collections v0.4.3
[INFO] [stderr]   Downloaded nokhwa v0.8.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9d8f5638fba4112468e1074020e886046f7df33d72dfe248f69e4584d47f3e14
[INFO] running `Command { std: "docker" "start" "-a" "9d8f5638fba4112468e1074020e886046f7df33d72dfe248f69e4584d47f3e14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9d8f5638fba4112468e1074020e886046f7df33d72dfe248f69e4584d47f3e14", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d8f5638fba4112468e1074020e886046f7df33d72dfe248f69e4584d47f3e14", kill_on_drop: false }`
[INFO] [stdout] 9d8f5638fba4112468e1074020e886046f7df33d72dfe248f69e4584d47f3e14
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eec1418a77003e447ccda33b1b554764736f899acaaf43b39536142e1023af6b
[INFO] running `Command { std: "docker" "start" "-a" "eec1418a77003e447ccda33b1b554764736f899acaaf43b39536142e1023af6b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.106
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling proc-macro2 v1.0.32
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling xml-rs v0.8.4
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling pkg-config v0.3.22
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]     Checking once_cell v1.8.0
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling syn v1.0.81
[INFO] [stderr]     Checking libloading v0.7.1
[INFO] [stderr]     Checking smallvec v1.7.0
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]     Checking dlib v0.5.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]     Checking downcast-rs v1.2.0
[INFO] [stderr]     Checking scoped-tls v1.0.0
[INFO] [stderr]    Compiling nom v7.0.0
[INFO] [stderr]     Checking lock_api v0.4.5
[INFO] [stderr]    Compiling crossbeam-queue v0.3.2
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]     Checking minimal-lexical v0.1.4
[INFO] [stderr]    Compiling nix v0.18.0
[INFO] [stderr]    Compiling wayland-sys v0.28.6
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]     Checking ttf-parser v0.6.2
[INFO] [stderr]    Compiling x11-dl v2.19.1
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling jobserver v0.1.24
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling wayland-scanner v0.28.6
[INFO] [stderr]     Checking crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling cc v1.0.71
[INFO] [stderr]     Checking ab_glyph_rasterizer v0.1.5
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]     Checking walkdir v2.3.2
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking libloading v0.6.7
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]    Compiling dunce v1.0.2
[INFO] [stderr]     Checking dlib v0.4.2
[INFO] [stderr]     Checking crossbeam v0.8.1
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.5
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.7
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking nix v0.20.0
[INFO] [stderr]     Checking dirs-sys v0.3.6
[INFO] [stderr]     Checking dirs v3.0.2
[INFO] [stderr]     Checking xdg v2.4.0
[INFO] [stderr]     Checking owned_ttf_parser v0.6.0
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]     Checking rusttype v0.9.2
[INFO] [stderr]     Checking memmap2 v0.1.0
[INFO] [stderr]     Checking andrew v0.3.1
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling cgmath v0.16.1
[INFO] [stderr]     Checking bytemuck v1.7.2
[INFO] [stderr]    Compiling winit v0.25.0
[INFO] [stderr]     Checking weezl v0.1.5
[INFO] [stderr]    Compiling futures-core v0.3.17
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]    Compiling backtrace v0.3.63
[INFO] [stderr]    Compiling wayland-client v0.28.6
[INFO] [stderr]    Compiling wayland-protocols v0.28.6
[INFO] [stderr]     Checking xcursor v0.3.4
[INFO] [stderr]     Checking mio-misc v1.2.1
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking raw-window-handle v0.3.3
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking approx v0.1.1
[INFO] [stderr]    Compiling nokhwa-bindings-windows v0.3.2
[INFO] [stderr]     Checking mint v0.5.8
[INFO] [stderr]     Checking gimli v0.26.1
[INFO] [stderr]     Checking gif v0.11.3
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking fallible_collections v0.4.3
[INFO] [stderr]     Checking png v0.16.8
[INFO] [stderr]     Checking rgb v0.8.29
[INFO] [stderr]     Checking nanorand v0.6.1
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]    Compiling glium v0.30.2
[INFO] [stderr]     Checking object v0.27.1
[INFO] [stderr]     Checking spin v0.9.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.15
[INFO] [stderr]     Checking futures-sink v0.3.17
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]    Compiling cgmath v0.18.0
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking rustc-demangle v0.1.21
[INFO] [stderr]     Checking approx v0.4.0
[INFO] [stderr]    Compiling paste v1.0.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking aliasable v0.1.3
[INFO] [stderr]     Checking takeable-option v0.5.0
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[INFO] [stderr]    Compiling nasm-rs v0.2.1
[INFO] [stderr]     Checking calloop v0.6.5
[INFO] [stderr]    Compiling mozjpeg-sys v0.10.13
[INFO] [stderr]     Checking tiff v0.6.1
[INFO] [stderr]     Checking wayland-commons v0.28.6
[INFO] [stderr]     Checking genmesh v0.6.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling pin-project-internal v1.0.8
[INFO] [stderr]    Compiling ouroboros_macro v0.13.0
[INFO] [stderr]     Checking obj v0.10.2
[INFO] [stderr]     Checking image v0.23.14
[INFO] [stderr]     Checking addr2line v0.17.0
[INFO] [stderr]     Checking wayland-cursor v0.28.6
[INFO] [stderr]     Checking wayland-egl v0.28.6
[INFO] [stderr]     Checking thiserror v1.0.30
[INFO] [stderr]     Checking pin-project v1.0.8
[INFO] [stderr]     Checking flume v0.10.9
[INFO] [stderr]     Checking ouroboros v0.13.0
[INFO] [stderr]     Checking mozjpeg v0.8.24
[INFO] [stderr]     Checking nokhwa v0.8.0
[INFO] [stderr]     Checking smithay-client-toolkit v0.12.3
[INFO] [stderr]     Checking glutin v0.27.0
[INFO] [stderr]     Checking stream-view v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `current_device_index` and `current_format` are never read
[INFO] [stdout]  --> src/frame_grabber.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct FrameGrabber {
[INFO] [stdout]   |            ------------ fields in this struct
[INFO] [stdout] 4 |     device: Camera,
[INFO] [stdout] 5 |     current_device_index: usize,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 6 |     current_format: Option<CameraFormat>,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `current_device_index` and `current_format` are never read
[INFO] [stdout]  --> src/frame_grabber.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct FrameGrabber {
[INFO] [stdout]   |            ------------ fields in this struct
[INFO] [stdout] 4 |     device: Camera,
[INFO] [stdout] 5 |     current_device_index: usize,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 6 |     current_format: Option<CameraFormat>,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `list_devices`, `change_device`, `list_supported_modes`, `change_mode`, and `open_stream` are never used
[INFO] [stdout]   --> src/frame_grabber.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl FrameGrabber {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn list_devices() -> Result<Vec<(usize, String)>, NokhwaError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn change_device(&mut self, index: usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn list_supported_modes(&mut self) -> Result<Vec<CameraFormat>, NokhwaError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub fn change_mode(&self) {}
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 68 |
[INFO] [stdout] 69 |     pub fn open_stream(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `list_devices`, `change_device`, `list_supported_modes`, `change_mode`, and `open_stream` are never used
[INFO] [stdout]   --> src/frame_grabber.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl FrameGrabber {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn list_devices() -> Result<Vec<(usize, String)>, NokhwaError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn change_device(&mut self, index: usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn list_supported_modes(&mut self) -> Result<Vec<CameraFormat>, NokhwaError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub fn change_mode(&self) {}
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 68 |
[INFO] [stdout] 69 |     pub fn open_stream(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/frame_grabber.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |         self.device.set_index(index);
[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] 30 |         let _ = self.device.set_index(index);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/frame_grabber.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |         self.device.set_index(index);
[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] 30 |         let _ = self.device.set_index(index);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 17.58s
[INFO] running `Command { std: "docker" "inspect" "eec1418a77003e447ccda33b1b554764736f899acaaf43b39536142e1023af6b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eec1418a77003e447ccda33b1b554764736f899acaaf43b39536142e1023af6b", kill_on_drop: false }`
[INFO] [stdout] eec1418a77003e447ccda33b1b554764736f899acaaf43b39536142e1023af6b
[INFO] checking moka491/stream-view against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoka491%2Fstream-view" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/moka491/stream-view on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/moka491/stream-view
[INFO] finished tweaking git repo https://github.com/moka491/stream-view
[INFO] tweaked toml for git repo https://github.com/moka491/stream-view written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/moka491/stream-view 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cf10d9e24e3568c4a3a48409c82d5c613c7570e77cf5787191043b5b01dae113
[INFO] running `Command { std: "docker" "start" "-a" "cf10d9e24e3568c4a3a48409c82d5c613c7570e77cf5787191043b5b01dae113", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cf10d9e24e3568c4a3a48409c82d5c613c7570e77cf5787191043b5b01dae113", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf10d9e24e3568c4a3a48409c82d5c613c7570e77cf5787191043b5b01dae113", kill_on_drop: false }`
[INFO] [stdout] cf10d9e24e3568c4a3a48409c82d5c613c7570e77cf5787191043b5b01dae113
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Dnon_local_definitions" "-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 46349c9e4c105c781befb536ed9650093914678af9c4d9c838af4accf0b52334
[INFO] running `Command { std: "docker" "start" "-a" "46349c9e4c105c781befb536ed9650093914678af9c4d9c838af4accf0b52334", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.106
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.32
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling xml-rs v0.8.4
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling pkg-config v0.3.22
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]     Checking once_cell v1.8.0
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling syn v1.0.81
[INFO] [stderr]     Checking libloading v0.7.1
[INFO] [stderr]     Checking smallvec v1.7.0
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]     Checking dlib v0.5.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]     Checking downcast-rs v1.2.0
[INFO] [stderr]     Checking scoped-tls v1.0.0
[INFO] [stderr]     Checking lock_api v0.4.5
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling nom v7.0.0
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling crossbeam-queue v0.3.2
[INFO] [stderr]     Checking crossbeam-channel v0.5.1
[INFO] [stderr]     Checking minimal-lexical v0.1.4
[INFO] [stderr]    Compiling nix v0.18.0
[INFO] [stderr]    Compiling wayland-sys v0.28.6
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]     Checking ttf-parser v0.6.2
[INFO] [stderr]    Compiling x11-dl v2.19.1
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling jobserver v0.1.24
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling wayland-scanner v0.28.6
[INFO] [stderr]     Checking crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling cc v1.0.71
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking ab_glyph_rasterizer v0.1.5
[INFO] [stderr]     Checking walkdir v2.3.2
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]     Checking libloading v0.6.7
[INFO] [stderr]    Compiling dunce v1.0.2
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]     Checking dlib v0.4.2
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.7
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.5
[INFO] [stderr]     Checking crossbeam v0.8.1
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking bytemuck v1.7.2
[INFO] [stderr]     Checking getrandom v0.2.3
[INFO] [stderr]     Checking nix v0.20.0
[INFO] [stderr]     Checking dirs-sys v0.3.6
[INFO] [stderr]     Checking owned_ttf_parser v0.6.0
[INFO] [stderr]     Checking rusttype v0.9.2
[INFO] [stderr]     Checking memmap2 v0.1.0
[INFO] [stderr]     Checking dirs v3.0.2
[INFO] [stderr]     Checking xdg v2.4.0
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]    Compiling cgmath v0.16.1
[INFO] [stderr]    Compiling winit v0.25.0
[INFO] [stderr]     Checking andrew v0.3.1
[INFO] [stderr]     Checking weezl v0.1.5
[INFO] [stderr]    Compiling futures-core v0.3.17
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]     Checking mio-misc v1.2.1
[INFO] [stderr]    Compiling backtrace v0.3.63
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]    Compiling wayland-client v0.28.6
[INFO] [stderr]    Compiling wayland-protocols v0.28.6
[INFO] [stderr]     Checking xcursor v0.3.4
[INFO] [stderr]     Checking raw-window-handle v0.3.3
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]    Compiling nokhwa-bindings-windows v0.3.2
[INFO] [stderr]     Checking approx v0.1.1
[INFO] [stderr]     Checking mint v0.5.8
[INFO] [stderr]     Checking gimli v0.26.1
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking gif v0.11.3
[INFO] [stderr]     Checking fallible_collections v0.4.3
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking nanorand v0.6.1
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rgb v0.8.29
[INFO] [stderr]     Checking png v0.16.8
[INFO] [stderr]    Compiling glium v0.30.2
[INFO] [stderr]     Checking object v0.27.1
[INFO] [stderr]     Checking spin v0.9.2
[INFO] [stderr]     Checking rustc-demangle v0.1.21
[INFO] [stderr]     Checking ppv-lite86 v0.2.15
[INFO] [stderr]     Checking futures-sink v0.3.17
[INFO] [stderr]     Checking arrayvec v0.5.2
[INFO] [stderr]    Compiling Inflector v0.11.4
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling cgmath v0.18.0
[INFO] [stderr]     Checking approx v0.4.0
[INFO] [stderr]    Compiling paste v1.0.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking takeable-option v0.5.0
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking aliasable v0.1.3
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]    Compiling nasm-rs v0.2.1
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[INFO] [stderr]    Compiling mozjpeg-sys v0.10.13
[INFO] [stderr]     Checking calloop v0.6.5
[INFO] [stderr]     Checking wayland-commons v0.28.6
[INFO] [stderr]     Checking genmesh v0.6.2
[INFO] [stderr]     Checking tiff v0.6.1
[INFO] [stderr]     Checking addr2line v0.17.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling pin-project-internal v1.0.8
[INFO] [stderr]    Compiling ouroboros_macro v0.13.0
[INFO] [stderr]     Checking obj v0.10.2
[INFO] [stderr]     Checking image v0.23.14
[INFO] [stderr]     Checking wayland-cursor v0.28.6
[INFO] [stderr]     Checking wayland-egl v0.28.6
[INFO] [stderr]     Checking pin-project v1.0.8
[INFO] [stderr]     Checking flume v0.10.9
[INFO] [stderr]     Checking thiserror v1.0.30
[INFO] [stderr]     Checking mozjpeg v0.8.24
[INFO] [stderr]     Checking ouroboros v0.13.0
[INFO] [stderr]     Checking nokhwa v0.8.0
[INFO] [stderr]     Checking smithay-client-toolkit v0.12.3
[INFO] [stderr]     Checking glutin v0.27.0
[INFO] [stderr]     Checking stream-view v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `current_device_index` and `current_format` are never read
[INFO] [stdout]  --> src/frame_grabber.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct FrameGrabber {
[INFO] [stdout]   |            ------------ fields in this struct
[INFO] [stdout] 4 |     device: Camera,
[INFO] [stdout] 5 |     current_device_index: usize,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 6 |     current_format: Option<CameraFormat>,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `current_device_index` and `current_format` are never read
[INFO] [stdout]  --> src/frame_grabber.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct FrameGrabber {
[INFO] [stdout]   |            ------------ fields in this struct
[INFO] [stdout] 4 |     device: Camera,
[INFO] [stdout] 5 |     current_device_index: usize,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 6 |     current_format: Option<CameraFormat>,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `list_devices`, `change_device`, `list_supported_modes`, `change_mode`, and `open_stream` are never used
[INFO] [stdout]   --> src/frame_grabber.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl FrameGrabber {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn list_devices() -> Result<Vec<(usize, String)>, NokhwaError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn change_device(&mut self, index: usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn list_supported_modes(&mut self) -> Result<Vec<CameraFormat>, NokhwaError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub fn change_mode(&self) {}
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 68 |
[INFO] [stdout] 69 |     pub fn open_stream(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `list_devices`, `change_device`, `list_supported_modes`, `change_mode`, and `open_stream` are never used
[INFO] [stdout]   --> src/frame_grabber.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl FrameGrabber {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn list_devices() -> Result<Vec<(usize, String)>, NokhwaError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn change_device(&mut self, index: usize) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn list_supported_modes(&mut self) -> Result<Vec<CameraFormat>, NokhwaError> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 67 |     pub fn change_mode(&self) {}
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 68 |
[INFO] [stdout] 69 |     pub fn open_stream(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/frame_grabber.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |         self.device.set_index(index);
[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] 30 |         let _ = self.device.set_index(index);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/window.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         implement_vertex!(Vertex, position, tex_coords);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `create_vertex_buffer`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/frame_grabber.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |         self.device.set_index(index);
[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] 30 |         let _ = self.device.set_index(index);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/window.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |         implement_vertex!(Vertex, position, tex_coords);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current function `create_vertex_buffer`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `stream-view` (bin "stream-view") due to 2 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `stream-view` (bin "stream-view" test) due to 2 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "46349c9e4c105c781befb536ed9650093914678af9c4d9c838af4accf0b52334", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "46349c9e4c105c781befb536ed9650093914678af9c4d9c838af4accf0b52334", kill_on_drop: false }`
[INFO] [stdout] 46349c9e4c105c781befb536ed9650093914678af9c4d9c838af4accf0b52334
