[INFO] updating cached repository https://github.com/ZapAnton/toy_tracer [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] 81535ad9552f9acfba2d1bad1a730b765bf89de6 [INFO] testing ZapAnton/toy_tracer against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZapAnton%2Ftoy_tracer" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZapAnton/toy_tracer on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/ZapAnton/toy_tracer [INFO] finished tweaking git repo https://github.com/ZapAnton/toy_tracer [INFO] tweaked toml for git repo https://github.com/ZapAnton/toy_tracer written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/ZapAnton/toy_tracer already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+1.44.0" "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] 70be9c0d28b6475e1391d593ba3dca4b5a0ed64a55d35705650877ea7948b6d6 [INFO] running `"docker" "start" "-a" "70be9c0d28b6475e1391d593ba3dca4b5a0ed64a55d35705650877ea7948b6d6"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling libc v0.2.49 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_os v0.1.2 [INFO] [stderr] Compiling toy_tracer v0.1.0 (/opt/rustwide/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] For more information about this error, try `rustc --explain E0623`. [INFO] [stderr] error: could not compile `toy_tracer`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "70be9c0d28b6475e1391d593ba3dca4b5a0ed64a55d35705650877ea7948b6d6"` [INFO] running `"docker" "rm" "-f" "70be9c0d28b6475e1391d593ba3dca4b5a0ed64a55d35705650877ea7948b6d6"` [INFO] [stdout] 70be9c0d28b6475e1391d593ba3dca4b5a0ed64a55d35705650877ea7948b6d6