[INFO] cloning repository https://github.com/debater-coder/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/debater-coder/rust-tracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdebater-coder%2Frust-tracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdebater-coder%2Frust-tracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9360745d99a7f975be6d2a6bfdce5f30093b870 [INFO] testing debater-coder/rust-tracer against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdebater-coder%2Frust-tracer" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/debater-coder/rust-tracer [INFO] finished tweaking git repo https://github.com/debater-coder/rust-tracer [INFO] tweaked toml for git repo https://github.com/debater-coder/rust-tracer written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/debater-coder/rust-tracer 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/debater-coder/rust-tracer 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] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5490872f7f9b407e5a20724549dd81a21ccc255ad9a78f03a9a56e132710c494 [INFO] running `Command { std: "docker" "start" "-a" "5490872f7f9b407e5a20724549dd81a21ccc255ad9a78f03a9a56e132710c494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5490872f7f9b407e5a20724549dd81a21ccc255ad9a78f03a9a56e132710c494", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5490872f7f9b407e5a20724549dd81a21ccc255ad9a78f03a9a56e132710c494", kill_on_drop: false }` [INFO] [stdout] 5490872f7f9b407e5a20724549dd81a21ccc255ad9a78f03a9a56e132710c494 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5ade194294089a7d9e33cadd376cc5d8431bc85863a0e4cc8c072e6bf62b7d0c [INFO] running `Command { std: "docker" "start" "-a" "5ade194294089a7d9e33cadd376cc5d8431bc85863a0e4cc8c072e6bf62b7d0c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rust-tracer v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hittables.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option; [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [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] 42 | fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hittables.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [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] 62 | fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hittables.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [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] 117 | pub fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.01s [INFO] running `Command { std: "docker" "inspect" "5ade194294089a7d9e33cadd376cc5d8431bc85863a0e4cc8c072e6bf62b7d0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ade194294089a7d9e33cadd376cc5d8431bc85863a0e4cc8c072e6bf62b7d0c", kill_on_drop: false }` [INFO] [stdout] 5ade194294089a7d9e33cadd376cc5d8431bc85863a0e4cc8c072e6bf62b7d0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/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] 9a16fed13b4880d07a757f886c5b2c31b22bc94b4453516fc4567e65384217e7 [INFO] running `Command { std: "docker" "start" "-a" "9a16fed13b4880d07a757f886c5b2c31b22bc94b4453516fc4567e65384217e7", kill_on_drop: false }` [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hittables.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option; [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [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] 42 | fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hittables.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [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] 62 | fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hittables.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [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] 117 | pub fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust-tracer v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hittables.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option; [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [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] 42 | fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hittables.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [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] 62 | fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/hittables.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [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] 117 | pub fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.93s [INFO] running `Command { std: "docker" "inspect" "9a16fed13b4880d07a757f886c5b2c31b22bc94b4453516fc4567e65384217e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a16fed13b4880d07a757f886c5b2c31b22bc94b4453516fc4567e65384217e7", kill_on_drop: false }` [INFO] [stdout] 9a16fed13b4880d07a757f886c5b2c31b22bc94b4453516fc4567e65384217e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b5078e9d93bb43c35317ae9d8be46db374d1fae87505686aae088e91fdaf2fad [INFO] running `Command { std: "docker" "start" "-a" "b5078e9d93bb43c35317ae9d8be46db374d1fae87505686aae088e91fdaf2fad", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/hittables.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 42 | fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option; [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [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] 42 | fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/hittables.rs:62:12 [INFO] [stderr] | [INFO] [stderr] 62 | fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [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] 62 | fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/hittables.rs:117:16 [INFO] [stderr] | [INFO] [stderr] 117 | pub fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [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] 117 | pub fn hit(&self, ray: Ray, t_min: f64, t_max: f64) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rust-tracer` (lib) generated 3 warnings (run `cargo fix --lib -p rust-tracer` to apply 3 suggestions) [INFO] [stderr] warning: `rust-tracer` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rust_tracer-308d20c48f9c165c) [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rust_tracer-c3921dabc3af5e52) [INFO] [stdout] running 10 tests [INFO] [stdout] test math::tests::vector_add_assign ... ok [INFO] [stdout] test math::tests::vector_add ... ok [INFO] [stdout] test math::tests::vector_div ... ok [INFO] [stdout] test math::tests::vector_div_assign ... ok [INFO] [stdout] test math::tests::vector_eq ... ok [INFO] [stdout] test math::tests::vector_mul ... ok [INFO] [stdout] test math::tests::vector_mul_assign ... ok [INFO] [stdout] test math::tests::vector_neg ... ok [INFO] [stdout] test math::tests::vector_sub ... ok [INFO] [stdout] test math::tests::vector_sub_assign ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rust_tracer [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - render_to_stdout (line 82) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - render_to_stdout (line 82) stdout ---- [INFO] [stdout] error[E0277]: expected a `Fn()` closure, found `HittableList` [INFO] [stdout] --> src/lib.rs:137:46 [INFO] [stdout] | [INFO] [stdout] 58 | rust_tracer::render_to_stdout(400, 100, 50, &world, &camera); [INFO] [stdout] | ----------------------------- ^^^^^ expected an `Fn()` closure, found `HittableList` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn()` is not implemented for `HittableList` [INFO] [stdout] = note: wrap the `HittableList` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] = note: required for `&HittableList` to implement `Fn()` [INFO] [stdout] note: required by a bound in `render_to_stdout` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn render_to_stdout( [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 147 | F: Fn() -> HittableList + Send + 'static + Copy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `render_to_stdout` [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnOnce()` closure, found `HittableList` [INFO] [stdout] --> src/lib.rs:137:45 [INFO] [stdout] | [INFO] [stdout] 58 | rust_tracer::render_to_stdout(400, 100, 50, &world, &camera); [INFO] [stdout] | ----------------------------- ^^^^^^ expected an `FnOnce()` closure, found `HittableList` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnOnce()` is not implemented for `HittableList` [INFO] [stdout] = note: wrap the `HittableList` in a closure with no arguments: `|| { /* code */ }` [INFO] [stdout] note: required by a bound in `render_to_stdout` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:147:16 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn render_to_stdout( [INFO] [stdout] | ---------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 147 | F: Fn() -> HittableList + Send + 'static + Copy, [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `render_to_stdout` [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 6 arguments but 5 arguments were supplied [INFO] [stdout] --> src/lib.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 58 | rust_tracer::render_to_stdout(400, 100, 50, &world, &camera); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | expected `Camera`, found `&Camera` [INFO] [stdout] | argument #6 of type `usize` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn render_to_stdout( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 58 - rust_tracer::render_to_stdout(400, 100, 50, &world, &camera); [INFO] [stdout] 58 + rust_tracer::render_to_stdout(400, 100, 50, &world, camera); [INFO] [stdout] | [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 58 - rust_tracer::render_to_stdout(400, 100, 50, &world, &camera); [INFO] [stdout] 58 + rust_tracer::render_to_stdout(400, 100, 50, &world, /* Camera */, /* usize */); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - render_to_stdout (line 82) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b5078e9d93bb43c35317ae9d8be46db374d1fae87505686aae088e91fdaf2fad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5078e9d93bb43c35317ae9d8be46db374d1fae87505686aae088e91fdaf2fad", kill_on_drop: false }` [INFO] [stdout] b5078e9d93bb43c35317ae9d8be46db374d1fae87505686aae088e91fdaf2fad