[INFO] cloning repository https://github.com/mjm114514/smallpt-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mjm114514/smallpt-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmjm114514%2Fsmallpt-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmjm114514%2Fsmallpt-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b6a7de2e53aae1846ff4083f79c935e9533837e [INFO] checking mjm114514/smallpt-rs against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmjm114514%2Fsmallpt-rs" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mjm114514/smallpt-rs on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mjm114514/smallpt-rs [INFO] removed path dependency ray from git repo https://github.com/mjm114514/smallpt-rs [INFO] removed path dependency sphere from git repo https://github.com/mjm114514/smallpt-rs [INFO] removed path dependency threadpool from git repo https://github.com/mjm114514/smallpt-rs [INFO] removed path dependency vec3 from git repo https://github.com/mjm114514/smallpt-rs [INFO] finished tweaking git repo https://github.com/mjm114514/smallpt-rs [INFO] tweaked toml for git repo https://github.com/mjm114514/smallpt-rs written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/mjm114514/smallpt-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (ray) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (sphere) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (threadpool) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (vec3) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-1/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (ray) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (sphere) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (threadpool) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (vec3) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded vec3 v0.2.1 [INFO] [stderr] Downloaded cast_trait v0.1.2 [INFO] [stderr] Downloaded ray v0.2.0 [INFO] [stderr] Downloaded sphere v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8384d0a51d0ca51c0fc39433c6e3d122e19b1c0dad724ad8a312923a8f339c94 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8384d0a51d0ca51c0fc39433c6e3d122e19b1c0dad724ad8a312923a8f339c94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8384d0a51d0ca51c0fc39433c6e3d122e19b1c0dad724ad8a312923a8f339c94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8384d0a51d0ca51c0fc39433c6e3d122e19b1c0dad724ad8a312923a8f339c94", kill_on_drop: false }` [INFO] [stdout] 8384d0a51d0ca51c0fc39433c6e3d122e19b1c0dad724ad8a312923a8f339c94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a7af0a3c7c0c461dcde688a09bb4ff4a001834bb554814330a130900fe517fa8 [INFO] running `Command { std: "docker" "start" "-a" "a7af0a3c7c0c461dcde688a09bb4ff4a001834bb554814330a130900fe517fa8", kill_on_drop: false }` [INFO] [stderr] warning: dependency (ray) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (sphere) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (threadpool) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (vec3) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking cast_trait v0.1.2 [INFO] [stderr] Checking ray v0.2.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking vec3 v0.2.1 [INFO] [stderr] Checking sphere v0.3.0 [INFO] [stderr] Checking smallpt-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `vec3::Vec3` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use vec3::Vec3; [INFO] [stdout] | ^^^^^^^^^^ no `Vec3` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `sphere::Sphere`, `sphere::ReflType` [INFO] [stdout] --> src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use sphere::{Sphere, ReflType}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ no `ReflType` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Sphere` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `vec3::Vec3` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use vec3::Vec3; [INFO] [stdout] | ^^^^^^^^^^ no `Vec3` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `sphere::Sphere`, `sphere::ReflType` [INFO] [stdout] --> src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use sphere::{Sphere, ReflType}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ no `ReflType` in the root [INFO] [stdout] | | [INFO] [stdout] | no `Sphere` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `origin` on type `&Ray` [INFO] [stdout] --> src/main.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | let hit_pos = ray.origin + (ray.direction * t); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pos`, `dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `direction` on type `&Ray` [INFO] [stdout] --> src/main.rs:46:41 [INFO] [stdout] | [INFO] [stdout] 46 | let hit_pos = ray.origin + (ray.direction * t); [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pos`, `dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `direction` on type `&Ray` [INFO] [stdout] --> src/main.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | if hit_normal.dot(ray.direction) < 0.0{ [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pos`, `dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Ray` in the current scope [INFO] [stdout] --> src/main.rs:75:71 [INFO] [stdout] | [INFO] [stdout] 75 | return scene[id].emission + f * radiance(scene, &Ray::new(&hit_pos, &dir), depth + 1, rng); [INFO] [stdout] | ^^^ function or associated item not found in `Ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `direction` on type `&Ray` [INFO] [stdout] --> src/main.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | let refl_dir = ray.direction - 2.0 * hit_normal.dot(ray.direction) * hit_normal; [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pos`, `dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `direction` on type `&Ray` [INFO] [stdout] --> src/main.rs:78:73 [INFO] [stdout] | [INFO] [stdout] 78 | let refl_dir = ray.direction - 2.0 * hit_normal.dot(ray.direction) * hit_normal; [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pos`, `dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Ray` in the current scope [INFO] [stdout] --> src/main.rs:79:37 [INFO] [stdout] | [INFO] [stdout] 79 | let refl_ray = Ray::new(&hit_pos, &refl_dir); [INFO] [stdout] | ^^^ function or associated item not found in `Ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `direction` on type `&Ray` [INFO] [stdout] --> src/main.rs:90:33 [INFO] [stdout] | [INFO] [stdout] 90 | let ddotn = ray.direction.dot(nl); [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pos`, `dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `direction` on type `&Ray` [INFO] [stdout] --> src/main.rs:102:37 [INFO] [stdout] | [INFO] [stdout] 102 | refr_dir = (ray.direction * nnt - hit_normal * (ddotn * nnt + cos2t.sqrt())).normalize(); [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pos`, `dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `direction` on type `&Ray` [INFO] [stdout] --> src/main.rs:106:37 [INFO] [stdout] | [INFO] [stdout] 106 | refr_dir = (ray.direction * nnt - hit_normal * -1.0 * (ddotn * nnt + cos2t.sqrt())).normalize(); [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pos`, `dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Ray` in the current scope [INFO] [stdout] --> src/main.rs:124:84 [INFO] [stdout] | [INFO] [stdout] 124 | return scene[id].emission + tp * f * radiance(scene, &Ray::new(&hit_pos, &refr_dir), depth + 1, rng); [INFO] [stdout] | ^^^ function or associated item not found in `Ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `origin` on type `&Ray` [INFO] [stdout] --> src/main.rs:46:27 [INFO] [stdout] | [INFO] [stdout] 46 | let hit_pos = ray.origin + (ray.direction * t); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pos`, `dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `direction` on type `&Ray` [INFO] [stdout] --> src/main.rs:46:41 [INFO] [stdout] | [INFO] [stdout] 46 | let hit_pos = ray.origin + (ray.direction * t); [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pos`, `dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `direction` on type `&Ray` [INFO] [stdout] --> src/main.rs:49:31 [INFO] [stdout] | [INFO] [stdout] 49 | if hit_normal.dot(ray.direction) < 0.0{ [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pos`, `dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Ray` in the current scope [INFO] [stdout] --> src/main.rs:130:56 [INFO] [stdout] | [INFO] [stdout] 130 | ... tr * radiance(scene, &Ray::new(&hit_pos, &refr_dir), depth + 1, rng) [INFO] [stdout] | ^^^ function or associated item not found in `Ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Ray` in the current scope [INFO] [stdout] --> src/main.rs:75:71 [INFO] [stdout] | [INFO] [stdout] 75 | return scene[id].emission + f * radiance(scene, &Ray::new(&hit_pos, &dir), depth + 1, rng); [INFO] [stdout] | ^^^ function or associated item not found in `Ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `direction` on type `&Ray` [INFO] [stdout] --> src/main.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | let refl_dir = ray.direction - 2.0 * hit_normal.dot(ray.direction) * hit_normal; [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pos`, `dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `direction` on type `&Ray` [INFO] [stdout] --> src/main.rs:78:73 [INFO] [stdout] | [INFO] [stdout] 78 | let refl_dir = ray.direction - 2.0 * hit_normal.dot(ray.direction) * hit_normal; [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pos`, `dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Ray` in the current scope [INFO] [stdout] --> src/main.rs:79:37 [INFO] [stdout] | [INFO] [stdout] 79 | let refl_ray = Ray::new(&hit_pos, &refl_dir); [INFO] [stdout] | ^^^ function or associated item not found in `Ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `direction` on type `&Ray` [INFO] [stdout] --> src/main.rs:135:31 [INFO] [stdout] | [INFO] [stdout] 135 | let dir = ray.direction - 2.0 * hit_normal.dot(ray.direction) * hit_normal; [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pos`, `dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `direction` on type `&Ray` [INFO] [stdout] --> src/main.rs:135:68 [INFO] [stdout] | [INFO] [stdout] 135 | let dir = ray.direction - 2.0 * hit_normal.dot(ray.direction) * hit_normal; [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pos`, `dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `direction` on type `&Ray` [INFO] [stdout] --> src/main.rs:90:33 [INFO] [stdout] | [INFO] [stdout] 90 | let ddotn = ray.direction.dot(nl); [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pos`, `dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `direction` on type `&Ray` [INFO] [stdout] --> src/main.rs:102:37 [INFO] [stdout] | [INFO] [stdout] 102 | refr_dir = (ray.direction * nnt - hit_normal * (ddotn * nnt + cos2t.sqrt())).normalize(); [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pos`, `dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Ray` in the current scope [INFO] [stdout] --> src/main.rs:136:71 [INFO] [stdout] | [INFO] [stdout] 136 | return scene[id].emission + f * radiance(scene, &Ray::new(&hit_pos, &dir), depth + 1, rng); [INFO] [stdout] | ^^^ function or associated item not found in `Ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `direction` on type `&Ray` [INFO] [stdout] --> src/main.rs:106:37 [INFO] [stdout] | [INFO] [stdout] 106 | refr_dir = (ray.direction * nnt - hit_normal * -1.0 * (ddotn * nnt + cos2t.sqrt())).normalize(); [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pos`, `dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Ray` in the current scope [INFO] [stdout] --> src/main.rs:124:84 [INFO] [stdout] | [INFO] [stdout] 124 | return scene[id].emission + tp * f * radiance(scene, &Ray::new(&hit_pos, &refr_dir), depth + 1, rng); [INFO] [stdout] | ^^^ function or associated item not found in `Ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Ray` in the current scope [INFO] [stdout] --> src/main.rs:130:56 [INFO] [stdout] | [INFO] [stdout] 130 | ... tr * radiance(scene, &Ray::new(&hit_pos, &refr_dir), depth + 1, rng) [INFO] [stdout] | ^^^ function or associated item not found in `Ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `direction` on type `&Ray` [INFO] [stdout] --> src/main.rs:135:31 [INFO] [stdout] | [INFO] [stdout] 135 | let dir = ray.direction - 2.0 * hit_normal.dot(ray.direction) * hit_normal; [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pos`, `dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `direction` on type `&Ray` [INFO] [stdout] --> src/main.rs:135:68 [INFO] [stdout] | [INFO] [stdout] 135 | let dir = ray.direction - 2.0 * hit_normal.dot(ray.direction) * hit_normal; [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `pos`, `dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Ray` in the current scope [INFO] [stdout] --> src/main.rs:136:71 [INFO] [stdout] | [INFO] [stdout] 136 | return scene[id].emission + f * radiance(scene, &Ray::new(&hit_pos, &dir), depth + 1, rng); [INFO] [stdout] | ^^^ function or associated item not found in `Ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> src/main.rs:206:31 [INFO] [stdout] | [INFO] [stdout] 206 | let scene_ref = scene.clone(); [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `scene` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Ray` in the current scope [INFO] [stdout] --> src/main.rs:247:59 [INFO] [stdout] | [INFO] [stdout] 247 | ... r = r + radiance(scene, &Ray::new(&(cam_pos + dir * 140.0), &dir.normalize()), 0, &mut rng) * (1.0 / samps as f64); [INFO] [stdout] | ^^^ function or associated item not found in `Ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> src/main.rs:206:31 [INFO] [stdout] | [INFO] [stdout] 206 | let scene_ref = scene.clone(); [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `scene` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Ray` in the current scope [INFO] [stdout] --> src/main.rs:247:59 [INFO] [stdout] | [INFO] [stdout] 247 | ... r = r + radiance(scene, &Ray::new(&(cam_pos + dir * 140.0), &dir.normalize()), 0, &mut rng) * (1.0 / samps as f64); [INFO] [stdout] | ^^^ function or associated item not found in `Ray` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `smallpt-rs` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a7af0a3c7c0c461dcde688a09bb4ff4a001834bb554814330a130900fe517fa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7af0a3c7c0c461dcde688a09bb4ff4a001834bb554814330a130900fe517fa8", kill_on_drop: false }` [INFO] [stdout] a7af0a3c7c0c461dcde688a09bb4ff4a001834bb554814330a130900fe517fa8