[INFO] cloning 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" "clone" "--bare" "https://github.com/Thingus/rusty_color" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThingus%2Frusty_color", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThingus%2Frusty_color'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d93c8faf095b441635bccd35e92f2431f3acef3 [INFO] checking Thingus/rusty_color against try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThingus%2Frusty_color" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Thingus/rusty_color on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "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-8/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" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "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-8/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" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sample v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] be300667966098134baf917c3239609e79c068b35d1f0f49b7fa1b22ca22e7a9 [INFO] running `Command { std: "docker" "start" "-a" "be300667966098134baf917c3239609e79c068b35d1f0f49b7fa1b22ca22e7a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be300667966098134baf917c3239609e79c068b35d1f0f49b7fa1b22ca22e7a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be300667966098134baf917c3239609e79c068b35d1f0f49b7fa1b22ca22e7a9", kill_on_drop: false }` [INFO] [stdout] be300667966098134baf917c3239609e79c068b35d1f0f49b7fa1b22ca22e7a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4ba868da8a61e8cc874844598dbe0657b3cd6888bef9f5c9e78be40237ee213 [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" "b4ba868da8a61e8cc874844598dbe0657b3cd6888bef9f5c9e78be40237ee213", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking either v1.6.0 [INFO] [stderr] Checking bytemuck v1.4.0 [INFO] [stderr] Checking sample v0.10.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking crossbeam-channel v0.4.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.23.8 [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 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: 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: 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: 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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.02s [INFO] running `Command { std: "docker" "inspect" "b4ba868da8a61e8cc874844598dbe0657b3cd6888bef9f5c9e78be40237ee213", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4ba868da8a61e8cc874844598dbe0657b3cd6888bef9f5c9e78be40237ee213", kill_on_drop: false }` [INFO] [stdout] b4ba868da8a61e8cc874844598dbe0657b3cd6888bef9f5c9e78be40237ee213