Aug 29 14:46:32.907 INFO checking themasch/rust-raytracer against master#545f22340f72ee0efaf6463efb43a2840e3d35db for pr-53699 Aug 29 14:46:32.907 INFO running: cargo +545f22340f72ee0efaf6463efb43a2840e3d35db-alt check --frozen --all --all-targets Aug 29 14:46:32.907 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-0/pr-53699/master#545f22340f72ee0efaf6463efb43a2840e3d35db:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53699/worker-0/master#545f22340f72ee0efaf6463efb43a2840e3d35db:/target:rw,Z" "-v" "/home/ec2-user/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/home/ec2-user/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=500" "-e" "CMD=cargo +545f22340f72ee0efaf6463efb43a2840e3d35db-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "2G" "crater"` Aug 29 14:46:33.168 INFO blam! a2b6ac730ceeafaddbe0357074d4e2d1d67b8fdfc1a8b891553d218d026ff3a9 Aug 29 14:46:33.169 INFO running `"docker" "start" "-a" "a2b6ac730ceeafaddbe0357074d4e2d1d67b8fdfc1a8b891553d218d026ff3a9"` Aug 29 14:46:34.140 INFO kablam! Checking libc v0.2.29 Aug 29 14:46:34.158 INFO kablam! Checking futures v0.1.14 Aug 29 14:46:34.215 INFO kablam! Checking wavefront_obj v5.1.0 Aug 29 14:46:34.215 INFO kablam! Checking assert_approx_eq v1.0.0 Aug 29 14:46:34.215 INFO kablam! Checking deflate v0.7.15 Aug 29 14:46:38.075 INFO kablam! Checking png v0.9.0 Aug 29 14:46:38.611 INFO kablam! Checking num_cpus v1.6.2 Aug 29 14:46:38.612 INFO kablam! Checking rand v0.3.16 Aug 29 14:46:39.503 INFO kablam! Checking threadpool v1.5.0 Aug 29 14:46:43.682 INFO kablam! Checking cgmath v0.15.0 Aug 29 14:46:44.491 INFO kablam! Checking rayon-core v1.2.1 Aug 29 14:46:46.181 INFO kablam! Checking rayon v0.8.2 Aug 29 14:46:52.045 INFO kablam! Checking jpeg-decoder v0.1.13 Aug 29 14:46:54.348 INFO kablam! Checking image v0.15.0 Aug 29 14:47:02.077 INFO kablam! Checking raytracer v0.1.0 (file:///source) Aug 29 14:47:02.318 INFO kablam! warning: unused import: `Intersection` Aug 29 14:47:02.318 INFO kablam! --> src/objects/quad.rs:4:20 Aug 29 14:47:02.318 INFO kablam! | Aug 29 14:47:02.318 INFO kablam! 4 | use raycast::{Ray, Intersection}; Aug 29 14:47:02.318 INFO kablam! | ^^^^^^^^^^^^ Aug 29 14:47:02.318 INFO kablam! | Aug 29 14:47:02.318 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 29 14:47:02.318 INFO kablam! Aug 29 14:47:02.318 INFO kablam! warning: unused imports: `Material`, `SurfaceType` Aug 29 14:47:02.318 INFO kablam! --> src/objects/plane.rs:1:15 Aug 29 14:47:02.318 INFO kablam! | Aug 29 14:47:02.319 INFO kablam! 1 | use objects::{Material, TextureCoords, SurfaceType, Structure, WorldPosition}; Aug 29 14:47:02.319 INFO kablam! | ^^^^^^^^ ^^^^^^^^^^^ Aug 29 14:47:02.319 INFO kablam! Aug 29 14:47:02.319 INFO kablam! warning: unused import: `Color` Aug 29 14:47:02.319 INFO kablam! --> src/objects/plane.rs:2:20 Aug 29 14:47:02.319 INFO kablam! | Aug 29 14:47:02.319 INFO kablam! 2 | use types::{Point, Color, Direction, Scale}; Aug 29 14:47:02.319 INFO kablam! | ^^^^^ Aug 29 14:47:02.319 INFO kablam! Aug 29 14:47:02.319 INFO kablam! warning: unused imports: `Material`, `Quad`, `SurfaceType` Aug 29 14:47:02.319 INFO kablam! --> src/objects/mesh.rs:1:15 Aug 29 14:47:02.319 INFO kablam! | Aug 29 14:47:02.319 INFO kablam! 1 | use objects::{Material, TextureCoords, SurfaceType, Sphere, Structure, WorldPosition, Quad}; Aug 29 14:47:02.319 INFO kablam! | ^^^^^^^^ ^^^^^^^^^^^ ^^^^ Aug 29 14:47:02.319 INFO kablam! Aug 29 14:47:02.319 INFO kablam! warning: unused import: `Color` Aug 29 14:47:02.319 INFO kablam! --> src/objects/mesh.rs:2:20 Aug 29 14:47:02.319 INFO kablam! | Aug 29 14:47:02.319 INFO kablam! 2 | use types::{Point, Color, Direction, Scale}; Aug 29 14:47:02.319 INFO kablam! | ^^^^^ Aug 29 14:47:02.319 INFO kablam! Aug 29 14:47:02.319 INFO kablam! warning: unused import: `cgmath::Vector3` Aug 29 14:47:02.319 INFO kablam! --> src/objects/mesh.rs:5:5 Aug 29 14:47:02.319 INFO kablam! | Aug 29 14:47:02.320 INFO kablam! 5 | use cgmath::Vector3; Aug 29 14:47:02.320 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 29 14:47:02.320 INFO kablam! Aug 29 14:47:02.320 INFO kablam! warning: unnecessary parentheses around function argument Aug 29 14:47:02.320 INFO kablam! --> src/render.rs:80:34 Aug 29 14:47:02.320 INFO kablam! | Aug 29 14:47:02.320 INFO kablam! 80 | let tile_width = min((mx + tile_size), sw) - mx; Aug 29 14:47:02.320 INFO kablam! | ^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 14:47:02.320 INFO kablam! | Aug 29 14:47:02.320 INFO kablam! = note: #[warn(unused_parens)] on by default Aug 29 14:47:02.320 INFO kablam! Aug 29 14:47:02.320 INFO kablam! warning: unnecessary parentheses around function argument Aug 29 14:47:02.321 INFO kablam! --> src/render.rs:81:35 Aug 29 14:47:02.321 INFO kablam! | Aug 29 14:47:02.321 INFO kablam! 81 | let tile_height = min((my + tile_size), sh) - my; Aug 29 14:47:02.321 INFO kablam! | ^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 14:47:02.321 INFO kablam! Aug 29 14:47:02.321 INFO kablam! warning: unused import: `Sphere` Aug 29 14:47:02.321 INFO kablam! --> src/main.rs:20:30 Aug 29 14:47:02.321 INFO kablam! | Aug 29 14:47:02.321 INFO kablam! 20 | use objects::{ObjectBuilder, Sphere, Plane, Mesh, Material}; Aug 29 14:47:02.321 INFO kablam! | ^^^^^^ Aug 29 14:47:02.321 INFO kablam! Aug 29 14:47:02.388 INFO kablam! warning: unused import: `Intersection` Aug 29 14:47:02.388 INFO kablam! --> src/objects/quad.rs:4:20 Aug 29 14:47:02.388 INFO kablam! | Aug 29 14:47:02.388 INFO kablam! 4 | use raycast::{Ray, Intersection}; Aug 29 14:47:02.389 INFO kablam! | ^^^^^^^^^^^^ Aug 29 14:47:02.389 INFO kablam! | Aug 29 14:47:02.389 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 29 14:47:02.389 INFO kablam! Aug 29 14:47:02.389 INFO kablam! warning: unused imports: `Material`, `SurfaceType` Aug 29 14:47:02.389 INFO kablam! --> src/objects/plane.rs:1:15 Aug 29 14:47:02.389 INFO kablam! | Aug 29 14:47:02.389 INFO kablam! 1 | use objects::{Material, TextureCoords, SurfaceType, Structure, WorldPosition}; Aug 29 14:47:02.389 INFO kablam! | ^^^^^^^^ ^^^^^^^^^^^ Aug 29 14:47:02.389 INFO kablam! Aug 29 14:47:02.389 INFO kablam! warning: unused import: `Color` Aug 29 14:47:02.389 INFO kablam! --> src/objects/plane.rs:2:20 Aug 29 14:47:02.389 INFO kablam! | Aug 29 14:47:02.389 INFO kablam! 2 | use types::{Point, Color, Direction, Scale}; Aug 29 14:47:02.389 INFO kablam! | ^^^^^ Aug 29 14:47:02.389 INFO kablam! Aug 29 14:47:02.389 INFO kablam! warning: unused imports: `Material`, `Quad`, `SurfaceType` Aug 29 14:47:02.389 INFO kablam! --> src/objects/mesh.rs:1:15 Aug 29 14:47:02.389 INFO kablam! | Aug 29 14:47:02.389 INFO kablam! 1 | use objects::{Material, TextureCoords, SurfaceType, Sphere, Structure, WorldPosition, Quad}; Aug 29 14:47:02.389 INFO kablam! | ^^^^^^^^ ^^^^^^^^^^^ ^^^^ Aug 29 14:47:02.389 INFO kablam! Aug 29 14:47:02.389 INFO kablam! warning: unused import: `Color` Aug 29 14:47:02.389 INFO kablam! --> src/objects/mesh.rs:2:20 Aug 29 14:47:02.390 INFO kablam! | Aug 29 14:47:02.390 INFO kablam! 2 | use types::{Point, Color, Direction, Scale}; Aug 29 14:47:02.390 INFO kablam! | ^^^^^ Aug 29 14:47:02.390 INFO kablam! Aug 29 14:47:02.390 INFO kablam! warning: unused import: `cgmath::Vector3` Aug 29 14:47:02.390 INFO kablam! --> src/objects/mesh.rs:5:5 Aug 29 14:47:02.390 INFO kablam! | Aug 29 14:47:02.390 INFO kablam! 5 | use cgmath::Vector3; Aug 29 14:47:02.390 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 29 14:47:02.390 INFO kablam! Aug 29 14:47:02.390 INFO kablam! warning: unnecessary parentheses around function argument Aug 29 14:47:02.390 INFO kablam! --> src/render.rs:80:34 Aug 29 14:47:02.390 INFO kablam! | Aug 29 14:47:02.390 INFO kablam! 80 | let tile_width = min((mx + tile_size), sw) - mx; Aug 29 14:47:02.391 INFO kablam! | ^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 14:47:02.391 INFO kablam! | Aug 29 14:47:02.391 INFO kablam! = note: #[warn(unused_parens)] on by default Aug 29 14:47:02.391 INFO kablam! Aug 29 14:47:02.391 INFO kablam! warning: unnecessary parentheses around function argument Aug 29 14:47:02.391 INFO kablam! --> src/render.rs:81:35 Aug 29 14:47:02.391 INFO kablam! | Aug 29 14:47:02.391 INFO kablam! 81 | let tile_height = min((my + tile_size), sh) - my; Aug 29 14:47:02.391 INFO kablam! | ^^^^^^^^^^^^^^^^ help: remove these parentheses Aug 29 14:47:02.391 INFO kablam! Aug 29 14:47:02.391 INFO kablam! warning: unused import: `Sphere` Aug 29 14:47:02.391 INFO kablam! --> src/main.rs:20:30 Aug 29 14:47:02.391 INFO kablam! | Aug 29 14:47:02.391 INFO kablam! 20 | use objects::{ObjectBuilder, Sphere, Plane, Mesh, Material}; Aug 29 14:47:02.391 INFO kablam! | ^^^^^^ Aug 29 14:47:02.391 INFO kablam! Aug 29 14:47:02.713 INFO kablam! warning: unused variable: `tmin` Aug 29 14:47:02.713 INFO kablam! --> src/objects/quad.rs:19:18 Aug 29 14:47:02.713 INFO kablam! | Aug 29 14:47:02.713 INFO kablam! 19 | let (tmin, tmax) = (tmax, tmin); Aug 29 14:47:02.713 INFO kablam! | ^^^^ help: consider using `_tmin` instead Aug 29 14:47:02.713 INFO kablam! | Aug 29 14:47:02.713 INFO kablam! = note: #[warn(unused_variables)] on by default Aug 29 14:47:02.713 INFO kablam! Aug 29 14:47:02.714 INFO kablam! warning: unused variable: `tmax` Aug 29 14:47:02.714 INFO kablam! --> src/objects/quad.rs:19:24 Aug 29 14:47:02.714 INFO kablam! | Aug 29 14:47:02.714 INFO kablam! 19 | let (tmin, tmax) = (tmax, tmin); Aug 29 14:47:02.714 INFO kablam! | ^^^^ help: consider using `_tmax` instead Aug 29 14:47:02.714 INFO kablam! Aug 29 14:47:02.714 INFO kablam! warning: unused variable: `tymin` Aug 29 14:47:02.714 INFO kablam! --> src/objects/quad.rs:26:18 Aug 29 14:47:02.714 INFO kablam! | Aug 29 14:47:02.714 INFO kablam! 26 | let (tymin, tymax) = (tymax, tymin); Aug 29 14:47:02.714 INFO kablam! | ^^^^^ help: consider using `_tymin` instead Aug 29 14:47:02.714 INFO kablam! Aug 29 14:47:02.714 INFO kablam! warning: unused variable: `tymax` Aug 29 14:47:02.714 INFO kablam! --> src/objects/quad.rs:26:25 Aug 29 14:47:02.714 INFO kablam! | Aug 29 14:47:02.714 INFO kablam! 26 | let (tymin, tymax) = (tymax, tymin); Aug 29 14:47:02.714 INFO kablam! | ^^^^^ help: consider using `_tymax` instead Aug 29 14:47:02.714 INFO kablam! Aug 29 14:47:02.714 INFO kablam! warning: unused variable: `tmin` Aug 29 14:47:02.714 INFO kablam! --> src/objects/quad.rs:34:17 Aug 29 14:47:02.715 INFO kablam! | Aug 29 14:47:02.715 INFO kablam! 34 | let tmin = tymin; Aug 29 14:47:02.715 INFO kablam! | ^^^^ help: consider using `_tmin` instead Aug 29 14:47:02.715 INFO kablam! Aug 29 14:47:02.715 INFO kablam! warning: unused variable: `tmax` Aug 29 14:47:02.715 INFO kablam! --> src/objects/quad.rs:38:17 Aug 29 14:47:02.715 INFO kablam! | Aug 29 14:47:02.715 INFO kablam! 38 | let tmax = tymax; Aug 29 14:47:02.715 INFO kablam! | ^^^^ help: consider using `_tmax` instead Aug 29 14:47:02.715 INFO kablam! Aug 29 14:47:02.715 INFO kablam! warning: unused variable: `tzmin` Aug 29 14:47:02.715 INFO kablam! --> src/objects/quad.rs:45:18 Aug 29 14:47:02.715 INFO kablam! | Aug 29 14:47:02.715 INFO kablam! 45 | let (tzmin, tzmax) = (tzmax, tzmin); Aug 29 14:47:02.715 INFO kablam! | ^^^^^ help: consider using `_tzmin` instead Aug 29 14:47:02.715 INFO kablam! Aug 29 14:47:02.715 INFO kablam! warning: unused variable: `tzmax` Aug 29 14:47:02.715 INFO kablam! --> src/objects/quad.rs:45:25 Aug 29 14:47:02.715 INFO kablam! | Aug 29 14:47:02.716 INFO kablam! 45 | let (tzmin, tzmax) = (tzmax, tzmin); Aug 29 14:47:02.716 INFO kablam! | ^^^^^ help: consider using `_tzmax` instead Aug 29 14:47:02.716 INFO kablam! Aug 29 14:47:02.716 INFO kablam! warning: unused variable: `texture_coordinates` Aug 29 14:47:02.716 INFO kablam! --> src/objects/mod.rs:128:31 Aug 29 14:47:02.716 INFO kablam! | Aug 29 14:47:02.716 INFO kablam! 128 | fn reflectivity_at(&self, texture_coordinates: TextureCoords) -> Option { Aug 29 14:47:02.716 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ help: consider using `_texture_coordinates` instead Aug 29 14:47:02.716 INFO kablam! Aug 29 14:47:02.805 INFO kablam! warning: struct is never constructed: `Quad` Aug 29 14:47:02.806 INFO kablam! --> src/objects/quad.rs:6:1 Aug 29 14:47:02.806 INFO kablam! | Aug 29 14:47:02.806 INFO kablam! 6 | pub struct Quad { Aug 29 14:47:02.806 INFO kablam! | ^^^^^^^^^^^^^^^ Aug 29 14:47:02.806 INFO kablam! | Aug 29 14:47:02.806 INFO kablam! = note: #[warn(dead_code)] on by default Aug 29 14:47:02.806 INFO kablam! Aug 29 14:47:02.806 INFO kablam! warning: method is never used: `intersects` Aug 29 14:47:02.806 INFO kablam! --> src/objects/quad.rs:11:5 Aug 29 14:47:02.806 INFO kablam! | Aug 29 14:47:02.806 INFO kablam! 11 | pub fn intersects(&self, ray: &Ray, position: &WorldPosition) -> bool { Aug 29 14:47:02.806 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 14:47:02.807 INFO kablam! Aug 29 14:47:02.807 INFO kablam! warning: variant is never constructed: `Texture` Aug 29 14:47:02.807 INFO kablam! --> src/objects/mod.rs:33:5 Aug 29 14:47:02.807 INFO kablam! | Aug 29 14:47:02.807 INFO kablam! 33 | Texture(DynamicImage) Aug 29 14:47:02.807 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Aug 29 14:47:02.807 INFO kablam! Aug 29 14:47:02.807 INFO kablam! warning: method is never used: `new` Aug 29 14:47:02.807 INFO kablam! --> src/objects/mod.rs:69:5 Aug 29 14:47:02.807 INFO kablam! | Aug 29 14:47:02.807 INFO kablam! 69 | pub fn new(color: Coloration, albedo: f32) -> Material { Aug 29 14:47:02.807 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 14:47:02.807 INFO kablam! Aug 29 14:47:02.807 INFO kablam! warning: method is never used: `diffuse_color` Aug 29 14:47:02.807 INFO kablam! --> src/objects/mod.rs:73:5 Aug 29 14:47:02.807 INFO kablam! | Aug 29 14:47:02.807 INFO kablam! 73 | pub fn diffuse_color(color: Color, albedo: f32) -> Material { Aug 29 14:47:02.807 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 14:47:02.808 INFO kablam! Aug 29 14:47:02.808 INFO kablam! warning: method is never used: `diffuse_texture` Aug 29 14:47:02.808 INFO kablam! --> src/objects/mod.rs:89:5 Aug 29 14:47:02.808 INFO kablam! | Aug 29 14:47:02.808 INFO kablam! 89 | pub fn diffuse_texture(image: DynamicImage, albedo: f32) -> Material { Aug 29 14:47:02.808 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 14:47:02.808 INFO kablam! Aug 29 14:47:02.808 INFO kablam! warning: method is never used: `with_fov` Aug 29 14:47:02.808 INFO kablam! --> src/scene.rs:42:5 Aug 29 14:47:02.808 INFO kablam! | Aug 29 14:47:02.808 INFO kablam! 42 | pub fn with_fov(mut self, fov: f64) -> SceneBuilder { Aug 29 14:47:02.808 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 14:47:02.808 INFO kablam! Aug 29 14:47:02.923 INFO kablam! error[E0599]: no function or associated item named `zero` found for type `cgmath::Point3` in the current scope Aug 29 14:47:02.924 INFO kablam! --> src/objects/mod.rs:207:87 Aug 29 14:47:02.924 INFO kablam! | Aug 29 14:47:02.924 INFO kablam! 207 | let obj: Object = ObjectBuilder::create_for(Sphere::create(20.0)).at_position(Point::zero()).into(); Aug 29 14:47:02.924 INFO kablam! | ^^^^^^^^^^^ function or associated item not found in `cgmath::Point3` Aug 29 14:47:02.924 INFO kablam! Aug 29 14:47:02.925 INFO kablam! error[E0599]: no function or associated item named `zero` found for type `cgmath::Point3` in the current scope Aug 29 14:47:02.925 INFO kablam! --> src/objects/mod.rs:209:60 Aug 29 14:47:02.925 INFO kablam! | Aug 29 14:47:02.925 INFO kablam! 209 | assert_eq!(obj.position, WorldPosition { position: Point::zero(), rotation: Quaternion::zero() }); Aug 29 14:47:02.925 INFO kablam! | ^^^^^^^^^^^ function or associated item not found in `cgmath::Point3` Aug 29 14:47:02.925 INFO kablam! Aug 29 14:47:03.032 INFO kablam! error: aborting due to 2 previous errors Aug 29 14:47:03.032 INFO kablam! Aug 29 14:47:03.032 INFO kablam! For more information about this error, try `rustc --explain E0599`. Aug 29 14:47:03.042 INFO kablam! error: Could not compile `raytracer`. Aug 29 14:47:03.042 INFO kablam! Aug 29 14:47:03.042 INFO kablam! To learn more, run the command again with --verbose. Aug 29 14:47:03.044 INFO kablam! su: No module specific data is present Aug 29 14:47:03.399 INFO running `"docker" "rm" "-f" "a2b6ac730ceeafaddbe0357074d4e2d1d67b8fdfc1a8b891553d218d026ff3a9"` Aug 29 14:47:03.488 INFO blam! a2b6ac730ceeafaddbe0357074d4e2d1d67b8fdfc1a8b891553d218d026ff3a9