[INFO] cloning repository https://github.com/guydunton/rtracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/guydunton/rtracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguydunton%2Frtracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguydunton%2Frtracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6e543b18ca82eb3741eaf02c86d2b0e1853f85e9 [INFO] testing guydunton/rtracer against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fguydunton%2Frtracer" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/guydunton/rtracer [INFO] finished tweaking git repo https://github.com/guydunton/rtracer [INFO] tweaked toml for git repo https://github.com/guydunton/rtracer written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/guydunton/rtracer on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/guydunton/rtracer already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xml-rs v0.8.3 [INFO] [stderr] Downloaded xcursor v0.3.2 [INFO] [stderr] Downloaded cc v1.0.60 [INFO] [stderr] Downloaded smallvec v1.4.2 [INFO] [stderr] Downloaded miniz_oxide v0.5.3 [INFO] [stderr] Downloaded png v0.17.5 [INFO] [stderr] Downloaded deflate v1.0.0 [INFO] [stderr] Downloaded sdl2 v0.32.2 [INFO] [stderr] Downloaded once_cell v1.4.1 [INFO] [stderr] Downloaded minifb v0.23.0 [INFO] [stderr] Downloaded sdl2-sys v0.32.6 [INFO] [stderr] Downloaded orbclient v0.3.27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 091318dee721d365fe56d2a9c6e4f49bf4f685747955437de371701c9f870b4a [INFO] running `Command { std: "docker" "start" "-a" "091318dee721d365fe56d2a9c6e4f49bf4f685747955437de371701c9f870b4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "091318dee721d365fe56d2a9c6e4f49bf4f685747955437de371701c9f870b4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "091318dee721d365fe56d2a9c6e4f49bf4f685747955437de371701c9f870b4a", kill_on_drop: false }` [INFO] [stdout] 091318dee721d365fe56d2a9c6e4f49bf4f685747955437de371701c9f870b4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2d270a82c4b1d840384e9c2d6f846f2c99514b48e5d8875e131709c5d34e4754 [INFO] running `Command { std: "docker" "start" "-a" "2d270a82c4b1d840384e9c2d6f846f2c99514b48e5d8875e131709c5d34e4754", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling rayon-core v1.8.1 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Compiling rayon v1.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling raw-window-handle v0.4.3 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling deflate v1.0.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling png v0.17.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling nix v0.22.3 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling minifb v0.23.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling xcursor v0.3.2 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Compiling wayland-commons v0.29.4 [INFO] [stderr] Compiling wayland-cursor v0.29.4 [INFO] [stderr] Compiling rtracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `round` [INFO] [stdout] --> src/maths/mod.rs:15:34 [INFO] [stdout] | [INFO] [stdout] 15 | pub use float_compare::{is_same, round}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/maths/matrix2x2.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | fn methods(&self) -> MatrixMethods { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 33 | fn methods(&self) -> MatrixMethods<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/maths/matrix3x3.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | fn methods(&self) -> MatrixMethods { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 41 | fn methods(&self) -> MatrixMethods<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/maths/matrix4x4.rs:179:16 [INFO] [stdout] | [INFO] [stdout] 179 | fn methods(&self) -> MatrixMethods { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 179 | fn methods(&self) -> MatrixMethods<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/maths/matrix_methods.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(data: &'a [f64], size: usize) -> MatrixMethods { [INFO] [stdout] | ^^ ------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(data: &'a [f64], size: usize) -> MatrixMethods<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.43s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "2d270a82c4b1d840384e9c2d6f846f2c99514b48e5d8875e131709c5d34e4754", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d270a82c4b1d840384e9c2d6f846f2c99514b48e5d8875e131709c5d34e4754", kill_on_drop: false }` [INFO] [stdout] 2d270a82c4b1d840384e9c2d6f846f2c99514b48e5d8875e131709c5d34e4754 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 34b9d88eb81d930f7809fc54b734598b6496639bd31e7a4a06007f4a80aac6b3 [INFO] running `Command { std: "docker" "start" "-a" "34b9d88eb81d930f7809fc54b734598b6496639bd31e7a4a06007f4a80aac6b3", kill_on_drop: false }` [INFO] [stderr] Compiling rtracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/maths/matrix2x2.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | fn methods(&self) -> MatrixMethods { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 33 | fn methods(&self) -> MatrixMethods<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/maths/matrix3x3.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | fn methods(&self) -> MatrixMethods { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 41 | fn methods(&self) -> MatrixMethods<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/maths/matrix4x4.rs:179:16 [INFO] [stdout] | [INFO] [stdout] 179 | fn methods(&self) -> MatrixMethods { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 179 | fn methods(&self) -> MatrixMethods<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/maths/matrix_methods.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(data: &'a [f64], size: usize) -> MatrixMethods { [INFO] [stdout] | ^^ ------------- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(data: &'a [f64], size: usize) -> MatrixMethods<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.78s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "34b9d88eb81d930f7809fc54b734598b6496639bd31e7a4a06007f4a80aac6b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34b9d88eb81d930f7809fc54b734598b6496639bd31e7a4a06007f4a80aac6b3", kill_on_drop: false }` [INFO] [stdout] 34b9d88eb81d930f7809fc54b734598b6496639bd31e7a4a06007f4a80aac6b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 12a6efa2cf006a3b9570d25e10d4a0a3a2ba3d6a2c67b8f03fee8e4f2f0f2de6 [INFO] running `Command { std: "docker" "start" "-a" "12a6efa2cf006a3b9570d25e10d4a0a3a2ba3d6a2c67b8f03fee8e4f2f0f2de6", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/maths/matrix2x2.rs:33:16 [INFO] [stderr] | [INFO] [stderr] 33 | fn methods(&self) -> MatrixMethods { [INFO] [stderr] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 33 | fn methods(&self) -> MatrixMethods<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/maths/matrix3x3.rs:41:16 [INFO] [stderr] | [INFO] [stderr] 41 | fn methods(&self) -> MatrixMethods { [INFO] [stderr] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 41 | fn methods(&self) -> MatrixMethods<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/maths/matrix4x4.rs:179:16 [INFO] [stderr] | [INFO] [stderr] 179 | fn methods(&self) -> MatrixMethods { [INFO] [stderr] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 179 | fn methods(&self) -> MatrixMethods<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/maths/matrix_methods.rs:10:23 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn new(data: &'a [f64], size: usize) -> MatrixMethods { [INFO] [stderr] | ^^ ------------- the lifetime gets resolved as `'a` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 10 | pub fn new(data: &'a [f64], size: usize) -> MatrixMethods<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rtracer` (bin "rtracer" test) generated 4 warnings (run `cargo fix --bin "rtracer" --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rtracer-1a0418718e7f2697) [INFO] [stdout] [INFO] [stdout] running 133 tests [INFO] [stdout] test image::canvas_test::can_downsample_canvas ... ok [INFO] [stdout] test image::canvas_test::canvas_can_be_written_to_png ... ok [INFO] [stdout] test image::canvas_test::canvas_pixels_be_set_to_a_color ... ok [INFO] [stdout] test image::canvas_test::can_create_a_canvas ... ok [INFO] [stdout] test image::canvas_test::can_sample_canvas_pixel_for_2_x_2_sample ... ok [INFO] [stdout] test image::color_test::color_can_be_converted_to_u32 ... ok [INFO] [stdout] test image::color_test::colors_can_be_added ... ok [INFO] [stdout] test image::color_test::colors_can_be_multiplied_together ... ok [INFO] [stdout] test image::color_test::colors_can_be_subtracted ... ok [INFO] [stdout] test image::color_test::colors_can_be_multiplied_by_scalar ... ok [INFO] [stdout] test image::color_test::retrieving_the_components_of_a_color_works ... ok [INFO] [stdout] test maths::float_compare::test_is_same ... ok [INFO] [stdout] test maths::matrix_test::a_shearing_transformation_moves_x_in_proportion_to_y ... ok [INFO] [stdout] test maths::matrix_test::apply_a_scaling_matrix_to_a_point ... ok [INFO] [stdout] test maths::matrix_test::apply_a_scaling_matrix_to_a_vector ... ok [INFO] [stdout] test maths::matrix_test::calculate_the_cofactor_of_a_3x3_matrix ... ok [INFO] [stdout] test maths::matrix_test::calculate_the_inverse_of_a_matrix ... ok [INFO] [stdout] test maths::matrix_test::calculate_the_inverse_of_a_second_matrix ... ok [INFO] [stdout] test maths::matrix_test::can_construct_a_matrix4x4 ... ok [INFO] [stdout] test maths::matrix_test::chained_transformations_must_be_applied_in_reverse_order ... ok [INFO] [stdout] test maths::matrix_test::chain_transformation_using_fluent_api ... ok [INFO] [stdout] test maths::matrix_test::can_construct_a_2x2_matrix ... ok [INFO] [stdout] test maths::matrix_test::create_a_submatrix_from_a_3x3_matrix ... ok [INFO] [stdout] test maths::matrix_test::calculate_the_inverse_of_a_third_matrix ... ok [INFO] [stdout] test maths::matrix_test::get_the_minor_of_a_matrix3x3 ... ok [INFO] [stdout] test maths::matrix_test::individual_transformations_are_applied_in_sequence ... ok [INFO] [stdout] test maths::matrix_test::matrices_can_be_multiplied_by_a_tuple ... ok [INFO] [stdout] test maths::matrix_test::inverse_of_x_rotation_works_in_opposite_direction ... ok [INFO] [stdout] test maths::matrix_test::calculate_the_determinant_of_a_4x4_matrix ... ok [INFO] [stdout] test maths::matrix_test::a_view_transformation_matrix_looking_in_positive_z_direction ... ok [INFO] [stdout] test maths::matrix_test::calculate_the_determinant_of_a_3x3_matrix ... ok [INFO] [stdout] test maths::matrix_test::can_construct_a_3x3_matrix ... ok [INFO] [stdout] test maths::matrix_test::matrices_can_be_multiplied_together ... ok [INFO] [stdout] test maths::matrix_test::matrices_can_be_transposed ... ok [INFO] [stdout] test maths::matrix_test::multiplying_a_by_identity_returns_a ... ok [INFO] [stdout] test maths::matrix_test::multiply_by_the_inverse_of_a_scaling_matrix ... ok [INFO] [stdout] test maths::matrix_test::multiplying_a_product_by_its_invers ... ok [INFO] [stdout] test maths::matrix_test::multiplying_by_a_translation_matrix ... ok [INFO] [stdout] test maths::matrix_test::multiplying_by_the_inverse_of_translation_matrix ... ok [INFO] [stdout] test maths::matrix_test::reflection_is_scaling_by_a_negative_value ... ok [INFO] [stdout] test maths::matrix_test::rotate_around_the_y_axis ... ok [INFO] [stdout] test maths::matrix_test::rotate_around_the_z_axis ... ok [INFO] [stdout] test maths::matrix_test::testing_matrix_invertability ... ok [INFO] [stdout] test maths::matrix_test::the_transformation_matrix_for_the_default_orientation ... ok [INFO] [stdout] test maths::matrix_test::the_view_transformation_moves_the_world ... ok [INFO] [stdout] test maths::matrix_test::translation_does_not_affect_vectors ... ok [INFO] [stdout] test maths::matrix_test::we_can_calculate_the_determinant_of_a_2x2_matrix ... ok [INFO] [stdout] test maths::matrix_test::we_can_test_the_equality_of_matrices ... ok [INFO] [stdout] test maths::tuple_test::adding_tuples_works ... ok [INFO] [stdout] test maths::tuple_test::can_create_a_tuple_and_get_its_values ... ok [INFO] [stdout] test maths::tuple_test::can_negate_a_vector ... ok [INFO] [stdout] test maths::tuple_test::compute_the_cross_product_of_2_vectors ... ok [INFO] [stdout] test maths::tuple_test::compute_the_dot_product_of_2_vectors ... ok [INFO] [stdout] test maths::tuple_test::compute_the_length_of_a_different_vector ... ok [INFO] [stdout] test maths::tuple_test::compute_the_length_of_a_vector ... ok [INFO] [stdout] test maths::tuple_test::point_creates_a_tuple_with_w_1 ... ok [INFO] [stdout] test maths::tuple_test::reflecting_a_vector_off_a_slanted_surface ... ok [INFO] [stdout] test maths::tuple_test::subtracting_2_actual_points ... ok [INFO] [stdout] test maths::tuple_test::subtracting_2_vectors ... ok [INFO] [stdout] test maths::tuple_test::tuple_can_be_divided_by_a_scaler ... ok [INFO] [stdout] test maths::tuple_test::subtracting_2_points ... ok [INFO] [stdout] test maths::tuple_test::subtracting_2_actual_vectors ... ok [INFO] [stdout] test maths::tuple_test::subtracting_a_real_vector_from_a_real_point ... ok [INFO] [stdout] test maths::tuple_test::reflecting_a_vector_approaching_at_45 ... ok [INFO] [stdout] test maths::tuple_test::normalize_vector_4_0_0_gives_1_0_0 ... ok [INFO] [stdout] test maths::tuple_test::subtracting_a_vector_from_a_point ... ok [INFO] [stdout] test maths::tuple_test::tuple_with_w_1_is_a_vector ... ok [INFO] [stdout] test maths::tuple_test::tuples_can_be_negated ... ok [INFO] [stdout] test maths::tuple_test::tuple_can_be_multiplied_by_a_scaler ... ok [INFO] [stdout] test maths::matrix_test::rotating_a_point_around_the_x_axis ... ok [INFO] [stdout] test maths::tuple_test::tuple_with_w_0_is_a_point ... ok [INFO] [stdout] test maths::tuple_test::vector_create_a_tuple_with_w_0 ... ok [INFO] [stdout] test primitives::camera_test::constructing_a_camera ... ok [INFO] [stdout] test primitives::camera_test::constructing_a_ray_through_the_center_of_the_canvas ... ok [INFO] [stdout] test primitives::material_test::lighting_with_a_pattern_applied ... ok [INFO] [stdout] test primitives::material_test::lighting_with_eye_in_the_path_of_the_reflection_vector ... ok [INFO] [stdout] test primitives::camera_test::the_pixel_size_for_a_canvas ... ok [INFO] [stdout] test primitives::material_test::lighting_with_the_light_behind_the_surface ... ok [INFO] [stdout] test primitives::camera_test::constructing_a_ray_through_a_corner_of_the_canvas ... ok [INFO] [stdout] test primitives::material_test::lighting_with_the_eye_between_light_and_surface_eye_offset_45 ... ok [INFO] [stdout] test primitives::ray_test::a_ray_intersecting_a_plane_from_above ... ok [INFO] [stdout] test primitives::ray_test::a_ray_intersects_a_sphere_at_a_tangent ... ok [INFO] [stdout] test primitives::ray_test::a_ray_intersects_a_sphere_at_2_locations ... ok [INFO] [stdout] test primitives::camera_test::constructing_a_ray_when_the_camera_is_transformed ... ok [INFO] [stdout] test primitives::material_test::lighting_with_the_eye_between_the_light_and_the_surface ... ok [INFO] [stdout] test primitives::ray_test::a_sphere_is_behind_a_ray ... ok [INFO] [stdout] test primitives::ray_test::a_ray_misses_a_sphere ... ok [INFO] [stdout] test primitives::material_test::lighting_with_eye_opposite_surface_lighting_offset_45 ... ok [INFO] [stdout] test primitives::material_test::lighting_with_the_surface_in_shadow ... ok [INFO] [stdout] test primitives::pattern_test::a_stripe_pattern_alternates_in_x ... ok [INFO] [stdout] test maths::tuple_test::tuples_compare_correctly ... ok [INFO] [stdout] test primitives::pattern_test::a_stripe_pattern_is_constant_in_z ... ok [INFO] [stdout] test primitives::point_light::test_point_light_creation ... ok [INFO] [stdout] test primitives::pattern_test::a_stripe_pattern_is_constant_in_y ... ok [INFO] [stdout] test primitives::ray_test::an_intersection_encapsulates_t_and_object ... ok [INFO] [stdout] test primitives::ray_test::a_spheres_default_transformation ... ok [INFO] [stdout] test primitives::ray_test::computing_a_point_from_a_distance ... ok [INFO] [stdout] test primitives::ray_test::creating_and_querying_a_ray ... ok [INFO] [stdout] test primitives::ray_test::intersect_with_a_coplanar_ray ... ok [INFO] [stdout] test primitives::ray_test::intersect_with_a_ray_parallel_to_the_plane ... ok [INFO] [stdout] test primitives::camera_test::rendering_a_world_with_a_camera ... ok [INFO] [stdout] test primitives::ray_test::a_ray_originates_inside_a_sphere ... ok [INFO] [stdout] test primitives::ray_test::intersecting_a_translated_sphere_with_a_ray ... ok [INFO] [stdout] test primitives::ray_test::precomputing_the_state_of_an_intersection ... ok [INFO] [stdout] test primitives::ray_test::the_hit_should_offset_the_point ... ok [INFO] [stdout] test primitives::ray_test::the_hit_when_all_intersections_have_negative_t ... ok [INFO] [stdout] test primitives::ray_test::the_hit_when_all_intersections_have_positive_t ... ok [INFO] [stdout] test primitives::ray_test::the_hit_when_an_intersection_occurs_on_the_outside ... ok [INFO] [stdout] test primitives::shape_test::a_sphere_may_be_assigned_a_material ... ok [INFO] [stdout] test primitives::ray_test::the_hit_when_an_intersection_occurs_on_the_inside ... ok [INFO] [stdout] test primitives::ray_test::the_hit_when_some_intersections_have_negative_t ... ok [INFO] [stdout] test primitives::shape_test::a_sphere_has_a_default_material ... ok [INFO] [stdout] test primitives::ray_test::scale_a_ray ... ok [INFO] [stdout] test primitives::ray_test::set_a_spheres_transformation ... ok [INFO] [stdout] test primitives::ray_test::the_hit_is_always_the_lowest_nonnegative_intersection ... ok [INFO] [stdout] test primitives::shape_test::computing_the_normal_on_a_translated_sphere ... ok [INFO] [stdout] test primitives::ray_test::intersecting_a_scaled_sphere_with_a_ray ... ok [INFO] [stdout] test primitives::ray_test::translate_a_ray ... ok [INFO] [stdout] test primitives::shape_test::computing_the_normal_on_a_transformed_sphere ... ok [INFO] [stdout] test primitives::shape_test::the_normal_of_a_plane_is_constant_everywhere ... ok [INFO] [stdout] test primitives::shape_test::the_normal_on_different_axis ... ok [INFO] [stdout] test primitives::shape_test::the_normal_is_a_normalized_vector ... ok [INFO] [stdout] test primitives::world_test::creating_a_world ... ok [INFO] [stdout] test primitives::world_test::shade_hit_is_given_an_intersection_in_shadow ... ok [INFO] [stdout] test primitives::world_test::intersect_a_world_with_a_ray ... ok [INFO] [stdout] test primitives::world_test::testing_is_shadowed_at_various_points ... ok [INFO] [stdout] test primitives::world_test::shading_an_intersection ... ok [INFO] [stdout] test primitives::world_test::the_color_when_a_ray_hits ... ok [INFO] [stdout] test primitives::world_test::the_color_when_a_ray_misses ... ok [INFO] [stdout] test primitives::world_test::the_color_with_an_intersection_behind_the_ray ... ok [INFO] [stdout] test primitives::world_test::the_default_world ... ok [INFO] [stdout] test primitives::world_test::shading_an_intersection_from_the_inside ... ok [INFO] [stdout] test worker::create_generator ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 133 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "12a6efa2cf006a3b9570d25e10d4a0a3a2ba3d6a2c67b8f03fee8e4f2f0f2de6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12a6efa2cf006a3b9570d25e10d4a0a3a2ba3d6a2c67b8f03fee8e4f2f0f2de6", kill_on_drop: false }` [INFO] [stdout] 12a6efa2cf006a3b9570d25e10d4a0a3a2ba3d6a2c67b8f03fee8e4f2f0f2de6