[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] documenting Tru-Dev/gui4sfml against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTru-Dev%2Fgui4sfml" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tru-Dev/gui4sfml on toolchain 394e1b40d264aa6928811919c1124fa248e7d802 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "read-manifest" "--manifest-path" "Cargo.toml", 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-1/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" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16505f1c4f617070a66d73fd15ceea5fe21eb4da14f9159938184731c4f7fe34 [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" "16505f1c4f617070a66d73fd15ceea5fe21eb4da14f9159938184731c4f7fe34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16505f1c4f617070a66d73fd15ceea5fe21eb4da14f9159938184731c4f7fe34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16505f1c4f617070a66d73fd15ceea5fe21eb4da14f9159938184731c4f7fe34", kill_on_drop: false }` [INFO] [stdout] 16505f1c4f617070a66d73fd15ceea5fe21eb4da14f9159938184731c4f7fe34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec58e683261277e246626139c1b43f660ef269c50435f6368af36655fa491cd0 [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" "ec58e683261277e246626139c1b43f660ef269c50435f6368af36655fa491cd0", 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-audio-sys v0.5.0 [INFO] [stderr] Compiling csfml-graphics-sys v0.5.0 [INFO] [stderr] Checking sfml v0.15.1 [INFO] [stderr] Documenting gui4sfml v0.1.0 (/opt/rustwide/workdir) [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 widgets::Label<'f>, &mut dyn theming::Theme)` [INFO] [stdout] found fn pointer `fn(&mut widgets::Label<'f>, &'f mut (dyn theming::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] 46 | | self.text.set_font(theme.get_font_for("Label")); [INFO] [stdout] 47 | | self.text.set_fill_color( [INFO] [stdout] 48 | | // theme.get_pallete_color_for("Label", pallete_map!(fg)) [INFO] [stdout] ... | [INFO] [stdout] 53 | | Color::TRANSPARENT; [INFO] [stdout] 54 | | } [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 widgets::Label<'f>, &mut dyn theming::Theme)` [INFO] [stdout] found fn pointer `fn(&mut widgets::Label<'f>, &'f mut (dyn theming::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] 46 | | self.text.set_font(theme.get_font_for("Label")); [INFO] [stdout] 47 | | self.text.set_fill_color( [INFO] [stdout] 48 | | // theme.get_pallete_color_for("Label", pallete_map!(fg)) [INFO] [stdout] ... | [INFO] [stdout] 53 | | Color::TRANSPARENT; [INFO] [stdout] 54 | | } [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 widgets::Label<'f>, &mut dyn theming::Theme)` [INFO] [stdout] found fn pointer `fn(&mut widgets::Label<'f>, &'f mut (dyn theming::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] 60 | | [INFO] [stdout] 61 | | } [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 widgets::Label<'f>, &mut dyn theming::Theme)` [INFO] [stdout] found fn pointer `fn(&mut widgets::Label<'f>, &'f mut (dyn theming::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] 60 | | [INFO] [stdout] 61 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: Could not document `gui4sfml`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name gui4sfml src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --extern sfml=/opt/rustwide/target/debug/deps/libsfml-f62ee3e7130b090d.rmeta --cap-lints=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "ec58e683261277e246626139c1b43f660ef269c50435f6368af36655fa491cd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec58e683261277e246626139c1b43f660ef269c50435f6368af36655fa491cd0", kill_on_drop: false }` [INFO] [stdout] ec58e683261277e246626139c1b43f660ef269c50435f6368af36655fa491cd0