[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] ede2cd139674a6064b33e146bdacef4e82520d8f [INFO] testing Bbolken1q/cc-streamvideo against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBbolken1q%2Fcc-streamvideo" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-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 divrem v1.0.0 [INFO] [stderr] Downloaded redox_syscall v0.5.9 [INFO] [stderr] Downloaded elapsed v0.1.2 [INFO] [stderr] Downloaded init_with v1.1.0 [INFO] [stderr] Downloaded equator-macro v0.4.2 [INFO] [stderr] Downloaded colors-transform v0.2.11 [INFO] [stderr] Downloaded cmov v0.3.1 [INFO] [stderr] Downloaded miniz_oxide v0.8.5 [INFO] [stderr] Downloaded aligned-vec v0.6.2 [INFO] [stderr] Downloaded az v1.2.1 [INFO] [stderr] Downloaded generator v0.8.4 [INFO] [stderr] Downloaded m3u8-rs v6.0.0 [INFO] [stderr] Downloaded cc v1.2.16 [INFO] [stderr] Downloaded ffmpeg-next v7.1.0 [INFO] [stderr] Downloaded kiddo v5.0.3 [INFO] [stderr] Downloaded flate2 v1.1.0 [INFO] [stderr] Downloaded fast_image_resize v5.1.2 [INFO] [stderr] Downloaded h2 v0.4.8 [INFO] [stderr] Downloaded zerocopy-derive v0.8.21 [INFO] [stderr] Downloaded zerocopy v0.8.21 [INFO] [stderr] Downloaded bindgen v0.70.1 [INFO] [stderr] Downloaded fixed v1.29.0 [INFO] [stderr] Downloaded palette v0.7.6 [INFO] [stderr] Downloaded by_address v1.2.1 [INFO] [stderr] Downloaded array-init v2.1.0 [INFO] [stderr] Downloaded ordered-float v4.6.0 [INFO] [stderr] Downloaded sorted-vec v0.8.6 [INFO] [stderr] Downloaded kmeans_colors v0.6.0 [INFO] [stderr] Downloaded fast-srgb8 v1.0.0 [INFO] [stderr] Downloaded palette_derive v0.7.6 [INFO] [stderr] Downloaded either v1.14.0 [INFO] [stderr] Downloaded ffmpeg-sys-next v7.1.0 [INFO] [stderr] Downloaded equator v0.4.2 [INFO] [stderr] Downloaded libc v0.2.170 [INFO] [stderr] Downloaded ring v0.17.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a9f5115d56e303ba32ae89bdfc6201383b89539749e5ee065e2b2ae4e42a3073 [INFO] running `Command { std: "docker" "start" "-a" "a9f5115d56e303ba32ae89bdfc6201383b89539749e5ee065e2b2ae4e42a3073", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9f5115d56e303ba32ae89bdfc6201383b89539749e5ee065e2b2ae4e42a3073", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9f5115d56e303ba32ae89bdfc6201383b89539749e5ee065e2b2ae4e42a3073", kill_on_drop: false }` [INFO] [stdout] a9f5115d56e303ba32ae89bdfc6201383b89539749e5ee065e2b2ae4e42a3073 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] f938e01d809961f9c67287b5a6c76061641366ed7aa9cf0bc5598eea87ca1025 [INFO] running `Command { std: "docker" "start" "-a" "f938e01d809961f9c67287b5a6c76061641366ed7aa9cf0bc5598eea87ca1025", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling bindgen v0.70.1 [INFO] [stderr] Compiling bytemuck v1.22.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling zerocopy v0.8.21 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling generator v0.8.4 [INFO] [stderr] Compiling avif-serialize v0.8.3 [INFO] [stderr] Compiling fixed v1.29.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling by_address v1.2.1 [INFO] [stderr] Compiling palette v0.7.6 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling image-webp v0.2.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 zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [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 tokio v1.43.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.31 [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 ppv-lite86 v0.2.20 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling ffmpeg-sys-next v7.1.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling h2 v0.4.8 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling palette_derive v0.7.6 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling ravif v0.11.11 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling ffmpeg-next v7.1.0 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling fast-srgb8 v1.0.0 [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 rustls-pemfile v2.2.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling image v0.25.5 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling aligned-vec v0.6.2 [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 init_with v1.1.0 [INFO] [stderr] Compiling sorted-vec v0.8.6 [INFO] [stderr] Compiling divrem v1.0.0 [INFO] [stderr] Compiling cmov v0.3.1 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling elapsed v0.1.2 [INFO] [stderr] Compiling array-init v2.1.0 [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::time::Duration` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::Duration; [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:70 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{ffi::CString, 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: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | 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] 81 - if(!file_type) { [INFO] [stdout] 81 + if !file_type { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/./video/video.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let frame: Frame = Frame::new(&ostring); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_audio` [INFO] [stdout] --> src/./video/video.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let input_audio = stream_index [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_audio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `frames` is never read [INFO] [stdout] --> src/main.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | 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:124:27 [INFO] [stdout] | [INFO] [stdout] 124 | for frame in unsafe { FRAMES.iter() } { [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 3m 55s [INFO] running `Command { std: "docker" "inspect" "f938e01d809961f9c67287b5a6c76061641366ed7aa9cf0bc5598eea87ca1025", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f938e01d809961f9c67287b5a6c76061641366ed7aa9cf0bc5598eea87ca1025", kill_on_drop: false }` [INFO] [stdout] f938e01d809961f9c67287b5a6c76061641366ed7aa9cf0bc5598eea87ca1025 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] ed1a6af885b7595da490e3c97f188cde513a8bc2c2ac94607025b360fe9034e8 [INFO] running `Command { std: "docker" "start" "-a" "ed1a6af885b7595da490e3c97f188cde513a8bc2c2ac94607025b360fe9034e8", kill_on_drop: false }` [INFO] [stderr] Compiling ccplayer v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::Duration; [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:70 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{ffi::CString, 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: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | 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] 81 - if(!file_type) { [INFO] [stdout] 81 + if !file_type { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/./video/video.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | let frame: Frame = Frame::new(&ostring); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_audio` [INFO] [stdout] --> src/./video/video.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let input_audio = stream_index [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_audio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `frames` is never read [INFO] [stdout] --> src/main.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | 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:124:27 [INFO] [stdout] | [INFO] [stdout] 124 | for frame in unsafe { FRAMES.iter() } { [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.55s [INFO] running `Command { std: "docker" "inspect" "ed1a6af885b7595da490e3c97f188cde513a8bc2c2ac94607025b360fe9034e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed1a6af885b7595da490e3c97f188cde513a8bc2c2ac94607025b360fe9034e8", kill_on_drop: false }` [INFO] [stdout] ed1a6af885b7595da490e3c97f188cde513a8bc2c2ac94607025b360fe9034e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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", kill_on_drop: false }` [INFO] [stdout] 2e3742a2b3f46d1fbe1982a41896b6572341ca7265b0dc2c7d8bec4b20bf522b [INFO] running `Command { std: "docker" "start" "-a" "2e3742a2b3f46d1fbe1982a41896b6572341ca7265b0dc2c7d8bec4b20bf522b", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `str::FromStr` [INFO] [stderr] --> src/./video/video.rs:2:70 [INFO] [stderr] | [INFO] [stderr] 2 | use std::{ffi::CString, io::{Cursor, Read}, ptr, result::Result::Ok, str::FromStr}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `FRAMES` [INFO] [stderr] --> src/./video/video.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::{p_image, FRAMES}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:81:7 [INFO] [stderr] | [INFO] [stderr] 81 | if(!file_type) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 81 - if(!file_type) { [INFO] [stderr] 81 + if !file_type { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `frame` [INFO] [stderr] --> src/./video/video.rs:87:13 [INFO] [stderr] | [INFO] [stderr] 87 | let frame: Frame = Frame::new(&ostring); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input_audio` [INFO] [stderr] --> src/./video/video.rs:107:13 [INFO] [stderr] | [INFO] [stderr] 107 | let input_audio = stream_index [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_audio` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `frames` is never read [INFO] [stderr] --> src/main.rs:118:9 [INFO] [stderr] | [INFO] [stderr] 118 | frames = "".to_string(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/main.rs:124:27 [INFO] [stderr] | [INFO] [stderr] 124 | for frame in unsafe { FRAMES.iter() } { [INFO] [stderr] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `ccplayer` (bin "ccplayer" test) generated 8 warnings (run `cargo fix --bin "ccplayer" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ccplayer-c0f3aadd41da295c) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2e3742a2b3f46d1fbe1982a41896b6572341ca7265b0dc2c7d8bec4b20bf522b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e3742a2b3f46d1fbe1982a41896b6572341ca7265b0dc2c7d8bec4b20bf522b", kill_on_drop: false }` [INFO] [stdout] 2e3742a2b3f46d1fbe1982a41896b6572341ca7265b0dc2c7d8bec4b20bf522b