[INFO] cloning repository https://github.com/KentKent2020/Archipel_World_Gen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KentKent2020/Archipel_World_Gen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKentKent2020%2FArchipel_World_Gen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKentKent2020%2FArchipel_World_Gen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c36c1dad72bd3073a32c52af6a08d84202d3c4e4 [INFO] checking KentKent2020/Archipel_World_Gen against master#8f359beca4e58bc3ae795a666301a8f47023044c for pr-121557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKentKent2020%2FArchipel_World_Gen" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KentKent2020/Archipel_World_Gen on toolchain 8f359beca4e58bc3ae795a666301a8f47023044c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KentKent2020/Archipel_World_Gen [INFO] finished tweaking git repo https://github.com/KentKent2020/Archipel_World_Gen [INFO] tweaked toml for git repo https://github.com/KentKent2020/Archipel_World_Gen written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/KentKent2020/Archipel_World_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" "+8f359beca4e58bc3ae795a666301a8f47023044c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking KentKent2020/Archipel_World_Gen against try#80d5fe37e16a0befb4128414cb6a11d544788c0a for pr-121557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKentKent2020%2FArchipel_World_Gen" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KentKent2020/Archipel_World_Gen on toolchain 80d5fe37e16a0befb4128414cb6a11d544788c0a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KentKent2020/Archipel_World_Gen [INFO] finished tweaking git repo https://github.com/KentKent2020/Archipel_World_Gen [INFO] tweaked toml for git repo https://github.com/KentKent2020/Archipel_World_Gen written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/KentKent2020/Archipel_World_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" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking KentKent2020/Archipel_World_Gen against try#80d5fe37e16a0befb4128414cb6a11d544788c0a for pr-121557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKentKent2020%2FArchipel_World_Gen" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KentKent2020/Archipel_World_Gen on toolchain 80d5fe37e16a0befb4128414cb6a11d544788c0a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KentKent2020/Archipel_World_Gen [INFO] finished tweaking git repo https://github.com/KentKent2020/Archipel_World_Gen [INFO] tweaked toml for git repo https://github.com/KentKent2020/Archipel_World_Gen written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/KentKent2020/Archipel_World_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" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 170ade9633004254f22167aa0b2c74f2b1fc72d04684d69d0b38b19bdcdcb16d [INFO] running `Command { std: "docker" "start" "-a" "170ade9633004254f22167aa0b2c74f2b1fc72d04684d69d0b38b19bdcdcb16d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "170ade9633004254f22167aa0b2c74f2b1fc72d04684d69d0b38b19bdcdcb16d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "170ade9633004254f22167aa0b2c74f2b1fc72d04684d69d0b38b19bdcdcb16d", kill_on_drop: false }` [INFO] [stdout] 170ade9633004254f22167aa0b2c74f2b1fc72d04684d69d0b38b19bdcdcb16d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae7b721ca89b9d191fd366acbd9411d0e6ce6d2caf2b1e8b3436717254e66dbc [INFO] running `Command { std: "docker" "start" "-a" "ae7b721ca89b9d191fd366acbd9411d0e6ce6d2caf2b1e8b3436717254e66dbc", kill_on_drop: false }` [INFO] [stderr] Checking cubiomesrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `LARGE_BIOMES` should have an upper camel case name [INFO] [stdout] --> src/generator.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | LARGE_BIOMES, // = 0x1, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LargeBiomes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NO_BETA_OCEAN` should have an upper camel case name [INFO] [stdout] --> src/generator.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | NO_BETA_OCEAN, // = 0x2, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NoBetaOcean` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FORCE_OCEAN_VARIANTS` should have an upper camel case name [INFO] [stdout] --> src/generator.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | FORCE_OCEAN_VARIANTS, // = 0x4, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ForceOceanVariants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LARGE_BIOMES` should have an upper camel case name [INFO] [stdout] --> src/generator.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | LARGE_BIOMES, // = 0x1, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `LargeBiomes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NP_Temperature` should have an upper camel case name [INFO] [stdout] --> src/biomenoise.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | NP_Temperature, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NpTemperature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NP_Humidity` should have an upper camel case name [INFO] [stdout] --> src/biomenoise.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | NP_Humidity, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `NpHumidity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NO_BETA_OCEAN` should have an upper camel case name [INFO] [stdout] --> src/generator.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | NO_BETA_OCEAN, // = 0x2, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NoBetaOcean` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FORCE_OCEAN_VARIANTS` should have an upper camel case name [INFO] [stdout] --> src/generator.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | FORCE_OCEAN_VARIANTS, // = 0x4, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ForceOceanVariants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NP_Continentalness` should have an upper camel case name [INFO] [stdout] --> src/biomenoise.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | NP_Continentalness, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NpContinentalness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NP_Erosion` should have an upper camel case name [INFO] [stdout] --> src/biomenoise.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | NP_Erosion, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `NpErosion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NP_Temperature` should have an upper camel case name [INFO] [stdout] --> src/biomenoise.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | NP_Temperature, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NpTemperature` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NP_Humidity` should have an upper camel case name [INFO] [stdout] --> src/biomenoise.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | NP_Humidity, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `NpHumidity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NP_Shift` should have an upper camel case name [INFO] [stdout] --> src/biomenoise.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | NP_Shift, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `NpShift` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NP_Continentalness` should have an upper camel case name [INFO] [stdout] --> src/biomenoise.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | NP_Continentalness, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NpContinentalness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NP_Depth` should have an upper camel case name [INFO] [stdout] --> src/biomenoise.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | NP_Depth, // NP_DEPTH, not a real climate [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `NpDepth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NP_Erosion` should have an upper camel case name [INFO] [stdout] --> src/biomenoise.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | NP_Erosion, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `NpErosion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NP_Shift` should have an upper camel case name [INFO] [stdout] --> src/biomenoise.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | NP_Shift, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `NpShift` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NP_Weirdness` should have an upper camel case name [INFO] [stdout] --> src/biomenoise.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | NP_Weirdness, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NpWeirdness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NP_Depth` should have an upper camel case name [INFO] [stdout] --> src/biomenoise.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | NP_Depth, // NP_DEPTH, not a real climate [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `NpDepth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SP_CONTINENTALNESS` should have an upper camel case name [INFO] [stdout] --> src/biomenoise.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | SP_CONTINENTALNESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpContinentalness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NP_Weirdness` should have an upper camel case name [INFO] [stdout] --> src/biomenoise.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | NP_Weirdness, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NpWeirdness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SP_CONTINENTALNESS` should have an upper camel case name [INFO] [stdout] --> src/biomenoise.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | SP_CONTINENTALNESS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpContinentalness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SP_EROSION` should have an upper camel case name [INFO] [stdout] --> src/biomenoise.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | SP_EROSION, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErosion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SP_EROSION` should have an upper camel case name [INFO] [stdout] --> src/biomenoise.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | SP_EROSION, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErosion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SP_RIDGES` should have an upper camel case name [INFO] [stdout] --> src/biomenoise.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | SP_RIDGES, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `SpRidges` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SP_RIDGES` should have an upper camel case name [INFO] [stdout] --> src/biomenoise.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | SP_RIDGES, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `SpRidges` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SP_WEIRDNESS` should have an upper camel case name [INFO] [stdout] --> src/biomenoise.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | SP_WEIRDNESS [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpWeirdness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SP_WEIRDNESS` should have an upper camel case name [INFO] [stdout] --> src/biomenoise.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | SP_WEIRDNESS [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpWeirdness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/biomenoise.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 260 | if (weirdness < -0.7) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 260 - if (weirdness < -0.7) { [INFO] [stdout] 260 + if weirdness < -0.7 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/biomenoise.rs:260:8 [INFO] [stdout] | [INFO] [stdout] 260 | if (weirdness < -0.7) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 260 - if (weirdness < -0.7) { [INFO] [stdout] 260 + if weirdness < -0.7 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DIM_NETHER` should have an upper camel case name [INFO] [stdout] --> src/biomes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | DIM_NETHER, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `DimNether` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DIM_NETHER` should have an upper camel case name [INFO] [stdout] --> src/biomes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | DIM_NETHER, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `DimNether` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DIM_OVERWORLD` should have an upper camel case name [INFO] [stdout] --> src/biomes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | DIM_OVERWORLD, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DimOverworld` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DIM_OVERWORLD` should have an upper camel case name [INFO] [stdout] --> src/biomes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | DIM_OVERWORLD, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DimOverworld` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DIM_END` should have an upper camel case name [INFO] [stdout] --> src/biomes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | DIM_END, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `DimEnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DIM_END` should have an upper camel case name [INFO] [stdout] --> src/biomes.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | DIM_END, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `DimEnd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DIM_UNDEF` should have an upper camel case name [INFO] [stdout] --> src/biomes.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | DIM_UNDEF, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `DimUndef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DIM_UNDEF` should have an upper camel case name [INFO] [stdout] --> src/biomes.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | DIM_UNDEF, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `DimUndef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/layers.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | ((a[0] as u64).to_be() | ((a[1] as u64).to_be() << 32)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - ((a[0] as u64).to_be() | ((a[1] as u64).to_be() << 32)) [INFO] [stdout] 57 + (a[0] as u64).to_be() | ((a[1] as u64).to_be() << 32) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/layers.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | ((a[0] as u64).to_be() | ((a[1] as u64).to_be() << 32)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 57 - ((a[0] as u64).to_be() | ((a[1] as u64).to_be() << 32)) [INFO] [stdout] 57 + (a[0] as u64).to_be() | ((a[1] as u64).to_be() << 32) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `&mut FixSpline` as `&mut Spline` [INFO] [stdout] --> src/biomenoise.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | sp as &mut Spline //FIXME: HOW CAN A TRANSFORM THIS FIXSPLINE IN SPLINE!!!!!!! [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `&mut FixSpline` as `&mut Spline` [INFO] [stdout] --> src/biomenoise.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | sp as &mut Spline //FIXME: HOW CAN A TRANSFORM THIS FIXSPLINE IN SPLINE!!!!!!! [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `bn.ss` which is behind a mutable reference [INFO] [stdout] --> src/biomenoise.rs:127:31 [INFO] [stdout] | [INFO] [stdout] 127 | let mut ss: SplineStack = bn.ss; [INFO] [stdout] | ^^^^^ move occurs because `bn.ss` has type `SplineStack`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 127 | let mut ss: SplineStack = &bn.ss; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `ss` as mutable more than once at a time [INFO] [stdout] --> src/biomenoise.rs:132:40 [INFO] [stdout] | [INFO] [stdout] 128 | let mut sp: &mut Spline = &mut ss.stack[ss.len as usize]; [INFO] [stdout] | ------------------------------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 132 | let sp1: Spline = createLandSpline(&mut ss, -0.15, 0.00, 0.0, 0.1, 0.00, -0.03, 0); [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 137 | addSplineVal(&mut sp, -1.10, &createFixSpline(&mut ss, 0.044), 0.0); [INFO] [stdout] | ------- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `ss` as mutable more than once at a time [INFO] [stdout] --> src/biomenoise.rs:133:40 [INFO] [stdout] | [INFO] [stdout] 128 | let mut sp: &mut Spline = &mut ss.stack[ss.len as usize]; [INFO] [stdout] | ------------------------------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 133 | let sp2: Spline = createLandSpline(&mut ss, -0.10, 0.03, 0.1, 0.1, 0.01, -0.03, 0); [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 137 | addSplineVal(&mut sp, -1.10, &createFixSpline(&mut ss, 0.044), 0.0); [INFO] [stdout] | ------- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `ss` as mutable more than once at a time [INFO] [stdout] --> src/biomenoise.rs:134:40 [INFO] [stdout] | [INFO] [stdout] 128 | let mut sp: &mut Spline = &mut ss.stack[ss.len as usize]; [INFO] [stdout] | ------------------------------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 134 | let sp3: Spline = createLandSpline(&mut ss, -0.10, 0.03, 0.1, 0.7, 0.01, -0.03, 1); [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 137 | addSplineVal(&mut sp, -1.10, &createFixSpline(&mut ss, 0.044), 0.0); [INFO] [stdout] | ------- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `ss` as mutable more than once at a time [INFO] [stdout] --> src/biomenoise.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 128 | let mut sp: &mut Spline = &mut ss.stack[ss.len as usize]; [INFO] [stdout] | ------------------------------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 135 | let sp4: Spline = createLandSpline(&mut ss, -0.05, 0.03, 0.1, 1.0, 0.01, 0.01, 1); [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] 136 | [INFO] [stdout] 137 | addSplineVal(&mut sp, -1.10, &createFixSpline(&mut ss, 0.044), 0.0); [INFO] [stdout] | ------- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `ss` as mutable more than once at a time [INFO] [stdout] --> src/biomenoise.rs:137:51 [INFO] [stdout] | [INFO] [stdout] 128 | let mut sp: &mut Spline = &mut ss.stack[ss.len as usize]; [INFO] [stdout] | ------------------------------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 137 | addSplineVal(&mut sp, -1.10, &createFixSpline(&mut ss, 0.044), 0.0); [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] 138 | addSplineVal(&mut sp, -1.02, &createFixSpline(&mut ss, -0.2222), 0.0); [INFO] [stdout] | ------- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `ss` as mutable more than once at a time [INFO] [stdout] --> src/biomenoise.rs:138:51 [INFO] [stdout] | [INFO] [stdout] 128 | let mut sp: &mut Spline = &mut ss.stack[ss.len as usize]; [INFO] [stdout] | ------------------------------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 138 | addSplineVal(&mut sp, -1.02, &createFixSpline(&mut ss, -0.2222), 0.0); [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] 139 | addSplineVal(&mut sp, -0.51, &createFixSpline(&mut ss, -0.2222), 0.0); [INFO] [stdout] | ------- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `ss` as mutable more than once at a time [INFO] [stdout] --> src/biomenoise.rs:139:51 [INFO] [stdout] | [INFO] [stdout] 128 | let mut sp: &mut Spline = &mut ss.stack[ss.len as usize]; [INFO] [stdout] | ------------------------------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 139 | addSplineVal(&mut sp, -0.51, &createFixSpline(&mut ss, -0.2222), 0.0); [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] 140 | addSplineVal(&mut sp, -0.44, &createFixSpline(&mut ss, -0.12), 0.0); [INFO] [stdout] | ------- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `ss` as mutable more than once at a time [INFO] [stdout] --> src/biomenoise.rs:140:51 [INFO] [stdout] | [INFO] [stdout] 128 | let mut sp: &mut Spline = &mut ss.stack[ss.len as usize]; [INFO] [stdout] | ------------------------------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 140 | addSplineVal(&mut sp, -0.44, &createFixSpline(&mut ss, -0.12), 0.0); [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] 141 | addSplineVal(&mut sp, -0.18, &createFixSpline(&mut ss, -0.12), 0.0); [INFO] [stdout] | ------- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `ss` as mutable more than once at a time [INFO] [stdout] --> src/biomenoise.rs:141:51 [INFO] [stdout] | [INFO] [stdout] 128 | let mut sp: &mut Spline = &mut ss.stack[ss.len as usize]; [INFO] [stdout] | ------------------------------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 141 | addSplineVal(&mut sp, -0.18, &createFixSpline(&mut ss, -0.12), 0.0); [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] 142 | addSplineVal(&mut sp, -0.16, &sp1, 0.0); [INFO] [stdout] | ------- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/biomenoise.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 177 | NP_SHIFT => { [INFO] [stdout] | -------- matches any value [INFO] [stdout] ... [INFO] [stdout] 184 | NP_TEMPERATURE => { [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/biomenoise.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 177 | NP_SHIFT => { [INFO] [stdout] | -------- matches any value [INFO] [stdout] ... [INFO] [stdout] 191 | NP_HUMIDITY => { [INFO] [stdout] | ^^^^^^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/biomenoise.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 177 | NP_SHIFT => { [INFO] [stdout] | -------- matches any value [INFO] [stdout] ... [INFO] [stdout] 198 | NP_CONTINENTALNESS => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/biomenoise.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 177 | NP_SHIFT => { [INFO] [stdout] | -------- matches any value [INFO] [stdout] ... [INFO] [stdout] 205 | NP_EROSION => { [INFO] [stdout] | ^^^^^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/biomenoise.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 177 | NP_SHIFT => { [INFO] [stdout] | -------- matches any value [INFO] [stdout] ... [INFO] [stdout] 212 | NP_WEIRDNESS => { [INFO] [stdout] | ^^^^^^^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/biomenoise.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 177 | NP_SHIFT => { [INFO] [stdout] | -------- matches any value [INFO] [stdout] ... [INFO] [stdout] 219 | _ => { [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `bn.ss` which is behind a mutable reference [INFO] [stdout] --> src/biomenoise.rs:127:31 [INFO] [stdout] | [INFO] [stdout] 127 | let mut ss: SplineStack = bn.ss; [INFO] [stdout] | ^^^^^ move occurs because `bn.ss` has type `SplineStack`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 127 | let mut ss: SplineStack = &bn.ss; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `NP_SHIFT` [INFO] [stdout] --> src/biomenoise.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | NP_SHIFT => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_NP_SHIFT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `NP_TEMPERATURE` [INFO] [stdout] --> src/biomenoise.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | NP_TEMPERATURE => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_NP_TEMPERATURE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `NP_HUMIDITY` [INFO] [stdout] --> src/biomenoise.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | NP_HUMIDITY => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_NP_HUMIDITY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `NP_CONTINENTALNESS` [INFO] [stdout] --> src/biomenoise.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | NP_CONTINENTALNESS => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_NP_CONTINENTALNESS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `ss` as mutable more than once at a time [INFO] [stdout] --> src/biomenoise.rs:132:40 [INFO] [stdout] | [INFO] [stdout] 128 | let mut sp: &mut Spline = &mut ss.stack[ss.len as usize]; [INFO] [stdout] | ------------------------------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 132 | let sp1: Spline = createLandSpline(&mut ss, -0.15, 0.00, 0.0, 0.1, 0.00, -0.03, 0); [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 137 | addSplineVal(&mut sp, -1.10, &createFixSpline(&mut ss, 0.044), 0.0); [INFO] [stdout] | ------- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `NP_EROSION` [INFO] [stdout] --> src/biomenoise.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | NP_EROSION => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_NP_EROSION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `NP_WEIRDNESS` [INFO] [stdout] --> src/biomenoise.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | NP_WEIRDNESS => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_NP_WEIRDNESS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `ss` as mutable more than once at a time [INFO] [stdout] --> src/biomenoise.rs:133:40 [INFO] [stdout] | [INFO] [stdout] 128 | let mut sp: &mut Spline = &mut ss.stack[ss.len as usize]; [INFO] [stdout] | ------------------------------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 133 | let sp2: Spline = createLandSpline(&mut ss, -0.10, 0.03, 0.1, 0.1, 0.01, -0.03, 0); [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 137 | addSplineVal(&mut sp, -1.10, &createFixSpline(&mut ss, 0.044), 0.0); [INFO] [stdout] | ------- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `ss` as mutable more than once at a time [INFO] [stdout] --> src/biomenoise.rs:134:40 [INFO] [stdout] | [INFO] [stdout] 128 | let mut sp: &mut Spline = &mut ss.stack[ss.len as usize]; [INFO] [stdout] | ------------------------------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 134 | let sp3: Spline = createLandSpline(&mut ss, -0.10, 0.03, 0.1, 0.7, 0.01, -0.03, 1); [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 137 | addSplineVal(&mut sp, -1.10, &createFixSpline(&mut ss, 0.044), 0.0); [INFO] [stdout] | ------- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `ss` as mutable more than once at a time [INFO] [stdout] --> src/biomenoise.rs:135:40 [INFO] [stdout] | [INFO] [stdout] 128 | let mut sp: &mut Spline = &mut ss.stack[ss.len as usize]; [INFO] [stdout] | ------------------------------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 135 | let sp4: Spline = createLandSpline(&mut ss, -0.05, 0.03, 0.1, 1.0, 0.01, 0.01, 1); [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] 136 | [INFO] [stdout] 137 | addSplineVal(&mut sp, -1.10, &createFixSpline(&mut ss, 0.044), 0.0); [INFO] [stdout] | ------- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `ss` as mutable more than once at a time [INFO] [stdout] --> src/biomenoise.rs:137:51 [INFO] [stdout] | [INFO] [stdout] 128 | let mut sp: &mut Spline = &mut ss.stack[ss.len as usize]; [INFO] [stdout] | ------------------------------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 137 | addSplineVal(&mut sp, -1.10, &createFixSpline(&mut ss, 0.044), 0.0); [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] 138 | addSplineVal(&mut sp, -1.02, &createFixSpline(&mut ss, -0.2222), 0.0); [INFO] [stdout] | ------- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `ss` as mutable more than once at a time [INFO] [stdout] --> src/biomenoise.rs:138:51 [INFO] [stdout] | [INFO] [stdout] 128 | let mut sp: &mut Spline = &mut ss.stack[ss.len as usize]; [INFO] [stdout] | ------------------------------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 138 | addSplineVal(&mut sp, -1.02, &createFixSpline(&mut ss, -0.2222), 0.0); [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] 139 | addSplineVal(&mut sp, -0.51, &createFixSpline(&mut ss, -0.2222), 0.0); [INFO] [stdout] | ------- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `ss` as mutable more than once at a time [INFO] [stdout] --> src/biomenoise.rs:139:51 [INFO] [stdout] | [INFO] [stdout] 128 | let mut sp: &mut Spline = &mut ss.stack[ss.len as usize]; [INFO] [stdout] | ------------------------------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 139 | addSplineVal(&mut sp, -0.51, &createFixSpline(&mut ss, -0.2222), 0.0); [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] 140 | addSplineVal(&mut sp, -0.44, &createFixSpline(&mut ss, -0.12), 0.0); [INFO] [stdout] | ------- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `ss` as mutable more than once at a time [INFO] [stdout] --> src/biomenoise.rs:140:51 [INFO] [stdout] | [INFO] [stdout] 128 | let mut sp: &mut Spline = &mut ss.stack[ss.len as usize]; [INFO] [stdout] | ------------------------------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 140 | addSplineVal(&mut sp, -0.44, &createFixSpline(&mut ss, -0.12), 0.0); [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] 141 | addSplineVal(&mut sp, -0.18, &createFixSpline(&mut ss, -0.12), 0.0); [INFO] [stdout] | ------- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0381]: used binding `pxr` isn't initialized [INFO] [stdout] --> src/biomenoise.rs:231:14 [INFO] [stdout] | [INFO] [stdout] 230 | let mut pxr: Xoroshiro; [INFO] [stdout] | ------- binding declared here but left uninitialized [INFO] [stdout] 231 | xSetSeed(&mut pxr, seed); [INFO] [stdout] | ^^^^^^^^ `pxr` used here but it isn't initialized [INFO] [stdout] | [INFO] [stdout] help: consider assigning a value [INFO] [stdout] | [INFO] [stdout] 230 | let mut pxr: Xoroshiro = todo!(); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0499]: cannot borrow `ss` as mutable more than once at a time [INFO] [stdout] --> src/biomenoise.rs:141:51 [INFO] [stdout] | [INFO] [stdout] 128 | let mut sp: &mut Spline = &mut ss.stack[ss.len as usize]; [INFO] [stdout] | ------------------------------ first mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 141 | addSplineVal(&mut sp, -0.18, &createFixSpline(&mut ss, -0.12), 0.0); [INFO] [stdout] | ^^^^^^^ second mutable borrow occurs here [INFO] [stdout] 142 | addSplineVal(&mut sp, -0.16, &sp1, 0.0); [INFO] [stdout] | ------- first borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `bn.climate[_]` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/biomenoise.rs:239:32 [INFO] [stdout] | [INFO] [stdout] 239 | n += init_climate_seed(&mut bn.climate[i as usize], bn.oct[n as usize], xlo, xhi, if large != 0 {false} else {true}, i, -1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `bn` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 229 | pub fn setBiomeSeed(bn: &mut BiomeNoise, seed: u64, large: i32) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/biomenoise.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 177 | NP_SHIFT => { [INFO] [stdout] | -------- matches any value [INFO] [stdout] ... [INFO] [stdout] 184 | NP_TEMPERATURE => { [INFO] [stdout] | ^^^^^^^^^^^^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/biomenoise.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 177 | NP_SHIFT => { [INFO] [stdout] | -------- matches any value [INFO] [stdout] ... [INFO] [stdout] 191 | NP_HUMIDITY => { [INFO] [stdout] | ^^^^^^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `bn.oct[_]` which is behind a shared reference [INFO] [stdout] --> src/biomenoise.rs:239:61 [INFO] [stdout] | [INFO] [stdout] 239 | n += init_climate_seed(&mut bn.climate[i as usize], bn.oct[n as usize], xlo, xhi, if large != 0 {false} else {true}, i, -1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ move occurs because `bn.oct[_]` has type `PerlinNoise`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/biomenoise.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 177 | NP_SHIFT => { [INFO] [stdout] | -------- matches any value [INFO] [stdout] ... [INFO] [stdout] 198 | NP_CONTINENTALNESS => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/biomenoise.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 177 | NP_SHIFT => { [INFO] [stdout] | -------- matches any value [INFO] [stdout] ... [INFO] [stdout] 205 | NP_EROSION => { [INFO] [stdout] | ^^^^^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/biomenoise.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 177 | NP_SHIFT => { [INFO] [stdout] | -------- matches any value [INFO] [stdout] ... [INFO] [stdout] 212 | NP_WEIRDNESS => { [INFO] [stdout] | ^^^^^^^^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/biomenoise.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 177 | NP_SHIFT => { [INFO] [stdout] | -------- matches any value [INFO] [stdout] ... [INFO] [stdout] 219 | _ => { [INFO] [stdout] | ^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `bn.nptype`, which is behind a `&` reference [INFO] [stdout] --> src/biomenoise.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | bn.nptype = -1; [INFO] [stdout] | ^^^^^^^^^^^^^^ `bn` is a `&` reference, so the data it refers to cannot be written [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 229 | pub fn setBiomeSeed(bn: &mut BiomeNoise, seed: u64, large: i32) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `NP_SHIFT` [INFO] [stdout] --> src/biomenoise.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | NP_SHIFT => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_NP_SHIFT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `NP_TEMPERATURE` [INFO] [stdout] --> src/biomenoise.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | NP_TEMPERATURE => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_NP_TEMPERATURE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `NP_HUMIDITY` [INFO] [stdout] --> src/biomenoise.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | NP_HUMIDITY => { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_NP_HUMIDITY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `NP_CONTINENTALNESS` [INFO] [stdout] --> src/biomenoise.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | NP_CONTINENTALNESS => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_NP_CONTINENTALNESS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `NP_EROSION` [INFO] [stdout] --> src/biomenoise.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | NP_EROSION => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_NP_EROSION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `NP_WEIRDNESS` [INFO] [stdout] --> src/biomenoise.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | NP_WEIRDNESS => { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_NP_WEIRDNESS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `ss.stack[_]` which is behind a mutable reference [INFO] [stdout] --> src/biomenoise.rs:276:26 [INFO] [stdout] | [INFO] [stdout] 276 | let mut sp: Spline = ss.stack[ss.len as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `ss.stack[_]` has type `Spline`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 276 | let mut sp: Spline = &ss.stack[ss.len as usize]; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `ss.stack[_]` which is behind a mutable reference [INFO] [stdout] --> src/biomenoise.rs:312:26 [INFO] [stdout] | [INFO] [stdout] 312 | let mut sp: Spline = ss.stack[ss.len as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `ss.stack[_]` has type `Spline`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 312 | let mut sp: Spline = &ss.stack[ss.len as usize]; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0381]: used binding `pxr` isn't initialized [INFO] [stdout] --> src/biomenoise.rs:231:14 [INFO] [stdout] | [INFO] [stdout] 230 | let mut pxr: Xoroshiro; [INFO] [stdout] | ------- binding declared here but left uninitialized [INFO] [stdout] 231 | xSetSeed(&mut pxr, seed); [INFO] [stdout] | ^^^^^^^^ `pxr` used here but it isn't initialized [INFO] [stdout] | [INFO] [stdout] help: consider assigning a value [INFO] [stdout] | [INFO] [stdout] 230 | let mut pxr: Xoroshiro = todo!(); [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `bn.climate[_]` as mutable, as it is behind a `&` reference [INFO] [stdout] --> src/biomenoise.rs:239:32 [INFO] [stdout] | [INFO] [stdout] 239 | n += init_climate_seed(&mut bn.climate[i as usize], bn.oct[n as usize], xlo, xhi, if large != 0 {false} else {true}, i, -1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `bn` is a `&` reference, so the data it refers to cannot be borrowed as mutable [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 229 | pub fn setBiomeSeed(bn: &mut BiomeNoise, seed: u64, large: i32) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `bn.oct[_]` which is behind a shared reference [INFO] [stdout] --> src/biomenoise.rs:239:61 [INFO] [stdout] | [INFO] [stdout] 239 | n += init_climate_seed(&mut bn.climate[i as usize], bn.oct[n as usize], xlo, xhi, if large != 0 {false} else {true}, i, -1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ move occurs because `bn.oct[_]` has type `PerlinNoise`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `bn.nptype`, which is behind a `&` reference [INFO] [stdout] --> src/biomenoise.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | bn.nptype = -1; [INFO] [stdout] | ^^^^^^^^^^^^^^ `bn` is a `&` reference, so the data it refers to cannot be written [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 229 | pub fn setBiomeSeed(bn: &mut BiomeNoise, seed: u64, large: i32) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `ss.stack[_]` which is behind a mutable reference [INFO] [stdout] --> src/biomenoise.rs:340:27 [INFO] [stdout] | [INFO] [stdout] 340 | let mut sp8: Spline = ss.stack[ss.len as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `ss.stack[_]` has type `Spline`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 340 | let mut sp8: Spline = &ss.stack[ss.len as usize]; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `ss.stack[_]` which is behind a mutable reference [INFO] [stdout] --> src/biomenoise.rs:349:26 [INFO] [stdout] | [INFO] [stdout] 349 | let mut sp: Spline = ss.stack[ss.len as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `ss.stack[_]` has type `Spline`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 349 | let mut sp: Spline = &ss.stack[ss.len as usize]; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/noise.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut i: i32 = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `ss.stack[_]` which is behind a mutable reference [INFO] [stdout] --> src/biomenoise.rs:276:26 [INFO] [stdout] | [INFO] [stdout] 276 | let mut sp: Spline = ss.stack[ss.len as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `ss.stack[_]` has type `Spline`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 276 | let mut sp: Spline = &ss.stack[ss.len as usize]; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/noise.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut i: i32 = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `ss.stack[_]` which is behind a mutable reference [INFO] [stdout] --> src/biomenoise.rs:312:26 [INFO] [stdout] | [INFO] [stdout] 312 | let mut sp: Spline = ss.stack[ss.len as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `ss.stack[_]` has type `Spline`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 312 | let mut sp: Spline = &ss.stack[ss.len as usize]; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/noise.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let mut xlo = xNextLong(xr); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/noise.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let mut xhi = xNextLong(xr); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0508]: cannot move out of type `[PerlinNoise]`, a non-copy slice [INFO] [stdout] --> src/noise.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | noise.octaves = octaves[0]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot move out of here [INFO] [stdout] | move occurs because `octaves[_]` has type `PerlinNoise`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `ss.stack[_]` which is behind a mutable reference [INFO] [stdout] --> src/biomenoise.rs:340:27 [INFO] [stdout] | [INFO] [stdout] 340 | let mut sp8: Spline = ss.stack[ss.len as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `ss.stack[_]` has type `Spline`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 340 | let mut sp8: Spline = &ss.stack[ss.len as usize]; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `ss.stack[_]` which is behind a mutable reference [INFO] [stdout] --> src/biomenoise.rs:349:26 [INFO] [stdout] | [INFO] [stdout] 349 | let mut sp: Spline = ss.stack[ss.len as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ move occurs because `ss.stack[_]` has type `Spline`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 349 | let mut sp: Spline = &ss.stack[ss.len as usize]; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/noise.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let mut i: i32 = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0508]: cannot move out of type `[PerlinNoise]`, a non-copy slice [INFO] [stdout] --> src/noise.rs:128:49 [INFO] [stdout] | [INFO] [stdout] 128 | n += xOctaveInit(&mut noise.octA, xr, &mut [octaves[n as usize]], amplitudes, omin, len, na); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot move out of here [INFO] [stdout] | move occurs because `octaves[_]` has type `PerlinNoise`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0508]: cannot move out of type `[PerlinNoise]`, a non-copy slice [INFO] [stdout] --> src/noise.rs:129:49 [INFO] [stdout] | [INFO] [stdout] 129 | n += xOctaveInit(&mut noise.octB, xr, &mut [octaves[(n + na) as usize]], amplitudes, omin, len, nb); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot move out of here [INFO] [stdout] | move occurs because `octaves[_]` has type `PerlinNoise`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rng.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut new_l = l.rotate_left(49) ^ h ^ (h << 21); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/noise.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let mut i: i32 = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/noise.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let mut xlo = xNextLong(xr); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/noise.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let mut xhi = xNextLong(xr); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0508]: cannot move out of type `[PerlinNoise]`, a non-copy slice [INFO] [stdout] --> src/noise.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | noise.octaves = octaves[0]; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot move out of here [INFO] [stdout] | move occurs because `octaves[_]` has type `PerlinNoise`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0508]: cannot move out of type `[PerlinNoise]`, a non-copy slice [INFO] [stdout] --> src/noise.rs:128:49 [INFO] [stdout] | [INFO] [stdout] 128 | n += xOctaveInit(&mut noise.octA, xr, &mut [octaves[n as usize]], amplitudes, omin, len, na); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot move out of here [INFO] [stdout] | move occurs because `octaves[_]` has type `PerlinNoise`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0508]: cannot move out of type `[PerlinNoise]`, a non-copy slice [INFO] [stdout] --> src/noise.rs:129:49 [INFO] [stdout] | [INFO] [stdout] 129 | n += xOctaveInit(&mut noise.octB, xr, &mut [octaves[(n + na) as usize]], amplitudes, omin, len, nb); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot move out of here [INFO] [stdout] | move occurs because `octaves[_]` has type `PerlinNoise`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rng.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut new_l = l.rotate_left(49) ^ h ^ (h << 21); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0381, E0499, E0507, E0508, E0594, E0596, E0605. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0381`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0381, E0499, E0507, E0508, E0594, E0596, E0605. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0381`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cubiomesrs` (bin "cubiomesrs" test) due to 23 previous errors; 37 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cubiomesrs` (bin "cubiomesrs") due to 23 previous errors; 37 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ae7b721ca89b9d191fd366acbd9411d0e6ce6d2caf2b1e8b3436717254e66dbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae7b721ca89b9d191fd366acbd9411d0e6ce6d2caf2b1e8b3436717254e66dbc", kill_on_drop: false }` [INFO] [stdout] ae7b721ca89b9d191fd366acbd9411d0e6ce6d2caf2b1e8b3436717254e66dbc