[INFO] updating cached repository https://github.com/txus/rye [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f8191df42acb7305c331bb6fa520a147bfae9e77 [INFO] checking txus/rye against nightly-2019-10-27 for pr-65897 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftxus%2Frye" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/txus/rye on toolchain nightly-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+nightly-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/txus/rye [INFO] finished tweaking git repo https://github.com/txus/rye [INFO] tweaked toml for git repo https://github.com/txus/rye written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/txus/rye already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+nightly-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=allow" "-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" "+nightly-2019-10-27" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 828546f23c58c9776f1925fd989671f4b6e0f22fa1af2b3d3dbdb581517ed0e3 [INFO] running `"docker" "start" "-a" "828546f23c58c9776f1925fd989671f4b6e0f22fa1af2b3d3dbdb581517ed0e3"` [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling structopt-derive v0.2.15 [INFO] [stderr] Checking backtrace v0.3.14 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking structopt v0.2.15 [INFO] [stderr] Checking indextree v3.1.0 [INFO] [stderr] Checking rye v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PointLight` [INFO] [stderr] --> src/materials.rs:151:21 [INFO] [stderr] | [INFO] [stderr] 151 | let light = PointLight::new(Point::new(0.0, 0.0, -10.0), Color::white()); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `PointLight` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PointLight` [INFO] [stderr] --> src/materials.rs:163:21 [INFO] [stderr] | [INFO] [stderr] 163 | let light = PointLight::new(Point::new(0.0, 0.0, -10.0), Color::white()); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `PointLight` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PointLight` [INFO] [stderr] --> src/materials.rs:175:21 [INFO] [stderr] | [INFO] [stderr] 175 | let light = PointLight::new(Point::new(0.0, 10.0, -10.0), Color::white()); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `PointLight` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PointLight` [INFO] [stderr] --> src/materials.rs:187:21 [INFO] [stderr] | [INFO] [stderr] 187 | let light = PointLight::new(Point::new(0.0, 10.0, -10.0), Color::white()); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `PointLight` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PointLight` [INFO] [stderr] --> src/materials.rs:199:21 [INFO] [stderr] | [INFO] [stderr] 199 | let light = PointLight::new(Point::new(0.0, 0.0, 10.0), Color::white()); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `PointLight` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PointLight` [INFO] [stderr] --> src/materials.rs:211:21 [INFO] [stderr] | [INFO] [stderr] 211 | let light = PointLight::new(Point::new(0.0, 0.0, -10.0), Color::white()); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `PointLight` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PointLight` [INFO] [stderr] --> src/materials.rs:229:21 [INFO] [stderr] | [INFO] [stderr] 229 | let light = PointLight::new(Point::new(0.0, 0.0, 10.0), Color::white()); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `PointLight` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `light_source` on type `world::World` [INFO] [stderr] --> src/light.rs:117:24 [INFO] [stderr] | [INFO] [stderr] 117 | let light = &w.light_source; [INFO] [stderr] | ^^^^^^^^^^^^ unknown field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `registry`, `lights` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/light.rs:151:45 [INFO] [stderr] | [INFO] [stderr] 151 | assert_eq!(light.point_on_light(jitter, *u, *v), *result); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected &mut _, found struct `jitter::ConstantJitter` [INFO] [stderr] | help: consider mutably borrowing here: `&mut jitter` [INFO] [stderr] | [INFO] [stderr] = note: expected type `&mut _` [INFO] [stderr] found type `jitter::ConstantJitter` [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 4 parameters but 2 parameters were supplied [INFO] [stderr] --> src/light.rs:172:30 [INFO] [stderr] | [INFO] [stderr] 14 | fn intensity_at(&self, color: &Color, comps: &Precomputation, mat: &Material, w: &World) -> Color; [INFO] [stderr] | -------------------------------------------------------------------------------------------------- defined here [INFO] [stderr] ... [INFO] [stderr] 172 | assert_eq!(light.intensity_at(point, &w), *result); [INFO] [stderr] | ^^^^^^^^^^^^ expected 4 parameters [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/light.rs:172:13 [INFO] [stderr] | [INFO] [stderr] 172 | assert_eq!(light.intensity_at(point, &w), *result); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `color::Color`, found f32 [INFO] [stderr] | [INFO] [stderr] = note: expected type `color::Color` [INFO] [stderr] found type `f32` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 4 parameters but 6 parameters were supplied [INFO] [stderr] --> src/materials.rs:152:26 [INFO] [stderr] | [INFO] [stderr] 119 | / pub fn lighting( [INFO] [stderr] 120 | | &self, [INFO] [stderr] 121 | | object: &Box, [INFO] [stderr] 122 | | lights: &[Box], [INFO] [stderr] ... | [INFO] [stderr] 133 | | c [INFO] [stderr] 134 | | } [INFO] [stderr] | |_____- defined here [INFO] [stderr] ... [INFO] [stderr] 152 | let result = mat.lighting(&s, &light, &position, &eye, &normal, 1.0); [INFO] [stderr] | ^^^^^^^^ expected 4 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 4 parameters but 6 parameters were supplied [INFO] [stderr] --> src/materials.rs:164:26 [INFO] [stderr] | [INFO] [stderr] 119 | / pub fn lighting( [INFO] [stderr] 120 | | &self, [INFO] [stderr] 121 | | object: &Box, [INFO] [stderr] 122 | | lights: &[Box], [INFO] [stderr] ... | [INFO] [stderr] 133 | | c [INFO] [stderr] 134 | | } [INFO] [stderr] | |_____- defined here [INFO] [stderr] ... [INFO] [stderr] 164 | let result = mat.lighting(&s, &light, &position, &eye, &normal, 1.0); [INFO] [stderr] | ^^^^^^^^ expected 4 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 4 parameters but 6 parameters were supplied [INFO] [stderr] --> src/materials.rs:176:26 [INFO] [stderr] | [INFO] [stderr] 119 | / pub fn lighting( [INFO] [stderr] 120 | | &self, [INFO] [stderr] 121 | | object: &Box, [INFO] [stderr] 122 | | lights: &[Box], [INFO] [stderr] ... | [INFO] [stderr] 133 | | c [INFO] [stderr] 134 | | } [INFO] [stderr] | |_____- defined here [INFO] [stderr] ... [INFO] [stderr] 176 | let result = mat.lighting(&s, &light, &position, &eye, &normal, 1.0); [INFO] [stderr] | ^^^^^^^^ expected 4 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 4 parameters but 6 parameters were supplied [INFO] [stderr] --> src/materials.rs:188:26 [INFO] [stderr] | [INFO] [stderr] 119 | / pub fn lighting( [INFO] [stderr] 120 | | &self, [INFO] [stderr] 121 | | object: &Box, [INFO] [stderr] 122 | | lights: &[Box], [INFO] [stderr] ... | [INFO] [stderr] 133 | | c [INFO] [stderr] 134 | | } [INFO] [stderr] | |_____- defined here [INFO] [stderr] ... [INFO] [stderr] 188 | let result = mat.lighting(&s, &light, &position, &eye, &normal, 1.0); [INFO] [stderr] | ^^^^^^^^ expected 4 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 4 parameters but 6 parameters were supplied [INFO] [stderr] --> src/materials.rs:200:26 [INFO] [stderr] | [INFO] [stderr] 119 | / pub fn lighting( [INFO] [stderr] 120 | | &self, [INFO] [stderr] 121 | | object: &Box, [INFO] [stderr] 122 | | lights: &[Box], [INFO] [stderr] ... | [INFO] [stderr] 133 | | c [INFO] [stderr] 134 | | } [INFO] [stderr] | |_____- defined here [INFO] [stderr] ... [INFO] [stderr] 200 | let result = mat.lighting(&s, &light, &position, &eye, &normal, 1.0); [INFO] [stderr] | ^^^^^^^^ expected 4 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 4 parameters but 6 parameters were supplied [INFO] [stderr] --> src/materials.rs:212:26 [INFO] [stderr] | [INFO] [stderr] 119 | / pub fn lighting( [INFO] [stderr] 120 | | &self, [INFO] [stderr] 121 | | object: &Box, [INFO] [stderr] 122 | | lights: &[Box], [INFO] [stderr] ... | [INFO] [stderr] 133 | | c [INFO] [stderr] 134 | | } [INFO] [stderr] | |_____- defined here [INFO] [stderr] ... [INFO] [stderr] 212 | let result = mat.lighting(&s, &light, &position, &eye, &normal, 0.0); [INFO] [stderr] | ^^^^^^^^ expected 4 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 4 parameters but 6 parameters were supplied [INFO] [stderr] --> src/materials.rs:230:22 [INFO] [stderr] | [INFO] [stderr] 119 | / pub fn lighting( [INFO] [stderr] 120 | | &self, [INFO] [stderr] 121 | | object: &Box, [INFO] [stderr] 122 | | lights: &[Box], [INFO] [stderr] ... | [INFO] [stderr] 133 | | c [INFO] [stderr] 134 | | } [INFO] [stderr] | |_____- defined here [INFO] [stderr] ... [INFO] [stderr] 230 | let c1 = mat.lighting(&s, &light, &Point::new(0.9, 0.0, 0.0), &eye, &normal, 1.0); [INFO] [stderr] | ^^^^^^^^ expected 4 parameters [INFO] [stderr] [INFO] [stderr] error[E0061]: this function takes 4 parameters but 6 parameters were supplied [INFO] [stderr] --> src/materials.rs:231:22 [INFO] [stderr] | [INFO] [stderr] 119 | / pub fn lighting( [INFO] [stderr] 120 | | &self, [INFO] [stderr] 121 | | object: &Box, [INFO] [stderr] 122 | | lights: &[Box], [INFO] [stderr] ... | [INFO] [stderr] 133 | | c [INFO] [stderr] 134 | | } [INFO] [stderr] | |_____- defined here [INFO] [stderr] ... [INFO] [stderr] 231 | let c2 = mat.lighting(&s, &light, &Point::new(1.1, 0.0, 0.0), &eye, &normal, 1.0); [INFO] [stderr] | ^^^^^^^^ expected 4 parameters [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `light_source` on type `world::World` [INFO] [stderr] --> src/world.rs:225:11 [INFO] [stderr] | [INFO] [stderr] 225 | w.light_source = PointLight::new(Point::new(0.0, 0.25, 0.0), Color::white()); [INFO] [stderr] | ^^^^^^^^^^^^ unknown field [INFO] [stderr] | [INFO] [stderr] = note: available fields are: `registry`, `lights` [INFO] [stderr] [INFO] [stderr] error[E0609]: no field `light_source` on type `std::cell::RefMut<'_, world::World>` [INFO] [stderr] --> src/world.rs:362:19 [INFO] [stderr] | [INFO] [stderr] 362 | world.light_source = PointLight::new(Point::origin(), Color::white()); [INFO] [stderr] | ^^^^^^^^^^^^ unknown field [INFO] [stderr] [INFO] [stderr] error: aborting due to 21 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0061, E0308, E0433, E0609. [INFO] [stderr] For more information about an error, try `rustc --explain E0061`. [INFO] [stderr] error: could not compile `rye`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "828546f23c58c9776f1925fd989671f4b6e0f22fa1af2b3d3dbdb581517ed0e3"` [INFO] running `"docker" "rm" "-f" "828546f23c58c9776f1925fd989671f4b6e0f22fa1af2b3d3dbdb581517ed0e3"` [INFO] [stdout] 828546f23c58c9776f1925fd989671f4b6e0f22fa1af2b3d3dbdb581517ed0e3