[INFO] cloning repository https://github.com/mich101mich/game_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mich101mich/game_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmich101mich%2Fgame_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmich101mich%2Fgame_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f5e2796d3f8437e9630777e745ed7b8b2a513d30 [INFO] checking mich101mich/game_rs against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmich101mich%2Fgame_rs" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mich101mich/game_rs on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mich101mich/game_rs [INFO] finished tweaking git repo https://github.com/mich101mich/game_rs [INFO] tweaked toml for git repo https://github.com/mich101mich/game_rs written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/mich101mich/game_rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/mich101mich/hierarchical_pathfinding` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0ff228e7f4a20b6239b703595d8a97ecf4cfae053995ac8fd68002585c297a2 [INFO] running `Command { std: "docker" "start" "-a" "d0ff228e7f4a20b6239b703595d8a97ecf4cfae053995ac8fd68002585c297a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0ff228e7f4a20b6239b703595d8a97ecf4cfae053995ac8fd68002585c297a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0ff228e7f4a20b6239b703595d8a97ecf4cfae053995ac8fd68002585c297a2", kill_on_drop: false }` [INFO] [stdout] d0ff228e7f4a20b6239b703595d8a97ecf4cfae053995ac8fd68002585c297a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be3774bc3165624a25c08b6fa0557b29f39088a1f349c820bfb0085135ff64ba [INFO] running `Command { std: "docker" "start" "-a" "be3774bc3165624a25c08b6fa0557b29f39088a1f349c820bfb0085135ff64ba", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] getrandom v0.1.14: stdweb [INFO] [stderr] rand v0.7.3: stdweb [INFO] [stderr] [INFO] [stderr] Compiling sfml-build v0.2.0 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking hierarchical_pathfinding v0.3.4 (https://github.com/mich101mich/hierarchical_pathfinding#907fd627) [INFO] [stderr] Compiling csfml-system-sys v0.4.0 [INFO] [stderr] Compiling csfml-window-sys v0.4.0 [INFO] [stderr] Compiling csfml-audio-sys v0.4.0 [INFO] [stderr] Compiling csfml-graphics-sys v0.4.0 [INFO] [stderr] Checking sfml v0.14.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking game v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error[E0759]: `self` has an anonymous lifetime `'_` but it needs to satisfy a `'static` lifetime requirement [INFO] [stdout] --> src/ui/clickable.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 6 | fn context_menu(&self) -> Box> { [INFO] [stdout] | ----- this data with an anonymous lifetime `'_`... [INFO] [stdout] 7 | Box::new(std::iter::empty()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...is captured and required to live as long as `'static` here [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `self`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 6 | fn context_menu(&self) -> Box + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0759]: `self` has an anonymous lifetime `'_` but it needs to satisfy a `'static` lifetime requirement [INFO] [stdout] --> src/entity/worker.rs:63:3 [INFO] [stdout] | [INFO] [stdout] 62 | fn context_menu(&self) -> Box> { [INFO] [stdout] | ----- this data with an anonymous lifetime `'_`... [INFO] [stdout] 63 | Box::new([(CONTEXT_KILL, "kill")].iter()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...is captured and required to live as long as `'static` here [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `self`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 62 | fn context_menu(&self) -> Box + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0759]: `self` has an anonymous lifetime `'_` but it needs to satisfy a `'static` lifetime requirement [INFO] [stdout] --> src/world/wrapper.rs:103:3 [INFO] [stdout] | [INFO] [stdout] 99 | &self, [INFO] [stdout] | ----- this data with an anonymous lifetime `'_`... [INFO] [stdout] ... [INFO] [stdout] 103 | / match self[tile] { [INFO] [stdout] 104 | | Air => Box::new([(Self::AIR_PLACE_PLATFORM, "Place Platform")].iter()), [INFO] [stdout] 105 | | Bedrock => panic!("Bedrock was selected"), [INFO] [stdout] 106 | | Granite | Rock | Ore | Crystal => Box::new([(Self::TILE_REMOVE, "Remove")].iter()), [INFO] [stdout] ... | [INFO] [stdout] 121 | | }, [INFO] [stdout] 122 | | } [INFO] [stdout] | |_________^ ...is captured and required to live as long as `'static` here [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `self`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 101 | ) -> Box + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0759]: `self` has an anonymous lifetime `'_` but it needs to satisfy a `'static` lifetime requirement [INFO] [stdout] --> src/world/wrapper.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 99 | &self, [INFO] [stdout] | ----- this data with an anonymous lifetime `'_`... [INFO] [stdout] ... [INFO] [stdout] 104 | Air => Box::new([(Self::AIR_PLACE_PLATFORM, "Place Platform")].iter()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...is captured and required to live as long as `'static` here [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `self`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 101 | ) -> Box + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0759]: `self` has an anonymous lifetime `'_` but it needs to satisfy a `'static` lifetime requirement [INFO] [stdout] --> src/world/wrapper.rs:110:27 [INFO] [stdout] | [INFO] [stdout] 99 | &self, [INFO] [stdout] | ----- this data with an anonymous lifetime `'_`... [INFO] [stdout] ... [INFO] [stdout] 110 | MachineType::Spawn => Box::new( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 111 | | [ [INFO] [stdout] 112 | | (Self::SPAWN_NEW_WORKER, "Spawn Worker"), [INFO] [stdout] 113 | | (Self::TILE_REMOVE, "Destroy"), [INFO] [stdout] 114 | | ] [INFO] [stdout] 115 | | .iter(), [INFO] [stdout] 116 | | ), [INFO] [stdout] | |_________________^ ...is captured and required to live as long as `'static` here [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `self`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 101 | ) -> Box + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0759]: `self` has an anonymous lifetime `'_` but it needs to satisfy a `'static` lifetime requirement [INFO] [stdout] --> src/world/wrapper.rs:118:6 [INFO] [stdout] | [INFO] [stdout] 99 | &self, [INFO] [stdout] | ----- this data with an anonymous lifetime `'_`... [INFO] [stdout] ... [INFO] [stdout] 118 | Box::new([(0, "TODO: Research"), (Self::TILE_REMOVE, "Destroy")].iter()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...is captured and required to live as long as `'static` here [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `self`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 101 | ) -> Box + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0759]: `self` has an anonymous lifetime `'_` but it needs to satisfy a `'static` lifetime requirement [INFO] [stdout] --> src/world/wrapper.rs:128:3 [INFO] [stdout] | [INFO] [stdout] 125 | &self, [INFO] [stdout] | ----- this data with an anonymous lifetime `'_`... [INFO] [stdout] ... [INFO] [stdout] 128 | Box::new([(Self::TILE_REMOVE, "Remove")].iter()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...is captured and required to live as long as `'static` here [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `self`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 127 | ) -> Box + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0759`. [INFO] [stdout] [INFO] [stderr] error: could not compile `game` due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0759]: `self` has an anonymous lifetime `'_` but it needs to satisfy a `'static` lifetime requirement [INFO] [stdout] --> src/ui/clickable.rs:7:3 [INFO] [stdout] | [INFO] [stdout] 6 | fn context_menu(&self) -> Box> { [INFO] [stdout] | ----- this data with an anonymous lifetime `'_`... [INFO] [stdout] 7 | Box::new(std::iter::empty()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...is captured and required to live as long as `'static` here [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `self`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 6 | fn context_menu(&self) -> Box + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0759]: `self` has an anonymous lifetime `'_` but it needs to satisfy a `'static` lifetime requirement [INFO] [stdout] --> src/entity/worker.rs:63:3 [INFO] [stdout] | [INFO] [stdout] 62 | fn context_menu(&self) -> Box> { [INFO] [stdout] | ----- this data with an anonymous lifetime `'_`... [INFO] [stdout] 63 | Box::new([(CONTEXT_KILL, "kill")].iter()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...is captured and required to live as long as `'static` here [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `self`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 62 | fn context_menu(&self) -> Box + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0759]: `self` has an anonymous lifetime `'_` but it needs to satisfy a `'static` lifetime requirement [INFO] [stdout] --> src/world/wrapper.rs:103:3 [INFO] [stdout] | [INFO] [stdout] 99 | &self, [INFO] [stdout] | ----- this data with an anonymous lifetime `'_`... [INFO] [stdout] ... [INFO] [stdout] 103 | / match self[tile] { [INFO] [stdout] 104 | | Air => Box::new([(Self::AIR_PLACE_PLATFORM, "Place Platform")].iter()), [INFO] [stdout] 105 | | Bedrock => panic!("Bedrock was selected"), [INFO] [stdout] 106 | | Granite | Rock | Ore | Crystal => Box::new([(Self::TILE_REMOVE, "Remove")].iter()), [INFO] [stdout] ... | [INFO] [stdout] 121 | | }, [INFO] [stdout] 122 | | } [INFO] [stdout] | |_________^ ...is captured and required to live as long as `'static` here [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `self`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 101 | ) -> Box + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0759]: `self` has an anonymous lifetime `'_` but it needs to satisfy a `'static` lifetime requirement [INFO] [stdout] --> src/world/wrapper.rs:104:11 [INFO] [stdout] | [INFO] [stdout] 99 | &self, [INFO] [stdout] | ----- this data with an anonymous lifetime `'_`... [INFO] [stdout] ... [INFO] [stdout] 104 | Air => Box::new([(Self::AIR_PLACE_PLATFORM, "Place Platform")].iter()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...is captured and required to live as long as `'static` here [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `self`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 101 | ) -> Box + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0759]: `self` has an anonymous lifetime `'_` but it needs to satisfy a `'static` lifetime requirement [INFO] [stdout] --> src/world/wrapper.rs:110:27 [INFO] [stdout] | [INFO] [stdout] 99 | &self, [INFO] [stdout] | ----- this data with an anonymous lifetime `'_`... [INFO] [stdout] ... [INFO] [stdout] 110 | MachineType::Spawn => Box::new( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 111 | | [ [INFO] [stdout] 112 | | (Self::SPAWN_NEW_WORKER, "Spawn Worker"), [INFO] [stdout] 113 | | (Self::TILE_REMOVE, "Destroy"), [INFO] [stdout] 114 | | ] [INFO] [stdout] 115 | | .iter(), [INFO] [stdout] 116 | | ), [INFO] [stdout] | |_________________^ ...is captured and required to live as long as `'static` here [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `self`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 101 | ) -> Box + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0759]: `self` has an anonymous lifetime `'_` but it needs to satisfy a `'static` lifetime requirement [INFO] [stdout] --> src/world/wrapper.rs:118:6 [INFO] [stdout] | [INFO] [stdout] 99 | &self, [INFO] [stdout] | ----- this data with an anonymous lifetime `'_`... [INFO] [stdout] ... [INFO] [stdout] 118 | Box::new([(0, "TODO: Research"), (Self::TILE_REMOVE, "Destroy")].iter()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...is captured and required to live as long as `'static` here [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `self`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 101 | ) -> Box + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0759]: `self` has an anonymous lifetime `'_` but it needs to satisfy a `'static` lifetime requirement [INFO] [stdout] --> src/world/wrapper.rs:128:3 [INFO] [stdout] | [INFO] [stdout] 125 | &self, [INFO] [stdout] | ----- this data with an anonymous lifetime `'_`... [INFO] [stdout] ... [INFO] [stdout] 128 | Box::new([(Self::TILE_REMOVE, "Remove")].iter()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...is captured and required to live as long as `'static` here [INFO] [stdout] | [INFO] [stdout] help: to declare that the trait object captures data from argument `self`, you can add an explicit `'_` lifetime bound [INFO] [stdout] | [INFO] [stdout] 127 | ) -> Box + '_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0759`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "be3774bc3165624a25c08b6fa0557b29f39088a1f349c820bfb0085135ff64ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be3774bc3165624a25c08b6fa0557b29f39088a1f349c820bfb0085135ff64ba", kill_on_drop: false }` [INFO] [stdout] be3774bc3165624a25c08b6fa0557b29f39088a1f349c820bfb0085135ff64ba