[INFO] updating cached repository boxdot/tinyraytracer-rs [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/boxdot/tinyraytracer-rs [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/boxdot/tinyraytracer-rs" "work/ex/beta-1.38-1/sources/1.37.0/gh/boxdot/tinyraytracer-rs"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/boxdot/tinyraytracer-rs'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/boxdot/tinyraytracer-rs" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/boxdot/tinyraytracer-rs"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/boxdot/tinyraytracer-rs'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 968b9865a0abd6eda42c360e569a69876441bc88 [INFO] sha for GitHub repo boxdot/tinyraytracer-rs: 968b9865a0abd6eda42c360e569a69876441bc88 [INFO] validating manifest of boxdot/tinyraytracer-rs on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of boxdot/tinyraytracer-rs on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing boxdot/tinyraytracer-rs [INFO] finished frobbing boxdot/tinyraytracer-rs [INFO] frobbed toml for boxdot/tinyraytracer-rs written to work/ex/beta-1.38-1/sources/1.37.0/gh/boxdot/tinyraytracer-rs/Cargo.toml [INFO] started frobbing boxdot/tinyraytracer-rs [INFO] finished frobbing boxdot/tinyraytracer-rs [INFO] frobbed toml for boxdot/tinyraytracer-rs written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/boxdot/tinyraytracer-rs/Cargo.toml [INFO] crate boxdot/tinyraytracer-rs already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing boxdot/tinyraytracer-rs against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/boxdot/tinyraytracer-rs:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 0c164bc96cf104b3333e647b3343e70614c8ee7e2699f2c0c6ebb2bc639e4986 [INFO] running `"docker" "start" "-a" "0c164bc96cf104b3333e647b3343e70614c8ee7e2699f2c0c6ebb2bc639e4986"` [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling approx v0.3.1 [INFO] [stderr] Compiling num-complex v0.2.1 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling png v0.14.0 [INFO] [stderr] Compiling alga v0.8.1 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling nalgebra v0.17.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] warning[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/nalgebra-0.17.0/src/base/cg.rs:297:44 [INFO] [stderr] | [INFO] [stderr] 297 | self[(j, i)] += shift[j] * self[(D::dim() - 1, i)]; [INFO] [stderr] | ---------------------------^^^^------------------- [INFO] [stderr] | | | [INFO] [stderr] | | immutable borrow occurs here [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | mutable borrow later used here [INFO] [stderr] | [INFO] [stderr] = warning: this error has been downgraded to a warning for backwards compatibility with previous releases [INFO] [stderr] = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future [INFO] [stderr] = note: for more information, try `rustc --explain E0729` [INFO] [stderr] [INFO] [stderr] Compiling tinyraytracer v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kaboom.rs:127:29 [INFO] [stderr] | [INFO] [stderr] 127 | fn main() -> Result<(), Box> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/kaboom.rs:158:81 [INFO] [stderr] | [INFO] [stderr] 158 | fn save(framebuffer: Vec, width: usize, height: usize) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `sphere_trace` in this scope [INFO] [stderr] --> src/raytracer.rs:289:30 [INFO] [stderr] | [INFO] [stderr] 289 | if let Some(_) = sphere_trace( [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0423]: expected function, found type alias `Vec3f` [INFO] [stderr] --> src/raytracer.rs:291:17 [INFO] [stderr] | [INFO] [stderr] 291 | Vec3f(dir_x, dir_y, dir_z).normalize(), [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: can't use a type alias as a constructor [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raytracer.rs:277:84 [INFO] [stderr] | [INFO] [stderr] 277 | fn render(spheres: &[Sphere], lights: &[Light], envmap: &Envmap) -> Result<(), Box> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raytracer.rs:327:58 [INFO] [stderr] | [INFO] [stderr] 327 | fn load>(path: P) -> Result> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/raytracer.rs:355:29 [INFO] [stderr] | [INFO] [stderr] 355 | fn main() -> Result<(), Box> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] [INFO] [stderr] error[E0600]: cannot apply unary operator `-` to type `usize` [INFO] [stderr] --> src/raytracer.rs:287:25 [INFO] [stderr] | [INFO] [stderr] 287 | let dir_z = -HEIGHT as f32 / (2. * (FOV / 2.).tan()); [INFO] [stderr] | ^^^^^^^ cannot apply unary operator `-` [INFO] [stderr] | [INFO] [stderr] = note: unsigned values cannot be negated [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0423, E0425, E0600. [INFO] [stderr] For more information about an error, try `rustc --explain E0423`. [INFO] [stderr] error: Could not compile `tinyraytracer`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "0c164bc96cf104b3333e647b3343e70614c8ee7e2699f2c0c6ebb2bc639e4986"` [INFO] running `"docker" "rm" "-f" "0c164bc96cf104b3333e647b3343e70614c8ee7e2699f2c0c6ebb2bc639e4986"` [INFO] [stdout] 0c164bc96cf104b3333e647b3343e70614c8ee7e2699f2c0c6ebb2bc639e4986