[INFO] cloning repository https://github.com/Shybert/sorb-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Shybert/sorb-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShybert%2Fsorb-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShybert%2Fsorb-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 38c69e5723460e8bc598747e542d3f613e666fe0 [INFO] checking Shybert/sorb-rust against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShybert%2Fsorb-rust" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Shybert/sorb-rust on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Shybert/sorb-rust [INFO] finished tweaking git repo https://github.com/Shybert/sorb-rust [INFO] tweaked toml for git repo https://github.com/Shybert/sorb-rust written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/Shybert/sorb-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ba2c775c1533cc9bcb8910958e49e1db0816f6ba2a5c43cd52284a5dead7fc2 [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" "0ba2c775c1533cc9bcb8910958e49e1db0816f6ba2a5c43cd52284a5dead7fc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ba2c775c1533cc9bcb8910958e49e1db0816f6ba2a5c43cd52284a5dead7fc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ba2c775c1533cc9bcb8910958e49e1db0816f6ba2a5c43cd52284a5dead7fc2", kill_on_drop: false }` [INFO] [stdout] 0ba2c775c1533cc9bcb8910958e49e1db0816f6ba2a5c43cd52284a5dead7fc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40e0903801213397595a9198933e58ae9252058167bb81e968221fc96f376f81 [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" "40e0903801213397595a9198933e58ae9252058167bb81e968221fc96f376f81", kill_on_drop: false }` [INFO] [stderr] Checking sorb-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `get_color` [INFO] [stdout] --> src/geometry/interaction.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_color(&self) -> &Color { [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: `translate` [INFO] [stdout] --> src/geometry/matrix.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn translate(self, x: f64, y: f64, z: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scale` [INFO] [stdout] --> src/geometry/matrix.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn scale(self, x: f64, y: f64, z: f64) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_x` [INFO] [stdout] --> src/geometry/matrix.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn rotate_x(self, angle: f64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_y` [INFO] [stdout] --> src/geometry/matrix.rs:108:10 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn rotate_y(self, angle: f64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_z` [INFO] [stdout] --> src/geometry/matrix.rs:120:10 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn rotate_z(self, angle: f64) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shear` [INFO] [stdout] --> src/geometry/matrix.rs:132:10 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn shear(self, xy: f64, xz: f64, yx: f64, yz: f64, zx: f64, zy: f64) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `position` [INFO] [stdout] --> src/geometry/ray.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn position(&self, t: f64) -> Point { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cross` [INFO] [stdout] --> src/geometry/vector.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn cross(a: &Vector, b: &Vector) -> Vector { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Camera` [INFO] [stdout] --> src/render/camera.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Camera { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `render` [INFO] [stdout] --> src/render/camera.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn render(&self, scene: &Scene, canvas: &mut Canvas, transform: Matrix) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/render/canvas.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(width: usize, height: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_width` [INFO] [stdout] --> src/render/canvas.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn get_width(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_height` [INFO] [stdout] --> src/render/canvas.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_height(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pixel_index` [INFO] [stdout] --> src/render/canvas.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | fn get_pixel_index(&self, x: usize, y: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pixel` [INFO] [stdout] --> src/render/canvas.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_pixel(&self, x: usize, y: usize) -> &Color { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_pixels` [INFO] [stdout] --> src/render/canvas.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn get_pixels(&self) -> &[Color] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_pixel` [INFO] [stdout] --> src/render/canvas.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn set_pixel(&mut self, x: usize, y: usize, color: &Color) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_ppm` [INFO] [stdout] --> src/render/canvas.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn to_ppm(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `objects` [INFO] [stdout] --> src/render/scene.rs:5:3 [INFO] [stdout] | [INFO] [stdout] 5 | objects: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/render/scene.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn new(objects: Vec>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_objects` [INFO] [stdout] --> src/render/scene.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn get_objects(&self) -> &[Box] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/shapes/sphere.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(color: Color, transformation: Matrix) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_color` [INFO] [stdout] --> src/shapes/sphere.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn set_color(&mut self, color: &Color) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_hit` [INFO] [stdout] --> src/shapes.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn get_hit(intersections: &[Intersection]) -> Option<&Intersection> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `clamp_number` [INFO] [stdout] --> src/utils.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn clamp_number(number: f64, min: f64, max: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Camera` [INFO] [stdout] --> src/render/camera.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Camera { [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: `render` [INFO] [stdout] --> src/render/camera.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn render(&self, scene: &Scene, canvas: &mut Canvas, transform: Matrix) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_ppm` [INFO] [stdout] --> src/render/canvas.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn to_ppm(&self) -> String { [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 1.06s [INFO] running `Command { std: "docker" "inspect" "40e0903801213397595a9198933e58ae9252058167bb81e968221fc96f376f81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40e0903801213397595a9198933e58ae9252058167bb81e968221fc96f376f81", kill_on_drop: false }` [INFO] [stdout] 40e0903801213397595a9198933e58ae9252058167bb81e968221fc96f376f81