[INFO] updating cached repository https://github.com/Thingus/rusty_color [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d93c8faf095b441635bccd35e92f2431f3acef3 [INFO] checking Thingus/rusty_color against master#4fb54ed484e2239a3e9eff3be17df00d2a162be3 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThingus%2Frusty_color" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Thingus/rusty_color on toolchain 4fb54ed484e2239a3e9eff3be17df00d2a162be3 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Thingus/rusty_color [INFO] finished tweaking git repo https://github.com/Thingus/rusty_color [INFO] tweaked toml for git repo https://github.com/Thingus/rusty_color written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Thingus/rusty_color already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0eff5ffb94b245ba80a6c3d81a55e8522f0d0a6b60a433d5ef4e26115e09f3c1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0eff5ffb94b245ba80a6c3d81a55e8522f0d0a6b60a433d5ef4e26115e09f3c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0eff5ffb94b245ba80a6c3d81a55e8522f0d0a6b60a433d5ef4e26115e09f3c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0eff5ffb94b245ba80a6c3d81a55e8522f0d0a6b60a433d5ef4e26115e09f3c1", kill_on_drop: false }` [INFO] [stdout] 0eff5ffb94b245ba80a6c3d81a55e8522f0d0a6b60a433d5ef4e26115e09f3c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+4fb54ed484e2239a3e9eff3be17df00d2a162be3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86c4233c7277099253cedaf7e06d8d5429b164d79c6f59a370564a8173e32a64 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "86c4233c7277099253cedaf7e06d8d5429b164d79c6f59a370564a8173e32a64", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Checking adler32 v1.1.0 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking sample v0.10.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking png v0.16.5 [INFO] [stderr] Checking jpeg-decoder v0.1.19 [INFO] [stderr] Checking image v0.23.5 [INFO] [stderr] Checking rusty_color v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `signal` [INFO] [stdout] --> src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use sample::{signal, Signal, Frame}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `signal` [INFO] [stdout] --> src/main.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use sample::{signal, Signal, Frame}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Signal` [INFO] [stdout] --> src/main.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use sample::{signal, Signal, Frame}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Signal` [INFO] [stdout] --> src/main.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use sample::{signal, Signal, Frame}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out_path` [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let out_path = String::from("../out.avi"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:66:61 [INFO] [stdout] | [INFO] [stdout] 66 | let mut out_image = ImageBuffer::from_fn(x_res, y_res, |x, y| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `audio_frame` [INFO] [stdout] --> src/main.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | fn audio_to_video_frame(audio_frame:&[S], x_res:u32, y_res:u32) -> image::RgbImage [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_audio_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample_vaule` [INFO] [stdout] --> src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut sample_vaule: i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample_vaule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this_sample` [INFO] [stdout] --> src/main.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | for this_sample in samples{ [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_this_sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `out_path` [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let out_path = String::from("../out.avi"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_out_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/main.rs:66:61 [INFO] [stdout] | [INFO] [stdout] 66 | let mut out_image = ImageBuffer::from_fn(x_res, y_res, |x, y| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `audio_frame` [INFO] [stdout] --> src/main.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | fn audio_to_video_frame(audio_frame:&[S], x_res:u32, y_res:u32) -> image::RgbImage [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_audio_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sample_vaule` [INFO] [stdout] --> src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut sample_vaule: i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sample_vaule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this_sample` [INFO] [stdout] --> src/main.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | for this_sample in samples{ [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_this_sample` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | let mut out_image = ImageBuffer::from_fn(x_res, y_res, |x, y| { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:66:6 [INFO] [stdout] | [INFO] [stdout] 66 | let mut out_image = ImageBuffer::from_fn(x_res, y_res, |x, y| { [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `type_of` [INFO] [stdout] --> src/main.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn type_of(_: T) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_samples` [INFO] [stdout] --> src/main.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn print_samples(samples: Vec) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `type_of` [INFO] [stdout] --> src/main.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn type_of(_: T) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_samples` [INFO] [stdout] --> src/main.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn print_samples(samples: Vec) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.83s [INFO] running `Command { std: "docker" "inspect" "86c4233c7277099253cedaf7e06d8d5429b164d79c6f59a370564a8173e32a64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86c4233c7277099253cedaf7e06d8d5429b164d79c6f59a370564a8173e32a64", kill_on_drop: false }` [INFO] [stdout] 86c4233c7277099253cedaf7e06d8d5429b164d79c6f59a370564a8173e32a64