[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] 3bbf1e3ece725d73f6d1a3d1d13c04684d63decc [INFO] checking mario007/sunray against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmario007%2Fsunray" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mario007/sunray on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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-3-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ebc6fbcaea913920b93ba0fa147d67d89678a75cd0dd8fb8d21901bf475c736 [INFO] running `Command { std: "docker" "start" "-a" "1ebc6fbcaea913920b93ba0fa147d67d89678a75cd0dd8fb8d21901bf475c736", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ebc6fbcaea913920b93ba0fa147d67d89678a75cd0dd8fb8d21901bf475c736", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ebc6fbcaea913920b93ba0fa147d67d89678a75cd0dd8fb8d21901bf475c736", kill_on_drop: false }` [INFO] [stdout] 1ebc6fbcaea913920b93ba0fa147d67d89678a75cd0dd8fb8d21901bf475c736 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea7f3fbd8958806a911e9fc9af5d7d832b63c8e1b92e1631fb8a0fdd70311f93 [INFO] running `Command { std: "docker" "start" "-a" "ea7f3fbd8958806a911e9fc9af5d7d832b63c8e1b92e1631fb8a0fdd70311f93", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling libc v0.2.90 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking weezl v0.1.4 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Checking gif v0.11.1 [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 num_cpus v1.13.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 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `drop` is imported redundantly [INFO] [stdout] --> src/renderer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::mem::drop; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `drop` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IsectPoint` is imported redundantly [INFO] [stdout] --> src/texture.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 64 | use super::*; [INFO] [stdout] | -------- the item `IsectPoint` is already imported here [INFO] [stdout] 65 | use crate::shapes::{IsectPoint, ShapeType}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `drop` is imported redundantly [INFO] [stdout] --> src/renderer.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::mem::drop; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `drop` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `isect` [INFO] [stdout] --> src/texture.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | fn evaluate(&self, isect: &IsectPoint) -> f32x3 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_isect` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/texture.rs:54:33 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn from>(path: P) -> Result<(), Box> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `isect` [INFO] [stdout] --> src/texture.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | fn evaluate(&self, isect: &IsectPoint) -> f32x3 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_isect` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/texture.rs:54:33 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn from>(path: P) -> Result<(), Box> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_number_of_faces` is never used [INFO] [stdout] --> src/ply_reader.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait PlyModel { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 9 | fn set_number_of_vertices(&mut self, _n: usize) {} [INFO] [stdout] 10 | fn set_number_of_faces(&mut self, _n: usize) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImageTexture` is never constructed [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 `from` is never used [INFO] [stdout] --> src/texture.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl ImageTexture { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 54 | pub fn from>(path: P) -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pixels` is never read [INFO] [stdout] --> src/image_io.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Image { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pixels: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_number_of_faces` is never used [INFO] [stdout] --> src/ply_reader.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait PlyModel { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 9 | fn set_number_of_vertices(&mut self, _n: usize) {} [INFO] [stdout] 10 | fn set_number_of_faces(&mut self, _n: usize) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Evaluate` is never used [INFO] [stdout] --> src/texture.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | trait Evaluate { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TextureCache` is never constructed [INFO] [stdout] --> src/texture.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct TextureCache<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_texture`, and `evaluate` are never used [INFO] [stdout] --> src/texture.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a> TextureCache<'a> { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn add_texture(&mut self, texture: T) -> usize [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn evaluate(&self, texture_id: usize, isect: &IsectPoint) -> f32x3 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConstantTexture` is never constructed [INFO] [stdout] --> src/texture.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct ConstantTexture { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/texture.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl ConstantTexture { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 38 | pub fn new(value: f32x3) -> ConstantTexture { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ImageTexture` is never constructed [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 `from` is never used [INFO] [stdout] --> src/texture.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl ImageTexture { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 54 | pub fn from>(path: P) -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Image` is never constructed [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 `new` is never used [INFO] [stdout] --> src/image_io.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Image { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 14 | pub fn new(width: u32, height: u32, pixels: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_image` is never used [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 `load_rgb_image` is never used [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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.52s [INFO] running `Command { std: "docker" "inspect" "ea7f3fbd8958806a911e9fc9af5d7d832b63c8e1b92e1631fb8a0fdd70311f93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea7f3fbd8958806a911e9fc9af5d7d832b63c8e1b92e1631fb8a0fdd70311f93", kill_on_drop: false }` [INFO] [stdout] ea7f3fbd8958806a911e9fc9af5d7d832b63c8e1b92e1631fb8a0fdd70311f93