[INFO] cloning repository https://github.com/larryng/primg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/larryng/primg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flarryng%2Fprimg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flarryng%2Fprimg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 390619f558b6ed44d01c1ba8224002a12a50e856 [INFO] testing larryng/primg against master#d7bd9cd469ff6871420007f091ef52fc32d2ca99 for pr-121417 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flarryng%2Fprimg" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/larryng/primg on toolchain d7bd9cd469ff6871420007f091ef52fc32d2ca99 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/larryng/primg [INFO] finished tweaking git repo https://github.com/larryng/primg [INFO] tweaked toml for git repo https://github.com/larryng/primg written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/larryng/primg 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" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded combine v2.5.2 [INFO] [stderr] Downloaded jni v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3455d18676b66a258d1880d3ffa53b1017ad91339f163e0ba6fcc56f3cdf6832 [INFO] running `Command { std: "docker" "start" "-a" "3455d18676b66a258d1880d3ffa53b1017ad91339f163e0ba6fcc56f3cdf6832", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3455d18676b66a258d1880d3ffa53b1017ad91339f163e0ba6fcc56f3cdf6832", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3455d18676b66a258d1880d3ffa53b1017ad91339f163e0ba6fcc56f3cdf6832", kill_on_drop: false }` [INFO] [stdout] 3455d18676b66a258d1880d3ffa53b1017ad91339f163e0ba6fcc56f3cdf6832 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd71af1412463f0e8de879e11aa4d780057cebd3a1ca29e10a3153aa6167630f [INFO] running `Command { std: "docker" "start" "-a" "dd71af1412463f0e8de879e11aa4d780057cebd3a1ca29e10a3153aa6167630f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.34 [INFO] [stderr] Compiling num-traits v0.2.0 [INFO] [stderr] Compiling rayon-core v1.3.0 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling either v1.4.0 [INFO] [stderr] Compiling adler32 v1.0.2 [INFO] [stderr] Compiling byteorder v1.2.1 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling bitflags v1.0.1 [INFO] [stderr] Compiling inflate v0.3.4 [INFO] [stderr] Compiling coco v0.1.1 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling deflate v0.7.17 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling rand v0.4.1 [INFO] [stderr] Compiling num_cpus v1.7.0 [INFO] [stderr] Compiling num-integer v0.1.36 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling atty v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.35 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling png v0.11.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.8 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling rand v0.3.22 [INFO] [stderr] Compiling clap v2.29.0 [INFO] [stderr] Compiling rayon v0.8.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.13 [INFO] [stderr] Compiling image v0.18.0 [INFO] [stderr] Compiling primg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Sync` is imported redundantly [INFO] [stdout] --> src/core.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::marker::Sync; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d7bd9cd469ff6871420007f091ef52fc32d2ca99/library/std/src/prelude/mod.rs:105:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Sync` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/model.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use image; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate image; [INFO] [stdout] | ------------------- the item `image` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/util.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use image; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate image; [INFO] [stdout] | ------------------- the item `image` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/worker.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/shape.rs:502:9 [INFO] [stdout] | [INFO] [stdout] 502 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/util.rs:40:45 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn draw_lines(buf: &mut [u8], w: usize, h: usize, a: &Color, lines: &[Scanline]) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `put` is never used [INFO] [stdout] --> src/core.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Pixels { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn put(&mut self, x: usize, y: usize, color: &Color) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_rgba` is never used [INFO] [stdout] --> src/core.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 183 | impl Color { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn to_rgba(&self) -> Rgba { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.42s [INFO] running `Command { std: "docker" "inspect" "dd71af1412463f0e8de879e11aa4d780057cebd3a1ca29e10a3153aa6167630f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd71af1412463f0e8de879e11aa4d780057cebd3a1ca29e10a3153aa6167630f", kill_on_drop: false }` [INFO] [stdout] dd71af1412463f0e8de879e11aa4d780057cebd3a1ca29e10a3153aa6167630f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f81093a5c635a0efc7c701e0eafd66c07595611194528ebe0874935ec0be518 [INFO] running `Command { std: "docker" "start" "-a" "6f81093a5c635a0efc7c701e0eafd66c07595611194528ebe0874935ec0be518", kill_on_drop: false }` [INFO] [stdout] warning: the item `Sync` is imported redundantly [INFO] [stdout] --> src/core.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::marker::Sync; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d7bd9cd469ff6871420007f091ef52fc32d2ca99/library/std/src/prelude/mod.rs:105:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Sync` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/model.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use image; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate image; [INFO] [stdout] | ------------------- the item `image` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/util.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use image; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate image; [INFO] [stdout] | ------------------- the item `image` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/worker.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/shape.rs:502:9 [INFO] [stdout] | [INFO] [stdout] 502 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/util.rs:40:45 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn draw_lines(buf: &mut [u8], w: usize, h: usize, a: &Color, lines: &[Scanline]) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `put` is never used [INFO] [stdout] --> src/core.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Pixels { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn put(&mut self, x: usize, y: usize, color: &Color) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling primg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `to_rgba` is never used [INFO] [stdout] --> src/core.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 183 | impl Color { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn to_rgba(&self) -> Rgba { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Sync` is imported redundantly [INFO] [stdout] --> src/core.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::marker::Sync; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/d7bd9cd469ff6871420007f091ef52fc32d2ca99/library/std/src/prelude/mod.rs:105:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Sync` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/model.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use image; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate image; [INFO] [stdout] | ------------------- the item `image` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/util.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use image; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate image; [INFO] [stdout] | ------------------- the item `image` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `rand` is imported redundantly [INFO] [stdout] --> src/worker.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rand; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate rand; [INFO] [stdout] | ------------------ the item `rand` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/shape.rs:502:9 [INFO] [stdout] | [INFO] [stdout] 502 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `h` [INFO] [stdout] --> src/util.rs:40:45 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn draw_lines(buf: &mut [u8], w: usize, h: usize, a: &Color, lines: &[Scanline]) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `put` is never used [INFO] [stdout] --> src/core.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Pixels { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn put(&mut self, x: usize, y: usize, color: &Color) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_rgba` is never used [INFO] [stdout] --> src/core.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 183 | impl Color { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn to_rgba(&self) -> Rgba { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "6f81093a5c635a0efc7c701e0eafd66c07595611194528ebe0874935ec0be518", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f81093a5c635a0efc7c701e0eafd66c07595611194528ebe0874935ec0be518", kill_on_drop: false }` [INFO] [stdout] 6f81093a5c635a0efc7c701e0eafd66c07595611194528ebe0874935ec0be518 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+d7bd9cd469ff6871420007f091ef52fc32d2ca99" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 30d45115b35deb18b503df70d7a79e31181394a7b027dce519d95a6fa8a4697f [INFO] running `Command { std: "docker" "start" "-a" "30d45115b35deb18b503df70d7a79e31181394a7b027dce519d95a6fa8a4697f", kill_on_drop: false }` [INFO] [stderr] warning: the item `Sync` is imported redundantly [INFO] [stderr] --> src/core.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::marker::Sync; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] --> /rustc/d7bd9cd469ff6871420007f091ef52fc32d2ca99/library/std/src/prelude/mod.rs:105:13 [INFO] [stderr] | [INFO] [stderr] = note: the item `Sync` is already defined here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the item `image` is imported redundantly [INFO] [stderr] --> src/model.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use image; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | extern crate image; [INFO] [stderr] | ------------------- the item `image` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `image` is imported redundantly [INFO] [stderr] --> src/util.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use image; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | extern crate image; [INFO] [stderr] | ------------------- the item `image` is already imported here [INFO] [stderr] [INFO] [stderr] warning: the item `rand` is imported redundantly [INFO] [stderr] --> src/worker.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use rand; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/lib.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | extern crate rand; [INFO] [stderr] | ------------------ the item `rand` is already imported here [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/shape.rs:502:9 [INFO] [stderr] | [INFO] [stderr] 502 | for i in 0..n { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `h` [INFO] [stderr] --> src/util.rs:40:45 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn draw_lines(buf: &mut [u8], w: usize, h: usize, a: &Color, lines: &[Scanline]) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_h` [INFO] [stderr] [INFO] [stderr] warning: method `put` is never used [INFO] [stderr] --> src/core.rs:47:12 [INFO] [stderr] | [INFO] [stderr] 19 | impl Pixels { [INFO] [stderr] | ----------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 47 | pub fn put(&mut self, x: usize, y: usize, color: &Color) { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `to_rgba` is never used [INFO] [stderr] --> src/core.rs:192:12 [INFO] [stderr] | [INFO] [stderr] 183 | impl Color { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 192 | pub fn to_rgba(&self) -> Rgba { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `primg` (lib) generated 8 warnings [INFO] [stderr] warning: `primg` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/primg-cd14cddb693f21e9) [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] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/bin/main.rs (/opt/rustwide/target/debug/deps/main-a415a5dc7e039b88) [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] [stderr] Doc-tests primg [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" "30d45115b35deb18b503df70d7a79e31181394a7b027dce519d95a6fa8a4697f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30d45115b35deb18b503df70d7a79e31181394a7b027dce519d95a6fa8a4697f", kill_on_drop: false }` [INFO] [stdout] 30d45115b35deb18b503df70d7a79e31181394a7b027dce519d95a6fa8a4697f