[INFO] cloning repository https://github.com/mattjbray/rust-raytracing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mattjbray/rust-raytracing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattjbray%2Frust-raytracing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattjbray%2Frust-raytracing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b354ee8291ff5d474fb17edf67e1efc2f7e073f8 [INFO] testing mattjbray/rust-raytracing against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattjbray%2Frust-raytracing" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mattjbray/rust-raytracing [INFO] finished tweaking git repo https://github.com/mattjbray/rust-raytracing [INFO] tweaked toml for git repo https://github.com/mattjbray/rust-raytracing written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mattjbray/rust-raytracing on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mattjbray/rust-raytracing already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_core v0.6.0 [INFO] [stderr] Downloaded getrandom v0.2.0 [INFO] [stderr] Downloaded rand v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dfed95d5a9418b663ed20ed4b657276fbb495b4c60415d94488ea1c235aa856c [INFO] running `Command { std: "docker" "start" "-a" "dfed95d5a9418b663ed20ed4b657276fbb495b4c60415d94488ea1c235aa856c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dfed95d5a9418b663ed20ed4b657276fbb495b4c60415d94488ea1c235aa856c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfed95d5a9418b663ed20ed4b657276fbb495b4c60415d94488ea1c235aa856c", kill_on_drop: false }` [INFO] [stdout] dfed95d5a9418b663ed20ed4b657276fbb495b4c60415d94488ea1c235aa856c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 23a163968b28a5549b63cf32188a6ae8ec5c9c6761fe7db10c0dadb742e7ded9 [INFO] running `Command { std: "docker" "start" "-a" "23a163968b28a5549b63cf32188a6ae8ec5c9c6761fe7db10c0dadb742e7ded9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Compiling rand_core v0.6.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.0 [INFO] [stderr] Compiling rust-raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/camera.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ray.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option; [INFO] [stdout] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 98 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scene.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 20 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sphere.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 21 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/sphere.rs:45:76 [INFO] [stdout] | [INFO] [stdout] 45 | let hit_record = Hit::new(t, p, &outward_normal, ray, self.material.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn Material` does not implement `Clone`, so calling `clone` on `&dyn Material` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.28s [INFO] running `Command { std: "docker" "inspect" "23a163968b28a5549b63cf32188a6ae8ec5c9c6761fe7db10c0dadb742e7ded9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23a163968b28a5549b63cf32188a6ae8ec5c9c6761fe7db10c0dadb742e7ded9", kill_on_drop: false }` [INFO] [stdout] 23a163968b28a5549b63cf32188a6ae8ec5c9c6761fe7db10c0dadb742e7ded9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 9fdf460ede47da69b5c490f1af50c98fbbe68261906731c27a161a2242aed478 [INFO] running `Command { std: "docker" "start" "-a" "9fdf460ede47da69b5c490f1af50c98fbbe68261906731c27a161a2242aed478", kill_on_drop: false }` [INFO] [stderr] Compiling rust-raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `w` is never read [INFO] [stdout] --> src/camera.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Camera { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | w: Vec3, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ray.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 98 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option; [INFO] [stdout] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 98 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scene.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 20 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/sphere.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 21 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/sphere.rs:45:76 [INFO] [stdout] | [INFO] [stdout] 45 | let hit_record = Hit::new(t, p, &outward_normal, ray, self.material.clone()); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `dyn Material` does not implement `Clone`, so calling `clone` on `&dyn Material` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "9fdf460ede47da69b5c490f1af50c98fbbe68261906731c27a161a2242aed478", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fdf460ede47da69b5c490f1af50c98fbbe68261906731c27a161a2242aed478", kill_on_drop: false }` [INFO] [stdout] 9fdf460ede47da69b5c490f1af50c98fbbe68261906731c27a161a2242aed478 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d7e52ab0581e6ca2a193c6667c40caa66e67fa6a3f7cd4fefa49c60218cd1462 [INFO] running `Command { std: "docker" "start" "-a" "d7e52ab0581e6ca2a193c6667c40caa66e67fa6a3f7cd4fefa49c60218cd1462", kill_on_drop: false }` [INFO] [stderr] warning: field `w` is never read [INFO] [stderr] --> src/camera.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Camera { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 12 | w: Vec3, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ray.rs:98:12 [INFO] [stderr] | [INFO] [stderr] 98 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option; [INFO] [stderr] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 98 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/scene.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 20 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 20 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/sphere.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 21 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/sphere.rs:45:76 [INFO] [stderr] | [INFO] [stderr] 45 | let hit_record = Hit::new(t, p, &outward_normal, ray, self.material.clone()); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `dyn Material` does not implement `Clone`, so calling `clone` on `&dyn Material` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rust-raytracer` (bin "rust-raytracer" test) generated 5 warnings (run `cargo fix --bin "rust-raytracer" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rust_raytracer-b1ec7fbc3b113db4) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d7e52ab0581e6ca2a193c6667c40caa66e67fa6a3f7cd4fefa49c60218cd1462", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7e52ab0581e6ca2a193c6667c40caa66e67fa6a3f7cd4fefa49c60218cd1462", kill_on_drop: false }` [INFO] [stdout] d7e52ab0581e6ca2a193c6667c40caa66e67fa6a3f7cd4fefa49c60218cd1462