[INFO] updating cached repository https://github.com/marony/rust3d [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9fb3b53b4668ecd4fe8a6104d874ad64a65edb49 [INFO] testing marony/rust3d against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarony%2Frust3d" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marony/rust3d on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-4/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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff7fa586f2b907a06ec165491df07bccb57cae1234ebea24de77b4f4ac9b59b3 [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" "ff7fa586f2b907a06ec165491df07bccb57cae1234ebea24de77b4f4ac9b59b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff7fa586f2b907a06ec165491df07bccb57cae1234ebea24de77b4f4ac9b59b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff7fa586f2b907a06ec165491df07bccb57cae1234ebea24de77b4f4ac9b59b3", kill_on_drop: false }` [INFO] [stdout] ff7fa586f2b907a06ec165491df07bccb57cae1234ebea24de77b4f4ac9b59b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f961dc0ef0b194fd3052e1bc2620f20a92cb4082c71db394ff18006b46b58655 [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" "f961dc0ef0b194fd3052e1bc2620f20a92cb4082c71db394ff18006b46b58655", kill_on_drop: false }` [INFO] [stderr] Compiling cairo-rs v0.3.0 [INFO] [stderr] Compiling gdk-pixbuf v0.3.0 [INFO] [stderr] Compiling gio v0.3.0 [INFO] [stderr] Compiling c_vec v1.2.1 [INFO] [stderr] Compiling gdk v0.7.0 [INFO] [stderr] Compiling unicode-segmentation v0.1.2 [INFO] [stderr] Compiling gtk v0.3.0 [INFO] [stderr] Compiling itertools v0.4.19 [INFO] [stderr] Compiling lazy_static v0.1.16 [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 gdk-pixbuf-sys v0.5.0 [INFO] [stderr] Compiling cairo-sys-rs 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] Compiling glib v0.4.1 [INFO] [stderr] Compiling pango v0.3.0 [INFO] [stderr] Compiling 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: `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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 58s [INFO] running `Command { std: "docker" "inspect" "f961dc0ef0b194fd3052e1bc2620f20a92cb4082c71db394ff18006b46b58655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f961dc0ef0b194fd3052e1bc2620f20a92cb4082c71db394ff18006b46b58655", kill_on_drop: false }` [INFO] [stdout] f961dc0ef0b194fd3052e1bc2620f20a92cb4082c71db394ff18006b46b58655 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcd664e1815a71367da5f2cc3746bcf4b677897ec9cbc43ff4de2ecaf5a463de [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" "fcd664e1815a71367da5f2cc3746bcf4b677897ec9cbc43ff4de2ecaf5a463de", kill_on_drop: false }` [INFO] [stderr] Compiling 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] 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 `util::vector3::Vector3` to `util::point3::Point3` [INFO] [stdout] --> src/util/point3.rs:97:23 [INFO] [stdout] | [INFO] [stdout] 97 | let c = a + b; [INFO] [stdout] | - ^ - util::vector3::Vector3 [INFO] [stdout] | | [INFO] [stdout] | util::point3::Point3 [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::ops::Add` might be missing for `util::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 `util::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] | util::point3::Point3 [INFO] [stdout] | _ [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::cmp::PartialEq` might be missing for `util::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 `util::vector3::Vector3` from `util::point3::Point3` [INFO] [stdout] --> src/util/point3.rs:107:23 [INFO] [stdout] | [INFO] [stdout] 107 | let c = a - b; [INFO] [stdout] | - ^ - util::vector3::Vector3 [INFO] [stdout] | | [INFO] [stdout] | util::point3::Point3 [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::ops::Sub` might be missing for `util::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 `util::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] | util::point3::Point3 [INFO] [stdout] | _ [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::cmp::PartialEq` might be missing for `util::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 `util::point3::Point3` from `util::point3::Point3` [INFO] [stdout] --> src/util/point3.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | let c = a - b; [INFO] [stdout] | - ^ - util::point3::Point3 [INFO] [stdout] | | [INFO] [stdout] | util::point3::Point3 [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::ops::Sub` might be missing for `util::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 `util::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] | util::point3::Point3 [INFO] [stdout] | _ [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::cmp::PartialEq` might be missing for `util::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 `std::ops::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 `std::ops::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 `std::ops::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 `std::ops::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 `&util::vector3::Vector3`, found struct `util::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 `util::vector3::Vector3` to `util::vector3::Vector3` [INFO] [stdout] --> src/util/vector3.rs:188:24 [INFO] [stdout] | [INFO] [stdout] 188 | let cp = a * b; [INFO] [stdout] | - ^ - util::vector3::Vector3 [INFO] [stdout] | | [INFO] [stdout] | util::vector3::Vector3 [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::ops::Mul` might be missing for `util::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 `util::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] | util::vector3::Vector3 [INFO] [stdout] | _ [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::cmp::PartialEq` might be missing for `util::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 `util::matrix4::Matrix4` to `util::matrix4::Matrix4` [INFO] [stdout] --> src/util/matrix4.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | let c = a + b; [INFO] [stdout] | - ^ - util::matrix4::Matrix4 [INFO] [stdout] | | [INFO] [stdout] | util::matrix4::Matrix4 [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::ops::Add` might be missing for `util::matrix4::Matrix4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot subtract `util::matrix4::Matrix4` from `util::matrix4::Matrix4` [INFO] [stdout] --> src/util/matrix4.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 144 | let c = a - b; [INFO] [stdout] | - ^ - util::matrix4::Matrix4 [INFO] [stdout] | | [INFO] [stdout] | util::matrix4::Matrix4 [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::ops::Sub` might be missing for `util::matrix4::Matrix4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot multiply `f64` to `util::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] | util::matrix4::Matrix4 [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::ops::Mul` might be missing for `util::matrix4::Matrix4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot multiply `util::vector3::Vector3` to `util::matrix4::Matrix4` [INFO] [stdout] --> src/util/matrix4.rs:189:23 [INFO] [stdout] | [INFO] [stdout] 189 | let c = a * b; [INFO] [stdout] | - ^ - util::vector3::Vector3 [INFO] [stdout] | | [INFO] [stdout] | util::matrix4::Matrix4 [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::ops::Mul` might be missing for `util::matrix4::Matrix4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot multiply `util::matrix4::Matrix4` to `util::matrix4::Matrix4` [INFO] [stdout] --> src/util/matrix4.rs:218:23 [INFO] [stdout] | [INFO] [stdout] 218 | let c = a * b; [INFO] [stdout] | - ^ - util::matrix4::Matrix4 [INFO] [stdout] | | [INFO] [stdout] | util::matrix4::Matrix4 [INFO] [stdout] | [INFO] [stdout] = note: an implementation of `std::ops::Mul` might be missing for `util::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" "fcd664e1815a71367da5f2cc3746bcf4b677897ec9cbc43ff4de2ecaf5a463de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcd664e1815a71367da5f2cc3746bcf4b677897ec9cbc43ff4de2ecaf5a463de", kill_on_drop: false }` [INFO] [stdout] fcd664e1815a71367da5f2cc3746bcf4b677897ec9cbc43ff4de2ecaf5a463de