[INFO] cloning repository https://github.com/rdavidson1994/sand [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rdavidson1994/sand" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frdavidson1994%2Fsand", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frdavidson1994%2Fsand'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f913b30e85c0a199bf08941db1b12401f7cfca48 [INFO] testing rdavidson1994/sand against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frdavidson1994%2Fsand" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rdavidson1994/sand [INFO] finished tweaking git repo https://github.com/rdavidson1994/sand [INFO] tweaked toml for git repo https://github.com/rdavidson1994/sand written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rdavidson1994/sand on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rdavidson1994/sand 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pistoncore-glutin_window v0.64.0 [INFO] [stderr] Downloaded glutin_egl_sys v0.1.6 [INFO] [stderr] Downloaded glutin_glx_sys v0.1.8 [INFO] [stderr] Downloaded piston-float v1.0.1 [INFO] [stderr] Downloaded crossterm_winapi v0.6.2 [INFO] [stderr] Downloaded piston v0.50.0 [INFO] [stderr] Downloaded pistoncore-window v0.45.0 [INFO] [stderr] Downloaded num v0.3.1 [INFO] [stderr] Downloaded bytemuck v1.12.0 [INFO] [stderr] Downloaded num-bigint v0.3.3 [INFO] [stderr] Downloaded crossterm v0.17.7 [INFO] [stderr] Downloaded pistoncore-event_loop v0.50.0 [INFO] [stderr] Downloaded pistoncore-input v0.28.1 [INFO] [stderr] Downloaded piston-viewport v1.0.2 [INFO] [stderr] Downloaded piston2d-opengl_graphics v0.72.0 [INFO] [stderr] Downloaded mem v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac079c10c0cbcb5fbe70b3c6cf7eb44f475100a8b82b8dc55de207ab3e9cda7f [INFO] running `Command { std: "docker" "start" "-a" "ac079c10c0cbcb5fbe70b3c6cf7eb44f475100a8b82b8dc55de207ab3e9cda7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac079c10c0cbcb5fbe70b3c6cf7eb44f475100a8b82b8dc55de207ab3e9cda7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac079c10c0cbcb5fbe70b3c6cf7eb44f475100a8b82b8dc55de207ab3e9cda7f", kill_on_drop: false }` [INFO] [stdout] ac079c10c0cbcb5fbe70b3c6cf7eb44f475100a8b82b8dc55de207ab3e9cda7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 217f66cf2587b2e4f5b8ab9bf539f281a17ee5b9af92f8c1d1d85b0aae553caf [INFO] running `Command { std: "docker" "start" "-a" "217f66cf2587b2e4f5b8ab9bf539f281a17ee5b9af92f8c1d1d85b0aae553caf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.11 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling once_cell v1.13.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.10 [INFO] [stderr] Compiling piston-float v1.0.1 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Compiling piston-viewport v1.0.2 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Compiling x11-dl v2.20.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling rusttype v0.8.3 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling glutin_glx_sys v0.1.8 [INFO] [stderr] Compiling glutin_egl_sys v0.1.6 [INFO] [stderr] Compiling gimli v0.26.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.6 [INFO] [stderr] Compiling xdg v2.4.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.2 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling shader_version v0.6.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling bytemuck v1.12.0 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling piston2d-graphics v0.36.0 [INFO] [stderr] Compiling signal-hook v0.1.17 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling crossterm v0.17.7 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling mem v0.5.0 [INFO] [stderr] Compiling pistoncore-input v0.28.1 [INFO] [stderr] Compiling pistoncore-window v0.45.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.50.0 [INFO] [stderr] Compiling piston v0.50.0 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.72.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling glutin v0.21.2 [INFO] [stderr] Compiling pistoncore-glutin_window v0.64.0 [INFO] [stderr] Compiling sand v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/world.rs:119:34 [INFO] [stdout] | [INFO] [stdout] 119 | fn mutate_neighborhood(slice: &mut [T], index: usize) -> (&mut T, Neighborhood) { [INFO] [stdout] | ^^^^^^^^ ------ --------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 119 | fn mutate_neighborhood(slice: &mut [T], index: usize) -> (&mut T, Neighborhood<'_, T>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/world.rs:529:29 [INFO] [stdout] | [INFO] [stdout] 529 | pub fn mutate_neighbors(&mut self, index: usize) -> (&mut Tile, Neighborhood>) { [INFO] [stdout] | ^^^^^^^^^ --------- -------------------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 529 | pub fn mutate_neighbors(&mut self, index: usize) -> (&mut Tile, Neighborhood<'_, Option>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/world_view.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn first(&mut self) -> NeighborhoodView { [INFO] [stdout] | ^^^^^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn first(&mut self) -> NeighborhoodView<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/world_view.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn second(&mut self) -> NeighborhoodView { [INFO] [stdout] | ^^^^^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 65 | pub fn second(&mut self) -> NeighborhoodView<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 28s [INFO] running `Command { std: "docker" "inspect" "217f66cf2587b2e4f5b8ab9bf539f281a17ee5b9af92f8c1d1d85b0aae553caf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "217f66cf2587b2e4f5b8ab9bf539f281a17ee5b9af92f8c1d1d85b0aae553caf", kill_on_drop: false }` [INFO] [stdout] 217f66cf2587b2e4f5b8ab9bf539f281a17ee5b9af92f8c1d1d85b0aae553caf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 253a2acaf2da736c83c155f437550f41337c37dff7743800bb9d629b48da8439 [INFO] running `Command { std: "docker" "start" "-a" "253a2acaf2da736c83c155f437550f41337c37dff7743800bb9d629b48da8439", kill_on_drop: false }` [INFO] [stderr] Compiling sand v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/world.rs:119:34 [INFO] [stdout] | [INFO] [stdout] 119 | fn mutate_neighborhood(slice: &mut [T], index: usize) -> (&mut T, Neighborhood) { [INFO] [stdout] | ^^^^^^^^ ------ --------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 119 | fn mutate_neighborhood(slice: &mut [T], index: usize) -> (&mut T, Neighborhood<'_, T>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/world.rs:529:29 [INFO] [stdout] | [INFO] [stdout] 529 | pub fn mutate_neighbors(&mut self, index: usize) -> (&mut Tile, Neighborhood>) { [INFO] [stdout] | ^^^^^^^^^ --------- -------------------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 529 | pub fn mutate_neighbors(&mut self, index: usize) -> (&mut Tile, Neighborhood<'_, Option>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/world_view.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn first(&mut self) -> NeighborhoodView { [INFO] [stdout] | ^^^^^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn first(&mut self) -> NeighborhoodView<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/world_view.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn second(&mut self) -> NeighborhoodView { [INFO] [stdout] | ^^^^^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 65 | pub fn second(&mut self) -> NeighborhoodView<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/world.rs:119:34 [INFO] [stdout] | [INFO] [stdout] 119 | fn mutate_neighborhood(slice: &mut [T], index: usize) -> (&mut T, Neighborhood) { [INFO] [stdout] | ^^^^^^^^ ------ --------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 119 | fn mutate_neighborhood(slice: &mut [T], index: usize) -> (&mut T, Neighborhood<'_, T>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/world.rs:529:29 [INFO] [stdout] | [INFO] [stdout] 529 | pub fn mutate_neighbors(&mut self, index: usize) -> (&mut Tile, Neighborhood>) { [INFO] [stdout] | ^^^^^^^^^ --------- -------------------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 529 | pub fn mutate_neighbors(&mut self, index: usize) -> (&mut Tile, Neighborhood<'_, Option>) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/world_view.rs:60:18 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn first(&mut self) -> NeighborhoodView { [INFO] [stdout] | ^^^^^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 60 | pub fn first(&mut self) -> NeighborhoodView<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/world_view.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn second(&mut self) -> NeighborhoodView { [INFO] [stdout] | ^^^^^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 65 | pub fn second(&mut self) -> NeighborhoodView<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.19s [INFO] running `Command { std: "docker" "inspect" "253a2acaf2da736c83c155f437550f41337c37dff7743800bb9d629b48da8439", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "253a2acaf2da736c83c155f437550f41337c37dff7743800bb9d629b48da8439", kill_on_drop: false }` [INFO] [stdout] 253a2acaf2da736c83c155f437550f41337c37dff7743800bb9d629b48da8439 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7052c350e4ade06884a58e08b9127c86e9701b97b5205a33d9f9d61c039d4d4f [INFO] running `Command { std: "docker" "start" "-a" "7052c350e4ade06884a58e08b9127c86e9701b97b5205a33d9f9d61c039d4d4f", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/world.rs:119:34 [INFO] [stderr] | [INFO] [stderr] 119 | fn mutate_neighborhood(slice: &mut [T], index: usize) -> (&mut T, Neighborhood) { [INFO] [stderr] | ^^^^^^^^ ------ --------------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 119 | fn mutate_neighborhood(slice: &mut [T], index: usize) -> (&mut T, Neighborhood<'_, T>) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/world.rs:529:29 [INFO] [stderr] | [INFO] [stderr] 529 | pub fn mutate_neighbors(&mut self, index: usize) -> (&mut Tile, Neighborhood>) { [INFO] [stderr] | ^^^^^^^^^ --------- -------------------------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 529 | pub fn mutate_neighbors(&mut self, index: usize) -> (&mut Tile, Neighborhood<'_, Option>) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/world_view.rs:60:18 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn first(&mut self) -> NeighborhoodView { [INFO] [stderr] | ^^^^^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 60 | pub fn first(&mut self) -> NeighborhoodView<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/world_view.rs:65:19 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn second(&mut self) -> NeighborhoodView { [INFO] [stderr] | ^^^^^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 65 | pub fn second(&mut self) -> NeighborhoodView<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `sand` (lib) generated 4 warnings (run `cargo fix --lib -p sand` to apply 4 suggestions) [INFO] [stderr] warning: `sand` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.40s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/sand-728905d3e9f45ea3) [INFO] [stdout] running 1 test [INFO] [stdout] test world::mutate_neighborhood_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/sand-8a044e2e969e8d46) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7052c350e4ade06884a58e08b9127c86e9701b97b5205a33d9f9d61c039d4d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7052c350e4ade06884a58e08b9127c86e9701b97b5205a33d9f9d61c039d4d4f", kill_on_drop: false }` [INFO] [stdout] 7052c350e4ade06884a58e08b9127c86e9701b97b5205a33d9f9d61c039d4d4f