[INFO] cloning repository https://github.com/CarterTS/RustRayTracer [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CarterTS/RustRayTracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarterTS%2FRustRayTracer"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarterTS%2FRustRayTracer'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] e29af1b3b19f428c645c10f305397f6eb6b6edfe [INFO] testing CarterTS/RustRayTracer against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCarterTS%2FRustRayTracer" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CarterTS/RustRayTracer on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/CarterTS/RustRayTracer [INFO] removed path dependency vec3 from git repo https://github.com/CarterTS/RustRayTracer [INFO] finished tweaking git repo https://github.com/CarterTS/RustRayTracer [INFO] tweaked toml for git repo https://github.com/CarterTS/RustRayTracer written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/CarterTS/RustRayTracer already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (vec3) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating git repository `https://github.com/ACRONYM-Group/clilib` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/ACRONYM-Group/clilib` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (vec3) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rson_rs v0.2.1 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fc5a460373624725119fc1986e3942ae52656c2ee3d0355789ef1758f189c174 [INFO] running `"docker" "start" "-a" "fc5a460373624725119fc1986e3942ae52656c2ee3d0355789ef1758f189c174"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: dependency (vec3) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling cast_trait v0.1.2 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling cli v0.3.1 (https://github.com/ACRONYM-Group/clilib#40f1669f) [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling crossbeam-queue v0.2.2 [INFO] [stderr] Compiling tiff v0.4.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling png v0.16.4 [INFO] [stderr] Compiling vec3 v0.2.1 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.19 [INFO] [stderr] Compiling image v0.23.4 [INFO] [stderr] Compiling rson_rs v0.2.1 [INFO] [stderr] Compiling ray_trace v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `vec3::Vec3` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use vec3::Vec3; [INFO] [stderr] | ^^^^^^^^^^ no `Vec3` in the root [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec3` [INFO] [stderr] --> src/raytracer/./rotations.rs:9:28 [INFO] [stderr] | [INFO] [stderr] 9 | let mut v = axis.cross(Vec3::new(1.0, 1.0, 1.0)).get_normalized(); [INFO] [stderr] | ^^^^ use of undeclared type or module `Vec3` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec3` [INFO] [stderr] --> src/raytracer/./rotations.rs:13:24 [INFO] [stderr] | [INFO] [stderr] 13 | v = axis.cross(Vec3::new(1.0, -1.0, 1.0)).get_normalized(); [INFO] [stderr] | ^^^^ use of undeclared type or module `Vec3` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec3` [INFO] [stderr] --> src/raytracer/./rotations.rs:18:27 [INFO] [stderr] | [INFO] [stderr] 18 | let direction_prime = Vec3::new( [INFO] [stderr] | ^^^^ use of undeclared type or module `Vec3` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec3` [INFO] [stderr] --> src/raytracer/./rotations.rs:25:25 [INFO] [stderr] | [INFO] [stderr] 25 | let rotated_prime = Vec3::new( [INFO] [stderr] | ^^^^ use of undeclared type or module `Vec3` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec3` [INFO] [stderr] --> src/raytracer/./rotations.rs:41:60 [INFO] [stderr] | [INFO] [stderr] 41 | let pitched_direction = rotate_through_axis(direction, Vec3::new(0.0, 0.0, 1.0), pitch); [INFO] [stderr] | ^^^^ use of undeclared type or module `Vec3` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec3` [INFO] [stderr] --> src/raytracer/./rotations.rs:44:20 [INFO] [stderr] | [INFO] [stderr] 44 | let mut perp = Vec3::new(0.0, 0.0, 1.0).cross(pitched_direction).get_normalized(); [INFO] [stderr] | ^^^^ use of undeclared type or module `Vec3` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec3` [INFO] [stderr] --> src/raytracer/./rotations.rs:49:16 [INFO] [stderr] | [INFO] [stderr] 49 | perp = Vec3::new(1.0,0.0, 0.0); [INFO] [stderr] | ^^^^ use of undeclared type or module `Vec3` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec3` [INFO] [stderr] --> src/raytracer/./rotations.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | Vec3::new( [INFO] [stderr] | ^^^^ use of undeclared type or module `Vec3` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec3` [INFO] [stderr] --> src/raytracer/objects.rs:12:21 [INFO] [stderr] | [INFO] [stderr] 12 | let mut along = Vec3::new(1.0, 0.0, 0.0); [INFO] [stderr] | ^^^^ use of undeclared type or module `Vec3` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec3` [INFO] [stderr] --> src/raytracer/objects.rs:13:25 [INFO] [stderr] | [INFO] [stderr] 13 | let mut pitch_vec = Vec3::new(0.0, 1.0, 0.0); [INFO] [stderr] | ^^^^ use of undeclared type or module `Vec3` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec3` [INFO] [stderr] --> src/raytracer/objects.rs:15:48 [INFO] [stderr] | [INFO] [stderr] 15 | pitch_vec = rotate_through_axis(pitch_vec, Vec3::new(0.0, 0.0, 1.0), yaw); [INFO] [stderr] | ^^^^ use of undeclared type or module `Vec3` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec3` [INFO] [stderr] --> src/raytracer/objects.rs:16:40 [INFO] [stderr] | [INFO] [stderr] 16 | along = rotate_through_axis(along, Vec3::new(0.0, 0.0, 1.0), yaw); [INFO] [stderr] | ^^^^ use of undeclared type or module `Vec3` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec3` [INFO] [stderr] --> src/raytracer/objects.rs:20:48 [INFO] [stderr] | [INFO] [stderr] 20 | let mut final_vec = rotate_through_axis(v, Vec3::new(0.0, 0.0, 1.0), yaw); [INFO] [stderr] | ^^^^ use of undeclared type or module `Vec3` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec3` [INFO] [stderr] --> src/raytracer/objects.rs:366:22 [INFO] [stderr] | [INFO] [stderr] 366 | let prime = (Vec3::new(0.0, 0.0, 0.0), [INFO] [stderr] | ^^^^ use of undeclared type or module `Vec3` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec3` [INFO] [stderr] --> src/raytracer/objects.rs:487:27 [INFO] [stderr] | [INFO] [stderr] 487 | let points = vec![Vec3::new(-1.0, 1.0, -1.0), [INFO] [stderr] | ^^^^ use of undeclared type or module `Vec3` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec3` [INFO] [stderr] --> src/raytracer/objects.rs:488:27 [INFO] [stderr] | [INFO] [stderr] 488 | Vec3::new(1.0, 1.0, -1.0), [INFO] [stderr] | ^^^^ use of undeclared type or module `Vec3` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec3` [INFO] [stderr] --> src/raytracer/objects.rs:489:27 [INFO] [stderr] | [INFO] [stderr] 489 | Vec3::new(-1.0, -1.0, -1.0), [INFO] [stderr] | ^^^^ use of undeclared type or module `Vec3` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec3` [INFO] [stderr] --> src/raytracer/objects.rs:490:27 [INFO] [stderr] | [INFO] [stderr] 490 | Vec3::new(1.0, -1.0, -1.0), [INFO] [stderr] | ^^^^ use of undeclared type or module `Vec3` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec3` [INFO] [stderr] --> src/raytracer/objects.rs:491:27 [INFO] [stderr] | [INFO] [stderr] 491 | Vec3::new(-1.0, 1.0, 1.0), [INFO] [stderr] | ^^^^ use of undeclared type or module `Vec3` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec3` [INFO] [stderr] --> src/raytracer/objects.rs:492:27 [INFO] [stderr] | [INFO] [stderr] 492 | Vec3::new(1.0, 1.0, 1.0), [INFO] [stderr] | ^^^^ use of undeclared type or module `Vec3` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec3` [INFO] [stderr] --> src/raytracer/objects.rs:493:27 [INFO] [stderr] | [INFO] [stderr] 493 | Vec3::new(-1.0, -1.0, 1.0), [INFO] [stderr] | ^^^^ use of undeclared type or module `Vec3` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec3` [INFO] [stderr] --> src/raytracer/objects.rs:494:27 [INFO] [stderr] | [INFO] [stderr] 494 | Vec3::new(1.0, -1.0, 1.0)]; [INFO] [stderr] | ^^^^ use of undeclared type or module `Vec3` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec3` [INFO] [stderr] --> src/raytracer/objects.rs:675:18 [INFO] [stderr] | [INFO] [stderr] 675 | Ray::new(Vec3::new(0.0, 0.0, 0.0), Vec3::new(x, y, z)) [INFO] [stderr] | ^^^^ use of undeclared type or module `Vec3` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec3` [INFO] [stderr] --> src/raytracer/objects.rs:675:44 [INFO] [stderr] | [INFO] [stderr] 675 | Ray::new(Vec3::new(0.0, 0.0, 0.0), Vec3::new(x, y, z)) [INFO] [stderr] | ^^^^ use of undeclared type or module `Vec3` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec3` [INFO] [stderr] --> src/raytracer/objects.rs:685:44 [INFO] [stderr] | [INFO] [stderr] 685 | let facing_vector = apply_rotation(Vec3::new(1.0, 0.0, 0.0), [INFO] [stderr] | ^^^^ use of undeclared type or module `Vec3` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec3` [INFO] [stderr] --> src/raytracer/objects.rs:690:37 [INFO] [stderr] | [INFO] [stderr] 690 | let mut up = apply_rotation(Vec3::new(1.0, 0.0, 0.0), [INFO] [stderr] | ^^^^ use of undeclared type or module `Vec3` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec3` [INFO] [stderr] --> src/raytracer/mod.rs:157:46 [INFO] [stderr] | [INFO] [stderr] 157 | best_hit = Some(Hit::new(Vec3::new(x, y, self.settings.floor_height), Vec3::new(0.0, 0.0, 1.0), [INFO] [stderr] | ^^^^ use of undeclared type or module `Vec3` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Vec3` [INFO] [stderr] --> src/raytracer/mod.rs:157:91 [INFO] [stderr] | [INFO] [stderr] 157 | best_hit = Some(Hit::new(Vec3::new(x, y, self.settings.floor_height), Vec3::new(0.0, 0.0, 1.0), [INFO] [stderr] | ^^^^ use of undeclared type or module `Vec3` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/./rotations.rs:5:39 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn rotate_through_axis(direction: Vec3, axis: Vec3, theta: f64) -> Vec3 [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/./rotations.rs:5:51 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn rotate_through_axis(direction: Vec3, axis: Vec3, theta: f64) -> Vec3 [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/./rotations.rs:5:72 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn rotate_through_axis(direction: Vec3, axis: Vec3, theta: f64) -> Vec3 [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/./rotations.rs:38:34 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn apply_rotation(direction: Vec3, pitch: f64, yaw: f64) -> Vec3 [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/./rotations.rs:38:65 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn apply_rotation(direction: Vec3, pitch: f64, yaw: f64) -> Vec3 [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/./rotations.rs:57:24 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn convert_to(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/./rotations.rs:57:37 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn convert_to(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/./rotations.rs:57:50 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn convert_to(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/./rotations.rs:57:63 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn convert_to(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/./rotations.rs:57:72 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn convert_to(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/./rotations.rs:67:26 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn convert_from(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/./rotations.rs:67:39 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn convert_from(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/./rotations.rs:67:52 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn convert_from(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/./rotations.rs:67:65 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn convert_from(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/./rotations.rs:67:74 [INFO] [stderr] | [INFO] [stderr] 67 | pub fn convert_from(vec: Vec3, i_hat: Vec3, j_hat: Vec3, k_hat: Vec3) -> Vec3 [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:9:19 [INFO] [stderr] | [INFO] [stderr] 9 | fn cube_rotate(v: Vec3, pitch: f64, yaw: f64, roll: f64) -> Vec3 [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:9:61 [INFO] [stderr] | [INFO] [stderr] 9 | fn cube_rotate(v: Vec3, pitch: f64, yaw: f64, roll: f64) -> Vec3 [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:30:17 [INFO] [stderr] | [INFO] [stderr] 30 | pub origin: Vec3, [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:32:20 [INFO] [stderr] | [INFO] [stderr] 32 | pub direction: Vec3 [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:38:24 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn new(origin: Vec3, direction: Vec3) -> Self [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:38:41 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn new(origin: Vec3, direction: Vec3) -> Self [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:208:13 [INFO] [stderr] | [INFO] [stderr] 208 | center: Vec3, [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:217:24 [INFO] [stderr] | [INFO] [stderr] 217 | pub fn new(center: Vec3, radius: f64, material: Material) -> Self [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:334:9 [INFO] [stderr] | [INFO] [stderr] 334 | p0: Vec3, [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:335:9 [INFO] [stderr] | [INFO] [stderr] 335 | p1: Vec3, [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:336:9 [INFO] [stderr] | [INFO] [stderr] 336 | p2: Vec3, [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:342:20 [INFO] [stderr] | [INFO] [stderr] 342 | pub fn new(p0: Vec3, p1: Vec3, p2: Vec3, material: Material) -> Self [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:342:30 [INFO] [stderr] | [INFO] [stderr] 342 | pub fn new(p0: Vec3, p1: Vec3, p2: Vec3, material: Material) -> Self [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:342:40 [INFO] [stderr] | [INFO] [stderr] 342 | pub fn new(p0: Vec3, p1: Vec3, p2: Vec3, material: Material) -> Self [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:433:20 [INFO] [stderr] | [INFO] [stderr] 433 | pub fn new(p0: Vec3, p1: Vec3, p2: Vec3, p3: Vec3, material: Material) -> Self [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:433:30 [INFO] [stderr] | [INFO] [stderr] 433 | pub fn new(p0: Vec3, p1: Vec3, p2: Vec3, p3: Vec3, material: Material) -> Self [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:433:40 [INFO] [stderr] | [INFO] [stderr] 433 | pub fn new(p0: Vec3, p1: Vec3, p2: Vec3, p3: Vec3, material: Material) -> Self [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:433:50 [INFO] [stderr] | [INFO] [stderr] 433 | pub fn new(p0: Vec3, p1: Vec3, p2: Vec3, p3: Vec3, material: Material) -> Self [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:485:24 [INFO] [stderr] | [INFO] [stderr] 485 | pub fn new(offset: Vec3, rotation: Vec3, scale: f64, material: Material) -> Self [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:485:40 [INFO] [stderr] | [INFO] [stderr] 485 | pub fn new(offset: Vec3, rotation: Vec3, scale: f64, material: Material) -> Self [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:570:14 [INFO] [stderr] | [INFO] [stderr] 570 | pub pos: Vec3, [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:578:21 [INFO] [stderr] | [INFO] [stderr] 578 | pub fn new(pos: Vec3, color: Color, brightness: f64) -> Self [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:600:19 [INFO] [stderr] | [INFO] [stderr] 600 | pub location: Vec3, [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:601:17 [INFO] [stderr] | [INFO] [stderr] 601 | pub normal: Vec3, [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:610:26 [INFO] [stderr] | [INFO] [stderr] 610 | pub fn new(location: Vec3, normal: Vec3, depth: f64, material: Material, incoming_ray: Ray) -> Self [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:610:40 [INFO] [stderr] | [INFO] [stderr] 610 | pub fn new(location: Vec3, normal: Vec3, depth: f64, material: Material, incoming_ray: Ray) -> Self [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:639:15 [INFO] [stderr] | [INFO] [stderr] 639 | position: Vec3, [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:645:15 [INFO] [stderr] | [INFO] [stderr] 645 | rotation: Vec3 [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:651:26 [INFO] [stderr] | [INFO] [stderr] 651 | pub fn new(position: Vec3, fov: f64, aspect_ratio: f64, rotation: Vec3) -> Self [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Vec3` in this scope [INFO] [stderr] --> src/raytracer/objects.rs:651:71 [INFO] [stderr] | [INFO] [stderr] 651 | pub fn new(position: Vec3, fov: f64, aspect_ratio: f64, rotation: Vec3) -> Self [INFO] [stderr] | ^^^^ help: a struct with a similar name exists: `Vec` [INFO] [stderr] [INFO] [stderr] warning: unused import: `vec3::*` [INFO] [stderr] --> src/raytracer/objects.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use vec3::*; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `vec3::*` [INFO] [stderr] --> src/raytracer/./rotations.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use vec3::*; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `vec3::*` [INFO] [stderr] --> src/raytracer/mod.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use vec3::*; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0689]: can't call method `powf` on ambiguous numeric type `{float}` [INFO] [stderr] --> src/raytracer/objects.rs:234:23 [INFO] [stderr] | [INFO] [stderr] 234 | let under = b.powf(2.0) - 4.0 * a * c; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] help: you must specify a type for this binding, like `f32` [INFO] [stderr] | [INFO] [stderr] 231 | let b: f32 = 2.0*(ray.direction.get_normalized().dot(ray.origin - self.center)); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0689]: can't call method `powf` on ambiguous numeric type `{float}` [INFO] [stderr] --> src/raytracer/objects.rs:272:23 [INFO] [stderr] | [INFO] [stderr] 272 | let under = b.powf(2.0) - 4.0 * a * c; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] help: you must specify a type for this binding, like `f32` [INFO] [stderr] | [INFO] [stderr] 269 | let b: f32 = 2.0*(ray.direction.get_normalized().dot(ray.origin - self.center)); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0689]: can't call method `powf` on ambiguous numeric type `{float}` [INFO] [stderr] --> src/raytracer/objects.rs:293:23 [INFO] [stderr] | [INFO] [stderr] 293 | let under = b.powf(2.0) - 4.0 * a * c; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] help: you must specify a type for this binding, like `f32` [INFO] [stderr] | [INFO] [stderr] 290 | let b: f32 = 2.0*(ray.direction.get_normalized().dot(ray.origin - self.center)); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0689]: can't call method `min` on ambiguous numeric type `{float}` [INFO] [stderr] --> src/raytracer/objects.rs:303:15 [INFO] [stderr] | [INFO] [stderr] 303 | ).min( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get_normalized` found for type `{float}` in the current scope [INFO] [stderr] --> src/raytracer/objects.rs:362:25 [INFO] [stderr] | [INFO] [stderr] 362 | let zp = normal.get_normalized(); [INFO] [stderr] | ^^^^^^^^^^^^^^ method not found in `{float}` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `cross` found for type `{float}` in the current scope [INFO] [stderr] --> src/raytracer/./rotations.rs:15:15 [INFO] [stderr] | [INFO] [stderr] 15 | let u = w.cross(v); [INFO] [stderr] | ^^^^^ method not found in `{float}` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `dot` found for type `{float}` in the current scope [INFO] [stderr] --> src/raytracer/./rotations.rs:21:11 [INFO] [stderr] | [INFO] [stderr] 21 | w.dot(direction) [INFO] [stderr] | ^^^ method not found in `{float}` [INFO] [stderr] [INFO] [stderr] error: aborting due to 81 previous errors; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433, E0599, E0689. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `ray_trace`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "fc5a460373624725119fc1986e3942ae52656c2ee3d0355789ef1758f189c174"` [INFO] running `"docker" "rm" "-f" "fc5a460373624725119fc1986e3942ae52656c2ee3d0355789ef1758f189c174"` [INFO] [stdout] fc5a460373624725119fc1986e3942ae52656c2ee3d0355789ef1758f189c174