[INFO] cloning repository https://github.com/mdellavo/rust-tracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mdellavo/rust-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdellavo%2Frust-tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdellavo%2Frust-tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da3ba3932a31f88cd74500e7e6446c1ddc3c4f4f [INFO] testing mdellavo/rust-tracer against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmdellavo%2Frust-tracer" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mdellavo/rust-tracer on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mdellavo/rust-tracer [INFO] finished tweaking git repo https://github.com/mdellavo/rust-tracer [INFO] tweaked toml for git repo https://github.com/mdellavo/rust-tracer written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/mdellavo/rust-tracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (image) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (indicatif) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (nalgebra) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (rand) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (threadpool) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e3c8202eec12e6020aa3a59b1da85154a4347a898e977ba35b4f4bab56b2e48 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5e3c8202eec12e6020aa3a59b1da85154a4347a898e977ba35b4f4bab56b2e48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e3c8202eec12e6020aa3a59b1da85154a4347a898e977ba35b4f4bab56b2e48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e3c8202eec12e6020aa3a59b1da85154a4347a898e977ba35b4f4bab56b2e48", kill_on_drop: false }` [INFO] [stdout] 5e3c8202eec12e6020aa3a59b1da85154a4347a898e977ba35b4f4bab56b2e48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a1f87607575f55d375f0bb2e0d8d53972542ce4ee7d25ea88a138dc6457197b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7a1f87607575f55d375f0bb2e0d8d53972542ce4ee7d25ea88a138dc6457197b", kill_on_drop: false }` [INFO] [stderr] warning: dependency (image) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (indicatif) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (nalgebra) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (rand) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (threadpool) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling clicolors-control v1.0.1 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling tiff v0.4.0 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling alga v0.9.2 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Compiling nalgebra v0.19.0 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling console v0.9.2 [INFO] [stderr] Compiling indicatif v0.14.0 [INFO] [stderr] Compiling image v0.23.0-preview.0 [INFO] [stderr] Compiling rust-tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | return Vec3f::new(0.0, 0.0, 0.0); [INFO] [stdout] | -------------------------------- any code following this expression is unreachable [INFO] [stdout] 37 | let unit = ray.direction().normalize(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Material` [INFO] [stdout] --> src/main.rs:24:56 [INFO] [stdout] | [INFO] [stdout] 24 | use material::{Dielectric, Diffuse, DiffuseLight, Hit, Material, Metal}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | 0.0..=0.4 => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:143:27 [INFO] [stdout] | [INFO] [stdout] 143 | 0.0..=0.4 => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | 0.4..=0.8 => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | 0.4..=0.8 => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/main.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | fn color_sky(ray: &Ray) -> Vec3f { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/material.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | fn emitted(&self, u: f64, v: f64, hit: &Hit) -> Vec3f { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/material.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | fn emitted(&self, u: f64, v: f64, hit: &Hit) -> Vec3f { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit` [INFO] [stdout] --> src/material.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | fn emitted(&self, u: f64, v: f64, hit: &Hit) -> Vec3f { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/material.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | fn scatter(&self, ray: &Ray, hit: &Hit) -> Option<(Vec3f, Ray)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/material.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | fn scatter(&self, ray: &Ray, hit: &Hit) -> Option<(Vec3f, Ray)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit` [INFO] [stdout] --> src/material.rs:135:34 [INFO] [stdout] | [INFO] [stdout] 135 | fn scatter(&self, ray: &Ray, hit: &Hit) -> Option<(Vec3f, Ray)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/texture.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | fn value(&self, u: f64, v: f64, p: &Hit) -> Vec3f { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/texture.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | fn value(&self, u: f64, v: f64, p: &Hit) -> Vec3f { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/texture.rs:19:37 [INFO] [stdout] | [INFO] [stdout] 19 | fn value(&self, u: f64, v: f64, p: &Hit) -> Vec3f { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/texture.rs:49:37 [INFO] [stdout] | [INFO] [stdout] 49 | fn value(&self, u: f64, v: f64, p: &Hit) -> Vec3f { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | 0.0..=0.4 => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "7a1f87607575f55d375f0bb2e0d8d53972542ce4ee7d25ea88a138dc6457197b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a1f87607575f55d375f0bb2e0d8d53972542ce4ee7d25ea88a138dc6457197b", kill_on_drop: false }` [INFO] [stdout] 7a1f87607575f55d375f0bb2e0d8d53972542ce4ee7d25ea88a138dc6457197b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40d008a8c35bc7444714ab5597d1eaf7265f50c435b3995c8f7d9a065574ddca [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "40d008a8c35bc7444714ab5597d1eaf7265f50c435b3995c8f7d9a065574ddca", kill_on_drop: false }` [INFO] [stderr] warning: dependency (image) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (indicatif) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (nalgebra) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (rand) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (threadpool) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rust-tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 36 | return Vec3f::new(0.0, 0.0, 0.0); [INFO] [stdout] | -------------------------------- any code following this expression is unreachable [INFO] [stdout] 37 | let unit = ray.direction().normalize(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Material` [INFO] [stdout] --> src/main.rs:24:56 [INFO] [stdout] | [INFO] [stdout] 24 | use material::{Dielectric, Diffuse, DiffuseLight, Hit, Material, Metal}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | 0.0..=0.4 => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:143:27 [INFO] [stdout] | [INFO] [stdout] 143 | 0.0..=0.4 => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | 0.4..=0.8 => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:154:27 [INFO] [stdout] | [INFO] [stdout] 154 | 0.4..=0.8 => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/main.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | fn color_sky(ray: &Ray) -> Vec3f { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/material.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | fn emitted(&self, u: f64, v: f64, hit: &Hit) -> Vec3f { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/material.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | fn emitted(&self, u: f64, v: f64, hit: &Hit) -> Vec3f { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit` [INFO] [stdout] --> src/material.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | fn emitted(&self, u: f64, v: f64, hit: &Hit) -> Vec3f { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/material.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 31 | fn scatter(&self, ray: &Ray, hit: &Hit) -> Option<(Vec3f, Ray)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ray` [INFO] [stdout] --> src/material.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | fn scatter(&self, ray: &Ray, hit: &Hit) -> Option<(Vec3f, Ray)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hit` [INFO] [stdout] --> src/material.rs:135:34 [INFO] [stdout] | [INFO] [stdout] 135 | fn scatter(&self, ray: &Ray, hit: &Hit) -> Option<(Vec3f, Ray)> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_hit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/texture.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | fn value(&self, u: f64, v: f64, p: &Hit) -> Vec3f { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/texture.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | fn value(&self, u: f64, v: f64, p: &Hit) -> Vec3f { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/texture.rs:19:37 [INFO] [stdout] | [INFO] [stdout] 19 | fn value(&self, u: f64, v: f64, p: &Hit) -> Vec3f { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/texture.rs:49:37 [INFO] [stdout] | [INFO] [stdout] 49 | fn value(&self, u: f64, v: f64, p: &Hit) -> Vec3f { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/main.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | 0.0..=0.4 => { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.61s [INFO] running `Command { std: "docker" "inspect" "40d008a8c35bc7444714ab5597d1eaf7265f50c435b3995c8f7d9a065574ddca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40d008a8c35bc7444714ab5597d1eaf7265f50c435b3995c8f7d9a065574ddca", kill_on_drop: false }` [INFO] [stdout] 40d008a8c35bc7444714ab5597d1eaf7265f50c435b3995c8f7d9a065574ddca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d751276cdca2ddd8b76bcb6b482cee8863f554d2554cc25b59169636fe8e829a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d751276cdca2ddd8b76bcb6b482cee8863f554d2554cc25b59169636fe8e829a", kill_on_drop: false }` [INFO] [stderr] warning: dependency (image) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (indicatif) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (nalgebra) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (rand) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (threadpool) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/main.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 36 | return Vec3f::new(0.0, 0.0, 0.0); [INFO] [stderr] | -------------------------------- any code following this expression is unreachable [INFO] [stderr] 37 | let unit = ray.direction().normalize(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Material` [INFO] [stderr] --> src/main.rs:24:56 [INFO] [stderr] | [INFO] [stderr] 24 | use material::{Dielectric, Diffuse, DiffuseLight, Hit, Material, Metal}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/main.rs:143:21 [INFO] [stderr] | [INFO] [stderr] 143 | 0.0..=0.4 => { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/main.rs:143:27 [INFO] [stderr] | [INFO] [stderr] 143 | 0.0..=0.4 => { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/main.rs:154:21 [INFO] [stderr] | [INFO] [stderr] 154 | 0.4..=0.8 => { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/main.rs:154:27 [INFO] [stderr] | [INFO] [stderr] 154 | 0.4..=0.8 => { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ray` [INFO] [stderr] --> src/main.rs:35:14 [INFO] [stderr] | [INFO] [stderr] 35 | fn color_sky(ray: &Ray) -> Vec3f { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `u` [INFO] [stderr] --> src/material.rs:21:23 [INFO] [stderr] | [INFO] [stderr] 21 | fn emitted(&self, u: f64, v: f64, hit: &Hit) -> Vec3f { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/material.rs:21:31 [INFO] [stderr] | [INFO] [stderr] 21 | fn emitted(&self, u: f64, v: f64, hit: &Hit) -> Vec3f { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hit` [INFO] [stderr] --> src/material.rs:21:39 [INFO] [stderr] | [INFO] [stderr] 21 | fn emitted(&self, u: f64, v: f64, hit: &Hit) -> Vec3f { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_hit` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ray` [INFO] [stderr] --> src/material.rs:31:23 [INFO] [stderr] | [INFO] [stderr] 31 | fn scatter(&self, ray: &Ray, hit: &Hit) -> Option<(Vec3f, Ray)> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ray` [INFO] [stderr] --> src/material.rs:135:23 [INFO] [stderr] | [INFO] [stderr] 135 | fn scatter(&self, ray: &Ray, hit: &Hit) -> Option<(Vec3f, Ray)> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ray` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `hit` [INFO] [stderr] --> src/material.rs:135:34 [INFO] [stderr] | [INFO] [stderr] 135 | fn scatter(&self, ray: &Ray, hit: &Hit) -> Option<(Vec3f, Ray)> { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_hit` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `u` [INFO] [stderr] --> src/texture.rs:19:21 [INFO] [stderr] | [INFO] [stderr] 19 | fn value(&self, u: f64, v: f64, p: &Hit) -> Vec3f { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/texture.rs:19:29 [INFO] [stderr] | [INFO] [stderr] 19 | fn value(&self, u: f64, v: f64, p: &Hit) -> Vec3f { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p` [INFO] [stderr] --> src/texture.rs:19:37 [INFO] [stderr] | [INFO] [stderr] 19 | fn value(&self, u: f64, v: f64, p: &Hit) -> Vec3f { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `p` [INFO] [stderr] --> src/texture.rs:49:37 [INFO] [stderr] | [INFO] [stderr] 49 | fn value(&self, u: f64, v: f64, p: &Hit) -> Vec3f { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/main.rs:143:21 [INFO] [stderr] | [INFO] [stderr] 143 | 0.0..=0.4 => { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: 18 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rust_tracer-142cb91cab3169b5 [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d751276cdca2ddd8b76bcb6b482cee8863f554d2554cc25b59169636fe8e829a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d751276cdca2ddd8b76bcb6b482cee8863f554d2554cc25b59169636fe8e829a", kill_on_drop: false }` [INFO] [stdout] d751276cdca2ddd8b76bcb6b482cee8863f554d2554cc25b59169636fe8e829a