[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] testing xoreo/terrain against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxoreo%2Fterrain" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xoreo/terrain on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-2/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ae2c8c4a3dcd561250dd725fdb555c1dd4b5681c2fc0c4487fb3c4b68712228 [INFO] running `Command { std: "docker" "start" "-a" "9ae2c8c4a3dcd561250dd725fdb555c1dd4b5681c2fc0c4487fb3c4b68712228", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ae2c8c4a3dcd561250dd725fdb555c1dd4b5681c2fc0c4487fb3c4b68712228", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ae2c8c4a3dcd561250dd725fdb555c1dd4b5681c2fc0c4487fb3c4b68712228", kill_on_drop: false }` [INFO] [stdout] 9ae2c8c4a3dcd561250dd725fdb555c1dd4b5681c2fc0c4487fb3c4b68712228 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 07f2ee3d0d025313edad4b6ebe8da94c4dd91ae517b8f61ab96434ea45990a6d [INFO] running `Command { std: "docker" "start" "-a" "07f2ee3d0d025313edad4b6ebe8da94c4dd91ae517b8f61ab96434ea45990a6d", 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 bitflags v1.2.1 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling xi-unicode v0.2.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling mint v0.5.6 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling ogg v0.7.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling glam v0.12.0 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling lewton v0.9.4 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling alsa-sys v0.1.2 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling bzip2-sys v0.1.10+1.0.8 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling sid v0.5.2 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling dirs-sys v0.3.5 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling cpal v0.8.2 [INFO] [stderr] Compiling minimp3 v0.3.5 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling glyph_brush_layout v0.1.9 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling nalgebra v0.18.1 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling twox-hash v1.6.0 [INFO] [stderr] Compiling glyph_brush v0.6.3 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Compiling smart-default v0.5.2 [INFO] [stderr] Compiling glyph_brush v0.5.4 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling gilrs-core v0.2.6 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling euclid v0.19.9 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling gilrs v0.7.4 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling lyon_geom v0.12.7 [INFO] [stderr] Compiling image v0.22.5 [INFO] [stderr] Compiling lyon_path v0.13.2 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling zip v0.5.11 [INFO] [stderr] Compiling lyon_tessellation v0.13.5 [INFO] [stderr] Compiling lyon_algorithms v0.13.4 [INFO] [stderr] Compiling lyon v0.13.5 [INFO] [stderr] Compiling rodio v0.9.0 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling cargo-platform v0.1.1 [INFO] [stderr] Compiling 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] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling glutin v0.20.1 [INFO] [stderr] Compiling gfx_window_glutin v0.30.0 [INFO] [stderr] Compiling terrain v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant is never used: `BLACK` [INFO] [stdout] --> src/random.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / const BLACK: Color = Color { [INFO] [stdout] 12 | | r: 1.0, [INFO] [stdout] 13 | | g: 1.0, [INFO] [stdout] 14 | | b: 1.0, [INFO] [stdout] 15 | | a: 1.0, [INFO] [stdout] 16 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `WHITE` [INFO] [stdout] --> src/random.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | / const WHITE: Color = Color { [INFO] [stdout] 18 | | r: 0.0, [INFO] [stdout] 19 | | g: 0.0, [INFO] [stdout] 20 | | b: 0.0, [INFO] [stdout] 21 | | a: 1.0, [INFO] [stdout] 22 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `RED` [INFO] [stdout] --> src/random.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / const RED: Color = Color { [INFO] [stdout] 24 | | r: 1.0, [INFO] [stdout] 25 | | g: 0.0, [INFO] [stdout] 26 | | b: 0.0, [INFO] [stdout] 27 | | a: 1.0, [INFO] [stdout] 28 | | }; [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `map` [INFO] [stdout] --> src/random.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | map: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `seed` [INFO] [stdout] --> src/random.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | seed: u64, [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] [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] 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: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] 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[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] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/perlin.rs:122:40 [INFO] [stdout] | [INFO] [stdout] 122 | let off_br = Vec2::new(x - gridx, y - gridy); [INFO] [stdout] | ^^^^^^^^^ expected `f32`, found `usize` [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) as f32, y - gridy); [INFO] [stdout] | + ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/perlin.rs:122:51 [INFO] [stdout] | [INFO] [stdout] 122 | let off_br = Vec2::new(x - gridx, y - gridy); [INFO] [stdout] | ^^^^^^^^^ expected `f32`, found `usize` [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 6 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` due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "07f2ee3d0d025313edad4b6ebe8da94c4dd91ae517b8f61ab96434ea45990a6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07f2ee3d0d025313edad4b6ebe8da94c4dd91ae517b8f61ab96434ea45990a6d", kill_on_drop: false }` [INFO] [stdout] 07f2ee3d0d025313edad4b6ebe8da94c4dd91ae517b8f61ab96434ea45990a6d