[INFO] cloning repository https://github.com/Bbolken1q/cc-streamvideo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bbolken1q/cc-streamvideo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBbolken1q%2Fcc-streamvideo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBbolken1q%2Fcc-streamvideo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 983f1f574a91da8cd9a7906eb399b6dd5d969bec [INFO] building Bbolken1q/cc-streamvideo against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBbolken1q%2Fcc-streamvideo" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Bbolken1q/cc-streamvideo [INFO] finished tweaking git repo https://github.com/Bbolken1q/cc-streamvideo [INFO] tweaked toml for git repo https://github.com/Bbolken1q/cc-streamvideo written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Bbolken1q/cc-streamvideo on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Bbolken1q/cc-streamvideo 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-tungstenite v0.26.2 [INFO] [stderr] Downloaded data-encoding v2.8.0 [INFO] [stderr] Downloaded tempfile v3.17.1 [INFO] [stderr] Downloaded zerocopy-derive v0.8.21 [INFO] [stderr] Downloaded ffmpeg-sys-next v7.1.0 [INFO] [stderr] Downloaded structopt-derive v0.4.18 [INFO] [stderr] Downloaded cc v1.2.16 [INFO] [stderr] Downloaded tungstenite v0.26.2 [INFO] [stderr] Downloaded avif-serialize v0.8.3 [INFO] [stderr] Downloaded colors-transform v0.2.11 [INFO] [stderr] Downloaded aligned-vec v0.6.2 [INFO] [stderr] Downloaded az v1.2.1 [INFO] [stderr] Downloaded elapsed v0.1.2 [INFO] [stderr] Downloaded cmov v0.3.1 [INFO] [stderr] Downloaded toml v0.8.20 [INFO] [stderr] Downloaded bindgen v0.70.1 [INFO] [stderr] Downloaded palette v0.7.6 [INFO] [stderr] Downloaded rustls v0.23.23 [INFO] [stderr] Downloaded fixed v1.29.0 [INFO] [stderr] Downloaded nom v8.0.0 [INFO] [stderr] Downloaded kmeans_colors v0.6.0 [INFO] [stderr] Downloaded h2 v0.4.8 [INFO] [stderr] Downloaded winnow v0.7.3 [INFO] [stderr] Downloaded ffmpeg-next v7.1.0 [INFO] [stderr] Downloaded zerocopy v0.8.21 [INFO] [stderr] Downloaded palette_derive v0.7.6 [INFO] [stderr] Downloaded crunchy v0.2.3 [INFO] [stderr] Downloaded sorted-vec v0.8.6 [INFO] [stderr] Downloaded ring v0.17.11 [INFO] [stderr] Downloaded toml_edit v0.22.24 [INFO] [stderr] Downloaded fast_image_resize v5.1.2 [INFO] [stderr] Downloaded divrem v1.0.0 [INFO] [stderr] Downloaded kiddo v5.0.3 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.9 [INFO] [stderr] Downloaded init_with v1.1.0 [INFO] [stderr] Downloaded ordered-float v4.6.0 [INFO] [stderr] Downloaded ubyte v0.10.4 [INFO] [stderr] Downloaded bytemuck v1.22.0 [INFO] [stderr] Downloaded structopt v0.3.26 [INFO] [stderr] Downloaded fast-srgb8 v1.0.0 [INFO] [stderr] Downloaded by_address v1.2.1 [INFO] [stderr] Downloaded array-init v2.1.0 [INFO] [stderr] Downloaded either v1.14.0 [INFO] [stderr] Downloaded m3u8-rs v6.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f4f4c91b5b8a1154e27ae0a0ca63184eb5a16ba6175089a8d296bdb1acdea51f [INFO] running `Command { std: "docker" "start" "-a" "f4f4c91b5b8a1154e27ae0a0ca63184eb5a16ba6175089a8d296bdb1acdea51f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4f4c91b5b8a1154e27ae0a0ca63184eb5a16ba6175089a8d296bdb1acdea51f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4f4c91b5b8a1154e27ae0a0ca63184eb5a16ba6175089a8d296bdb1acdea51f", kill_on_drop: false }` [INFO] [stdout] f4f4c91b5b8a1154e27ae0a0ca63184eb5a16ba6175089a8d296bdb1acdea51f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fb3404800f27f74fb6794fec8e73cec207e5793559fdcb6d0b2c0222343dd20 [INFO] running `Command { std: "docker" "start" "-a" "6fb3404800f27f74fb6794fec8e73cec207e5793559fdcb6d0b2c0222343dd20", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling indexmap v2.7.1 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling zerocopy v0.8.21 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling ffmpeg-sys-next v7.1.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling generator v0.8.4 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling avif-serialize v0.8.3 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling fixed v1.29.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling by_address v1.2.1 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling palette v0.7.6 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling image-webp v0.2.1 [INFO] [stderr] Compiling palette_derive v0.7.6 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling ravif v0.11.11 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling zune-jpeg v0.4.14 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling fast-srgb8 v1.0.0 [INFO] [stderr] Compiling ffmpeg-next v7.1.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling image v0.25.5 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling aligned-vec v0.6.2 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling image v0.24.9 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling cmov v0.3.1 [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling elapsed v0.1.2 [INFO] [stderr] Compiling sorted-vec v0.8.6 [INFO] [stderr] Compiling divrem v1.0.0 [INFO] [stderr] Compiling init_with v1.1.0 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling reqwest v0.12.12 [INFO] [stderr] Compiling m3u8-rs v6.0.0 [INFO] [stderr] Compiling fast_image_resize v5.1.2 [INFO] [stderr] Compiling kmeans_colors v0.6.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-tungstenite v0.26.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling colors-transform v0.2.11 [INFO] [stderr] Compiling kiddo v5.0.3 [INFO] [stderr] Compiling ccplayer v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/./video/video.rs:2:75 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{ffi::CString, i32, io::{Cursor, Read}, ptr, result::Result::Ok, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FRAMES` [INFO] [stdout] --> src/./video/video.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{p_image, FRAMES}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::frame::frame::Frame` [INFO] [stdout] --> src/./video/video.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::frame::frame::Frame; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 87 | if(!file_type) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 87 - if(!file_type) { [INFO] [stdout] 87 + if !file_type { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | if(message.len() > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 170 - if(message.len() > 0) { [INFO] [stdout] 170 + if message.len() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_audio` [INFO] [stdout] --> src/./video/video.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let input_audio = stream_index [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_audio` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `frames` is never read [INFO] [stdout] --> src/main.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | frames = "".to_string(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:129:33 [INFO] [stdout] | [INFO] [stdout] 129 | println!("{}", unsafe { FRAMES.len()}); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 40s [INFO] running `Command { std: "docker" "inspect" "6fb3404800f27f74fb6794fec8e73cec207e5793559fdcb6d0b2c0222343dd20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fb3404800f27f74fb6794fec8e73cec207e5793559fdcb6d0b2c0222343dd20", kill_on_drop: false }` [INFO] [stdout] 6fb3404800f27f74fb6794fec8e73cec207e5793559fdcb6d0b2c0222343dd20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b930eda92d8356d7d2e80890ac131cf5e3517207e8efad3d6702cc8d94c7120 [INFO] running `Command { std: "docker" "start" "-a" "4b930eda92d8356d7d2e80890ac131cf5e3517207e8efad3d6702cc8d94c7120", kill_on_drop: false }` [INFO] [stderr] Compiling ccplayer v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `str::FromStr` [INFO] [stdout] --> src/./video/video.rs:2:75 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{ffi::CString, i32, io::{Cursor, Read}, ptr, result::Result::Ok, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FRAMES` [INFO] [stdout] --> src/./video/video.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{p_image, FRAMES}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::frame::frame::Frame` [INFO] [stdout] --> src/./video/video.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::frame::frame::Frame; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:87:7 [INFO] [stdout] | [INFO] [stdout] 87 | if(!file_type) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 87 - if(!file_type) { [INFO] [stdout] 87 + if !file_type { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | if(message.len() > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 170 - if(message.len() > 0) { [INFO] [stdout] 170 + if message.len() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_audio` [INFO] [stdout] --> src/./video/video.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let input_audio = stream_index [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_audio` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `frames` is never read [INFO] [stdout] --> src/main.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | frames = "".to_string(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:129:33 [INFO] [stdout] | [INFO] [stdout] 129 | println!("{}", unsafe { FRAMES.len()}); [INFO] [stdout] | ^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.68s [INFO] running `Command { std: "docker" "inspect" "4b930eda92d8356d7d2e80890ac131cf5e3517207e8efad3d6702cc8d94c7120", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b930eda92d8356d7d2e80890ac131cf5e3517207e8efad3d6702cc8d94c7120", kill_on_drop: false }` [INFO] [stdout] 4b930eda92d8356d7d2e80890ac131cf5e3517207e8efad3d6702cc8d94c7120