[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-2020-07-24 for pr-75494-beta
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FShybert%2Fsorb-rust" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Shybert/sorb-rust on toolchain beta-2020-07-24
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "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-6/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-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0f58377f9365228f99e07b033d58620cc01a984fca14a82473e1a263ff55e07d
[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" "0f58377f9365228f99e07b033d58620cc01a984fca14a82473e1a263ff55e07d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0f58377f9365228f99e07b033d58620cc01a984fca14a82473e1a263ff55e07d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f58377f9365228f99e07b033d58620cc01a984fca14a82473e1a263ff55e07d", kill_on_drop: false }`
[INFO] [stdout] 0f58377f9365228f99e07b033d58620cc01a984fca14a82473e1a263ff55e07d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b41bead49cebfa451a939519b0ceb8b6117552aa9945227c74497564bc6114ad
[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" "b41bead49cebfa451a939519b0ceb8b6117552aa9945227c74497564bc6114ad", 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<Box<dyn Shape>>,
[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<Box<dyn Shape>>) -> 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<dyn Shape>] {
[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.22s
[INFO] running `Command { std: "docker" "inspect" "b41bead49cebfa451a939519b0ceb8b6117552aa9945227c74497564bc6114ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b41bead49cebfa451a939519b0ceb8b6117552aa9945227c74497564bc6114ad", kill_on_drop: false }`
[INFO] [stdout] b41bead49cebfa451a939519b0ceb8b6117552aa9945227c74497564bc6114ad
