[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#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmario007%2Fsunray" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mario007/sunray on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "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-7-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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64f167239d583cabbf1c7f7cac63a147200d2cf92f8ac9f5214dc286b9c3f014 [INFO] running `Command { std: "docker" "start" "-a" "64f167239d583cabbf1c7f7cac63a147200d2cf92f8ac9f5214dc286b9c3f014", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64f167239d583cabbf1c7f7cac63a147200d2cf92f8ac9f5214dc286b9c3f014", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64f167239d583cabbf1c7f7cac63a147200d2cf92f8ac9f5214dc286b9c3f014", kill_on_drop: false }` [INFO] [stdout] 64f167239d583cabbf1c7f7cac63a147200d2cf92f8ac9f5214dc286b9c3f014 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3485c2ef4681b96aaa0a237e5620f0c559915fc5a9a4e1efd04bbe2b0f459a9 [INFO] running `Command { std: "docker" "start" "-a" "e3485c2ef4681b96aaa0a237e5620f0c559915fc5a9a4e1efd04bbe2b0f459a9", 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 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 crc32fast v1.2.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking weezl v0.1.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking gif v0.11.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking num_cpus v1.13.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 (/opt/rustwide/workdir) [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: 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: field `value` is never read [INFO] [stdout] --> src/texture.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct ConstantTexture { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 34 | value: f32x3 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `texels` is never read [INFO] [stdout] --> src/texture.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct ImageTexture { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 50 | texels: Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width`, `height`, and `pixels` are never read [INFO] [stdout] --> src/image_io.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Image { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 8 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | pixels: Vec, [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: 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: field `texels` is never read [INFO] [stdout] --> src/texture.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct ImageTexture { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 50 | texels: Vec [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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.25s [INFO] running `Command { std: "docker" "inspect" "e3485c2ef4681b96aaa0a237e5620f0c559915fc5a9a4e1efd04bbe2b0f459a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3485c2ef4681b96aaa0a237e5620f0c559915fc5a9a4e1efd04bbe2b0f459a9", kill_on_drop: false }` [INFO] [stdout] e3485c2ef4681b96aaa0a237e5620f0c559915fc5a9a4e1efd04bbe2b0f459a9