[INFO] cloning repository https://github.com/Tru-Dev/gui4sfml [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tru-Dev/gui4sfml" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTru-Dev%2Fgui4sfml", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTru-Dev%2Fgui4sfml'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 05e79a1b265053e93f6cd2a2043ebf43696de93f [INFO] checking Tru-Dev/gui4sfml against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTru-Dev%2Fgui4sfml" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tru-Dev/gui4sfml on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Tru-Dev/gui4sfml [INFO] finished tweaking git repo https://github.com/Tru-Dev/gui4sfml [INFO] tweaked toml for git repo https://github.com/Tru-Dev/gui4sfml written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Tru-Dev/gui4sfml already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46ee39c021fa0083f190cd039bbb42d05674a9b43cc8cfea908b8a05a36ce302 [INFO] running `Command { std: "docker" "start" "-a" "46ee39c021fa0083f190cd039bbb42d05674a9b43cc8cfea908b8a05a36ce302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46ee39c021fa0083f190cd039bbb42d05674a9b43cc8cfea908b8a05a36ce302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46ee39c021fa0083f190cd039bbb42d05674a9b43cc8cfea908b8a05a36ce302", kill_on_drop: false }` [INFO] [stdout] 46ee39c021fa0083f190cd039bbb42d05674a9b43cc8cfea908b8a05a36ce302 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e6913f929c8bc1f348691c70d0a46562b57c5b41d0e6a27dc78d1b7b63b2c50 [INFO] running `Command { std: "docker" "start" "-a" "7e6913f929c8bc1f348691c70d0a46562b57c5b41d0e6a27dc78d1b7b63b2c50", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling sfml-build v0.3.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking widestring v0.4.0 [INFO] [stderr] Compiling csfml-system-sys v0.5.0 [INFO] [stderr] Compiling csfml-window-sys v0.5.0 [INFO] [stderr] Compiling csfml-audio-sys v0.5.0 [INFO] [stderr] Compiling csfml-graphics-sys v0.5.0 [INFO] [stderr] Checking sfml v0.15.1 [INFO] [stderr] Checking gui4sfml v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Font`, `Key`, `RenderTexture`, `Sprite`, `Style`, `Text`, `Texture` [INFO] [stdout] --> src/core.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | Font, RenderTarget, Drawable, FloatRect, RenderTexture, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 9 | Text, Transformable, Texture, Sprite, RenderStates, Transform [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | window::{Event, Key, Style}, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Font` [INFO] [stdout] --> src/widgets.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | Text, Font, Color, RenderStates, RenderTarget, RectangleShape, Shape [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SfBox` [INFO] [stdout] --> src/widgets.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use sfml::system::{Vector2f, SfBox}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/widgets.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::theming::{Theme, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RenderTarget`, `RenderWindow`, `Text`, `Transformable` [INFO] [stdout] --> src/resman.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | Font, RenderTarget, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | RenderWindow, Text, Transformable, Texture, Sprite, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Font`, `Key`, `RenderTexture`, `Sprite`, `Style`, `Text`, `Texture` [INFO] [stdout] --> src/core.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | Font, RenderTarget, Drawable, FloatRect, RenderTexture, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 9 | Text, Transformable, Texture, Sprite, RenderStates, Transform [INFO] [stdout] | ^^^^ ^^^^^^^ ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | window::{Event, Key, Style}, [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Font` [INFO] [stdout] --> src/widgets.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | Text, Font, Color, RenderStates, RenderTarget, RectangleShape, Shape [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SfBox` [INFO] [stdout] --> src/widgets.rs:5:30 [INFO] [stdout] | [INFO] [stdout] 5 | use sfml::system::{Vector2f, SfBox}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/widgets.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::theming::{Theme, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RenderTarget`, `RenderWindow`, `Text`, `Transformable` [INFO] [stdout] --> src/resman.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | Font, RenderTarget, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | RenderWindow, Text, Transformable, Texture, Sprite, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> src/widgets.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | fn wbind(&mut self, theme: &'f mut dyn Theme) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut Label<'f>, &mut dyn Theme)` [INFO] [stdout] found fn pointer `fn(&mut Label<'f>, &'f mut (dyn Theme + 'f))` [INFO] [stdout] note: the anonymous lifetime #2 defined on the method body at 45:5... [INFO] [stdout] --> src/widgets.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | fn wbind(&mut self, theme: &'f mut dyn Theme) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...does not necessarily outlive the lifetime `'f` as defined on the impl at 32:6 [INFO] [stdout] --> src/widgets.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | impl<'f> WidgetTrait for Label<'f> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> src/widgets.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | fn wbind(&mut self, theme: &'f mut dyn Theme) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut Label<'f>, &mut dyn Theme)` [INFO] [stdout] found fn pointer `fn(&mut Label<'f>, &'f mut (dyn Theme + 'f))` [INFO] [stdout] note: the lifetime `'f` as defined on the impl at 32:6... [INFO] [stdout] --> src/widgets.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | impl<'f> WidgetTrait for Label<'f> { [INFO] [stdout] | ^^ [INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime #2 defined on the method body at 45:5 [INFO] [stdout] --> src/widgets.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | fn wbind(&mut self, theme: &'f mut dyn Theme) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> src/widgets.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | fn set_theme(&mut self, theme: &'f mut dyn Theme) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut Label<'f>, &mut dyn Theme)` [INFO] [stdout] found fn pointer `fn(&mut Label<'f>, &'f mut (dyn Theme + 'f))` [INFO] [stdout] note: the anonymous lifetime #2 defined on the method body at 59:5... [INFO] [stdout] --> src/widgets.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | fn set_theme(&mut self, theme: &'f mut dyn Theme) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...does not necessarily outlive the lifetime `'f` as defined on the impl at 32:6 [INFO] [stdout] --> src/widgets.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | impl<'f> WidgetTrait for Label<'f> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> src/widgets.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | fn set_theme(&mut self, theme: &'f mut dyn Theme) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut Label<'f>, &mut dyn Theme)` [INFO] [stdout] found fn pointer `fn(&mut Label<'f>, &'f mut (dyn Theme + 'f))` [INFO] [stdout] note: the lifetime `'f` as defined on the impl at 32:6... [INFO] [stdout] --> src/widgets.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | impl<'f> WidgetTrait for Label<'f> { [INFO] [stdout] | ^^ [INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime #2 defined on the method body at 59:5 [INFO] [stdout] --> src/widgets.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | fn set_theme(&mut self, theme: &'f mut dyn Theme) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> src/widgets.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | fn wbind(&mut self, theme: &'f mut dyn Theme) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut Label<'f>, &mut dyn Theme)` [INFO] [stdout] found fn pointer `fn(&mut Label<'f>, &'f mut (dyn Theme + 'f))` [INFO] [stdout] note: the anonymous lifetime #2 defined on the method body at 45:5... [INFO] [stdout] --> src/widgets.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | fn wbind(&mut self, theme: &'f mut dyn Theme) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...does not necessarily outlive the lifetime `'f` as defined on the impl at 32:6 [INFO] [stdout] --> src/widgets.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | impl<'f> WidgetTrait for Label<'f> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> src/widgets.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | fn wbind(&mut self, theme: &'f mut dyn Theme) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut Label<'f>, &mut dyn Theme)` [INFO] [stdout] found fn pointer `fn(&mut Label<'f>, &'f mut (dyn Theme + 'f))` [INFO] [stdout] note: the lifetime `'f` as defined on the impl at 32:6... [INFO] [stdout] --> src/widgets.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | impl<'f> WidgetTrait for Label<'f> { [INFO] [stdout] | ^^ [INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime #2 defined on the method body at 45:5 [INFO] [stdout] --> src/widgets.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | fn wbind(&mut self, theme: &'f mut dyn Theme) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> src/widgets.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | fn set_theme(&mut self, theme: &'f mut dyn Theme) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut Label<'f>, &mut dyn Theme)` [INFO] [stdout] found fn pointer `fn(&mut Label<'f>, &'f mut (dyn Theme + 'f))` [INFO] [stdout] note: the anonymous lifetime #2 defined on the method body at 59:5... [INFO] [stdout] --> src/widgets.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | fn set_theme(&mut self, theme: &'f mut dyn Theme) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...does not necessarily outlive the lifetime `'f` as defined on the impl at 32:6 [INFO] [stdout] --> src/widgets.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | impl<'f> WidgetTrait for Label<'f> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: method not compatible with trait [INFO] [stdout] --> src/widgets.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | fn set_theme(&mut self, theme: &'f mut dyn Theme) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lifetime mismatch [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut Label<'f>, &mut dyn Theme)` [INFO] [stdout] found fn pointer `fn(&mut Label<'f>, &'f mut (dyn Theme + 'f))` [INFO] [stdout] note: the lifetime `'f` as defined on the impl at 32:6... [INFO] [stdout] --> src/widgets.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | impl<'f> WidgetTrait for Label<'f> { [INFO] [stdout] | ^^ [INFO] [stdout] note: ...does not necessarily outlive the anonymous lifetime #2 defined on the method body at 59:5 [INFO] [stdout] --> src/widgets.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | fn set_theme(&mut self, theme: &'f mut dyn Theme) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gui4sfml` due to 5 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7e6913f929c8bc1f348691c70d0a46562b57c5b41d0e6a27dc78d1b7b63b2c50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e6913f929c8bc1f348691c70d0a46562b57c5b41d0e6a27dc78d1b7b63b2c50", kill_on_drop: false }` [INFO] [stdout] 7e6913f929c8bc1f348691c70d0a46562b57c5b41d0e6a27dc78d1b7b63b2c50