[INFO] cloning repository https://github.com/kidi/ray_tracer_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kidi/ray_tracer_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkidi%2Fray_tracer_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkidi%2Fray_tracer_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9d04d21b3a4928c8367c6694f6621ff59545737 [INFO] testing kidi/ray_tracer_rust against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkidi%2Fray_tracer_rust" "/workspace/builds/worker-95/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-95/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kidi/ray_tracer_rust on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kidi/ray_tracer_rust [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/kidi/ray_tracer_rust [INFO] tweaked toml for git repo https://github.com/kidi/ray_tracer_rust written to /workspace/builds/worker-95/source/Cargo.toml [INFO] crate git repo https://github.com/kidi/ray_tracer_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded globwalk v0.7.3 [INFO] [stderr] Downloaded shh v1.0.1 [INFO] [stderr] Downloaded cucumber_rust v0.6.8 [INFO] [stderr] Downloaded gherkin_rust v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0853e9c2f6fdc87e3e2818194550969f941a54aec6a4b007abd1c1a134f403f [INFO] running `Command { std: "docker" "start" "-a" "d0853e9c2f6fdc87e3e2818194550969f941a54aec6a4b007abd1c1a134f403f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0853e9c2f6fdc87e3e2818194550969f941a54aec6a4b007abd1c1a134f403f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0853e9c2f6fdc87e3e2818194550969f941a54aec6a4b007abd1c1a134f403f", kill_on_drop: false }` [INFO] [stdout] d0853e9c2f6fdc87e3e2818194550969f941a54aec6a4b007abd1c1a134f403f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbe5f73c81d9a7480a5334f5fb2df6586fdfbc53eb4b84d5cde370f1f5099eb2 [INFO] running `Command { std: "docker" "start" "-a" "dbe5f73c81d9a7480a5334f5fb2df6586fdfbc53eb4b84d5cde370f1f5099eb2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling ray_tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct is never constructed: `ArrayVect` [INFO] [stdout] --> src/./ray.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct ArrayVect { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `array3` [INFO] [stdout] --> src/./ray.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn array3(_x: i32, _y: i32, _z: i32) -> ArrayVect { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `array6` [INFO] [stdout] --> src/./ray.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn array6(_x1: i32, _y1: i32, _z1: i32, _x2: i32, _y2: i32, _z2: i32) -> ArrayVect { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `concat` [INFO] [stdout] --> src/./ray.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn concat(&self, other: ArrayVect) -> ArrayVect { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `concat_ref` [INFO] [stdout] --> src/./ray.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn concat_ref(&self, other: &ArrayVect) -> ArrayVect { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_point` [INFO] [stdout] --> src/./ray.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn is_point(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_vector` [INFO] [stdout] --> src/./ray.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn is_vector(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sub` [INFO] [stdout] --> src/./ray.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn sub(&self, other: &Tuple) -> Tuple { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `neg` [INFO] [stdout] --> src/./ray.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn neg(&self) -> Tuple { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `approximately` [INFO] [stdout] --> src/./ray.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn approximately(&self, other: Tuple) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot` [INFO] [stdout] --> src/./ray.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn dot(&self, other: &Tuple) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cross` [INFO] [stdout] --> src/./ray.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn cross(&self, other: &Tuple) -> Tuple { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `eqv_float` [INFO] [stdout] --> src/./ray.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn eqv_float(x: f32, y: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.20s [INFO] running `Command { std: "docker" "inspect" "dbe5f73c81d9a7480a5334f5fb2df6586fdfbc53eb4b84d5cde370f1f5099eb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbe5f73c81d9a7480a5334f5fb2df6586fdfbc53eb4b84d5cde370f1f5099eb2", kill_on_drop: false }` [INFO] [stdout] dbe5f73c81d9a7480a5334f5fb2df6586fdfbc53eb4b84d5cde370f1f5099eb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c11a4be76b2d66762370cf88e175abe3d225b9c953a6dda260c6535455a9f6f [INFO] running `Command { std: "docker" "start" "-a" "3c11a4be76b2d66762370cf88e175abe3d225b9c953a6dda260c6535455a9f6f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling pathdiff v0.1.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stdout] warning: struct is never constructed: `ArrayVect` [INFO] [stdout] --> src/./ray.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct ArrayVect { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `array3` [INFO] [stdout] --> src/./ray.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn array3(_x: i32, _y: i32, _z: i32) -> ArrayVect { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `array6` [INFO] [stdout] --> src/./ray.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn array6(_x1: i32, _y1: i32, _z1: i32, _x2: i32, _y2: i32, _z2: i32) -> ArrayVect { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `concat` [INFO] [stdout] --> src/./ray.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn concat(&self, other: ArrayVect) -> ArrayVect { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `concat_ref` [INFO] [stdout] --> src/./ray.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn concat_ref(&self, other: &ArrayVect) -> ArrayVect { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_point` [INFO] [stdout] --> src/./ray.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn is_point(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_vector` [INFO] [stdout] --> src/./ray.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn is_vector(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sub` [INFO] [stdout] --> src/./ray.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn sub(&self, other: &Tuple) -> Tuple { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `neg` [INFO] [stdout] --> src/./ray.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn neg(&self) -> Tuple { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `approximately` [INFO] [stdout] --> src/./ray.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn approximately(&self, other: Tuple) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stdout] warning: associated function is never used: `dot` [INFO] [stdout] --> src/./ray.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn dot(&self, other: &Tuple) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stdout] warning: associated function is never used: `cross` [INFO] [stdout] --> src/./ray.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn cross(&self, other: &Tuple) -> Tuple { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `eqv_float` [INFO] [stdout] --> src/./ray.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn eqv_float(x: f32, y: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling shh v1.0.1 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling globset v0.4.5 [INFO] [stderr] Compiling ignore v0.4.16 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling globwalk v0.7.3 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling derive_builder_core v0.5.0 [INFO] [stderr] Compiling gherkin_rust v0.6.0 [INFO] [stderr] Compiling cucumber_rust v0.6.8 [INFO] [stderr] Compiling ray_tracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `array6` [INFO] [stdout] --> src/./ray.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn array6(_x1: i32, _y1: i32, _z1: i32, _x2: i32, _y2: i32, _z2: i32) -> ArrayVect { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `concat_ref` [INFO] [stdout] --> src/./ray.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn concat_ref(&self, other: &ArrayVect) -> ArrayVect { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_point` [INFO] [stdout] --> src/./ray.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn is_point(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_vector` [INFO] [stdout] --> src/./ray.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn is_vector(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sub` [INFO] [stdout] --> src/./ray.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn sub(&self, other: &Tuple) -> Tuple { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `neg` [INFO] [stdout] --> src/./ray.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn neg(&self) -> Tuple { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `approximately` [INFO] [stdout] --> src/./ray.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn approximately(&self, other: Tuple) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dot` [INFO] [stdout] --> src/./ray.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn dot(&self, other: &Tuple) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cross` [INFO] [stdout] --> src/./ray.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn cross(&self, other: &Tuple) -> Tuple { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `eqv_float` [INFO] [stdout] --> src/./ray.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn eqv_float(x: f32, y: f32) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `steps` [INFO] [stdout] --> tests/cucumber.rs:1:41 [INFO] [stdout] | [INFO] [stdout] 1 | use cucumber::{after, before, cucumber, steps}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> tests/../src/ray.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> tests/../src/ray.rs:121:1 [INFO] [stdout] | [INFO] [stdout] 121 | mod ray_tests { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> tests/cucumber.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `concat` [INFO] [stdout] --> tests/../src/ray.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn concat(&self, other: ArrayVect) -> ArrayVect { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2m 09s [INFO] running `Command { std: "docker" "inspect" "3c11a4be76b2d66762370cf88e175abe3d225b9c953a6dda260c6535455a9f6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c11a4be76b2d66762370cf88e175abe3d225b9c953a6dda260c6535455a9f6f", kill_on_drop: false }` [INFO] [stdout] 3c11a4be76b2d66762370cf88e175abe3d225b9c953a6dda260c6535455a9f6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-95/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 65621a2e87d9eb2f259bdf7efe725c20da2f64709cd06d2c871264ae0b87b4ac [INFO] running `Command { std: "docker" "start" "-a" "65621a2e87d9eb2f259bdf7efe725c20da2f64709cd06d2c871264ae0b87b4ac", kill_on_drop: false }` [INFO] [stderr] warning: struct is never constructed: `ArrayVect` [INFO] [stderr] --> src/./ray.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct ArrayVect { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `array3` [INFO] [stderr] --> src/./ray.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn array3(_x: i32, _y: i32, _z: i32) -> ArrayVect { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `array6` [INFO] [stderr] --> src/./ray.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn array6(_x1: i32, _y1: i32, _z1: i32, _x2: i32, _y2: i32, _z2: i32) -> ArrayVect { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `concat` [INFO] [stderr] --> src/./ray.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn concat(&self, other: ArrayVect) -> ArrayVect { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `concat_ref` [INFO] [stderr] --> src/./ray.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn concat_ref(&self, other: &ArrayVect) -> ArrayVect { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_point` [INFO] [stderr] --> src/./ray.rs:47:12 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn is_point(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_vector` [INFO] [stderr] --> src/./ray.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn is_vector(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `sub` [INFO] [stderr] --> src/./ray.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn sub(&self, other: &Tuple) -> Tuple { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `neg` [INFO] [stderr] --> src/./ray.rs:73:12 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn neg(&self) -> Tuple { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `approximately` [INFO] [stderr] --> src/./ray.rs:101:12 [INFO] [stderr] | [INFO] [stderr] 101 | pub fn approximately(&self, other: Tuple) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `dot` [INFO] [stderr] --> src/./ray.rs:104:12 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn dot(&self, other: &Tuple) -> f32 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `cross` [INFO] [stderr] --> src/./ray.rs:107:12 [INFO] [stderr] | [INFO] [stderr] 107 | pub fn cross(&self, other: &Tuple) -> Tuple { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `eqv_float` [INFO] [stderr] --> src/./ray.rs:115:8 [INFO] [stderr] | [INFO] [stderr] 115 | pub fn eqv_float(x: f32, y: f32) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ray_tracer` (bin "ray_tracer") generated 13 warnings [INFO] [stderr] warning: associated function is never used: `array6` [INFO] [stderr] --> src/./ray.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn array6(_x1: i32, _y1: i32, _z1: i32, _x2: i32, _y2: i32, _z2: i32) -> ArrayVect { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `steps` [INFO] [stderr] --> tests/cucumber.rs:1:41 [INFO] [stderr] | [INFO] [stderr] 1 | use cucumber::{after, before, cucumber, steps}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> tests/../src/ray.rs:122:9 [INFO] [stderr] | [INFO] [stderr] 122 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stderr] --> tests/../src/ray.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | mod ray_tests { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> tests/cucumber.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `concat` [INFO] [stderr] --> tests/../src/ray.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn concat(&self, other: ArrayVect) -> ArrayVect { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `ray_tracer` (bin "ray_tracer" test) generated 10 warnings (9 duplicates) [INFO] [stderr] warning: `ray_tracer` (test "cucumber") generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ray_tracer-95ed152e956d1b88) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test projectile::ray::ray_tests::ray_can_concatenate_array ... ok [INFO] [stdout] test projectile::ray::ray_tests::ray_can_create_array_from_new ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/cucumber.rs (/opt/rustwide/target/debug/deps/cucumber-872190890ed28ecd) [INFO] [stdout] [Cucumber v0.6.8] [INFO] [stdout] [INFO] [stdout] Feature: Example feature features/example.feature:1:1 [INFO] [stdout] [INFO] [stdout] Scenario: An example scenario features/example.feature:3:13 [INFO] [stdout] ✔ Given I am trying out Cucumber features/example.feature:4:5 [INFO] [stdout] ✔ When I consider what I am doing features/example.feature:5:5 [INFO] [stdout] ✔ Then I am interested in ATDD features/example.feature:6:5 [INFO] [stdout] ✔ And we can implement rules with regex features/example.feature:7:5 [INFO] [stdout] [INFO] [stdout] Scenario: Concatening two arrays should create a new array [INFO] [stdout] features/example.feature:9:13 [INFO] [stdout] ✔ Given a <- array3 1, 2, 3 features/example.feature:10:5 [INFO] [stdout] ✔ And b <- array3 3, 4, 5 features/example.feature:11:5 [INFO] [stdout] ✔ When c <- concat a,b features/example.feature:12:5 [INFO] [stdout] ✔ Then c = array6 1, 2, 3, 3, 4, 5 features/example.feature:13:5 [INFO] [stdout] [INFO] [stdout] Scenario: A tuple with w=1.0 is a point features/example.feature:15:13 [INFO] [stdout] ✔ Given a <- tuple 4.3, -4.2, 3.1, 1.0 features/example.feature:16:5 [INFO] [stdout] ✔ Then a.x = 4.3 features/example.feature:17:5 [INFO] [stdout] ✔ And a.z = 3.1 features/example.feature:18:5 [INFO] [stdout] ✔ And a.z = 3.1 features/example.feature:19:5 [INFO] [stdout] ✔ And a.w = 1.0 features/example.feature:20:5 [INFO] [stdout] ✔ And a is a point features/example.feature:21:5 [INFO] [stdout] ✔ And a is not a vector features/example.feature:22:5 [INFO] [stdout] [INFO] [stdout] Scenario: A tuple with w=0.0 is a vector features/example.feature:24:13 [INFO] [stdout] ✔ Given a <- tuple 4.3, -4.2, 3.1, 0.0 features/example.feature:25:5 [INFO] [stdout] ✔ Then a.x = 4.3 features/example.feature:26:5 [INFO] [stdout] ✔ And a.z = 3.1 features/example.feature:27:5 [INFO] [stdout] ✔ And a.z = 3.1 features/example.feature:28:5 [INFO] [stdout] ✔ And a.w = 0.0 features/example.feature:29:5 [INFO] [stdout] ✔ And a is not a point features/example.feature:30:5 [INFO] [stdout] ✔ And a is a vector features/example.feature:31:5 [INFO] [stdout] [INFO] [stdout] Scenario: point factory creates tuples with w=1.0 [INFO] [stdout] features/example.feature:33:13 [INFO] [stdout] ✔ Given p <- point 4.0, -4.0, 3.0 features/example.feature:34:3 [INFO] [stdout] ✔ Then p = tuple 4.0, -4.0, 3.0, 1.0 features/example.feature:35:3 [INFO] [stdout] ✔ And p is a point features/example.feature:36:3 [INFO] [stdout] [INFO] [stdout] Scenario: vector factory creates tuples with w=0.0 [INFO] [stdout] features/example.feature:38:13 [INFO] [stdout] ✔ Given p <- vector 4.0, -4.0, 3.0 features/example.feature:39:3 [INFO] [stdout] ✔ Then p = tuple 4.0, -4.0, 3.0, 0.0 features/example.feature:40:3 [INFO] [stdout] ✔ And p is a vector features/example.feature:41:3 [INFO] [stdout] [INFO] [stdout] Scenario: Adding two tuples features/example.feature:43:13 [INFO] [stdout] ✔ Given a <- tuple 3.0, -2.0, 5.0, 1.0 features/example.feature:44:3 [INFO] [stdout] ✔ And b <- tuple -2.0, 3.0, 1.0, 0.0 features/example.feature:45:3 [INFO] [stdout] ✔ Then a + b == tuple 1.0, 1.0, 6.0, 1.0 features/example.feature:46:3 [INFO] [stdout] [INFO] [stdout] Scenario: Subtracting two points features/example.feature:48:13 [INFO] [stdout] ✔ Given p1 <- point 3.0, 2.0, 1.0 features/example.feature:49:3 [INFO] [stdout] ✔ And p2 <- point 5.0, 6.0, 7.0 features/example.feature:50:3 [INFO] [stdout] ✔ Then p1 - p2 == vector -2.0, -4.0, -6.0 features/example.feature:51:3 [INFO] [stdout] [INFO] [stdout] Scenario: Subtracting a vector from a point features/example.feature:53:13 [INFO] [stdout] ✔ Given p <- point 3.0, 2.0, 1.0 features/example.feature:54:3 [INFO] [stdout] ✔ And v <- vector 5.0, 6.0, 7.0 features/example.feature:55:3 [INFO] [stdout] ✔ Then p - v == point -2.0, -4.0, -6.0 features/example.feature:56:3 [INFO] [stdout] [INFO] [stdout] Scenario: Subtracting two vectors features/example.feature:58:13 [INFO] [stdout] ✔ Given v1 <- vector 3.0, 2.0, 1.0 features/example.feature:59:3 [INFO] [stdout] ✔ And v2 <- vector 5.0, 6.0, 7.0 features/example.feature:60:3 [INFO] [stdout] ✔ Then v1 - v2 == vector -2.0, -4.0, -6.0 features/example.feature:61:3 [INFO] [stdout] [INFO] [stdout] Scenario: Subtracting a vector from the zero vector [INFO] [stdout] features/example.feature:63:13 [INFO] [stdout] ✔ Given zero <- vector 0.0, 0.0, 0.0 features/example.feature:64:3 [INFO] [stdout] ✔ And v <- vector 1.0, -2.0, 3.0 features/example.feature:65:3 [INFO] [stdout] ✔ Then zero - v == vector -1.0, 2.0, -3.0 features/example.feature:66:3 [INFO] [stdout] [INFO] [stdout] Scenario: Negating a tuple features/example.feature:68:13 [INFO] [stdout] ✔ Given a <- tuple 1.0, -2.0, 3.0, -4.0 features/example.feature:69:3 [INFO] [stdout] ✔ Then neg a == tuple -1.0, 2.0, -3.0, 4.0 features/example.feature:70:3 [INFO] [stdout] [INFO] [stdout] Scenario: Multiplying a tuple by a scalar features/example.feature:72:13 [INFO] [stdout] ✔ Given a <- tuple 1.0, -2.0, 3.0, -4.0 features/example.feature:73:3 [INFO] [stdout] ✔ Then a * 3.5 == tuple 3.5, -7.0, 10.5, -14.0 features/example.feature:74:3 [INFO] [stdout] [INFO] [stdout] Scenario: Multiplying a tuple by a fraction features/example.feature:76:13 [INFO] [stdout] ✔ Given a <- tuple 1.0, -2.0, 3.0, -4.0 features/example.feature:77:3 [INFO] [stdout] ✔ Then a * 0.5 == tuple 0.5, -1.0, 1.5, -2.0 features/example.feature:78:3 [INFO] [stdout] [INFO] [stdout] Scenario: Dividing a tuple by a scalar features/example.feature:80:13 [INFO] [stdout] ✔ Given a <- tuple 1.0, -2.0, 3.0, -4.0 features/example.feature:81:3 [INFO] [stdout] ✔ Then a / 2.0 == tuple 0.5, -1.0, 1.5, -2.0 features/example.feature:82:3 [INFO] [stdout] [INFO] [stdout] Scenario: Computing the magnitude of vector(1,0,0) [INFO] [stdout] features/example.feature:84:13 [INFO] [stdout] ✔ Given v <- vector 1.0, 0.0, 0.0 features/example.feature:85:3 [INFO] [stdout] ✔ Then magnitude v == 1.0 features/example.feature:86:3 [INFO] [stdout] [INFO] [stdout] Scenario: Computing the magnitude of vector(0,1,0) [INFO] [stdout] features/example.feature:88:13 [INFO] [stdout] ✔ Given v <- vector 0.0, 1.0, 0.0 features/example.feature:89:3 [INFO] [stdout] ✔ Then magnitude v == 1.0 features/example.feature:90:3 [INFO] [stdout] [INFO] [stdout] Scenario: Computing the magnitude of vector(0,0,1) [INFO] [stdout] features/example.feature:92:13 [INFO] [stdout] ✔ Given v <- vector 0.0, 0.0, 1.0 features/example.feature:93:3 [INFO] [stdout] ✔ Then magnitude v == 1.0 features/example.feature:94:3 [INFO] [stdout] [INFO] [stdout] Scenario: Computing the magnitude of vector(1,2,3) [INFO] [stdout] features/example.feature:96:13 [INFO] [stdout] ✔ Given v <- vector 1.0, 2.0, 3.0 features/example.feature:97:3 [INFO] [stdout] ✔ Then magnitude v == sqrt 14.0 features/example.feature:98:3 [INFO] [stdout] [INFO] [stdout] Scenario: Computing the magnitude of vector(-1,-2,-3) [INFO] [stdout] features/example.feature:100:13 [INFO] [stdout] ✔ Given v <- vector 1.0, 2.0, 3.0 features/example.feature:101:3 [INFO] [stdout] ✔ Then magnitude v == sqrt 14.0 features/example.feature:102:3 [INFO] [stdout] [INFO] [stdout] Scenario: Normalizing vector(4,0,0) gives vector(1,0,0) [INFO] [stdout] features/example.feature:104:13 [INFO] [stdout] ✔ Given v <- vector 4.0, 0.0, 0.0 features/example.feature:105:3 [INFO] [stdout] ✔ Then normalize v == vector 1.0, 0.0, 0.0 features/example.feature:106:3 [INFO] [stdout] [INFO] [stdout] Scenario: Normalizing vector(1,2,3) features/example.feature:108:13 [INFO] [stdout] ✔ Given v <- vector 1.0, 2.0, 3.0 features/example.feature:109:3 [INFO] [stdout] ✔ Then normalize v == approximately vector 0.26726, 0.53452, 0.80178 [INFO] [stdout] features/example.feature:110:3 [INFO] [stdout] [INFO] [stdout] Scenario: Magnitude of normalize vector features/example.feature:112:13 [INFO] [stdout] ✔ Given v <- vector 1.0, 2.0, 3.0 features/example.feature:113:3 [INFO] [stdout] ✔ When norm <- normalize v features/example.feature:114:3 [INFO] [stdout] ✔ Then magnitude norm == 1.0 features/example.feature:115:3 [INFO] [stdout] [INFO] [stdout] Scenario: The dot product of two tuples features/example.feature:117:13 [INFO] [stdout] ✔ Given a <- vector 1.0, 2.0, 3.0 features/example.feature:118:3 [INFO] [stdout] ✔ And b <- vector 2.0, 3.0, 4.0 features/example.feature:119:3 [INFO] [stdout] ✔ Then dot a, b == 20.0 features/example.feature:120:3 [INFO] [stdout] [INFO] [stdout] Scenario: The cross porduct of two vectors features/example.feature:122:13 [INFO] [stdout] ✔ Given a <- vector 1.0, 2.0, 3.0 features/example.feature:123:3 [INFO] [stdout] ✔ And b <- vector 2.0, 3.0, 4.0 features/example.feature:124:3 [INFO] [stdout] ✔ Then cross a, b == vector -1.0, 2.0, -1.0 features/example.feature:125:3 [INFO] [stdout] ✔ And cross b, a == vector 1.0, -2.0, 1.0 features/example.feature:126:3 [INFO] [stdout] [INFO] [stdout] 1 features [INFO] [stdout] 25 scenarios (25 passed) [INFO] [stdout] 75 steps (75 passed) [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "65621a2e87d9eb2f259bdf7efe725c20da2f64709cd06d2c871264ae0b87b4ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65621a2e87d9eb2f259bdf7efe725c20da2f64709cd06d2c871264ae0b87b4ac", kill_on_drop: false }` [INFO] [stdout] 65621a2e87d9eb2f259bdf7efe725c20da2f64709cd06d2c871264ae0b87b4ac