[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#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTru-Dev%2Fgui4sfml" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tru-Dev/gui4sfml on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-6/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe3cf1a71b6bd65f2fd167c5bb5f6da84fa090b584ff12c4f7d467e4199bb6bb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fe3cf1a71b6bd65f2fd167c5bb5f6da84fa090b584ff12c4f7d467e4199bb6bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe3cf1a71b6bd65f2fd167c5bb5f6da84fa090b584ff12c4f7d467e4199bb6bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe3cf1a71b6bd65f2fd167c5bb5f6da84fa090b584ff12c4f7d467e4199bb6bb", kill_on_drop: false }` [INFO] [stdout] fe3cf1a71b6bd65f2fd167c5bb5f6da84fa090b584ff12c4f7d467e4199bb6bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] dc145c7e1822888cb20987c508fcea472870ee31688d45a7ebd175435b8c52c6 [INFO] running `Command { std: "docker" "start" "-a" "dc145c7e1822888cb20987c508fcea472870ee31688d45a7ebd175435b8c52c6", kill_on_drop: false }` [INFO] [stderr] Compiling sfml-build v0.3.0 [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-graphics-sys v0.5.0 [INFO] [stderr] Compiling csfml-audio-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 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 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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [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" "dc145c7e1822888cb20987c508fcea472870ee31688d45a7ebd175435b8c52c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc145c7e1822888cb20987c508fcea472870ee31688d45a7ebd175435b8c52c6", kill_on_drop: false }` [INFO] [stdout] dc145c7e1822888cb20987c508fcea472870ee31688d45a7ebd175435b8c52c6