[INFO] cloning repository https://github.com/Spheniscine/heightmap-gen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Spheniscine/heightmap-gen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpheniscine%2Fheightmap-gen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpheniscine%2Fheightmap-gen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 53040c0314bcfd0342f2211d6db16e332f5d0e96 [INFO] testing Spheniscine/heightmap-gen against 1.97.0-beta.1 for beta-1.97-3-v2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpheniscine%2Fheightmap-gen" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Spheniscine/heightmap-gen [INFO] finished tweaking git repo https://github.com/Spheniscine/heightmap-gen [INFO] tweaked toml for git repo https://github.com/Spheniscine/heightmap-gen written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Spheniscine/heightmap-gen on toolchain 1.97.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Spheniscine/heightmap-gen 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" "+1.97.0-beta.1" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 276e71f34f43844bde8e2c3d31df3772f4777cfbaec1950494e0b5dc7d155d7c [INFO] running `Command { std: "docker" "start" "-a" "276e71f34f43844bde8e2c3d31df3772f4777cfbaec1950494e0b5dc7d155d7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "276e71f34f43844bde8e2c3d31df3772f4777cfbaec1950494e0b5dc7d155d7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "276e71f34f43844bde8e2c3d31df3772f4777cfbaec1950494e0b5dc7d155d7c", kill_on_drop: false }` [INFO] [stdout] 276e71f34f43844bde8e2c3d31df3772f4777cfbaec1950494e0b5dc7d155d7c [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=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b495a0461ec9dffada5fae3531079d45d7e87290c0967deb043d803c2e5d305b [INFO] running `Command { std: "docker" "start" "-a" "b495a0461ec9dffada5fae3531079d45d7e87290c0967deb043d803c2e5d305b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling half v2.2.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bytemuck v1.14.1 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling png v0.17.11 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling pcg-mwc v0.2.1 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling rayon v1.8.1 [INFO] [stderr] Compiling exr v1.71.0 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling image v0.24.8 [INFO] [stderr] Compiling heightmap-gen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | scale *= (1. - ATTENUATION); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 139 - scale *= (1. - ATTENUATION); [INFO] [stdout] 139 + scale *= 1. - ATTENUATION ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `Option` as `i8` [INFO] [stdout] --> src/main.rs:58:58 [INFO] [stdout] | [INFO] [stdout] 58 | #[inline] fn highest_one(self) -> Self { (self as $ux).highest_one() as _ } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can be used to convert enum types to numeric types only if the enum type is unit-only or field-less [INFO] [stdout] ... [INFO] [stdout] 65 | impl_common_num_ext!(i8 = u8, i16 = u16, i32 = u32, i64 = u64, i128 = u128, isize = usize); [INFO] [stdout] | ------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/reference/items/enumerations.html#casting for more information [INFO] [stdout] = note: this error originates in the macro `impl_common_num_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `Option` as `i16` [INFO] [stdout] --> src/main.rs:58:58 [INFO] [stdout] | [INFO] [stdout] 58 | #[inline] fn highest_one(self) -> Self { (self as $ux).highest_one() as _ } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can be used to convert enum types to numeric types only if the enum type is unit-only or field-less [INFO] [stdout] ... [INFO] [stdout] 65 | impl_common_num_ext!(i8 = u8, i16 = u16, i32 = u32, i64 = u64, i128 = u128, isize = usize); [INFO] [stdout] | ------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/reference/items/enumerations.html#casting for more information [INFO] [stdout] = note: this error originates in the macro `impl_common_num_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `Option` as `i32` [INFO] [stdout] --> src/main.rs:58:58 [INFO] [stdout] | [INFO] [stdout] 58 | #[inline] fn highest_one(self) -> Self { (self as $ux).highest_one() as _ } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can be used to convert enum types to numeric types only if the enum type is unit-only or field-less [INFO] [stdout] ... [INFO] [stdout] 65 | impl_common_num_ext!(i8 = u8, i16 = u16, i32 = u32, i64 = u64, i128 = u128, isize = usize); [INFO] [stdout] | ------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/reference/items/enumerations.html#casting for more information [INFO] [stdout] = note: this error originates in the macro `impl_common_num_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `Option` as `i64` [INFO] [stdout] --> src/main.rs:58:58 [INFO] [stdout] | [INFO] [stdout] 58 | #[inline] fn highest_one(self) -> Self { (self as $ux).highest_one() as _ } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can be used to convert enum types to numeric types only if the enum type is unit-only or field-less [INFO] [stdout] ... [INFO] [stdout] 65 | impl_common_num_ext!(i8 = u8, i16 = u16, i32 = u32, i64 = u64, i128 = u128, isize = usize); [INFO] [stdout] | ------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/reference/items/enumerations.html#casting for more information [INFO] [stdout] = note: this error originates in the macro `impl_common_num_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `Option` as `i128` [INFO] [stdout] --> src/main.rs:58:58 [INFO] [stdout] | [INFO] [stdout] 58 | #[inline] fn highest_one(self) -> Self { (self as $ux).highest_one() as _ } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can be used to convert enum types to numeric types only if the enum type is unit-only or field-less [INFO] [stdout] ... [INFO] [stdout] 65 | impl_common_num_ext!(i8 = u8, i16 = u16, i32 = u32, i64 = u64, i128 = u128, isize = usize); [INFO] [stdout] | ------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/reference/items/enumerations.html#casting for more information [INFO] [stdout] = note: this error originates in the macro `impl_common_num_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `Option` as `isize` [INFO] [stdout] --> src/main.rs:58:58 [INFO] [stdout] | [INFO] [stdout] 58 | #[inline] fn highest_one(self) -> Self { (self as $ux).highest_one() as _ } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can be used to convert enum types to numeric types only if the enum type is unit-only or field-less [INFO] [stdout] ... [INFO] [stdout] 65 | impl_common_num_ext!(i8 = u8, i16 = u16, i32 = u32, i64 = u64, i128 = u128, isize = usize); [INFO] [stdout] | ------------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: see https://doc.rust-lang.org/reference/items/enumerations.html#casting for more information [INFO] [stdout] = note: this error originates in the macro `impl_common_num_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0605`. [INFO] [stdout] [INFO] [stderr] error: could not compile `heightmap-gen` (bin "heightmap-gen") due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b495a0461ec9dffada5fae3531079d45d7e87290c0967deb043d803c2e5d305b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b495a0461ec9dffada5fae3531079d45d7e87290c0967deb043d803c2e5d305b", kill_on_drop: false }` [INFO] [stdout] b495a0461ec9dffada5fae3531079d45d7e87290c0967deb043d803c2e5d305b