[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] testing shadowbrok3r/RingSizer against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshadowbrok3r%2FRingSizer" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shadowbrok3r/RingSizer on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wavefront_obj v10.0.0 [INFO] [stderr] Downloaded lexical v5.2.2 [INFO] [stderr] Downloaded lexical-core v0.7.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4689691861d8cfd7ad47a171e94467775551923944449a1bfe5aa9cfa82402d [INFO] running `Command { std: "docker" "start" "-a" "d4689691861d8cfd7ad47a171e94467775551923944449a1bfe5aa9cfa82402d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4689691861d8cfd7ad47a171e94467775551923944449a1bfe5aa9cfa82402d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4689691861d8cfd7ad47a171e94467775551923944449a1bfe5aa9cfa82402d", kill_on_drop: false }` [INFO] [stdout] d4689691861d8cfd7ad47a171e94467775551923944449a1bfe5aa9cfa82402d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83a0a63dcfe5edcf9b34180eea21ccc47cd1b83dada9b6ccf0f377385224f178 [INFO] running `Command { std: "docker" "start" "-a" "83a0a63dcfe5edcf9b34180eea21ccc47cd1b83dada9b6ccf0f377385224f178", kill_on_drop: false }` [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling ryu v1.0.13 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling lexical v5.2.2 [INFO] [stderr] Compiling wavefront_obj v10.0.0 [INFO] [stderr] Compiling 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] 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[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/c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38/library/std/src/fs.rs:383: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 `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: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: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] [stderr] error: could not compile `RingSizer` (bin "RingSizer") due to 9 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "83a0a63dcfe5edcf9b34180eea21ccc47cd1b83dada9b6ccf0f377385224f178", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83a0a63dcfe5edcf9b34180eea21ccc47cd1b83dada9b6ccf0f377385224f178", kill_on_drop: false }` [INFO] [stdout] 83a0a63dcfe5edcf9b34180eea21ccc47cd1b83dada9b6ccf0f377385224f178