[INFO] fetching crate ray_tracing_core 0.1.1... [INFO] checking ray_tracing_core-0.1.1 against try#f6d7c613ae2d161ff37dbc63cc5abd809c878597 for pr-83850 [INFO] extracting crate ray_tracing_core 0.1.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate ray_tracing_core 0.1.1 on toolchain f6d7c613ae2d161ff37dbc63cc5abd809c878597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ray_tracing_core 0.1.1 [INFO] finished tweaking crates.io crate ray_tracing_core 0.1.1 [INFO] tweaked toml for crates.io crate ray_tracing_core 0.1.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 32a9e177f6f49d6933c9ae1ce07569427915edcef80db9f2f59666feddabf8b1 [INFO] running `Command { std: "docker" "start" "-a" "32a9e177f6f49d6933c9ae1ce07569427915edcef80db9f2f59666feddabf8b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "32a9e177f6f49d6933c9ae1ce07569427915edcef80db9f2f59666feddabf8b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32a9e177f6f49d6933c9ae1ce07569427915edcef80db9f2f59666feddabf8b1", kill_on_drop: false }` [INFO] [stdout] 32a9e177f6f49d6933c9ae1ce07569427915edcef80db9f2f59666feddabf8b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71da09c9b5214913383fcaa86045d2446348f25a4575867c384fdaef436151f1 [INFO] running `Command { std: "docker" "start" "-a" "71da09c9b5214913383fcaa86045d2446348f25a4575867c384fdaef436151f1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking quickcheck v0.2.27 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking glm v0.2.3 [INFO] [stderr] Checking ray_tracing_core v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test/test_scene_simple.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | let world = BVHNode::new(&vec![ground.clone(), sphere.clone()], 0.0..0.0); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected trait object `dyn geometry::Geometry`, found struct `sphere::Sphere` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec>` [INFO] [stdout] found reference `&Vec>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/geometry/collection/bvh_node.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(list: &Vec>, t_range: Range) -> Arc { [INFO] [stdout] | ^^^ ----------------------------- --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/test/test_scene_simple.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 32 | let world = BVHNode::new(&vec![ground.clone(), sphere.clone()], 0.0..0.0); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected trait object `dyn Geometry`, found struct `Sphere` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec>` [INFO] [stdout] found reference `&Vec>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/geometry/collection/bvh_node.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(list: &Vec>, t_range: Range) -> Arc { [INFO] [stdout] | ^^^ ----------------------------- --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ray_tracing_core` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/geometry/collection/geometry_list.rs:83:36 [INFO] [stdout] | [INFO] [stdout] 83 | let hl = GeometryList::new(&vec![ [INFO] [stdout] | __________________-----------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this function are incorrect [INFO] [stdout] 84 | | Arc::new(Sphere::new( [INFO] [stdout] 85 | | Point3::new(-1.0, 0.0, -1.0), [INFO] [stdout] 86 | | 1.0, [INFO] [stdout] ... | [INFO] [stdout] 93 | | )), [INFO] [stdout] 94 | | ]); [INFO] [stdout] | |_________^ expected trait object `dyn geometry::Geometry`, found struct `sphere::Sphere` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec>` [INFO] [stdout] found reference `&Vec>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/geometry/collection/geometry_list.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(list: &Vec>) -> GeometryList { [INFO] [stdout] | ^^^ ----------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/geometry/collection/geometry_list.rs:108:36 [INFO] [stdout] | [INFO] [stdout] 108 | let hl = GeometryList::new(&vec![ [INFO] [stdout] | __________________-----------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this function are incorrect [INFO] [stdout] 109 | | Arc::new(Sphere::new( [INFO] [stdout] 110 | | Point3::new(-1.0, 0.0, -1.0), [INFO] [stdout] 111 | | 1.0, [INFO] [stdout] ... | [INFO] [stdout] 122 | | )), [INFO] [stdout] 123 | | ]); [INFO] [stdout] | |_________^ expected trait object `dyn geometry::Geometry`, found struct `sphere::Sphere` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec>` [INFO] [stdout] found reference `&Vec>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/geometry/collection/geometry_list.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(list: &Vec>) -> GeometryList { [INFO] [stdout] | ^^^ ----------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/geometry/collection/bvh_node.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 146 | let hl = BVHNode::new( [INFO] [stdout] | ------------ arguments to this function are incorrect [INFO] [stdout] 147 | / &vec![ [INFO] [stdout] 148 | | Arc::new(Sphere::new( [INFO] [stdout] 149 | | Point3::new(-1.0, 0.0, -1.0), [INFO] [stdout] 150 | | 1.0, [INFO] [stdout] ... | [INFO] [stdout] 157 | | )), [INFO] [stdout] 158 | | ], [INFO] [stdout] | |_____________^ expected trait object `dyn geometry::Geometry`, found struct `sphere::Sphere` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec>` [INFO] [stdout] found reference `&Vec>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/geometry/collection/bvh_node.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(list: &Vec>, t_range: Range) -> Arc { [INFO] [stdout] | ^^^ ----------------------------- --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/geometry/collection/bvh_node.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 174 | let bvh = BVHNode::new( [INFO] [stdout] | ------------ arguments to this function are incorrect [INFO] [stdout] 175 | / &vec![ [INFO] [stdout] 176 | | Arc::new(Sphere::new( [INFO] [stdout] 177 | | Point3::new(-1.0, 0.0, -1.0), [INFO] [stdout] 178 | | 1.0, [INFO] [stdout] ... | [INFO] [stdout] 189 | | )), [INFO] [stdout] 190 | | ], [INFO] [stdout] | |_____________^ expected trait object `dyn geometry::Geometry`, found struct `sphere::Sphere` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec>` [INFO] [stdout] found reference `&Vec>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/geometry/collection/bvh_node.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(list: &Vec>, t_range: Range) -> Arc { [INFO] [stdout] | ^^^ ----------------------------- --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/geometry.rs:202:47 [INFO] [stdout] | [INFO] [stdout] 202 | let l = collection::GeometryList::new(&vec![ [INFO] [stdout] | _________________-----------------------------_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this function are incorrect [INFO] [stdout] 203 | | Arc::new(shape::Sphere::new( [INFO] [stdout] 204 | | Point3::new(0.0, 0.0, 0.0), [INFO] [stdout] 205 | | 1.0, [INFO] [stdout] ... | [INFO] [stdout] 212 | | )), [INFO] [stdout] 213 | | ]); [INFO] [stdout] | |_________^ expected trait object `dyn geometry::Geometry`, found struct `sphere::Sphere` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec>` [INFO] [stdout] found reference `&Vec>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/geometry/collection/geometry_list.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(list: &Vec>) -> GeometryList { [INFO] [stdout] | ^^^ ----------------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/geometry.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 221 | let l = collection::BVHNode::new( [INFO] [stdout] | ------------------------ arguments to this function are incorrect [INFO] [stdout] 222 | / &vec![ [INFO] [stdout] 223 | | Arc::new(shape::Sphere::new( [INFO] [stdout] 224 | | Point3::new(0.0, 0.0, 0.0), [INFO] [stdout] 225 | | 1.0, [INFO] [stdout] ... | [INFO] [stdout] 232 | | )), [INFO] [stdout] 233 | | ], [INFO] [stdout] | |_____________^ expected trait object `dyn geometry::Geometry`, found struct `sphere::Sphere` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Vec>` [INFO] [stdout] found reference `&Vec>` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/geometry/collection/bvh_node.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new(list: &Vec>, t_range: Range) -> Arc { [INFO] [stdout] | ^^^ ----------------------------- --------------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ray_tracing_core` due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "71da09c9b5214913383fcaa86045d2446348f25a4575867c384fdaef436151f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71da09c9b5214913383fcaa86045d2446348f25a4575867c384fdaef436151f1", kill_on_drop: false }` [INFO] [stdout] 71da09c9b5214913383fcaa86045d2446348f25a4575867c384fdaef436151f1