[INFO] cloning repository https://github.com/omerbenamram/rs-toy-raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/omerbenamram/rs-toy-raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomerbenamram%2Frs-toy-raytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomerbenamram%2Frs-toy-raytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39b460269955450d6181a4b0aca00a4351e47b22 [INFO] checking omerbenamram/rs-toy-raytracer against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomerbenamram%2Frs-toy-raytracer" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/omerbenamram/rs-toy-raytracer [INFO] finished tweaking git repo https://github.com/omerbenamram/rs-toy-raytracer [INFO] tweaked toml for git repo https://github.com/omerbenamram/rs-toy-raytracer written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/omerbenamram/rs-toy-raytracer on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/omerbenamram/rs-toy-raytracer 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasi v0.5.0 [INFO] [stderr] Downloaded rand_chacha v0.2.1 [INFO] [stderr] Downloaded crossbeam-deque v0.6.3 [INFO] [stderr] Downloaded getrandom v0.1.10 [INFO] [stderr] Downloaded rand_core v0.5.0 [INFO] [stderr] Downloaded either v1.5.2 [INFO] [stderr] Downloaded num v0.2.0 [INFO] [stderr] Downloaded c2-chacha v0.2.2 [INFO] [stderr] Downloaded lock_api v0.3.1 [INFO] [stderr] Downloaded png v0.15.0 [INFO] [stderr] Downloaded jpeg-decoder v0.1.15 [INFO] [stderr] Downloaded smallvec v0.6.10 [INFO] [stderr] Downloaded rayon-core v1.5.0 [INFO] [stderr] Downloaded gif v0.10.2 [INFO] [stderr] Downloaded num-complex v0.2.3 [INFO] [stderr] Downloaded ppv-lite86 v0.2.5 [INFO] [stderr] Downloaded num-rational v0.2.2 [INFO] [stderr] Downloaded num-bigint v0.2.2 [INFO] [stderr] Downloaded rand v0.7.0 [INFO] [stderr] Downloaded rayon v1.1.0 [INFO] [stderr] Downloaded image v0.22.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4ba4ad76b09fb79ed5c94674cc2c94badffdb66708a0cca60b384a1ec3605ee [INFO] running `Command { std: "docker" "start" "-a" "d4ba4ad76b09fb79ed5c94674cc2c94badffdb66708a0cca60b384a1ec3605ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4ba4ad76b09fb79ed5c94674cc2c94badffdb66708a0cca60b384a1ec3605ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4ba4ad76b09fb79ed5c94674cc2c94badffdb66708a0cca60b384a1ec3605ee", kill_on_drop: false }` [INFO] [stdout] d4ba4ad76b09fb79ed5c94674cc2c94badffdb66708a0cca60b384a1ec3605ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b58184ca10b64d08481d26ce653092bbc805c94528244ad5c54daad39224f47 [INFO] running `Command { std: "docker" "start" "-a" "0b58184ca10b64d08481d26ce653092bbc805c94528244ad5c54daad39224f47", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling getrandom v0.1.10 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking lock_api v0.3.1 [INFO] [stderr] Checking regex-syntax v0.6.11 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking gif v0.10.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking clicolors-control v1.0.0 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand_core v0.5.0 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Checking rayon v1.1.0 [INFO] [stderr] Checking number_prefix v0.2.8 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking regex v1.2.1 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking console v0.7.7 [INFO] [stderr] Checking image v0.22.1 [INFO] [stderr] Checking indicatif v0.11.0 [INFO] [stderr] Checking rs-raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/hitable.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | pub material: &'a (dyn Material), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 9 - pub material: &'a (dyn Material), [INFO] [stdout] 9 + pub material: &'a dyn Material , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/hitable.rs:13:68 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(t: f64, position: Vec3, normal: Vec3, material: &'a (dyn Material)) -> HitRecord { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - pub fn new(t: f64, position: Vec3, normal: Vec3, material: &'a (dyn Material)) -> HitRecord { [INFO] [stdout] 13 + pub fn new(t: f64, position: Vec3, normal: Vec3, material: &'a dyn Material ) -> HitRecord { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/hitable.rs:13:87 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(t: f64, position: Vec3, normal: Vec3, material: &'a (dyn Material)) -> HitRecord { [INFO] [stdout] | -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(t: f64, position: Vec3, normal: Vec3, material: &'a (dyn Material)) -> HitRecord<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hitable.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hitable.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sphere.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 24 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/hitable.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | pub material: &'a (dyn Material), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 9 - pub material: &'a (dyn Material), [INFO] [stdout] 9 + pub material: &'a dyn Material , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/hitable.rs:13:68 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(t: f64, position: Vec3, normal: Vec3, material: &'a (dyn Material)) -> HitRecord { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 13 - pub fn new(t: f64, position: Vec3, normal: Vec3, material: &'a (dyn Material)) -> HitRecord { [INFO] [stdout] 13 + pub fn new(t: f64, position: Vec3, normal: Vec3, material: &'a dyn Material ) -> HitRecord { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/hitable.rs:13:87 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(t: f64, position: Vec3, normal: Vec3, material: &'a (dyn Material)) -> HitRecord { [INFO] [stdout] | -- ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(t: f64, position: Vec3, normal: Vec3, material: &'a (dyn Material)) -> HitRecord<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hitable.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 26 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hitable.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 45 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sphere.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 24 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.39s [INFO] running `Command { std: "docker" "inspect" "0b58184ca10b64d08481d26ce653092bbc805c94528244ad5c54daad39224f47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b58184ca10b64d08481d26ce653092bbc805c94528244ad5c54daad39224f47", kill_on_drop: false }` [INFO] [stdout] 0b58184ca10b64d08481d26ce653092bbc805c94528244ad5c54daad39224f47