[INFO] cloning repository https://github.com/marony/rust3d [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marony/rust3d" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarony%2Frust3d", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarony%2Frust3d'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9fb3b53b4668ecd4fe8a6104d874ad64a65edb49 [INFO] checking marony/rust3d against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarony%2Frust3d" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marony/rust3d on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/marony/rust3d [INFO] finished tweaking git repo https://github.com/marony/rust3d [INFO] tweaked toml for git repo https://github.com/marony/rust3d written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/marony/rust3d already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 085127d3bc79046cd2ed1738725c8fe976dd6b96b774d2dd666725683ef27a79 [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" "085127d3bc79046cd2ed1738725c8fe976dd6b96b774d2dd666725683ef27a79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "085127d3bc79046cd2ed1738725c8fe976dd6b96b774d2dd666725683ef27a79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "085127d3bc79046cd2ed1738725c8fe976dd6b96b774d2dd666725683ef27a79", kill_on_drop: false }` [INFO] [stdout] 085127d3bc79046cd2ed1738725c8fe976dd6b96b774d2dd666725683ef27a79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c3b0b66072240d0dcdeb0fe6c093b3f4cac09f74e06b0a47f579634916bbaf3 [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" "1c3b0b66072240d0dcdeb0fe6c093b3f4cac09f74e06b0a47f579634916bbaf3", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling gio v0.3.0 [INFO] [stderr] Compiling gdk-pixbuf v0.3.0 [INFO] [stderr] Compiling cairo-rs v0.3.0 [INFO] [stderr] Compiling gdk v0.7.0 [INFO] [stderr] Checking c_vec v1.2.1 [INFO] [stderr] Compiling gtk v0.3.0 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling glib-sys v0.5.0 [INFO] [stderr] Compiling gobject-sys v0.5.0 [INFO] [stderr] Compiling gio-sys v0.5.0 [INFO] [stderr] Compiling cairo-sys-rs v0.5.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.5.0 [INFO] [stderr] Compiling pango-sys v0.5.0 [INFO] [stderr] Compiling gdk-sys v0.5.0 [INFO] [stderr] Compiling atk-sys v0.5.0 [INFO] [stderr] Compiling gtk-sys v0.5.0 [INFO] [stderr] Compiling strcursor v0.2.5 [INFO] [stderr] Compiling scan-rules v0.2.0 [INFO] [stderr] Checking glib v0.4.1 [INFO] [stderr] Checking pango v0.3.0 [INFO] [stderr] Checking rust3d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `gio::prelude::*` [INFO] [stdout] --> src/util/polygon3.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gio::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gio::prelude::*` [INFO] [stdout] --> src/util/world.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use gio::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FontSlant`, `FontWeight` [INFO] [stdout] --> src/main.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | use cairo::enums::{FontSlant, FontWeight}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gio::prelude::*` [INFO] [stdout] --> src/util/polygon3.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use gio::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gio::prelude::*` [INFO] [stdout] --> src/util/world.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use gio::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FontSlant`, `FontWeight` [INFO] [stdout] --> src/main.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | use cairo::enums::{FontSlant, FontWeight}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gtk::prelude` [INFO] [stdout] --> src/util/polygon3.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use gtk::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gtk::prelude` [INFO] [stdout] --> src/util/world.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use gtk::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gio::prelude` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use gio::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:88:29 [INFO] [stdout] | [INFO] [stdout] 88 | }).or_else(|n| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | }).or_else(|n| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rotate` [INFO] [stdout] --> src/util/world.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let rotate = 0i32; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rotate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/util/world.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | .filter(|&(p, c)| !self.camera.is_cull(p)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/util/world.rs:86:27 [INFO] [stdout] | [INFO] [stdout] 86 | .filter(|&(p, c)| [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `move_` [INFO] [stdout] --> src/util/polygon3.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn move_(&self, v: &Vector3) -> Polygon3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scale` [INFO] [stdout] --> src/util/polygon3.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn scale(&self, v: &Vector3) -> Polygon3 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate_z` [INFO] [stdout] --> src/util/polygon3.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn rotate_z(&self, r: f64) -> Polygon3 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | / scan!(&line; ("v ", let x: f64, let y: f64, let z: f64) => { [INFO] [stdout] 85 | | let p = Point3::new(x, y, z, 1.0f64); [INFO] [stdout] 86 | | // println!("{:?}", p); [INFO] [stdout] 87 | | vs.push(p); [INFO] [stdout] ... | [INFO] [stdout] 104 | | }) [INFO] [stdout] 105 | | }); [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:95:33 [INFO] [stdout] | [INFO] [stdout] 95 | let a = Point3::new(1, 2, 3, 1); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `1.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:95:36 [INFO] [stdout] | [INFO] [stdout] 95 | let a = Point3::new(1, 2, 3, 1); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `2.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:95:39 [INFO] [stdout] | [INFO] [stdout] 95 | let a = Point3::new(1, 2, 3, 1); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `3.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:95:42 [INFO] [stdout] | [INFO] [stdout] 95 | let a = Point3::new(1, 2, 3, 1); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `1.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:96:34 [INFO] [stdout] | [INFO] [stdout] 96 | let b = Vector3::new(2, 3, 4, 1); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `2.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:96:37 [INFO] [stdout] | [INFO] [stdout] 96 | let b = Vector3::new(2, 3, 4, 1); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `3.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:96:40 [INFO] [stdout] | [INFO] [stdout] 96 | let b = Vector3::new(2, 3, 4, 1); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `4.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:96:43 [INFO] [stdout] | [INFO] [stdout] 96 | let b = Vector3::new(2, 3, 4, 1); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `1.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `vector3::Vector3` to `point3::Point3` [INFO] [stdout] --> src/util/point3.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | let c = a + b; [INFO] [stdout] | - ^ - vector3::Vector3 [INFO] [stdout] | | [INFO] [stdout] | point3::Point3 [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::ops::Add` might be missing for `point3::Point3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:98:36 [INFO] [stdout] | [INFO] [stdout] 98 | assert_eq!(Point3::new(3, 5, 7, 1), c); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `3.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:98:39 [INFO] [stdout] | [INFO] [stdout] 98 | assert_eq!(Point3::new(3, 5, 7, 1), c); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `5.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:98:42 [INFO] [stdout] | [INFO] [stdout] 98 | assert_eq!(Point3::new(3, 5, 7, 1), c); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `7.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:98:45 [INFO] [stdout] | [INFO] [stdout] 98 | assert_eq!(Point3::new(3, 5, 7, 1), c); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `1.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `point3::Point3` [INFO] [stdout] --> src/util/point3.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | assert_eq!(Point3::new(3, 5, 7, 1), c); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | point3::Point3 [INFO] [stdout] | _ [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::cmp::PartialEq` might be missing for `point3::Point3` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:105:33 [INFO] [stdout] | [INFO] [stdout] 105 | let a = Point3::new(1, 2, 3, 1); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `1.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:105:36 [INFO] [stdout] | [INFO] [stdout] 105 | let a = Point3::new(1, 2, 3, 1); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `2.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:105:39 [INFO] [stdout] | [INFO] [stdout] 105 | let a = Point3::new(1, 2, 3, 1); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `3.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:105:42 [INFO] [stdout] | [INFO] [stdout] 105 | let a = Point3::new(1, 2, 3, 1); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `1.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:106:34 [INFO] [stdout] | [INFO] [stdout] 106 | let b = Vector3::new(2, 3, 4, 1); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `2.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:106:37 [INFO] [stdout] | [INFO] [stdout] 106 | let b = Vector3::new(2, 3, 4, 1); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `3.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:106:40 [INFO] [stdout] | [INFO] [stdout] 106 | let b = Vector3::new(2, 3, 4, 1); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `4.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:106:43 [INFO] [stdout] | [INFO] [stdout] 106 | let b = Vector3::new(2, 3, 4, 1); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `1.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot subtract `vector3::Vector3` from `point3::Point3` [INFO] [stdout] --> src/util/point3.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | let c = a - b; [INFO] [stdout] | - ^ - vector3::Vector3 [INFO] [stdout] | | [INFO] [stdout] | point3::Point3 [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::ops::Sub` might be missing for `point3::Point3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:108:36 [INFO] [stdout] | [INFO] [stdout] 108 | assert_eq!(Point3::new(-1, -1, -1, 1), c); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `-1.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:108:40 [INFO] [stdout] | [INFO] [stdout] 108 | assert_eq!(Point3::new(-1, -1, -1, 1), c); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `-1.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:108:44 [INFO] [stdout] | [INFO] [stdout] 108 | assert_eq!(Point3::new(-1, -1, -1, 1), c); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `-1.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:108:48 [INFO] [stdout] | [INFO] [stdout] 108 | assert_eq!(Point3::new(-1, -1, -1, 1), c); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `1.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `point3::Point3` [INFO] [stdout] --> src/util/point3.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | assert_eq!(Point3::new(-1, -1, -1, 1), c); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | point3::Point3 [INFO] [stdout] | _ [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::cmp::PartialEq` might be missing for `point3::Point3` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:115:33 [INFO] [stdout] | [INFO] [stdout] 115 | let a = Point3::new(1, 2, 3, 1); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `1.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:115:36 [INFO] [stdout] | [INFO] [stdout] 115 | let a = Point3::new(1, 2, 3, 1); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `2.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:115:39 [INFO] [stdout] | [INFO] [stdout] 115 | let a = Point3::new(1, 2, 3, 1); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `3.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:115:42 [INFO] [stdout] | [INFO] [stdout] 115 | let a = Point3::new(1, 2, 3, 1); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `1.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 116 | let b = Point3::new(2, 3, 4, 1); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `2.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:116:36 [INFO] [stdout] | [INFO] [stdout] 116 | let b = Point3::new(2, 3, 4, 1); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `3.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:116:39 [INFO] [stdout] | [INFO] [stdout] 116 | let b = Point3::new(2, 3, 4, 1); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `4.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:116:42 [INFO] [stdout] | [INFO] [stdout] 116 | let b = Point3::new(2, 3, 4, 1); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `1.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot subtract `point3::Point3` from `point3::Point3` [INFO] [stdout] --> src/util/point3.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | let c = a - b; [INFO] [stdout] | - ^ - point3::Point3 [INFO] [stdout] | | [INFO] [stdout] | point3::Point3 [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::ops::Sub` might be missing for `point3::Point3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:118:36 [INFO] [stdout] | [INFO] [stdout] 118 | assert_eq!(Point3::new(-1, -1, -1, 1), c); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `-1.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:118:40 [INFO] [stdout] | [INFO] [stdout] 118 | assert_eq!(Point3::new(-1, -1, -1, 1), c); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `-1.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:118:44 [INFO] [stdout] | [INFO] [stdout] 118 | assert_eq!(Point3::new(-1, -1, -1, 1), c); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `-1.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/point3.rs:118:48 [INFO] [stdout] | [INFO] [stdout] 118 | assert_eq!(Point3::new(-1, -1, -1, 1), c); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | help: use a float literal: `1.0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `point3::Point3` [INFO] [stdout] --> src/util/point3.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | assert_eq!(Point3::new(-1, -1, -1, 1), c); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | point3::Point3 [INFO] [stdout] | _ [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::cmp::PartialEq` might be missing for `point3::Point3` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:128:34 [INFO] [stdout] | [INFO] [stdout] 128 | let a = Vector3::new(2f32, 3f32, 4f32, 1f32); [INFO] [stdout] | ^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 128 | let a = Vector3::new(2f64, 3f32, 4f32, 1f32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:128:40 [INFO] [stdout] | [INFO] [stdout] 128 | let a = Vector3::new(2f32, 3f32, 4f32, 1f32); [INFO] [stdout] | ^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 128 | let a = Vector3::new(2f32, 3f64, 4f32, 1f32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:128:46 [INFO] [stdout] | [INFO] [stdout] 128 | let a = Vector3::new(2f32, 3f32, 4f32, 1f32); [INFO] [stdout] | ^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 128 | let a = Vector3::new(2f32, 3f32, 4f64, 1f32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:128:52 [INFO] [stdout] | [INFO] [stdout] 128 | let a = Vector3::new(2f32, 3f32, 4f32, 1f32); [INFO] [stdout] | ^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 128 | let a = Vector3::new(2f32, 3f32, 4f32, 1f64); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:130:28 [INFO] [stdout] | [INFO] [stdout] 130 | assert!(norm - 5.3851648071345037f32 < 1e-10f32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected `f64`, found `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `f32` from `f64` [INFO] [stdout] --> src/util/vector3.rs:130:26 [INFO] [stdout] | [INFO] [stdout] 130 | assert!(norm - 5.3851648071345037f32 < 1e-10f32); [INFO] [stdout] | ^ no implementation for `f64 - f32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:130:52 [INFO] [stdout] | [INFO] [stdout] 130 | assert!(norm - 5.3851648071345037f32 < 1e-10f32); [INFO] [stdout] | ^^^^^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 130 | assert!(norm - 5.3851648071345037f32 < 1e-10f64); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:143:34 [INFO] [stdout] | [INFO] [stdout] 143 | let a = Vector3::new(2f32, 3f32, 4f32, 1f32); [INFO] [stdout] | ^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 143 | let a = Vector3::new(2f64, 3f32, 4f32, 1f32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:143:40 [INFO] [stdout] | [INFO] [stdout] 143 | let a = Vector3::new(2f32, 3f32, 4f32, 1f32); [INFO] [stdout] | ^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 143 | let a = Vector3::new(2f32, 3f64, 4f32, 1f32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:143:46 [INFO] [stdout] | [INFO] [stdout] 143 | let a = Vector3::new(2f32, 3f32, 4f32, 1f32); [INFO] [stdout] | ^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 143 | let a = Vector3::new(2f32, 3f32, 4f64, 1f32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:143:52 [INFO] [stdout] | [INFO] [stdout] 143 | let a = Vector3::new(2f32, 3f32, 4f32, 1f32); [INFO] [stdout] | ^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 143 | let a = Vector3::new(2f32, 3f32, 4f32, 1f64); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:146:27 [INFO] [stdout] | [INFO] [stdout] 146 | assert!(b.x - 0.37139068f32 < 1e-5f32); [INFO] [stdout] | ^^^^^^^^^^^^^ expected `f64`, found `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `f32` from `f64` [INFO] [stdout] --> src/util/vector3.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | assert!(b.x - 0.37139068f32 < 1e-5f32); [INFO] [stdout] | ^ no implementation for `f64 - f32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:146:43 [INFO] [stdout] | [INFO] [stdout] 146 | assert!(b.x - 0.37139068f32 < 1e-5f32); [INFO] [stdout] | ^^^^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 146 | assert!(b.x - 0.37139068f32 < 1e-5f64); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:147:27 [INFO] [stdout] | [INFO] [stdout] 147 | assert!(b.y - 0.55708601f32 < 1e-5f32); [INFO] [stdout] | ^^^^^^^^^^^^^ expected `f64`, found `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `f32` from `f64` [INFO] [stdout] --> src/util/vector3.rs:147:25 [INFO] [stdout] | [INFO] [stdout] 147 | assert!(b.y - 0.55708601f32 < 1e-5f32); [INFO] [stdout] | ^ no implementation for `f64 - f32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:147:43 [INFO] [stdout] | [INFO] [stdout] 147 | assert!(b.y - 0.55708601f32 < 1e-5f32); [INFO] [stdout] | ^^^^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 147 | assert!(b.y - 0.55708601f32 < 1e-5f64); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:148:27 [INFO] [stdout] | [INFO] [stdout] 148 | assert!(b.z - 0.74278135f32 < 1e-5f32); [INFO] [stdout] | ^^^^^^^^^^^^^ expected `f64`, found `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `f32` from `f64` [INFO] [stdout] --> src/util/vector3.rs:148:25 [INFO] [stdout] | [INFO] [stdout] 148 | assert!(b.z - 0.74278135f32 < 1e-5f32); [INFO] [stdout] | ^ no implementation for `f64 - f32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:148:43 [INFO] [stdout] | [INFO] [stdout] 148 | assert!(b.z - 0.74278135f32 < 1e-5f32); [INFO] [stdout] | ^^^^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 148 | assert!(b.z - 0.74278135f32 < 1e-5f64); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:164:34 [INFO] [stdout] | [INFO] [stdout] 164 | let a = Vector3::new(2f32, 3f32, 4f32, 1f32); [INFO] [stdout] | ^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 164 | let a = Vector3::new(2f64, 3f32, 4f32, 1f32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:164:40 [INFO] [stdout] | [INFO] [stdout] 164 | let a = Vector3::new(2f32, 3f32, 4f32, 1f32); [INFO] [stdout] | ^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 164 | let a = Vector3::new(2f32, 3f64, 4f32, 1f32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:164:46 [INFO] [stdout] | [INFO] [stdout] 164 | let a = Vector3::new(2f32, 3f32, 4f32, 1f32); [INFO] [stdout] | ^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 164 | let a = Vector3::new(2f32, 3f32, 4f64, 1f32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:164:52 [INFO] [stdout] | [INFO] [stdout] 164 | let a = Vector3::new(2f32, 3f32, 4f32, 1f32); [INFO] [stdout] | ^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 164 | let a = Vector3::new(2f32, 3f32, 4f32, 1f64); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:165:34 [INFO] [stdout] | [INFO] [stdout] 165 | let b = Vector3::new(5f32, 6f32, 7f32, 1f32); [INFO] [stdout] | ^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 165 | let b = Vector3::new(5f64, 6f32, 7f32, 1f32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:165:40 [INFO] [stdout] | [INFO] [stdout] 165 | let b = Vector3::new(5f32, 6f32, 7f32, 1f32); [INFO] [stdout] | ^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 165 | let b = Vector3::new(5f32, 6f64, 7f32, 1f32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:165:46 [INFO] [stdout] | [INFO] [stdout] 165 | let b = Vector3::new(5f32, 6f32, 7f32, 1f32); [INFO] [stdout] | ^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 165 | let b = Vector3::new(5f32, 6f32, 7f64, 1f32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:165:52 [INFO] [stdout] | [INFO] [stdout] 165 | let b = Vector3::new(5f32, 6f32, 7f32, 1f32); [INFO] [stdout] | ^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 165 | let b = Vector3::new(5f32, 6f32, 7f32, 1f64); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | let dot = a.dot(b); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected `&vector3::Vector3`, found struct `vector3::Vector3` [INFO] [stdout] | help: consider borrowing here: `&b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | assert_eq!(56f32, dot); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `f32`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:186:34 [INFO] [stdout] | [INFO] [stdout] 186 | let a = Vector3::new(3f32, 4f32, 5f32, 1f32); [INFO] [stdout] | ^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 186 | let a = Vector3::new(3f64, 4f32, 5f32, 1f32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:186:40 [INFO] [stdout] | [INFO] [stdout] 186 | let a = Vector3::new(3f32, 4f32, 5f32, 1f32); [INFO] [stdout] | ^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 186 | let a = Vector3::new(3f32, 4f64, 5f32, 1f32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:186:46 [INFO] [stdout] | [INFO] [stdout] 186 | let a = Vector3::new(3f32, 4f32, 5f32, 1f32); [INFO] [stdout] | ^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 186 | let a = Vector3::new(3f32, 4f32, 5f64, 1f32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | let a = Vector3::new(3f32, 4f32, 5f32, 1f32); [INFO] [stdout] | ^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 186 | let a = Vector3::new(3f32, 4f32, 5f32, 1f64); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:187:34 [INFO] [stdout] | [INFO] [stdout] 187 | let b = Vector3::new(6f32, 7f32, 8f32, 1f32); [INFO] [stdout] | ^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 187 | let b = Vector3::new(6f64, 7f32, 8f32, 1f32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:187:40 [INFO] [stdout] | [INFO] [stdout] 187 | let b = Vector3::new(6f32, 7f32, 8f32, 1f32); [INFO] [stdout] | ^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 187 | let b = Vector3::new(6f32, 7f64, 8f32, 1f32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:187:46 [INFO] [stdout] | [INFO] [stdout] 187 | let b = Vector3::new(6f32, 7f32, 8f32, 1f32); [INFO] [stdout] | ^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 187 | let b = Vector3::new(6f32, 7f32, 8f64, 1f32); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:187:52 [INFO] [stdout] | [INFO] [stdout] 187 | let b = Vector3::new(6f32, 7f32, 8f32, 1f32); [INFO] [stdout] | ^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 187 | let b = Vector3::new(6f32, 7f32, 8f32, 1f64); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot multiply `vector3::Vector3` to `vector3::Vector3` [INFO] [stdout] --> src/util/vector3.rs:188:24 [INFO] [stdout] | [INFO] [stdout] 188 | let cp = a * b; [INFO] [stdout] | - ^ - vector3::Vector3 [INFO] [stdout] | | [INFO] [stdout] | vector3::Vector3 [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::ops::Mul` might be missing for `vector3::Vector3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:189:37 [INFO] [stdout] | [INFO] [stdout] 189 | assert_eq!(Vector3::new(-3f32, 6f32, -3f32, 1f32), cp); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found `f32` [INFO] [stdout] | help: you can convert an `f32` to `f64`: `(-3f32).into()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:189:44 [INFO] [stdout] | [INFO] [stdout] 189 | assert_eq!(Vector3::new(-3f32, 6f32, -3f32, 1f32), cp); [INFO] [stdout] | ^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 189 | assert_eq!(Vector3::new(-3f32, 6f64, -3f32, 1f32), cp); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:189:50 [INFO] [stdout] | [INFO] [stdout] 189 | assert_eq!(Vector3::new(-3f32, 6f32, -3f32, 1f32), cp); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `f64`, found `f32` [INFO] [stdout] | help: you can convert an `f32` to `f64`: `(-3f32).into()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:189:57 [INFO] [stdout] | [INFO] [stdout] 189 | assert_eq!(Vector3::new(-3f32, 6f32, -3f32, 1f32), cp); [INFO] [stdout] | ^^^^ expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] help: change the type of the numeric literal from `f32` to `f64` [INFO] [stdout] | [INFO] [stdout] 189 | assert_eq!(Vector3::new(-3f32, 6f32, -3f32, 1f64), cp); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `vector3::Vector3` [INFO] [stdout] --> src/util/vector3.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | assert_eq!(Vector3::new(-3f32, 6f32, -3f32, 1f32), cp); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | vector3::Vector3 [INFO] [stdout] | _ [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::cmp::PartialEq` might be missing for `vector3::Vector3` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot add `matrix4::Matrix4` to `matrix4::Matrix4` [INFO] [stdout] --> src/util/matrix4.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | let c = a + b; [INFO] [stdout] | - ^ - matrix4::Matrix4 [INFO] [stdout] | | [INFO] [stdout] | matrix4::Matrix4 [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::ops::Add` might be missing for `matrix4::Matrix4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot subtract `matrix4::Matrix4` from `matrix4::Matrix4` [INFO] [stdout] --> src/util/matrix4.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 144 | let c = a - b; [INFO] [stdout] | - ^ - matrix4::Matrix4 [INFO] [stdout] | | [INFO] [stdout] | matrix4::Matrix4 [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::ops::Sub` might be missing for `matrix4::Matrix4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot multiply `f64` to `matrix4::Matrix4` [INFO] [stdout] --> src/util/matrix4.rs:163:23 [INFO] [stdout] | [INFO] [stdout] 163 | let b = a * 3f64; [INFO] [stdout] | - ^ ---- f64 [INFO] [stdout] | | [INFO] [stdout] | matrix4::Matrix4 [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::ops::Mul` might be missing for `matrix4::Matrix4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot multiply `vector3::Vector3` to `matrix4::Matrix4` [INFO] [stdout] --> src/util/matrix4.rs:189:23 [INFO] [stdout] | [INFO] [stdout] 189 | let c = a * b; [INFO] [stdout] | - ^ - vector3::Vector3 [INFO] [stdout] | | [INFO] [stdout] | matrix4::Matrix4 [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::ops::Mul` might be missing for `matrix4::Matrix4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot multiply `matrix4::Matrix4` to `matrix4::Matrix4` [INFO] [stdout] --> src/util/matrix4.rs:218:23 [INFO] [stdout] | [INFO] [stdout] 218 | let c = a * b; [INFO] [stdout] | - ^ - matrix4::Matrix4 [INFO] [stdout] | | [INFO] [stdout] | matrix4::Matrix4 [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::ops::Mul` might be missing for `matrix4::Matrix4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gtk::prelude` [INFO] [stdout] --> src/util/polygon3.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use gtk::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gtk::prelude` [INFO] [stdout] --> src/util/world.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use gtk::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gio::prelude` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use gio::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 91 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust3d` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "1c3b0b66072240d0dcdeb0fe6c093b3f4cac09f74e06b0a47f579634916bbaf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c3b0b66072240d0dcdeb0fe6c093b3f4cac09f74e06b0a47f579634916bbaf3", kill_on_drop: false }` [INFO] [stdout] 1c3b0b66072240d0dcdeb0fe6c093b3f4cac09f74e06b0a47f579634916bbaf3