[INFO] cloning repository https://github.com/zandeck/simple_raytracer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zandeck/simple_raytracer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzandeck%2Fsimple_raytracer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzandeck%2Fsimple_raytracer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4fe2ddb48f59842afff493c85b5f32113a40c309 [INFO] checking zandeck/simple_raytracer against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzandeck%2Fsimple_raytracer" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zandeck/simple_raytracer [INFO] finished tweaking git repo https://github.com/zandeck/simple_raytracer [INFO] tweaked toml for git repo https://github.com/zandeck/simple_raytracer written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zandeck/simple_raytracer on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 87 packages to latest compatible versions [INFO] [stderr] Adding image v0.19.0 (available: v0.25.6) [INFO] [stderr] Adding indicatif v0.9.0 (available: v0.18.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7cd1950b0b7038c8a6e50418e995bba1b04b1484acb5a88f180c97362e0f89b [INFO] running `Command { std: "docker" "start" "-a" "d7cd1950b0b7038c8a6e50418e995bba1b04b1484acb5a88f180c97362e0f89b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7cd1950b0b7038c8a6e50418e995bba1b04b1484acb5a88f180c97362e0f89b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7cd1950b0b7038c8a6e50418e995bba1b04b1484acb5a88f180c97362e0f89b", kill_on_drop: false }` [INFO] [stdout] d7cd1950b0b7038c8a6e50418e995bba1b04b1484acb5a88f180c97362e0f89b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c187b9316fa1983d2c77dad870be5923d872dce49c02ee1c472c2cb01f7943d [INFO] running `Command { std: "docker" "start" "-a" "4c187b9316fa1983d2c77dad870be5923d872dce49c02ee1c472c2cb01f7943d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking console v0.16.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking indicatif v0.9.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking image v0.19.0 [INFO] [stderr] Checking simple_raytracer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `rand::distributions` [INFO] [stdout] --> src/camera.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::distributions::{Standard}; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `distributions` in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand::distributions` [INFO] [stdout] --> src/material.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::distributions::{Standard}; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `distributions` in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand::distributions` [INFO] [stdout] --> src/scene.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::distributions::{Standard}; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `distributions` in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand::distributions` [INFO] [stdout] --> src/sphere.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::distributions::{Standard}; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `distributions` in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand::distributions` [INFO] [stdout] --> src/camera.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::distributions::{Standard}; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `distributions` in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `random` in this scope [INFO] [stdout] --> src/picture.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | let u: f64 = (x as f64 + random::()) / self.x as f64; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use std::random::random; [INFO] [stdout] | [INFO] [stdout] 1 + use rand::random; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `random` in this scope [INFO] [stdout] --> src/picture.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | let v: f64 = (y as f64 + random::()) / self.y as f64; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use std::random::random; [INFO] [stdout] | [INFO] [stdout] 1 + use rand::random; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand::distributions` [INFO] [stdout] --> src/material.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use rand::distributions::{Standard}; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `distributions` in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand::distributions` [INFO] [stdout] --> src/scene.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use rand::distributions::{Standard}; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `distributions` in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rand::distributions` [INFO] [stdout] --> src/sphere.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::distributions::{Standard}; [INFO] [stdout] | ^^^^^^^^^^^^^ could not find `distributions` in `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hitable.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | pub material: Arc [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | pub material: Arc [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sphere.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | pub material: Arc [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | pub material: Arc [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `random` in this scope [INFO] [stdout] --> src/picture.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | let u: f64 = (x as f64 + random::()) / self.x as f64; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use std::random::random; [INFO] [stdout] | [INFO] [stdout] 1 + use rand::random; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `random` in this scope [INFO] [stdout] --> src/picture.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | let v: f64 = (y as f64 + random::()) / self.y as f64; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use std::random::random; [INFO] [stdout] | [INFO] [stdout] 1 + use rand::random; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hitable.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | pub material: Arc [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | pub material: Arc [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sphere.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | pub material: Arc [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | pub material: Arc [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_entropy` found for struct `rand::prelude::SmallRng` in the current scope [INFO] [stdout] --> src/camera.rs:44:42 [INFO] [stdout] | [INFO] [stdout] 44 | let p: Vector2 = SmallRng::from_entropy().sample(Standard); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `rand::prelude::SmallRng` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_rng` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/lib.rs:521:5 [INFO] [stdout] | [INFO] [stdout] 521 | fn from_rng(rng: &mut impl RngCore) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `Vector2<{float}>` from `{float}` [INFO] [stdout] --> src/camera.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | 2.0 * p - cgmath::vec2(1.0, 1.0) [INFO] [stdout] | ^ no implementation for `{float} - Vector2<{float}>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub>` is not implemented for `{float}` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `&f128` implements `Sub` [INFO] [stdout] `&f128` implements `Sub` [INFO] [stdout] `&f16` implements `Sub` [INFO] [stdout] `&f16` implements `Sub` [INFO] [stdout] `&f32` implements `Sub` [INFO] [stdout] `&f32` implements `Sub` [INFO] [stdout] `&f64` implements `Sub` [INFO] [stdout] `&f64` implements `Sub` [INFO] [stdout] and 68 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_entropy` found for struct `rand::prelude::SmallRng` in the current scope [INFO] [stdout] --> src/camera.rs:44:42 [INFO] [stdout] | [INFO] [stdout] 44 | let p: Vector2 = SmallRng::from_entropy().sample(Standard); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `rand::prelude::SmallRng` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_rng` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/lib.rs:521:5 [INFO] [stdout] | [INFO] [stdout] 521 | fn from_rng(rng: &mut impl RngCore) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `Vector2<{float}>` from `{float}` [INFO] [stdout] --> src/camera.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | 2.0 * p - cgmath::vec2(1.0, 1.0) [INFO] [stdout] | ^ no implementation for `{float} - Vector2<{float}>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub>` is not implemented for `{float}` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `&f128` implements `Sub` [INFO] [stdout] `&f128` implements `Sub` [INFO] [stdout] `&f16` implements `Sub` [INFO] [stdout] `&f16` implements `Sub` [INFO] [stdout] `&f32` implements `Sub` [INFO] [stdout] `&f32` implements `Sub` [INFO] [stdout] `&f64` implements `Sub` [INFO] [stdout] `&f64` implements `Sub` [INFO] [stdout] and 68 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_entropy` found for struct `rand::prelude::SmallRng` in the current scope [INFO] [stdout] --> src/material.rs:131:39 [INFO] [stdout] | [INFO] [stdout] 131 | let rand_num: f64 = SmallRng::from_entropy().sample(Standard); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `rand::prelude::SmallRng` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_rng` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/lib.rs:521:5 [INFO] [stdout] | [INFO] [stdout] 521 | fn from_rng(rng: &mut impl RngCore) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_entropy` found for struct `rand::prelude::SmallRng` in the current scope [INFO] [stdout] --> src/material.rs:131:39 [INFO] [stdout] | [INFO] [stdout] 131 | let rand_num: f64 = SmallRng::from_entropy().sample(Standard); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `rand::prelude::SmallRng` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_rng` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/lib.rs:521:5 [INFO] [stdout] | [INFO] [stdout] 521 | fn from_rng(rng: &mut impl RngCore) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_entropy` found for struct `rand::prelude::SmallRng` in the current scope [INFO] [stdout] --> src/scene.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | let mut e = SmallRng::from_entropy(); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `rand::prelude::SmallRng` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_rng` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/lib.rs:521:5 [INFO] [stdout] | [INFO] [stdout] 521 | fn from_rng(rng: &mut impl RngCore) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_entropy` found for struct `rand::prelude::SmallRng` in the current scope [INFO] [stdout] --> src/sphere.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | let p: V = SmallRng::from_entropy().sample(Standard); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `rand::prelude::SmallRng` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_rng` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/lib.rs:521:5 [INFO] [stdout] | [INFO] [stdout] 521 | fn from_rng(rng: &mut impl RngCore) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `Vector3<{float}>` from `{float}` [INFO] [stdout] --> src/sphere.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | 2.0 * p - cgmath::vec3(1.0, 1.0, 1.0) [INFO] [stdout] | ^ no implementation for `{float} - Vector3<{float}>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub>` is not implemented for `{float}` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `&f128` implements `Sub` [INFO] [stdout] `&f128` implements `Sub` [INFO] [stdout] `&f16` implements `Sub` [INFO] [stdout] `&f16` implements `Sub` [INFO] [stdout] `&f32` implements `Sub` [INFO] [stdout] `&f32` implements `Sub` [INFO] [stdout] `&f64` implements `Sub` [INFO] [stdout] `&f64` implements `Sub` [INFO] [stdout] and 68 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_entropy` found for struct `rand::prelude::SmallRng` in the current scope [INFO] [stdout] --> src/scene.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | let mut e = SmallRng::from_entropy(); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `rand::prelude::SmallRng` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_rng` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/lib.rs:521:5 [INFO] [stdout] | [INFO] [stdout] 521 | fn from_rng(rng: &mut impl RngCore) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude` [INFO] [stdout] --> src/picture.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simple_raytracer` (bin "simple_raytracer") due to 12 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no function or associated item named `from_entropy` found for struct `rand::prelude::SmallRng` in the current scope [INFO] [stdout] --> src/sphere.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | let p: V = SmallRng::from_entropy().sample(Standard); [INFO] [stdout] | ^^^^^^^^^^^^ function or associated item not found in `rand::prelude::SmallRng` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `from_rng` with a similar name [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rand_core-0.9.3/src/lib.rs:521:5 [INFO] [stdout] | [INFO] [stdout] 521 | fn from_rng(rng: &mut impl RngCore) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `Vector3<{float}>` from `{float}` [INFO] [stdout] --> src/sphere.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | 2.0 * p - cgmath::vec3(1.0, 1.0, 1.0) [INFO] [stdout] | ^ no implementation for `{float} - Vector3<{float}>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub>` is not implemented for `{float}` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `&f128` implements `Sub` [INFO] [stdout] `&f128` implements `Sub` [INFO] [stdout] `&f16` implements `Sub` [INFO] [stdout] `&f16` implements `Sub` [INFO] [stdout] `&f32` implements `Sub` [INFO] [stdout] `&f32` implements `Sub` [INFO] [stdout] `&f64` implements `Sub` [INFO] [stdout] `&f64` implements `Sub` [INFO] [stdout] and 68 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::prelude` [INFO] [stdout] --> src/picture.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rand::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `simple_raytracer` (bin "simple_raytracer" test) due to 12 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4c187b9316fa1983d2c77dad870be5923d872dce49c02ee1c472c2cb01f7943d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c187b9316fa1983d2c77dad870be5923d872dce49c02ee1c472c2cb01f7943d", kill_on_drop: false }` [INFO] [stdout] 4c187b9316fa1983d2c77dad870be5923d872dce49c02ee1c472c2cb01f7943d