[INFO] cloning repository https://github.com/SF-Software/Shadow-RPG [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SF-Software/Shadow-RPG" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSF-Software%2FShadow-RPG", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSF-Software%2FShadow-RPG'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca0f4c8ce32e95dcf0f8a52ae569e051cdee7cc0 [INFO] checking SF-Software/Shadow-RPG against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSF-Software%2FShadow-RPG" "/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/SF-Software/Shadow-RPG on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SF-Software/Shadow-RPG [INFO] finished tweaking git repo https://github.com/SF-Software/Shadow-RPG [INFO] tweaked toml for git repo https://github.com/SF-Software/Shadow-RPG written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/SF-Software/Shadow-RPG 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lru_time_cache v0.6.0 [INFO] [stderr] Downloaded num v0.1.39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b67b032ff5357d8681472f8eb64fac0cd966494e09f7e2bb0fc3a28cb5c2b39d [INFO] running `Command { std: "docker" "start" "-a" "b67b032ff5357d8681472f8eb64fac0cd966494e09f7e2bb0fc3a28cb5c2b39d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b67b032ff5357d8681472f8eb64fac0cd966494e09f7e2bb0fc3a28cb5c2b39d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b67b032ff5357d8681472f8eb64fac0cd966494e09f7e2bb0fc3a28cb5c2b39d", kill_on_drop: false }` [INFO] [stdout] b67b032ff5357d8681472f8eb64fac0cd966494e09f7e2bb0fc3a28cb5c2b39d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4bbc989358e10e0a7d67737942b9b6d961588decb1de3121d4bf926be9955a9 [INFO] running `Command { std: "docker" "start" "-a" "e4bbc989358e10e0a7d67737942b9b6d961588decb1de3121d4bf926be9955a9", kill_on_drop: false }` [INFO] [stderr] Checking num-traits v0.1.39 [INFO] [stderr] Compiling sdl2-sys v0.30.0 [INFO] [stderr] Checking libc v0.2.24 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking lru_time_cache v0.6.0 [INFO] [stderr] Checking find_folder v0.3.0 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking num-integer v0.1.34 [INFO] [stderr] Checking num-iter v0.1.33 [INFO] [stderr] Checking num v0.1.39 [INFO] [stderr] Checking sdl2 v0.30.0 [INFO] [stderr] Checking hoetz v0.1.0 (/opt/rustwide/workdir/hoetz) [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> hoetz/src/scene.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | SceneChange(BoxedScene), [INFO] [stdout] | ^^^^^^^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 5 ~ pub enum Command<'a> { [INFO] [stdout] 6 | None, [INFO] [stdout] 7 ~ SceneChange(BoxedScene<'a>), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> hoetz/src/scene.rs:34:42 [INFO] [stdout] | [INFO] [stdout] 34 | fn process_command(c: Command) -> Option { [INFO] [stdout] | ^^^^^^^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from [INFO] [stdout] help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static`, or if you will only have owned values [INFO] [stdout] | [INFO] [stdout] 34 | fn process_command(c: Command) -> Option> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> hoetz/src/lib.rs:24:53 [INFO] [stdout] | [INFO] [stdout] 24 | fn update(mut scene: BoxedScene, input: UIInput) -> BoxedScene { [INFO] [stdout] | ---------- ------- ^^^^^^^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but the signature does not say whether it is borrowed from `scene` or `input` [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 24 | fn update<'a>(mut scene: BoxedScene<'a>, input: UIInput<'a>) -> BoxedScene<'a> { [INFO] [stdout] | ++++ ++++ ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> hoetz/src/scene.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | pub type Init = (fn(A) -> (M, Command)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 10 - pub type Init = (fn(A) -> (M, Command)); [INFO] [stdout] 10 + pub type Init = fn(A) -> (M, Command); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> hoetz/src/scene.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | pub type Update = (fn(&M, &UIInput) -> (M, Command)); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12 - pub type Update = (fn(&M, &UIInput) -> (M, Command)); [INFO] [stdout] 12 + pub type Update = fn(&M, &UIInput) -> (M, Command); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> hoetz/src/scene.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | fn update(&mut self, &UIInput) -> Option>; [INFO] [stdout] | ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &UIInput` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> hoetz/src/scene.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | fn render_view(&self, &Context<'a>, u32); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Context<'a>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> hoetz/src/scene.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 20 | fn render_view(&self, &Context<'a>, u32); [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: u32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> hoetz/src/scene.rs:21:33 [INFO] [stdout] | [INFO] [stdout] 21 | fn resource_load(&mut self, &Context<'a>); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Context<'a>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> hoetz/src/context/text.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> hoetz/src/types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use sdl2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: hoetz/src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate sdl2; [INFO] [stdout] | ------------------ the item `sdl2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `sdl2` is imported redundantly [INFO] [stdout] --> hoetz/src/types.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use sdl2; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: hoetz/src/lib.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate sdl2; [INFO] [stdout] | ------------------ the item `sdl2` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> hoetz/src/scene.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | pub type BoxedScene<'a> = Box>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | pub type BoxedScene<'a> = Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> hoetz/src/event.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | pub keyboard: &'a KeyboardState, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | pub keyboard: &'a dyn KeyboardState, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `impl` item signature doesn't match `trait` item signature [INFO] [stdout] --> hoetz/src/scene.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn update(&mut self, &UIInput) -> Option>; [INFO] [stdout] | --------------------------------------------------------- expected `fn(&'1 mut SceneEntity<'a, M, R>, &'2 UIInput<'3>) -> Option + 'static)>>` [INFO] [stdout] ... [INFO] [stdout] 48 | fn update(&mut self, input: &UIInput) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ found `fn(&'1 mut SceneEntity<'a, M, R>, &'2 UIInput<'3>) -> Option + 'static)>>` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&'1 mut SceneEntity<'a, M, R>, &'2 UIInput<'3>) -> Option + 'static)>>` [INFO] [stdout] found signature `fn(&'1 mut SceneEntity<'a, M, R>, &'2 UIInput<'3>) -> Option + 'static)>>` [INFO] [stdout] = help: the lifetime requirements from the `impl` do not correspond to the requirements in the `trait` [INFO] [stdout] = help: verify the lifetime relationships in the `trait` and `impl` between the `self` argument, the other inputs and its output [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> hoetz/src/scene.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 48 | fn update(&mut self, input: &UIInput) -> Option { [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 52 | process_command(c) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ returning this value requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hoetz` (lib) due to 6 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e4bbc989358e10e0a7d67737942b9b6d961588decb1de3121d4bf926be9955a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4bbc989358e10e0a7d67737942b9b6d961588decb1de3121d4bf926be9955a9", kill_on_drop: false }` [INFO] [stdout] e4bbc989358e10e0a7d67737942b9b6d961588decb1de3121d4bf926be9955a9