[INFO] cloning repository https://github.com/fabsch225/Rust3d [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fabsch225/Rust3d" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffabsch225%2FRust3d", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffabsch225%2FRust3d'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a7a9d0bd0ded02dc7a3d0a658b8d2419c93abfa [INFO] checking fabsch225/Rust3d against try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffabsch225%2FRust3d" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fabsch225/Rust3d on toolchain 44f3504e96c944ae54fc72b5f5008f53f7eda001 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fabsch225/Rust3d [INFO] finished tweaking git repo https://github.com/fabsch225/Rust3d [INFO] tweaked toml for git repo https://github.com/fabsch225/Rust3d written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/fabsch225/Rust3d 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" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6181935310bc46b2accb14f0f8843109cb69fa98954a7186e59d03a02739ef48 [INFO] running `Command { std: "docker" "start" "-a" "6181935310bc46b2accb14f0f8843109cb69fa98954a7186e59d03a02739ef48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6181935310bc46b2accb14f0f8843109cb69fa98954a7186e59d03a02739ef48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6181935310bc46b2accb14f0f8843109cb69fa98954a7186e59d03a02739ef48", kill_on_drop: false }` [INFO] [stdout] 6181935310bc46b2accb14f0f8843109cb69fa98954a7186e59d03a02739ef48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce3eb18cbe27f2eaf80e496c7f9f9c818108f09c695240d5dc970a591148962b [INFO] running `Command { std: "docker" "start" "-a" "ce3eb18cbe27f2eaf80e496c7f9f9c818108f09c695240d5dc970a591148962b", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling sdl2-sys v0.34.5 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking fdeflate v0.3.1 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Compiling sdl2 v0.34.5 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling rust3d v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking fontdue v0.8.0 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking tiff v0.9.0 [INFO] [stderr] Checking image v0.24.7 [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&dyn Projection` instead of cloning the inner type [INFO] [stdout] --> src/geometry/d2/line2d.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | Box::new(self.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&dyn Projection` instead of cloning the inner type [INFO] [stdout] --> src/geometry/d2/line2d.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | Box::new(self.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `polytree` in `engine` [INFO] [stdout] --> examples/lines.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | use rust3d::engine::polytree::poly_tree::PolyTree; [INFO] [stdout] | ^^^^^^^^ could not find `polytree` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `polytree` in `engine` [INFO] [stdout] --> src/main.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | use rust3d::engine::polytree::poly_tree::PolyTree; [INFO] [stdout] | ^^^^^^^^ could not find `polytree` in `engine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rust3d::engine::utils::renderung_ui` [INFO] [stdout] --> src/main.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | use rust3d::engine::utils::renderung_ui::UiElement; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `renderung_ui` in `utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rust3d::engine::utils::renderung_ui` [INFO] [stdout] --> examples/lines.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | use rust3d::engine::utils::renderung_ui::UiElement; [INFO] [stdout] | ^^^^^^^^^^^^ could not find `renderung_ui` in `utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rust3d::engine::projection::Projection`, `rust3d::engine::projection::ProjectiveScene` [INFO] [stdout] --> examples/lines.rs:42:34 [INFO] [stdout] | [INFO] [stdout] 42 | use rust3d::engine::projection::{Projection, ProjectiveScene}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^^ no `ProjectiveScene` in `engine::projection` [INFO] [stdout] | | [INFO] [stdout] | no `Projection` in `engine::projection` [INFO] [stdout] | help: a similar name exists in the module: `projection` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this trait instead: [INFO] [stdout] rust3d::engine::projection::projection::Projection [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] rust3d::engine::projection::projection::ProjectiveScene [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `rust3d::geometry::line::Line2D` [INFO] [stdout] --> examples/lines.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | use rust3d::geometry::line::{Line, Line2D}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `Line2D` in `geometry::line` [INFO] [stdout] | help: a similar name exists in the module: `Line` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] rust3d::geometry::d2::line2d::Line2D [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dot` is never used [INFO] [stdout] --> examples/experiments.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn dot(v1: &Vec, v2: &Vec) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `norm` is never used [INFO] [stdout] --> examples/experiments.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn norm(v: &Vec) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gram_schmidt` is never used [INFO] [stdout] --> examples/experiments.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn gram_schmidt(v1: &Vec, v2: &Vec) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rotation_matrix` is never used [INFO] [stdout] --> examples/experiments.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn rotation_matrix(v1: Vec, v2: Vec, angle: f64) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust3d` (example "lines") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:81:63 [INFO] [stdout] | [INFO] [stdout] 81 | let mut p2 = Sphere::new(V{x: 2.0, y: 1.0, z: 1.0}, 0.01, Color::GREEN); [INFO] [stdout] | ----------- ^^^^^^^^^^^^ expected `Material`, found `Color` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/geometry/sphere.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(p: Vector3, r_: f64, mat_: Material) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:102:44 [INFO] [stdout] | [INFO] [stdout] 102 | let mut p2 = Sphere::new(p1.x[6], 0.1, Color::GREEN); [INFO] [stdout] | ----------- ^^^^^^^^^^^^ expected `Material`, found `Color` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/geometry/sphere.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn new(p: Vector3, r_: f64, mat_: Material) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 8 arguments but 7 arguments were supplied [INFO] [stdout] --> src/main.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | ...bel1 = rust3d::engine::utils::anker_label::AnkerLabel::new(root.x, root.y, root.z, String::from("Root"), &font, Color::RED, Color::WHI... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---------- argument #6 of type `f32` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/engine/utils/anker_label.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(x_: f64, y_: f64, z_: f64, text_: String, font_ : &Font, size: f32, bg: Color, fg: Color) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 113 | let mut label1 = rust3d::engine::utils::anker_label::AnkerLabel::new(root.x, root.y, root.z, String::from("Root"), &font, /* f32 */, Color::WHITE, Color::RED); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust3d` (bin "rust3d" test) due to 5 previous errors [INFO] [stdout] warning: unused import: `rust3d::geometry::vector3::Vector3` [INFO] [stdout] --> tests/vector_test.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use rust3d::geometry::vector3::Vector3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec_approx_equal` is never used [INFO] [stdout] --> tests/vector_test.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | fn vec_approx_equal(v1: &NVector, v2: &NVector, tolerance: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> examples/raymarching.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FRAMERATE` is never used [INFO] [stdout] --> examples/raymarching.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const FRAMERATE : u32 = 60; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NANOS` is never used [INFO] [stdout] --> examples/raymarching.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const NANOS : u32 = 1_000_000_000 / FRAMERATE; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> examples/raymarching.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | tx.send((i.to_owned(), section)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 77 | let _ = tx.send((i.to_owned(), section)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ce3eb18cbe27f2eaf80e496c7f9f9c818108f09c695240d5dc970a591148962b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce3eb18cbe27f2eaf80e496c7f9f9c818108f09c695240d5dc970a591148962b", kill_on_drop: false }` [INFO] [stdout] ce3eb18cbe27f2eaf80e496c7f9f9c818108f09c695240d5dc970a591148962b