[INFO] cloning repository https://github.com/shadowbrok3r/RingSizer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shadowbrok3r/RingSizer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshadowbrok3r%2FRingSizer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshadowbrok3r%2FRingSizer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1f60378d10c6e1fc29f1f5b3eee34bb9d0c61d29 [INFO] checking shadowbrok3r/RingSizer/1f60378d10c6e1fc29f1f5b3eee34bb9d0c61d29 against master#82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1 for pr-150408 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshadowbrok3r%2FRingSizer" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/shadowbrok3r/RingSizer [INFO] finished tweaking git repo https://github.com/shadowbrok3r/RingSizer [INFO] tweaked toml for git repo https://github.com/shadowbrok3r/RingSizer written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shadowbrok3r/RingSizer on toolchain 82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/shadowbrok3r/RingSizer 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" "+82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wavefront_obj v10.0.0 [INFO] [stderr] Downloaded lexical v5.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7646e5637840601d1dd0fb249935677bded2b109f6634214ed35c48643c0f04 [INFO] running `Command { std: "docker" "start" "-a" "d7646e5637840601d1dd0fb249935677bded2b109f6634214ed35c48643c0f04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7646e5637840601d1dd0fb249935677bded2b109f6634214ed35c48643c0f04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7646e5637840601d1dd0fb249935677bded2b109f6634214ed35c48643c0f04", kill_on_drop: false }` [INFO] [stdout] d7646e5637840601d1dd0fb249935677bded2b109f6634214ed35c48643c0f04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0efdd41d8805b71be05e254436c91918f268e99bb2eb9e9b13d8047f6ac14ce4 [INFO] running `Command { std: "docker" "start" "-a" "0efdd41d8805b71be05e254436c91918f268e99bb2eb9e9b13d8047f6ac14ce4", kill_on_drop: false }` [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking lexical v5.2.2 [INFO] [stderr] Checking wavefront_obj v10.0.0 [INFO] [stderr] Checking RingSizer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected expression, found `/` [INFO] [stdout] --> src/main.rs:122:35 [INFO] [stdout] | [INFO] [stdout] 122 | let vertex = &vertices[i];/ [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `/` [INFO] [stdout] --> src/main.rs:122:35 [INFO] [stdout] | [INFO] [stdout] 122 | let vertex = &vertices[i];/ [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/main.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/main.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 51 | let has_holes = check_holes(vertices); [INFO] [stdout] | ----------- ^^^^^^^^ expected `&Object`, found `&Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Object` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:136:4 [INFO] [stdout] | [INFO] [stdout] 136 | fn check_holes(object: &Object) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ --------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:51:33 [INFO] [stdout] | [INFO] [stdout] 51 | let has_holes = check_holes(vertices); [INFO] [stdout] | ----------- ^^^^^^^^ expected `&Object`, found `&Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Object` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:136:4 [INFO] [stdout] | [INFO] [stdout] 136 | fn check_holes(object: &Object) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ --------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ObjSet: AsRef<[u8]>` is not satisfied [INFO] [stdout] --> src/main.rs:91:34 [INFO] [stdout] | [INFO] [stdout] 91 | std::fs::write(&output_path, updated_data).expect("Failed to write output file"); [INFO] [stdout] | -------------- ^^^^^^^^^^^^ the trait `AsRef<[u8]>` is not implemented for `ObjSet` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `std::fs::write` [INFO] [stdout] --> /rustc/82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1/library/std/src/fs.rs:382:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 98 | let mut min_radius = f32::MAX; [INFO] [stdout] | -------- expected due to this value [INFO] [stdout] ... [INFO] [stdout] 105 | min_radius = radius.floor(); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `f32`, found `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ObjSet: AsRef<[u8]>` is not satisfied [INFO] [stdout] --> src/main.rs:91:34 [INFO] [stdout] | [INFO] [stdout] 91 | std::fs::write(&output_path, updated_data).expect("Failed to write output file"); [INFO] [stdout] | -------------- ^^^^^^^^^^^^ the trait `AsRef<[u8]>` is not implemented for `ObjSet` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `std::fs::write` [INFO] [stdout] --> /rustc/82dd3cb008233bfe50ba6b8d6618e6bbd6054eb1/library/std/src/fs.rs:382:0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:108:33 [INFO] [stdout] | [INFO] [stdout] 108 | max_radius = radius.into(); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `f32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:105:26 [INFO] [stdout] | [INFO] [stdout] 98 | let mut min_radius = f32::MAX; [INFO] [stdout] | -------- expected due to this value [INFO] [stdout] ... [INFO] [stdout] 105 | min_radius = radius.floor(); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `f32`, found `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 142 | match face { [INFO] [stdout] | ---- this expression has type `&Shape` [INFO] [stdout] 143 | wavefront_obj::obj::Primitive::Triangle((v1, _, _), (v2, _, _), (v3, _, _)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Shape`, found `Primitive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/main.rs:108:33 [INFO] [stdout] | [INFO] [stdout] 108 | max_radius = radius.into(); [INFO] [stdout] | ^^^^ the trait `From` is not implemented for `f32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] `f32` implements `From` [INFO] [stdout] = note: required for `f64` to implement `Into` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `&usize` [INFO] [stdout] --> src/main.rs:144:28 [INFO] [stdout] | [INFO] [stdout] 144 | visited[v1.0] = true; [INFO] [stdout] | ^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 142 | match face { [INFO] [stdout] | ---- this expression has type `&Shape` [INFO] [stdout] 143 | wavefront_obj::obj::Primitive::Triangle((v1, _, _), (v2, _, _), (v3, _, _)) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Shape`, found `Primitive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `&usize` [INFO] [stdout] --> src/main.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | visited[v2.0] = true; [INFO] [stdout] | ^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `&usize` [INFO] [stdout] --> src/main.rs:146:28 [INFO] [stdout] | [INFO] [stdout] 146 | visited[v3.0] = true; [INFO] [stdout] | ^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `&usize` [INFO] [stdout] --> src/main.rs:144:28 [INFO] [stdout] | [INFO] [stdout] 144 | visited[v1.0] = true; [INFO] [stdout] | ^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `&usize` [INFO] [stdout] --> src/main.rs:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | visited[v2.0] = true; [INFO] [stdout] | ^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `0` on type `&usize` [INFO] [stdout] --> src/main.rs:146:28 [INFO] [stdout] | [INFO] [stdout] 146 | visited[v3.0] = true; [INFO] [stdout] | ^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `RingSizer` (bin "RingSizer") due to 9 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `RingSizer` (bin "RingSizer" test) due to 9 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0efdd41d8805b71be05e254436c91918f268e99bb2eb9e9b13d8047f6ac14ce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0efdd41d8805b71be05e254436c91918f268e99bb2eb9e9b13d8047f6ac14ce4", kill_on_drop: false }` [INFO] [stdout] 0efdd41d8805b71be05e254436c91918f268e99bb2eb9e9b13d8047f6ac14ce4