[INFO] updating cached repository ZapAnton/toy_tracer [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/ZapAnton/toy_tracer [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/ZapAnton/toy_tracer" "work/ex/beta-1.38-1/sources/1.37.0/gh/ZapAnton/toy_tracer"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/ZapAnton/toy_tracer'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/ZapAnton/toy_tracer" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/ZapAnton/toy_tracer"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/ZapAnton/toy_tracer'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 81535ad9552f9acfba2d1bad1a730b765bf89de6 [INFO] sha for GitHub repo ZapAnton/toy_tracer: 81535ad9552f9acfba2d1bad1a730b765bf89de6 [INFO] validating manifest of ZapAnton/toy_tracer 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 ZapAnton/toy_tracer 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 ZapAnton/toy_tracer [INFO] finished frobbing ZapAnton/toy_tracer [INFO] frobbed toml for ZapAnton/toy_tracer written to work/ex/beta-1.38-1/sources/1.37.0/gh/ZapAnton/toy_tracer/Cargo.toml [INFO] started frobbing ZapAnton/toy_tracer [INFO] finished frobbing ZapAnton/toy_tracer [INFO] frobbed toml for ZapAnton/toy_tracer written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/ZapAnton/toy_tracer/Cargo.toml [INFO] crate ZapAnton/toy_tracer 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 ZapAnton/toy_tracer 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-4/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/ZapAnton/toy_tracer:/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] 1c8da5bc866255da2a93e7bfea4bf3104a36f53dac45224e888e9b049e28486d [INFO] running `"docker" "start" "-a" "1c8da5bc866255da2a93e7bfea4bf3104a36f53dac45224e888e9b049e28486d"` [INFO] [stderr] Compiling rand_os v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling toy_tracer v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0623]: lifetime mismatch [INFO] [stderr] --> src/material.rs:25:17 [INFO] [stderr] | [INFO] [stderr] 19 | fn scatter(&self, ray_in: &Ray, hit_record: &HitRecord) -> Option { [INFO] [stderr] | --------- -------------------- [INFO] [stderr] | | [INFO] [stderr] | this parameter and the return type are declared with different lifetimes... [INFO] [stderr] ... [INFO] [stderr] 25 | / Some(ScatteredRay { [INFO] [stderr] 26 | | ray: Ray::new(&hit_record.p, &(target - hit_record.p.borrow())), [INFO] [stderr] 27 | | attenuation: albedo, [INFO] [stderr] 28 | | }) [INFO] [stderr] | |__________________^ ...but data from `hit_record` is returned here [INFO] [stderr] [INFO] [stderr] error[E0623]: lifetime mismatch [INFO] [stderr] --> src/material.rs:34:21 [INFO] [stderr] | [INFO] [stderr] 19 | fn scatter(&self, ray_in: &Ray, hit_record: &HitRecord) -> Option { [INFO] [stderr] | --------- -------------------- [INFO] [stderr] | | [INFO] [stderr] | this parameter and the return type are declared with different lifetimes... [INFO] [stderr] ... [INFO] [stderr] 34 | / Some(ScatteredRay { [INFO] [stderr] 35 | | ray: ray, [INFO] [stderr] 36 | | attenuation: albedo, [INFO] [stderr] 37 | | }) [INFO] [stderr] | |______________________^ ...but data from `hit_record` is returned here [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] error: Could not compile `toy_tracer`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "1c8da5bc866255da2a93e7bfea4bf3104a36f53dac45224e888e9b049e28486d"` [INFO] running `"docker" "rm" "-f" "1c8da5bc866255da2a93e7bfea4bf3104a36f53dac45224e888e9b049e28486d"` [INFO] [stdout] 1c8da5bc866255da2a93e7bfea4bf3104a36f53dac45224e888e9b049e28486d