[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] testing mjm114514/smallpt-rs against beta-2020-10-09 for beta-1.48-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmjm114514%2Fsmallpt-rs" "/workspace/builds/worker-2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mjm114514/smallpt-rs on toolchain beta-2020-10-09
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "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-2/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" "+beta-2020-10-09" "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-2/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" "+beta-2020-10-09" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "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 sphere v0.3.0
[INFO] [stderr]   Downloaded ray v0.2.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "+beta-2020-10-09" "metadata" "--no-deps" "--format-version=1", 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] bfc07049a5edc3d01a6c52bee32527186101efeebff2f0f3d9b1a2ff1d39c618
[INFO] running `Command { std: "docker" "start" "-a" "bfc07049a5edc3d01a6c52bee32527186101efeebff2f0f3d9b1a2ff1d39c618", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bfc07049a5edc3d01a6c52bee32527186101efeebff2f0f3d9b1a2ff1d39c618", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bfc07049a5edc3d01a6c52bee32527186101efeebff2f0f3d9b1a2ff1d39c618", kill_on_drop: false }`
[INFO] [stdout] bfc07049a5edc3d01a6c52bee32527186101efeebff2f0f3d9b1a2ff1d39c618
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c4b60d30190f6079b448fc240878f76bf2a88243c7f0056391ac87f1b9cfafca
[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" "c4b60d30190f6079b448fc240878f76bf2a88243c7f0056391ac87f1b9cfafca", 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 libc v0.2.79
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling cast_trait v0.1.2
[INFO] [stderr]    Compiling ray v0.2.0
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling num-traits v0.1.43
[INFO] [stderr]    Compiling vec3 v0.2.1
[INFO] [stderr]    Compiling sphere v0.3.0
[INFO] [stderr]    Compiling 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[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[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: 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] running `Command { std: "docker" "inspect" "c4b60d30190f6079b448fc240878f76bf2a88243c7f0056391ac87f1b9cfafca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4b60d30190f6079b448fc240878f76bf2a88243c7f0056391ac87f1b9cfafca", kill_on_drop: false }`
[INFO] [stdout] c4b60d30190f6079b448fc240878f76bf2a88243c7f0056391ac87f1b9cfafca
