[INFO] cloning repository https://github.com/mario007/sunray [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mario007/sunray" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmario007%2Fsunray", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmario007%2Fsunray'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9b73686c7c20c838e73f4292f9a4c2965d383ca9 [INFO] checking mario007/sunray against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmario007%2Fsunray" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mario007/sunray on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mario007/sunray [INFO] finished tweaking git repo https://github.com/mario007/sunray [INFO] tweaked toml for git repo https://github.com/mario007/sunray written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/mario007/sunray already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28dd1879b6f2dbee22c6b599ef624b8c6c95094a0c6e97b014ec68551228e815 [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" "28dd1879b6f2dbee22c6b599ef624b8c6c95094a0c6e97b014ec68551228e815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28dd1879b6f2dbee22c6b599ef624b8c6c95094a0c6e97b014ec68551228e815", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28dd1879b6f2dbee22c6b599ef624b8c6c95094a0c6e97b014ec68551228e815", kill_on_drop: false }` [INFO] [stdout] 28dd1879b6f2dbee22c6b599ef624b8c6c95094a0c6e97b014ec68551228e815 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c234dd9bbddd14393e6be7d5c45d4e94f2df79390edaecbd12e1769670e390d [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" "2c234dd9bbddd14393e6be7d5c45d4e94f2df79390edaecbd12e1769670e390d", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking weezl v0.1.4 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking sunray v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/texture.rs (2 fixes) [INFO] [stdout] warning: struct is never constructed: `ImageTexture` [INFO] [stdout] --> src/texture.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct ImageTexture { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/texture.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn from>(_path: P) -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pixels` [INFO] [stdout] --> src/image_io.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | pixels: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `TextureCache` [INFO] [stdout] --> src/texture.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct TextureCache<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/texture.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_texture` [INFO] [stdout] --> src/texture.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn add_texture(&mut self, texture: T) -> usize [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `evaluate` [INFO] [stdout] --> src/texture.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn evaluate(&self, texture_id: usize, isect: &IsectPoint) -> f32x3 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/texture.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(value: f32x3) -> ConstantTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ImageTexture` [INFO] [stdout] --> src/texture.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct ImageTexture { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/texture.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn from>(_path: P) -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Image` [INFO] [stdout] --> src/image_io.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Image { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/image_io.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(width: u32, height: u32, pixels: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_image` [INFO] [stdout] --> src/image_io.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn read_image>(path: P) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_rgb_image` [INFO] [stdout] --> src/image_io.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn load_rgb_image>(path: P) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.31s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking sunray v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: struct is never constructed: `TextureCache` [INFO] [stdout] --> src/texture.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct TextureCache<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/texture.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_texture` [INFO] [stdout] --> src/texture.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn add_texture(&mut self, texture: T) -> usize [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `evaluate` [INFO] [stdout] --> src/texture.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn evaluate(&self, texture_id: usize, isect: &IsectPoint) -> f32x3 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/texture.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn new(value: f32x3) -> ConstantTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ImageTexture` [INFO] [stdout] --> src/texture.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct ImageTexture { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/texture.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn from>(_path: P) -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Image` [INFO] [stdout] --> src/image_io.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Image { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/image_io.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(width: u32, height: u32, pixels: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_image` [INFO] [stdout] --> src/image_io.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn read_image>(path: P) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `load_rgb_image` [INFO] [stdout] --> src/image_io.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn load_rgb_image>(path: P) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ImageTexture` [INFO] [stdout] --> src/texture.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct ImageTexture { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from` [INFO] [stdout] --> src/texture.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn from>(_path: P) -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pixels` [INFO] [stdout] --> src/image_io.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | pixels: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.87s [INFO] running `Command { std: "docker" "inspect" "2c234dd9bbddd14393e6be7d5c45d4e94f2df79390edaecbd12e1769670e390d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c234dd9bbddd14393e6be7d5c45d4e94f2df79390edaecbd12e1769670e390d", kill_on_drop: false }` [INFO] [stdout] 2c234dd9bbddd14393e6be7d5c45d4e94f2df79390edaecbd12e1769670e390d