[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 master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarony%2Frust3d" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marony/rust3d on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-segmentation v0.1.2 [INFO] [stderr] Downloaded itertools v0.4.19 [INFO] [stderr] Downloaded rustc_version v0.1.7 [INFO] [stderr] Downloaded strcursor v0.2.5 [INFO] [stderr] Downloaded c_vec v1.2.1 [INFO] [stderr] Downloaded gdk-pixbuf v0.3.0 [INFO] [stderr] Downloaded atk-sys v0.5.0 [INFO] [stderr] Downloaded gdk v0.7.0 [INFO] [stderr] Downloaded gtk-sys v0.5.0 [INFO] [stderr] Downloaded cairo-rs v0.3.0 [INFO] [stderr] Downloaded libc v0.2.36 [INFO] [stderr] Downloaded lazy_static v0.1.16 [INFO] [stderr] Downloaded gio-sys v0.5.0 [INFO] [stderr] Downloaded gobject-sys v0.5.0 [INFO] [stderr] Downloaded pango-sys v0.5.0 [INFO] [stderr] Downloaded pango v0.3.0 [INFO] [stderr] Downloaded gtk v0.3.0 [INFO] [stderr] Downloaded gio v0.3.0 [INFO] [stderr] Downloaded lazy_static v1.0.0 [INFO] [stderr] Downloaded glib-sys v0.5.0 [INFO] [stderr] Downloaded bitflags v1.0.1 [INFO] [stderr] Downloaded pkg-config v0.3.9 [INFO] [stderr] Downloaded semver v0.1.20 [INFO] [stderr] Downloaded scan-rules v0.2.0 [INFO] [stderr] Downloaded gdk-pixbuf-sys v0.5.0 [INFO] [stderr] Downloaded gdk-sys v0.5.0 [INFO] [stderr] Downloaded cairo-sys-rs v0.5.0 [INFO] [stderr] Downloaded glib v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e92b77dbae52123b5f804777b79a357e88999a17de83566f45d504e3a4bc602a [INFO] running `Command { std: "docker" "start" "-a" "e92b77dbae52123b5f804777b79a357e88999a17de83566f45d504e3a4bc602a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e92b77dbae52123b5f804777b79a357e88999a17de83566f45d504e3a4bc602a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e92b77dbae52123b5f804777b79a357e88999a17de83566f45d504e3a4bc602a", kill_on_drop: false }` [INFO] [stdout] e92b77dbae52123b5f804777b79a357e88999a17de83566f45d504e3a4bc602a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfa301119f3f31637b879ae29fdf1ef57138d372522920fc741d8617906cd29f [INFO] running `Command { std: "docker" "start" "-a" "cfa301119f3f31637b879ae29fdf1ef57138d372522920fc741d8617906cd29f", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Compiling cairo-rs v0.3.0 [INFO] [stderr] Compiling gio v0.3.0 [INFO] [stderr] Compiling gdk-pixbuf v0.3.0 [INFO] [stderr] Checking c_vec v1.2.1 [INFO] [stderr] Compiling gdk v0.7.0 [INFO] [stderr] Checking unicode-segmentation v0.1.2 [INFO] [stderr] Compiling gtk v0.3.0 [INFO] [stderr] Checking lazy_static v0.1.16 [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 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] Checking glib v0.4.1 [INFO] [stderr] Checking pango v0.3.0 [INFO] [stderr] Checking rust3d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/util/point3.rs:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | let a = Point3::new(1, 2, 3, 1); [INFO] [stdout] | ^^^^^^^^^^^ - - - - expected `f64`, found integer [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `f64`, found integer [INFO] [stdout] | | expected `f64`, found integer [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/util/point3.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(x: f64, y: f64, z: f64, w: f64) -> Point3 { [INFO] [stdout] | ^^^ ------ ------ ------ ------ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 95 | let a = Point3::new(1.0, 2, 3, 1); [INFO] [stdout] | ~~~ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 95 | let a = Point3::new(1, 2.0, 3, 1); [INFO] [stdout] | ~~~ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 95 | let a = Point3::new(1, 2, 3.0, 1); [INFO] [stdout] | ~~~ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 95 | let a = Point3::new(1, 2, 3, 1.0); [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/util/point3.rs:96:21 [INFO] [stdout] | [INFO] [stdout] 96 | let b = Vector3::new(2, 3, 4, 1); [INFO] [stdout] | ^^^^^^^^^^^^ - - - - expected `f64`, found integer [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `f64`, found integer [INFO] [stdout] | | expected `f64`, found integer [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/util/vector3.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(x: f64, y: f64, z: f64, w: f64) -> Vector3 { [INFO] [stdout] | ^^^ ------ ------ ------ ------ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 96 | let b = Vector3::new(2.0, 3, 4, 1); [INFO] [stdout] | ~~~ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 96 | let b = Vector3::new(2, 3.0, 4, 1); [INFO] [stdout] | ~~~ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 96 | let b = Vector3::new(2, 3, 4.0, 1); [INFO] [stdout] | ~~~ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 96 | let b = Vector3::new(2, 3, 4, 1.0); [INFO] [stdout] | ~~~ [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] --> src/util/point3.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Point3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `std::ops::Add` [INFO] [stdout] note: the trait `std::ops::Add` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/ops/arith.rs:77:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/util/point3.rs:98:24 [INFO] [stdout] | [INFO] [stdout] 98 | assert_eq!(Point3::new(3, 5, 7, 1), c); [INFO] [stdout] | ^^^^^^^^^^^ - - - - expected `f64`, found integer [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `f64`, found integer [INFO] [stdout] | | expected `f64`, found integer [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/util/point3.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(x: f64, y: f64, z: f64, w: f64) -> Point3 { [INFO] [stdout] | ^^^ ------ ------ ------ ------ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 98 | assert_eq!(Point3::new(3.0, 5, 7, 1), c); [INFO] [stdout] | ~~~ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 98 | assert_eq!(Point3::new(3, 5.0, 7, 1), c); [INFO] [stdout] | ~~~ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 98 | assert_eq!(Point3::new(3, 5, 7.0, 1), c); [INFO] [stdout] | ~~~ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 98 | assert_eq!(Point3::new(3, 5, 7, 1.0), c); [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/util/point3.rs:105:21 [INFO] [stdout] | [INFO] [stdout] 105 | let a = Point3::new(1, 2, 3, 1); [INFO] [stdout] | ^^^^^^^^^^^ - - - - expected `f64`, found integer [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `f64`, found integer [INFO] [stdout] | | expected `f64`, found integer [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/util/point3.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(x: f64, y: f64, z: f64, w: f64) -> Point3 { [INFO] [stdout] | ^^^ ------ ------ ------ ------ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 105 | let a = Point3::new(1.0, 2, 3, 1); [INFO] [stdout] | ~~~ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 105 | let a = Point3::new(1, 2.0, 3, 1); [INFO] [stdout] | ~~~ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 105 | let a = Point3::new(1, 2, 3.0, 1); [INFO] [stdout] | ~~~ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 105 | let a = Point3::new(1, 2, 3, 1.0); [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/util/point3.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | let b = Vector3::new(2, 3, 4, 1); [INFO] [stdout] | ^^^^^^^^^^^^ - - - - expected `f64`, found integer [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `f64`, found integer [INFO] [stdout] | | expected `f64`, found integer [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/util/vector3.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(x: f64, y: f64, z: f64, w: f64) -> Vector3 { [INFO] [stdout] | ^^^ ------ ------ ------ ------ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 106 | let b = Vector3::new(2.0, 3, 4, 1); [INFO] [stdout] | ~~~ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 106 | let b = Vector3::new(2, 3.0, 4, 1); [INFO] [stdout] | ~~~ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 106 | let b = Vector3::new(2, 3, 4.0, 1); [INFO] [stdout] | ~~~ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 106 | let b = Vector3::new(2, 3, 4, 1.0); [INFO] [stdout] | ~~~ [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 `Sub` might be missing for `point3::Point3` [INFO] [stdout] --> src/util/point3.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Point3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `Sub` [INFO] [stdout] note: the trait `Sub` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/ops/arith.rs:187:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/util/point3.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | assert_eq!(Point3::new(-1, -1, -1, 1), c); [INFO] [stdout] | ^^^^^^^^^^^ -- -- -- - expected `f64`, found integer [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `f64`, found integer [INFO] [stdout] | | expected `f64`, found integer [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/util/point3.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(x: f64, y: f64, z: f64, w: f64) -> Point3 { [INFO] [stdout] | ^^^ ------ ------ ------ ------ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 108 | assert_eq!(Point3::new(-1.0, -1, -1, 1), c); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 108 | assert_eq!(Point3::new(-1, -1.0, -1, 1), c); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 108 | assert_eq!(Point3::new(-1, -1, -1.0, 1), c); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 108 | assert_eq!(Point3::new(-1, -1, -1, 1.0), c); [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/util/point3.rs:115:21 [INFO] [stdout] | [INFO] [stdout] 115 | let a = Point3::new(1, 2, 3, 1); [INFO] [stdout] | ^^^^^^^^^^^ - - - - expected `f64`, found integer [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `f64`, found integer [INFO] [stdout] | | expected `f64`, found integer [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/util/point3.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(x: f64, y: f64, z: f64, w: f64) -> Point3 { [INFO] [stdout] | ^^^ ------ ------ ------ ------ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 115 | let a = Point3::new(1.0, 2, 3, 1); [INFO] [stdout] | ~~~ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 115 | let a = Point3::new(1, 2.0, 3, 1); [INFO] [stdout] | ~~~ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 115 | let a = Point3::new(1, 2, 3.0, 1); [INFO] [stdout] | ~~~ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 115 | let a = Point3::new(1, 2, 3, 1.0); [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/util/point3.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | let b = Point3::new(2, 3, 4, 1); [INFO] [stdout] | ^^^^^^^^^^^ - - - - expected `f64`, found integer [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `f64`, found integer [INFO] [stdout] | | expected `f64`, found integer [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/util/point3.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(x: f64, y: f64, z: f64, w: f64) -> Point3 { [INFO] [stdout] | ^^^ ------ ------ ------ ------ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 116 | let b = Point3::new(2.0, 3, 4, 1); [INFO] [stdout] | ~~~ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 116 | let b = Point3::new(2, 3.0, 4, 1); [INFO] [stdout] | ~~~ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 116 | let b = Point3::new(2, 3, 4.0, 1); [INFO] [stdout] | ~~~ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 116 | let b = Point3::new(2, 3, 4, 1.0); [INFO] [stdout] | ~~~ [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 `Sub` might be missing for `point3::Point3` [INFO] [stdout] --> src/util/point3.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Point3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `Sub` [INFO] [stdout] note: the trait `Sub` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/ops/arith.rs:187:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/util/point3.rs:118:24 [INFO] [stdout] | [INFO] [stdout] 118 | assert_eq!(Point3::new(-1, -1, -1, 1), c); [INFO] [stdout] | ^^^^^^^^^^^ -- -- -- - expected `f64`, found integer [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `f64`, found integer [INFO] [stdout] | | expected `f64`, found integer [INFO] [stdout] | expected `f64`, found integer [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/util/point3.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(x: f64, y: f64, z: f64, w: f64) -> Point3 { [INFO] [stdout] | ^^^ ------ ------ ------ ------ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 118 | assert_eq!(Point3::new(-1.0, -1, -1, 1), c); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 118 | assert_eq!(Point3::new(-1, -1.0, -1, 1), c); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 118 | assert_eq!(Point3::new(-1, -1, -1.0, 1), c); [INFO] [stdout] | ~~~~ [INFO] [stdout] help: use a float literal [INFO] [stdout] | [INFO] [stdout] 118 | assert_eq!(Point3::new(-1, -1, -1, 1.0), c); [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/util/vector3.rs:128:21 [INFO] [stdout] | [INFO] [stdout] 128 | let a = Vector3::new(2f32, 3f32, 4f32, 1f32); [INFO] [stdout] | ^^^^^^^^^^^^ ---- ---- ---- ---- expected `f64`, found `f32` [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `f64`, found `f32` [INFO] [stdout] | | expected `f64`, found `f32` [INFO] [stdout] | expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/util/vector3.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(x: f64, y: f64, z: f64, w: f64) -> Vector3 { [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] 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] 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] 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] = help: the following other types implement trait `Sub`: [INFO] [stdout] <&'a f64 as Sub> [INFO] [stdout] <&f64 as Sub<&f64>> [INFO] [stdout] > [INFO] [stdout] [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] | expected because this is `f64` [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]: arguments to this function are incorrect [INFO] [stdout] --> src/util/vector3.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | let a = Vector3::new(2f32, 3f32, 4f32, 1f32); [INFO] [stdout] | ^^^^^^^^^^^^ ---- ---- ---- ---- expected `f64`, found `f32` [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `f64`, found `f32` [INFO] [stdout] | | expected `f64`, found `f32` [INFO] [stdout] | expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/util/vector3.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(x: f64, y: f64, z: f64, w: f64) -> Vector3 { [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] 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] 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] 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] = help: the following other types implement trait `Sub`: [INFO] [stdout] <&'a f64 as Sub> [INFO] [stdout] <&f64 as Sub<&f64>> [INFO] [stdout] > [INFO] [stdout] [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] | expected because this is `f64` [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] = help: the following other types implement trait `Sub`: [INFO] [stdout] <&'a f64 as Sub> [INFO] [stdout] <&f64 as Sub<&f64>> [INFO] [stdout] > [INFO] [stdout] [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] | expected because this is `f64` [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] = help: the following other types implement trait `Sub`: [INFO] [stdout] <&'a f64 as Sub> [INFO] [stdout] <&f64 as Sub<&f64>> [INFO] [stdout] > [INFO] [stdout] [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] | expected because this is `f64` [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]: arguments to this function are incorrect [INFO] [stdout] --> src/util/vector3.rs:164:21 [INFO] [stdout] | [INFO] [stdout] 164 | let a = Vector3::new(2f32, 3f32, 4f32, 1f32); [INFO] [stdout] | ^^^^^^^^^^^^ ---- ---- ---- ---- expected `f64`, found `f32` [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `f64`, found `f32` [INFO] [stdout] | | expected `f64`, found `f32` [INFO] [stdout] | expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/util/vector3.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(x: f64, y: f64, z: f64, w: f64) -> Vector3 { [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] 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] 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] 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]: arguments to this function are incorrect [INFO] [stdout] --> src/util/vector3.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | let b = Vector3::new(5f32, 6f32, 7f32, 1f32); [INFO] [stdout] | ^^^^^^^^^^^^ ---- ---- ---- ---- expected `f64`, found `f32` [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `f64`, found `f32` [INFO] [stdout] | | expected `f64`, found `f32` [INFO] [stdout] | expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/util/vector3.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(x: f64, y: f64, z: f64, w: f64) -> Vector3 { [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] 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] 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] 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] | --- ^ expected `&Vector3`, found `Vector3` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/util/vector3.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn dot(&self, rhs: &Vector3) -> f64 { [INFO] [stdout] | ^^^ ------------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 166 | let dot = a.dot(&b); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/util/vector3.rs:167:31 [INFO] [stdout] | [INFO] [stdout] 167 | assert_eq!(56f32, dot); [INFO] [stdout] | ^^^ expected `f32`, found `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/util/vector3.rs:186:21 [INFO] [stdout] | [INFO] [stdout] 186 | let a = Vector3::new(3f32, 4f32, 5f32, 1f32); [INFO] [stdout] | ^^^^^^^^^^^^ ---- ---- ---- ---- expected `f64`, found `f32` [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `f64`, found `f32` [INFO] [stdout] | | expected `f64`, found `f32` [INFO] [stdout] | expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/util/vector3.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(x: f64, y: f64, z: f64, w: f64) -> Vector3 { [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] 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] 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] 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]: arguments to this function are incorrect [INFO] [stdout] --> src/util/vector3.rs:187:21 [INFO] [stdout] | [INFO] [stdout] 187 | let b = Vector3::new(6f32, 7f32, 8f32, 1f32); [INFO] [stdout] | ^^^^^^^^^^^^ ---- ---- ---- ---- expected `f64`, found `f32` [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `f64`, found `f32` [INFO] [stdout] | | expected `f64`, found `f32` [INFO] [stdout] | expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/util/vector3.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(x: f64, y: f64, z: f64, w: f64) -> Vector3 { [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] 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] 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] 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` by `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 `Mul` might be missing for `vector3::Vector3` [INFO] [stdout] --> src/util/vector3.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Vector3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ must implement `Mul` [INFO] [stdout] note: the trait `Mul` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/ops/arith.rs:317:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/util/vector3.rs:189:24 [INFO] [stdout] | [INFO] [stdout] 189 | assert_eq!(Vector3::new(-3f32, 6f32, -3f32, 1f32), cp); [INFO] [stdout] | ^^^^^^^^^^^^ ----- ---- ----- ---- expected `f64`, found `f32` [INFO] [stdout] | | | | [INFO] [stdout] | | | expected `f64`, found `f32` [INFO] [stdout] | | expected `f64`, found `f32` [INFO] [stdout] | expected `f64`, found `f32` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/util/vector3.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(x: f64, y: f64, z: f64, w: f64) -> Vector3 { [INFO] [stdout] | ^^^ ------ ------ ------ ------ [INFO] [stdout] help: you can convert an `f32` to an `f64` [INFO] [stdout] | [INFO] [stdout] 189 | assert_eq!(Vector3::new((-3f32).into(), 6f32, -3f32, 1f32), cp); [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] help: you can convert an `f32` to an `f64` [INFO] [stdout] | [INFO] [stdout] 189 | assert_eq!(Vector3::new(-3f32, 6f32, (-3f32).into(), 1f32), cp); [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]: 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] --> src/util/matrix4.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ must implement `std::ops::Add` [INFO] [stdout] note: the trait `std::ops::Add` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/ops/arith.rs:77:1 [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 `Sub` might be missing for `matrix4::Matrix4` [INFO] [stdout] --> src/util/matrix4.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ must implement `Sub` [INFO] [stdout] note: the trait `Sub` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/ops/arith.rs:187:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot multiply `matrix4::Matrix4` by `f64` [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 `Mul` might be missing for `matrix4::Matrix4` [INFO] [stdout] --> src/util/matrix4.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ must implement `Mul` [INFO] [stdout] note: the trait `Mul` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/ops/arith.rs:317:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot multiply `matrix4::Matrix4` by `vector3::Vector3` [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 `Mul` might be missing for `matrix4::Matrix4` [INFO] [stdout] --> src/util/matrix4.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ must implement `Mul` [INFO] [stdout] note: the trait `Mul` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/ops/arith.rs:317:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: cannot multiply `matrix4::Matrix4` by `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 `Mul` might be missing for `matrix4::Matrix4` [INFO] [stdout] --> src/util/matrix4.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Matrix4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ must implement `Mul` [INFO] [stdout] note: the trait `Mul` must be implemented [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/ops/arith.rs:317:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 39 previous errors [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` (bin "rust3d" test) due to 40 previous errors [INFO] running `Command { std: "docker" "inspect" "cfa301119f3f31637b879ae29fdf1ef57138d372522920fc741d8617906cd29f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfa301119f3f31637b879ae29fdf1ef57138d372522920fc741d8617906cd29f", kill_on_drop: false }` [INFO] [stdout] cfa301119f3f31637b879ae29fdf1ef57138d372522920fc741d8617906cd29f [INFO] checking marony/rust3d against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarony%2Frust3d" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marony/rust3d on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ade110306e834585ed20897a82d67545570ff49c4af727a9fc3811d69c55e0ad [INFO] running `Command { std: "docker" "start" "-a" "ade110306e834585ed20897a82d67545570ff49c4af727a9fc3811d69c55e0ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ade110306e834585ed20897a82d67545570ff49c4af727a9fc3811d69c55e0ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ade110306e834585ed20897a82d67545570ff49c4af727a9fc3811d69c55e0ad", kill_on_drop: false }` [INFO] [stdout] ade110306e834585ed20897a82d67545570ff49c4af727a9fc3811d69c55e0ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 804aff6b336eed3ff257dba01fa2adad51b3f076f9f431e46c5c627793463fab [INFO] running `Command { std: "docker" "start" "-a" "804aff6b336eed3ff257dba01fa2adad51b3f076f9f431e46c5c627793463fab", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "804aff6b336eed3ff257dba01fa2adad51b3f076f9f431e46c5c627793463fab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "804aff6b336eed3ff257dba01fa2adad51b3f076f9f431e46c5c627793463fab", kill_on_drop: false }` [INFO] [stdout] 804aff6b336eed3ff257dba01fa2adad51b3f076f9f431e46c5c627793463fab