[INFO] cloning repository https://github.com/xoreo/terrain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xoreo/terrain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxoreo%2Fterrain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxoreo%2Fterrain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d43f5d00c255e7bdeed1b21c4fc1501b10f7f3d [INFO] checking xoreo/terrain against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxoreo%2Fterrain" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xoreo/terrain 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/xoreo/terrain [INFO] finished tweaking git repo https://github.com/xoreo/terrain [INFO] tweaked toml for git repo https://github.com/xoreo/terrain written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/xoreo/terrain 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] Downloading crates ... [INFO] [stderr] Downloaded backtrace v0.3.56 [INFO] [stderr] Downloaded gfx_gl v0.6.1 [INFO] [stderr] Downloaded minimp3 v0.3.5 [INFO] [stderr] Downloaded mint v0.5.6 [INFO] [stderr] Downloaded skeptic v0.13.6 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.72 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.72 [INFO] [stderr] Downloaded twox-hash v1.6.0 [INFO] [stderr] Downloaded crossbeam-utils v0.8.3 [INFO] [stderr] Downloaded gilrs-core v0.2.6 [INFO] [stderr] Downloaded xi-unicode v0.2.1 [INFO] [stderr] Downloaded wasm-bindgen v0.2.72 [INFO] [stderr] Downloaded gilrs v0.7.4 [INFO] [stderr] Downloaded winit v0.19.5 [INFO] [stderr] Downloaded bzip2-sys v0.1.10+1.0.8 [INFO] [stderr] Downloaded glyph_brush v0.6.3 [INFO] [stderr] Downloaded clang-sys v1.1.1 [INFO] [stderr] Downloaded pulldown-cmark v0.8.0 [INFO] [stderr] Downloaded rand v0.8.3 [INFO] [stderr] Downloaded object v0.23.0 [INFO] [stderr] Downloaded glyph_brush_layout v0.1.9 [INFO] [stderr] Downloaded cocoa v0.18.5 [INFO] [stderr] Downloaded zip v0.5.11 [INFO] [stderr] Downloaded glam v0.12.0 [INFO] [stderr] Downloaded cargo_metadata v0.12.3 [INFO] [stderr] Downloaded bytecount v0.6.2 [INFO] [stderr] Downloaded redox_syscall v0.2.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 1e5db8624030c20b38acf618ca132126ca48df2469bcafedff35921eaca713fa [INFO] running `Command { std: "docker" "start" "-a" "1e5db8624030c20b38acf618ca132126ca48df2469bcafedff35921eaca713fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e5db8624030c20b38acf618ca132126ca48df2469bcafedff35921eaca713fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e5db8624030c20b38acf618ca132126ca48df2469bcafedff35921eaca713fa", kill_on_drop: false }` [INFO] [stdout] 1e5db8624030c20b38acf618ca132126ca48df2469bcafedff35921eaca713fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 356ea50c36eef05dd4344fd8ba0f46b8fe918a0c6c0c0b46eea01cd605266408 [INFO] running `Command { std: "docker" "start" "-a" "356ea50c36eef05dd4344fd8ba0f46b8fe918a0c6c0c0b46eea01cd605266408", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking xml-rs v0.8.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling bzip2-sys v0.1.10+1.0.8 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Checking sid v0.5.2 [INFO] [stderr] Checking euclid v0.19.9 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking lyon_geom v0.12.7 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Checking mint v0.5.6 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking xi-unicode v0.2.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking lyon_path v0.13.2 [INFO] [stderr] Checking glyph_brush_layout v0.1.9 [INFO] [stderr] Checking twox-hash v1.6.0 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking alga v0.9.3 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking slice-deque v0.3.0 [INFO] [stderr] Checking ogg v0.7.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking minimp3 v0.3.5 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Checking gfx_device_gl v0.16.2 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking nalgebra v0.18.1 [INFO] [stderr] Checking cpal v0.8.2 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking glyph_brush v0.6.3 [INFO] [stderr] Checking num-iter v0.1.42 [INFO] [stderr] Checking lyon_algorithms v0.13.4 [INFO] [stderr] Checking lyon_tessellation v0.13.5 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking directories v2.0.2 [INFO] [stderr] Checking lyon v0.13.5 [INFO] [stderr] Checking glyph_brush v0.5.4 [INFO] [stderr] Checking zip v0.5.11 [INFO] [stderr] Checking image v0.22.5 [INFO] [stderr] Checking gfx v0.18.2 [INFO] [stderr] Compiling smart-default v0.5.2 [INFO] [stderr] Checking glam v0.12.0 [INFO] [stderr] Checking gilrs-core v0.2.6 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking gilrs v0.7.4 [INFO] [stderr] Compiling cargo-platform v0.1.1 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling cargo_metadata v0.12.3 [INFO] [stderr] Compiling skeptic v0.13.6 [INFO] [stderr] Compiling ggez v0.5.1 [INFO] [stderr] Checking rodio v0.9.0 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Checking glutin v0.20.1 [INFO] [stderr] Checking gfx_window_glutin v0.30.0 [INFO] [stderr] Checking terrain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: cannot subtract `f32` from `usize` [INFO] [stdout] --> src/perlin.rs:120:42 [INFO] [stdout] | [INFO] [stdout] 120 | let off_ur = Vec2::new(x - (gridx as f32 + self.box_size), y - gridy); [INFO] [stdout] | ^ no implementation for `usize - f32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] <&'a usize as Sub>> [INFO] [stdout] <&'a usize as Sub> [INFO] [stdout] <&'b usize as Sub<&'a Complex>> [INFO] [stdout] <&usize as Sub<&usize>> [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] >> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `f32` from `usize` [INFO] [stdout] --> src/perlin.rs:120:42 [INFO] [stdout] | [INFO] [stdout] 120 | let off_ur = Vec2::new(x - (gridx as f32 + self.box_size), y - gridy); [INFO] [stdout] | ^ no implementation for `usize - f32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] <&'a usize as Sub>> [INFO] [stdout] <&'a usize as Sub> [INFO] [stdout] <&'b usize as Sub<&'a Complex>> [INFO] [stdout] <&usize as Sub<&usize>> [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] >> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/perlin.rs:120:76 [INFO] [stdout] | [INFO] [stdout] 120 | let off_ur = Vec2::new(x - (gridx as f32 + self.box_size), y - gridy); [INFO] [stdout] | --------- ^^^^^^^^^ expected `f32`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/glam-0.12.0/src/vec2.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | impl_vec2_float_methods!(f32, Vec2, Vec3, BVec2, XYF32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `impl_vec2_common_methods` which comes from the expansion of the macro `impl_vec2_float_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can cast a `usize` to an `f32`, producing the floating point representation of the integer, rounded if necessary [INFO] [stdout] | [INFO] [stdout] 120 | let off_ur = Vec2::new(x - (gridx as f32 + self.box_size), (y - gridy) as f32); [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/perlin.rs:120:76 [INFO] [stdout] | [INFO] [stdout] 120 | let off_ur = Vec2::new(x - (gridx as f32 + self.box_size), y - gridy); [INFO] [stdout] | --------- ^^^^^^^^^ expected `f32`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/glam-0.12.0/src/vec2.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | impl_vec2_float_methods!(f32, Vec2, Vec3, BVec2, XYF32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `impl_vec2_common_methods` which comes from the expansion of the macro `impl_vec2_float_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can cast a `usize` to an `f32`, producing the floating point representation of the integer, rounded if necessary [INFO] [stdout] | [INFO] [stdout] 120 | let off_ur = Vec2::new(x - (gridx as f32 + self.box_size), (y - gridy) as f32); [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `f32` to `usize` [INFO] [stdout] --> src/perlin.rs:121:62 [INFO] [stdout] | [INFO] [stdout] 121 | let off_bl = Vec2::new(x - gridx, y - (gridy + self.box_size)); [INFO] [stdout] | ^ no implementation for `usize + f32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Add` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `std::ops::Add`: [INFO] [stdout] <&'a usize as std::ops::Add>> [INFO] [stdout] <&'a usize as std::ops::Add> [INFO] [stdout] <&'b usize as std::ops::Add<&'a Complex>> [INFO] [stdout] <&usize as std::ops::Add<&usize>> [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] >> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot add `f32` to `usize` [INFO] [stdout] --> src/perlin.rs:121:62 [INFO] [stdout] | [INFO] [stdout] 121 | let off_bl = Vec2::new(x - gridx, y - (gridy + self.box_size)); [INFO] [stdout] | ^ no implementation for `usize + f32` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Add` is not implemented for `usize` [INFO] [stdout] = help: the following other types implement trait `std::ops::Add`: [INFO] [stdout] <&'a usize as std::ops::Add>> [INFO] [stdout] <&'a usize as std::ops::Add> [INFO] [stdout] <&'b usize as std::ops::Add<&'a Complex>> [INFO] [stdout] <&usize as std::ops::Add<&usize>> [INFO] [stdout] >> [INFO] [stdout] > [INFO] [stdout] >> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/perlin.rs:121:40 [INFO] [stdout] | [INFO] [stdout] 121 | let off_bl = Vec2::new(x - gridx, y - (gridy + self.box_size)); [INFO] [stdout] | --------- ^^^^^^^^^ expected `f32`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/glam-0.12.0/src/vec2.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | impl_vec2_float_methods!(f32, Vec2, Vec3, BVec2, XYF32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `impl_vec2_common_methods` which comes from the expansion of the macro `impl_vec2_float_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can cast a `usize` to an `f32`, producing the floating point representation of the integer, rounded if necessary [INFO] [stdout] | [INFO] [stdout] 121 | let off_bl = Vec2::new((x - gridx) as f32, y - (gridy + self.box_size)); [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/perlin.rs:121:40 [INFO] [stdout] | [INFO] [stdout] 121 | let off_bl = Vec2::new(x - gridx, y - (gridy + self.box_size)); [INFO] [stdout] | --------- ^^^^^^^^^ expected `f32`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/glam-0.12.0/src/vec2.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | impl_vec2_float_methods!(f32, Vec2, Vec3, BVec2, XYF32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `impl_vec2_common_methods` which comes from the expansion of the macro `impl_vec2_float_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can cast a `usize` to an `f32`, producing the floating point representation of the integer, rounded if necessary [INFO] [stdout] | [INFO] [stdout] 121 | let off_bl = Vec2::new((x - gridx) as f32, y - (gridy + self.box_size)); [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/perlin.rs:122:30 [INFO] [stdout] | [INFO] [stdout] 122 | let off_br = Vec2::new(x - gridx, y - gridy); [INFO] [stdout] | ^^^^^^^^^ --------- --------- expected `f32`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | expected `f32`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/glam-0.12.0/src/vec2.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | impl_vec2_float_methods!(f32, Vec2, Vec3, BVec2, XYF32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `impl_vec2_common_methods` which comes from the expansion of the macro `impl_vec2_float_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can cast a `usize` to an `f32`, producing the floating point representation of the integer, rounded if necessary [INFO] [stdout] | [INFO] [stdout] 122 | let off_br = Vec2::new((x - gridx) as f32, y - gridy); [INFO] [stdout] | + ++++++++ [INFO] [stdout] help: you can cast a `usize` to an `f32`, producing the floating point representation of the integer, rounded if necessary [INFO] [stdout] | [INFO] [stdout] 122 | let off_br = Vec2::new(x - gridx, (y - gridy) as f32); [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: arguments to this function are incorrect [INFO] [stdout] --> src/perlin.rs:122:30 [INFO] [stdout] | [INFO] [stdout] 122 | let off_br = Vec2::new(x - gridx, y - gridy); [INFO] [stdout] | ^^^^^^^^^ --------- --------- expected `f32`, found `usize` [INFO] [stdout] | | [INFO] [stdout] | expected `f32`, found `usize` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/glam-0.12.0/src/vec2.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | impl_vec2_float_methods!(f32, Vec2, Vec3, BVec2, XYF32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `impl_vec2_common_methods` which comes from the expansion of the macro `impl_vec2_float_methods` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: you can cast a `usize` to an `f32`, producing the floating point representation of the integer, rounded if necessary [INFO] [stdout] | [INFO] [stdout] 122 | let off_br = Vec2::new((x - gridx) as f32, y - gridy); [INFO] [stdout] | + ++++++++ [INFO] [stdout] help: you can cast a `usize` to an `f32`, producing the floating point representation of the integer, rounded if necessary [INFO] [stdout] | [INFO] [stdout] 122 | let off_br = Vec2::new(x - gridx, (y - gridy) as f32); [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `terrain` (bin "perlin" test) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `terrain` (bin "perlin") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "356ea50c36eef05dd4344fd8ba0f46b8fe918a0c6c0c0b46eea01cd605266408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "356ea50c36eef05dd4344fd8ba0f46b8fe918a0c6c0c0b46eea01cd605266408", kill_on_drop: false }` [INFO] [stdout] 356ea50c36eef05dd4344fd8ba0f46b8fe918a0c6c0c0b46eea01cd605266408 [INFO] checking xoreo/terrain against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxoreo%2Fterrain" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xoreo/terrain 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/xoreo/terrain [INFO] finished tweaking git repo https://github.com/xoreo/terrain [INFO] tweaked toml for git repo https://github.com/xoreo/terrain written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/xoreo/terrain 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 9db87b18c6c0826882a234987fd52323f6915c0fbb61e75aa02ff30cd4b844b0 [INFO] running `Command { std: "docker" "start" "-a" "9db87b18c6c0826882a234987fd52323f6915c0fbb61e75aa02ff30cd4b844b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9db87b18c6c0826882a234987fd52323f6915c0fbb61e75aa02ff30cd4b844b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9db87b18c6c0826882a234987fd52323f6915c0fbb61e75aa02ff30cd4b844b0", kill_on_drop: false }` [INFO] [stdout] 9db87b18c6c0826882a234987fd52323f6915c0fbb61e75aa02ff30cd4b844b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] d48f2395a4494231abfc8152015b681d66e9620db88d37196ec8918f7baa61c3 [INFO] running `Command { std: "docker" "start" "-a" "d48f2395a4494231abfc8152015b681d66e9620db88d37196ec8918f7baa61c3", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "d48f2395a4494231abfc8152015b681d66e9620db88d37196ec8918f7baa61c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d48f2395a4494231abfc8152015b681d66e9620db88d37196ec8918f7baa61c3", kill_on_drop: false }` [INFO] [stdout] d48f2395a4494231abfc8152015b681d66e9620db88d37196ec8918f7baa61c3