[INFO] cloning repository https://github.com/zalt00/mapgeneration [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zalt00/mapgeneration" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzalt00%2Fmapgeneration", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzalt00%2Fmapgeneration'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3bb6606b875f711b32a6be72da68c8be1cf59552 [INFO] checking zalt00/mapgeneration against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzalt00%2Fmapgeneration" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zalt00/mapgeneration [INFO] finished tweaking git repo https://github.com/zalt00/mapgeneration [INFO] tweaked toml for git repo https://github.com/zalt00/mapgeneration written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zalt00/mapgeneration on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zalt00/mapgeneration 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9dbf8bb2dadd632bb61031c07ae1b847d1254e0efd36e864044ec8b4f2da320 [INFO] running `Command { std: "docker" "start" "-a" "f9dbf8bb2dadd632bb61031c07ae1b847d1254e0efd36e864044ec8b4f2da320", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9dbf8bb2dadd632bb61031c07ae1b847d1254e0efd36e864044ec8b4f2da320", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9dbf8bb2dadd632bb61031c07ae1b847d1254e0efd36e864044ec8b4f2da320", kill_on_drop: false }` [INFO] [stdout] f9dbf8bb2dadd632bb61031c07ae1b847d1254e0efd36e864044ec8b4f2da320 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c18c002bc67b012a033cfd1468c2f686fa2d188ffe29e1d43a9d61895561c628 [INFO] running `Command { std: "docker" "start" "-a" "c18c002bc67b012a033cfd1468c2f686fa2d188ffe29e1d43a9d61895561c628", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Checking mapgeneration v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn new(array: &mut Arr2d, n_array: u32, reduced_n: u32) -> ReducedArrayWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 228 | pub fn new(array: &mut Arr2d, n_array: u32, reduced_n: u32) -> ReducedArrayWrapper<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/erosion.rs:50:107 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(relative_points_table: &'a Vec, height_map_width: usize, x: i32, y: i32) -> PointsInRangeIterator { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(relative_points_table: &'a Vec, height_map_width: usize, x: i32, y: i32) -> PointsInRangeIterator<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils.rs:228:23 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn new(array: &mut Arr2d, n_array: u32, reduced_n: u32) -> ReducedArrayWrapper { [INFO] [stdout] | ^^^^^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 228 | pub fn new(array: &mut Arr2d, n_array: u32, reduced_n: u32) -> ReducedArrayWrapper<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/erosion.rs:50:107 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(relative_points_table: &'a Vec, height_map_width: usize, x: i32, y: i32) -> PointsInRangeIterator { [INFO] [stdout] | -- the lifetime is named here ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(relative_points_table: &'a Vec, height_map_width: usize, x: i32, y: i32) -> PointsInRangeIterator<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/erosion.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | pos_x = next_random_number(array_max_index as u64, rng).try_into().expect("Error while converting"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/erosion.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | pos_y = next_random_number(array_max_index as u64, rng).try_into().expect("Error while converting"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/erosion.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | pos_x = next_random_number(array_max_index as u64, rng).try_into().expect("Error while converting"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/erosion.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | pos_y = next_random_number(array_max_index as u64, rng).try_into().expect("Error while converting"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mapgeneration` (bin "mapgeneration") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mapgeneration` (bin "mapgeneration" test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c18c002bc67b012a033cfd1468c2f686fa2d188ffe29e1d43a9d61895561c628", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c18c002bc67b012a033cfd1468c2f686fa2d188ffe29e1d43a9d61895561c628", kill_on_drop: false }` [INFO] [stdout] c18c002bc67b012a033cfd1468c2f686fa2d188ffe29e1d43a9d61895561c628