[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/ca0f4c8ce32e95dcf0f8a52ae569e051cdee7cc0 against master#b2728d5426bab1d8c39709768c7e22b7f66dde5d for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSF-Software%2FShadow-RPG" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SF-Software/Shadow-RPG on toolchain b2728d5426bab1d8c39709768c7e22b7f66dde5d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "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-5-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" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sdl2 v0.30.0 [INFO] [stderr] Downloaded lru_time_cache v0.6.0 [INFO] [stderr] Downloaded sdl2-sys v0.30.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c52d65d93d649a641b8d123f97dd135bbcd5e97fac719d7c25bb7387c252b2e [INFO] running `Command { std: "docker" "start" "-a" "5c52d65d93d649a641b8d123f97dd135bbcd5e97fac719d7c25bb7387c252b2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c52d65d93d649a641b8d123f97dd135bbcd5e97fac719d7c25bb7387c252b2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c52d65d93d649a641b8d123f97dd135bbcd5e97fac719d7c25bb7387c252b2e", kill_on_drop: false }` [INFO] [stdout] 5c52d65d93d649a641b8d123f97dd135bbcd5e97fac719d7c25bb7387c252b2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58fdf25f0bdc757cba74f0384c292ff52f8acc8a7ae57c87250fd711cb5df118 [INFO] running `Command { std: "docker" "start" "-a" "58fdf25f0bdc757cba74f0384c292ff52f8acc8a7ae57c87250fd711cb5df118", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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 bitflags v0.7.0 [INFO] [stderr] Checking lazy_static v0.2.8 [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: 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 a dyn-compatible 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 a dyn-compatible 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] For more information about this error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hoetz` (lib) due to 5 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "58fdf25f0bdc757cba74f0384c292ff52f8acc8a7ae57c87250fd711cb5df118", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58fdf25f0bdc757cba74f0384c292ff52f8acc8a7ae57c87250fd711cb5df118", kill_on_drop: false }` [INFO] [stdout] 58fdf25f0bdc757cba74f0384c292ff52f8acc8a7ae57c87250fd711cb5df118