[INFO] cloning repository https://github.com/ntroutman/rust-raytracing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ntroutman/rust-raytracing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fntroutman%2Frust-raytracing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fntroutman%2Frust-raytracing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c90a60fe84e44ebf3490b3d7a6db6f0468dd22fb [INFO] checking ntroutman/rust-raytracing against try#724e78794d2cf06eef820a24c9a4608d63435e1d for pr-149145 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fntroutman%2Frust-raytracing" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ntroutman/rust-raytracing [INFO] finished tweaking git repo https://github.com/ntroutman/rust-raytracing [INFO] tweaked toml for git repo https://github.com/ntroutman/rust-raytracing written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ntroutman/rust-raytracing on toolchain 724e78794d2cf06eef820a24c9a4608d63435e1d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+724e78794d2cf06eef820a24c9a4608d63435e1d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ntroutman/rust-raytracing 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" "+724e78794d2cf06eef820a24c9a4608d63435e1d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking ntroutman/rust-raytracing against try#724e78794d2cf06eef820a24c9a4608d63435e1d for pr-149145 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fntroutman%2Frust-raytracing" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ntroutman/rust-raytracing [INFO] finished tweaking git repo https://github.com/ntroutman/rust-raytracing [INFO] tweaked toml for git repo https://github.com/ntroutman/rust-raytracing written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ntroutman/rust-raytracing on toolchain 724e78794d2cf06eef820a24c9a4608d63435e1d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+724e78794d2cf06eef820a24c9a4608d63435e1d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ntroutman/rust-raytracing 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" "+724e78794d2cf06eef820a24c9a4608d63435e1d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mediumvec v1.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+724e78794d2cf06eef820a24c9a4608d63435e1d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17bfe15ffad3dce3e6817587d2ac0433a8faf8de08336c9ef8bc12950445fc0f [INFO] running `Command { std: "docker" "start" "-a" "17bfe15ffad3dce3e6817587d2ac0433a8faf8de08336c9ef8bc12950445fc0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17bfe15ffad3dce3e6817587d2ac0433a8faf8de08336c9ef8bc12950445fc0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17bfe15ffad3dce3e6817587d2ac0433a8faf8de08336c9ef8bc12950445fc0f", kill_on_drop: false }` [INFO] [stdout] 17bfe15ffad3dce3e6817587d2ac0433a8faf8de08336c9ef8bc12950445fc0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+724e78794d2cf06eef820a24c9a4608d63435e1d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 509a1b4dd65c53ebe543433047c0d0230019a592826e1eeda7a6ac925099b45a [INFO] running `Command { std: "docker" "start" "-a" "509a1b4dd65c53ebe543433047c0d0230019a592826e1eeda7a6ac925099b45a", kill_on_drop: false }` [INFO] [stderr] Checking mediumvec v1.2.0 [INFO] [stderr] Checking raytracing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Vec32` and `vec32` [INFO] [stdout] --> src/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use mediumvec::{Vec32, vec32}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::var` [INFO] [stdout] --> src/vec3.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::env::var; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | let size = (3 as usize * width as usize * height as usize); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - let size = (3 as usize * width as usize * height as usize); [INFO] [stdout] 50 + let size = 3 as usize * width as usize * height as usize ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Vec32` and `vec32` [INFO] [stdout] --> src/main.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use mediumvec::{Vec32, vec32}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::var` [INFO] [stdout] --> src/vec3.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::env::var; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | let size = (3 as usize * width as usize * height as usize); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - let size = (3 as usize * width as usize * height as usize); [INFO] [stdout] 50 + let size = 3 as usize * width as usize * height as usize ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `from` [INFO] [stdout] --> src/vec3.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn from(x: f32, y: f32, z: f32) -> Vec3 { [INFO] [stdout] | ------------------------------------------- other definition for `from` [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn from(x: u32, y: u32, z: u32) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0592]: duplicate definitions with name `from` [INFO] [stdout] --> src/vec3.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn from(x: f32, y: f32, z: f32) -> Vec3 { [INFO] [stdout] | ------------------------------------------- other definition for `from` [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn from(x: u32, y: u32, z: u32) -> Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/main.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | let origin = Point3::from(0, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^ - - - expected `f32`, found integer [INFO] [stdout] | | | [INFO] [stdout] | | expected `f32`, found integer [INFO] [stdout] | expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/vec3.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn from(x: f32, y: f32, z: f32) -> Vec3 { [INFO] [stdout] | ^^^^ ------ ------ ------ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 29 | let origin = Point3::from(0.0, 0, 0); [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 29 | let origin = Point3::from(0, 0.0, 0); [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 29 | let origin = Point3::from(0, 0, 0.0); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/main.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | let origin = Point3::from(0, 0, 0); [INFO] [stdout] | ^^^^^^^^^^^^ - - - expected `f32`, found integer [INFO] [stdout] | | | [INFO] [stdout] | | expected `f32`, found integer [INFO] [stdout] | expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/vec3.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn from(x: f32, y: f32, z: f32) -> Vec3 { [INFO] [stdout] | ^^^^ ------ ------ ------ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 29 | let origin = Point3::from(0.0, 0, 0); [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 29 | let origin = Point3::from(0, 0.0, 0); [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 29 | let origin = Point3::from(0, 0, 0.0); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/main.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let horizontal = Vec3::from(viewport_width, 0, 0); [INFO] [stdout] | ^^^^^^^^^^ - - expected `f32`, found integer [INFO] [stdout] | | [INFO] [stdout] | expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/vec3.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn from(x: f32, y: f32, z: f32) -> Vec3 { [INFO] [stdout] | ^^^^ ------ ------ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 30 | let horizontal = Vec3::from(viewport_width, 0.0, 0); [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 30 | let horizontal = Vec3::from(viewport_width, 0, 0.0); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/main.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | let horizontal = Vec3::from(viewport_width, 0, 0); [INFO] [stdout] | ^^^^^^^^^^ - - expected `f32`, found integer [INFO] [stdout] | | [INFO] [stdout] | expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/vec3.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn from(x: f32, y: f32, z: f32) -> Vec3 { [INFO] [stdout] | ^^^^ ------ ------ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 30 | let horizontal = Vec3::from(viewport_width, 0.0, 0); [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 30 | let horizontal = Vec3::from(viewport_width, 0, 0.0); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/main.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | let vertical = Vec3::from(0, viewport_height, 0); [INFO] [stdout] | ^^^^^^^^^^ - - expected `f32`, found integer [INFO] [stdout] | | [INFO] [stdout] | expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/vec3.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn from(x: f32, y: f32, z: f32) -> Vec3 { [INFO] [stdout] | ^^^^ ------ ------ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 31 | let vertical = Vec3::from(0.0, viewport_height, 0); [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 31 | let vertical = Vec3::from(0, viewport_height, 0.0); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/main.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | let vertical = Vec3::from(0, viewport_height, 0); [INFO] [stdout] | ^^^^^^^^^^ - - expected `f32`, found integer [INFO] [stdout] | | [INFO] [stdout] | expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/vec3.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn from(x: f32, y: f32, z: f32) -> Vec3 { [INFO] [stdout] | ^^^^ ------ ------ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 31 | let vertical = Vec3::from(0.0, viewport_height, 0); [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 31 | let vertical = Vec3::from(0, viewport_height, 0.0); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | let lower_left_corner = origin - horizontal/2 - vertical/2 - Vec3::from(0, 0, focal_length); [INFO] [stdout] | ^ expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 32 | let lower_left_corner = origin - horizontal/2.0 - vertical/2 - Vec3::from(0, 0, focal_length); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | let lower_left_corner = origin - horizontal/2 - vertical/2 - Vec3::from(0, 0, focal_length); [INFO] [stdout] | ^ expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 32 | let lower_left_corner = origin - horizontal/2.0 - vertical/2 - Vec3::from(0, 0, focal_length); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot subtract `Vec3` from `Vec3` [INFO] [stdout] --> src/main.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | let lower_left_corner = origin - horizontal/2 - vertical/2 - Vec3::from(0, 0, focal_length); [INFO] [stdout] | ------ ^ ------------ Vec3 [INFO] [stdout] | | [INFO] [stdout] | Vec3 [INFO] [stdout] | [INFO] [stdout] note: an implementation of `Sub` might be missing for `Vec3` [INFO] [stdout] --> src/vec3.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ must implement `Sub` [INFO] [stdout] note: the trait `Sub` must be implemented [INFO] [stdout] --> /rustc/724e78794d2cf06eef820a24c9a4608d63435e1d/library/core/src/ops/arith.rs:190:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot subtract `Vec3` from `Vec3` [INFO] [stdout] --> src/main.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | let lower_left_corner = origin - horizontal/2 - vertical/2 - Vec3::from(0, 0, focal_length); [INFO] [stdout] | ------ ^ ------------ Vec3 [INFO] [stdout] | | [INFO] [stdout] | Vec3 [INFO] [stdout] | [INFO] [stdout] note: an implementation of `Sub` might be missing for `Vec3` [INFO] [stdout] --> src/vec3.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Vec3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ must implement `Sub` [INFO] [stdout] note: the trait `Sub` must be implemented [INFO] [stdout] --> /rustc/724e78794d2cf06eef820a24c9a4608d63435e1d/library/core/src/ops/arith.rs:190:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:32:62 [INFO] [stdout] | [INFO] [stdout] 32 | let lower_left_corner = origin - horizontal/2 - vertical/2 - Vec3::from(0, 0, focal_length); [INFO] [stdout] | ^ expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 32 | let lower_left_corner = origin - horizontal/2 - vertical/2.0 - Vec3::from(0, 0, focal_length); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:32:62 [INFO] [stdout] | [INFO] [stdout] 32 | let lower_left_corner = origin - horizontal/2 - vertical/2 - Vec3::from(0, 0, focal_length); [INFO] [stdout] | ^ expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 32 | let lower_left_corner = origin - horizontal/2 - vertical/2.0 - Vec3::from(0, 0, focal_length); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/main.rs:32:66 [INFO] [stdout] | [INFO] [stdout] 32 | let lower_left_corner = origin - horizontal/2 - vertical/2 - Vec3::from(0, 0, focal_length); [INFO] [stdout] | ^^^^^^^^^^ - - expected `f32`, found integer [INFO] [stdout] | | [INFO] [stdout] | expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/vec3.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn from(x: f32, y: f32, z: f32) -> Vec3 { [INFO] [stdout] | ^^^^ ------ ------ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 32 | let lower_left_corner = origin - horizontal/2 - vertical/2 - Vec3::from(0.0, 0, focal_length); [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 32 | let lower_left_corner = origin - horizontal/2 - vertical/2 - Vec3::from(0, 0.0, focal_length); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/main.rs:32:66 [INFO] [stdout] | [INFO] [stdout] 32 | let lower_left_corner = origin - horizontal/2 - vertical/2 - Vec3::from(0, 0, focal_length); [INFO] [stdout] | ^^^^^^^^^^ - - expected `f32`, found integer [INFO] [stdout] | | [INFO] [stdout] | expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/vec3.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn from(x: f32, y: f32, z: f32) -> Vec3 { [INFO] [stdout] | ^^^^ ------ ------ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 32 | let lower_left_corner = origin - horizontal/2 - vertical/2 - Vec3::from(0.0, 0, focal_length); [INFO] [stdout] | ++ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 32 | let lower_left_corner = origin - horizontal/2 - vertical/2 - Vec3::from(0, 0.0, focal_length); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0369, E0592. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0369, E0592. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `raytracing` (bin "raytracing") due to 8 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `raytracing` (bin "raytracing" test) due to 8 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "509a1b4dd65c53ebe543433047c0d0230019a592826e1eeda7a6ac925099b45a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "509a1b4dd65c53ebe543433047c0d0230019a592826e1eeda7a6ac925099b45a", kill_on_drop: false }` [INFO] [stdout] 509a1b4dd65c53ebe543433047c0d0230019a592826e1eeda7a6ac925099b45a