[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] testing omerbenamram/rs-toy-raytracer against 1.90.0 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomerbenamram%2Frs-toy-raytracer" "/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/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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/omerbenamram/rs-toy-raytracer on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rayon-core v1.5.0 [INFO] [stderr] Downloaded console v0.7.7 [INFO] [stderr] Downloaded number_prefix v0.2.8 [INFO] [stderr] Downloaded rayon v1.1.0 [INFO] [stderr] Downloaded indicatif v0.11.0 [INFO] [stderr] Downloaded tiff v0.3.1 [INFO] [stderr] Downloaded clicolors-control v1.0.0 [INFO] [stderr] Downloaded encode_unicode v0.3.5 [INFO] [stderr] Downloaded getrandom v0.1.10 [INFO] [stderr] Downloaded num-bigint v0.2.2 [INFO] [stderr] Downloaded crossbeam-deque v0.6.3 [INFO] [stderr] Downloaded png v0.15.0 [INFO] [stderr] Downloaded image v0.22.1 [INFO] [stderr] Downloaded wasi v0.5.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" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1dd79e402edc9ab47420d435c84c3a579a4bfb8e29d1171950f144569cdb869 [INFO] running `Command { std: "docker" "start" "-a" "f1dd79e402edc9ab47420d435c84c3a579a4bfb8e29d1171950f144569cdb869", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1dd79e402edc9ab47420d435c84c3a579a4bfb8e29d1171950f144569cdb869", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1dd79e402edc9ab47420d435c84c3a579a4bfb8e29d1171950f144569cdb869", kill_on_drop: false }` [INFO] [stdout] f1dd79e402edc9ab47420d435c84c3a579a4bfb8e29d1171950f144569cdb869 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7e1478cffe3e60576c575d48a77aebf674eab606853250dc333cab97d090cdc [INFO] running `Command { std: "docker" "start" "-a" "e7e1478cffe3e60576c575d48a77aebf674eab606853250dc333cab97d090cdc", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling getrandom v0.1.10 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling smallvec v0.6.10 [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] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling regex-syntax v0.6.11 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling gif v0.10.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [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] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling clicolors-control v1.0.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_core v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling png v0.15.0 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling number_prefix v0.2.8 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling rayon v1.1.0 [INFO] [stderr] Compiling regex v1.2.1 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling console v0.7.7 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling indicatif v0.11.0 [INFO] [stderr] Compiling image v0.22.1 [INFO] [stderr] Compiling 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)]` 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:65 [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 22.09s [INFO] running `Command { std: "docker" "inspect" "e7e1478cffe3e60576c575d48a77aebf674eab606853250dc333cab97d090cdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7e1478cffe3e60576c575d48a77aebf674eab606853250dc333cab97d090cdc", kill_on_drop: false }` [INFO] [stdout] e7e1478cffe3e60576c575d48a77aebf674eab606853250dc333cab97d090cdc [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d0186369535967b91a3e4be4815abe3ff52e5db2516bbea3c2f50bbb994ee50 [INFO] running `Command { std: "docker" "start" "-a" "0d0186369535967b91a3e4be4815abe3ff52e5db2516bbea3c2f50bbb994ee50", kill_on_drop: false }` [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)]` 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:65 [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] Compiling 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)]` 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:65 [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 `test` profile [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "0d0186369535967b91a3e4be4815abe3ff52e5db2516bbea3c2f50bbb994ee50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d0186369535967b91a3e4be4815abe3ff52e5db2516bbea3c2f50bbb994ee50", kill_on_drop: false }` [INFO] [stdout] 0d0186369535967b91a3e4be4815abe3ff52e5db2516bbea3c2f50bbb994ee50 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a27bc858ecdf2aa0f4620fc18035459883ded2cfc6d461d4d6fa20f7772dd3c8 [INFO] running `Command { std: "docker" "start" "-a" "a27bc858ecdf2aa0f4620fc18035459883ded2cfc6d461d4d6fa20f7772dd3c8", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stdout] [INFO] [stderr] --> src/hitable.rs:9:23 [INFO] [stdout] running 4 tests [INFO] [stderr] | [INFO] [stdout] test vec3::tests::multiply_by_scalar ... ok [INFO] [stderr] 9 | pub material: &'a (dyn Material), [INFO] [stdout] test vec3::tests::operations_dont_move_vec ... ok [INFO] [stderr] | ^ ^ [INFO] [stdout] test vec3::tests::unit_vec ... ok [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 9 - pub material: &'a (dyn Material), [INFO] [stderr] 9 + pub material: &'a dyn Material, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/hitable.rs:13:68 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn new(t: f64, position: Vec3, normal: Vec3, material: &'a (dyn Material)) -> HitRecord { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 13 - pub fn new(t: f64, position: Vec3, normal: Vec3, material: &'a (dyn Material)) -> HitRecord { [INFO] [stderr] 13 + pub fn new(t: f64, position: Vec3, normal: Vec3, material: &'a dyn Material) -> HitRecord { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/hitable.rs:13:65 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn new(t: f64, position: Vec3, normal: Vec3, material: &'a (dyn Material)) -> HitRecord { [INFO] [stderr] | ^^ --------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 13 | pub fn new(t: f64, position: Vec3, normal: Vec3, material: &'a (dyn Material)) -> HitRecord<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/hitable.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stderr] | ^^^^^ the lifetime is elided here --------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 26 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/hitable.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 45 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option; [INFO] [stderr] | ^^^^^ the lifetime is elided here --------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 45 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/sphere.rs:24:12 [INFO] [stderr] | [INFO] [stderr] 24 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stderr] | ^^^^^ the lifetime is elided here --------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 24 | fn hit(&self, ray: &Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rs-raytracer` (lib) generated 6 warnings (run `cargo fix --lib -p rs-raytracer` to apply 2 suggestions) [INFO] [stderr] warning: `rs-raytracer` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rs_raytracer-2e06095bb4ca32c5) [INFO] [stderr] Running unittests src/bin/main.rs (/opt/rustwide/target/debug/deps/main-40fde85c878f5aec) [INFO] [stderr] Doc-tests rs_raytracer [INFO] [stdout] test vec3::tests::multiply_by_vec ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.48s [INFO] [stdout] [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] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/hitable.rs:9:23 [INFO] [stderr] | [INFO] [stderr] 9 | pub material: &'a (dyn Material), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 9 - pub material: &'a (dyn Material), [INFO] [stderr] 9 + pub material: &'a dyn Material, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/hitable.rs:13:68 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn new(t: f64, position: Vec3, normal: Vec3, material: &'a (dyn Material)) -> HitRecord { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 13 - pub fn new(t: f64, position: Vec3, normal: Vec3, material: &'a (dyn Material)) -> HitRecord { [INFO] [stderr] 13 + pub fn new(t: f64, position: Vec3, normal: Vec3, material: &'a dyn Material) -> HitRecord { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [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" "a27bc858ecdf2aa0f4620fc18035459883ded2cfc6d461d4d6fa20f7772dd3c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a27bc858ecdf2aa0f4620fc18035459883ded2cfc6d461d4d6fa20f7772dd3c8", kill_on_drop: false }` [INFO] [stdout] a27bc858ecdf2aa0f4620fc18035459883ded2cfc6d461d4d6fa20f7772dd3c8