[INFO] cloning repository https://github.com/krish2568/tea
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/krish2568/tea" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrish2568%2Ftea", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrish2568%2Ftea'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9bd8ef3104c5dd25e48ebea05d42d9c8524220f7
[INFO] checking krish2568/tea against 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa for pr-159356
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkrish2568%2Ftea" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/krish2568/tea
[INFO] finished tweaking git repo https://github.com/krish2568/tea
[INFO] tweaked toml for git repo https://github.com/krish2568/tea written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/krish2568/tea on toolchain 6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/krish2568/tea 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" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `tea` (manifest) generated 1 warning
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cmake v0.1.24
[INFO] [stderr]   Downloaded freetype v0.2.0
[INFO] [stderr]   Downloaded memmap v0.4.0
[INFO] [stderr]   Downloaded fs2 v0.2.5
[INFO] [stderr]   Downloaded user32-sys v0.1.2
[INFO] [stderr]   Downloaded libc v0.2.26
[INFO] [stderr]   Downloaded shared_library v0.1.6
[INFO] [stderr]   Downloaded gfx_window_glutin v0.16.0
[INFO] [stderr]   Downloaded gfx_gl v0.3.1
[INFO] [stderr]   Downloaded wayland-window v0.5.0
[INFO] [stderr]   Downloaded wayland-sys v0.8.7
[INFO] [stderr]   Downloaded phf_generator v0.7.21
[INFO] [stderr]   Downloaded phf v0.7.21
[INFO] [stderr]   Downloaded shell32-sys v0.1.1
[INFO] [stderr]   Downloaded quine-mc_cluskey v0.2.4
[INFO] [stderr]   Downloaded cargo_metadata v0.2.3
[INFO] [stderr]   Downloaded gleam v0.2.32
[INFO] [stderr]   Downloaded wayland-scanner v0.8.7
[INFO] [stderr]   Downloaded either v1.1.0
[INFO] [stderr]   Downloaded cgl v0.1.5
[INFO] [stderr]   Downloaded draw_state v0.7.1
[INFO] [stderr]   Downloaded phf_shared v0.7.21
[INFO] [stderr]   Downloaded gdi32-sys v0.1.1
[INFO] [stderr]   Downloaded dlib v0.3.1
[INFO] [stderr]   Downloaded phf_codegen v0.7.21
[INFO] [stderr]   Downloaded siphasher v0.2.2
[INFO] [stderr]   Downloaded cocoa v0.5.2
[INFO] [stderr]   Downloaded bitflags v0.8.2
[INFO] [stderr]   Downloaded core-graphics v0.4.2
[INFO] [stderr]   Downloaded core-graphics v0.3.2
[INFO] [stderr]   Downloaded dwmapi-sys v0.1.0
[INFO] [stderr]   Downloaded bitflags v0.3.3
[INFO] [stderr]   Downloaded libloading v0.3.4
[INFO] [stderr]   Downloaded cgl v0.2.1
[INFO] [stderr]   Downloaded lazy_static v0.2.8
[INFO] [stderr]   Downloaded objc v0.2.2
[INFO] [stderr]   Downloaded gfx v0.16.1
[INFO] [stderr]   Downloaded serde_derive_internals v0.15.1
[INFO] [stderr]   Downloaded tempfile v2.1.6
[INFO] [stderr]   Downloaded gl_generator v0.5.5
[INFO] [stderr]   Downloaded serde v0.7.15
[INFO] [stderr]   Downloaded gfx_core v0.7.1
[INFO] [stderr]   Downloaded serde_derive v1.0.10
[INFO] [stderr]   Downloaded cocoa v0.3.3
[INFO] [stderr]   Downloaded gfx_device_gl v0.14.1
[INFO] [stderr]   Downloaded wayland-client v0.8.7
[INFO] [stderr]   Downloaded gcc v0.3.51
[INFO] [stderr]   Downloaded xml-rs v0.3.6
[INFO] [stderr]   Downloaded gleam v0.4.7
[INFO] [stderr]   Downloaded serde_json v1.0.2
[INFO] [stderr]   Downloaded glutin v0.8.1
[INFO] [stderr]   Downloaded rand v0.3.15
[INFO] [stderr]   Downloaded wayland-kbd v0.8.0
[INFO] [stderr]   Downloaded clippy v0.0.144
[INFO] [stderr]   Downloaded x11-dl v2.14.0
[INFO] [stderr]   Downloaded winit v0.6.4
[INFO] [stderr]   Downloaded itoa v0.3.1
[INFO] [stderr]   Downloaded serde v1.0.10
[INFO] [stderr]   Downloaded itertools v0.6.0
[INFO] [stderr]   Downloaded dtoa v0.4.1
[INFO] [stderr]   Downloaded clippy_lints v0.0.144
[INFO] [stderr]   Downloaded khronos_api v1.0.1
[INFO] [stderr]   Downloaded harfbuzz-sys v0.1.11
[INFO] [stderr]   Downloaded servo-freetype-sys v4.0.3
[INFO] [stderr]   Downloaded xml-rs v0.6.0
[INFO] [stderr]   Downloaded toml v0.4.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b97521e798ec18ffbde70553af48faf5d3cda6e000a2d7e4caa834f1b88f8e9e
[INFO] running `Command { std: "docker" "start" "b97521e798ec18ffbde70553af48faf5d3cda6e000a2d7e4caa834f1b88f8e9e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b97521e798ec18ffbde70553af48faf5d3cda6e000a2d7e4caa834f1b88f8e9e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b97521e798ec18ffbde70553af48faf5d3cda6e000a2d7e4caa834f1b88f8e9e" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b97521e798ec18ffbde70553af48faf5d3cda6e000a2d7e4caa834f1b88f8e9e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b97521e798ec18ffbde70553af48faf5d3cda6e000a2d7e4caa834f1b88f8e9e" "/opt/rustwide/cargo-home/bin/cargo" "+6e4b95ed0735c3bbfb308e6f158f479b4d14f1aa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `tea` (manifest) generated 1 warning
[INFO] [stderr]    Compiling siphasher v0.2.2
[INFO] [stderr]    Compiling libc v0.2.26
[INFO] [stderr]    Compiling itoa v0.3.1
[INFO] [stderr]    Compiling pkg-config v0.3.9
[INFO] [stderr]    Compiling dtoa v0.4.1
[INFO] [stderr]    Compiling serde v0.9.15
[INFO] [stderr]    Compiling num-traits v0.1.40
[INFO] [stderr]     Checking lazy_static v0.2.8
[INFO] [stderr]    Compiling bitflags v0.7.0
[INFO] [stderr]    Compiling bitflags v0.9.1
[INFO] [stderr]    Compiling log v0.3.8
[INFO] [stderr]    Compiling khronos_api v1.0.1
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]    Compiling gcc v0.3.51
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]    Compiling unicode-xid v0.0.4
[INFO] [stderr]    Compiling quote v0.3.15
[INFO] [stderr]    Compiling xml-rs v0.3.6
[INFO] [stderr]    Compiling xml-rs v0.6.0
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling either v1.1.0
[INFO] [stderr]     Checking bitflags v0.8.2
[INFO] [stderr]     Checking byteorder v1.1.0
[INFO] [stderr]    Compiling cmake v0.1.24
[INFO] [stderr]    Compiling phf_shared v0.7.21
[INFO] [stderr]     Checking draw_state v0.7.1
[INFO] [stderr]    Compiling rand v0.3.15
[INFO] [stderr]    Compiling itertools v0.5.10
[INFO] [stderr]    Compiling syn v0.10.8
[INFO] [stderr]     Checking fs2 v0.2.5
[INFO] [stderr]     Checking shared_library v0.1.6
[INFO] [stderr]    Compiling phf v0.7.21
[INFO] [stderr]     Checking memmap v0.4.0
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]    Compiling x11-dl v2.14.0
[INFO] [stderr]     Checking tempfile v2.1.6
[INFO] [stderr]    Compiling servo-freetype-sys v4.0.3
[INFO] [stderr]    Compiling harfbuzz-sys v0.1.11
[INFO] [stderr]    Compiling wayland-scanner v0.8.7
[INFO] [stderr]    Compiling gl_generator v0.5.5
[INFO] [stderr]    Compiling phf_generator v0.7.21
[INFO] [stderr]    Compiling phf_codegen v0.7.21
[INFO] [stderr]     Checking freetype v0.2.0
[INFO] [stderr]    Compiling target_build_utils v0.3.1
[INFO] [stderr]    Compiling wayland-client v0.8.7
[INFO] [stderr]    Compiling gfx_gl v0.3.1
[INFO] [stderr]    Compiling glutin v0.8.1
[INFO] [stderr]    Compiling derivative v1.0.0
[INFO] [stderr]     Checking gfx_core v0.7.1
[INFO] [stderr]    Compiling serde_json v0.9.10
[INFO] [stderr]     Checking gfx v0.16.1
[INFO] [stderr]     Checking gfx_device_gl v0.14.1
[INFO] [stderr]    Compiling libloading v0.3.4
[INFO] [stderr]     Checking dlib v0.3.1
[INFO] [stderr]     Checking wayland-sys v0.8.7
[INFO] [stderr]     Checking wayland-window v0.5.0
[INFO] [stderr]     Checking wayland-kbd v0.8.0
[INFO] [stderr]     Checking winit v0.6.4
[INFO] [stderr]     Checking gfx_window_glutin v0.16.0
[INFO] [stderr]     Checking tea v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ui::window`
[INFO] [stdout]  --> src/app.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use ui::window;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std`
[INFO] [stdout]  --> src/ui/text.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std;
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `max` and `min`
[INFO] [stdout]   --> src/ui/text.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::cmp::{max, min};
[INFO] [stdout]    |                ^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/ui/text.rs:189:24
[INFO] [stdout]     |
[INFO] [stdout] 189 |                 let pos = unsafe { (*glyph_pos.offset(i as isize)) };
[INFO] [stdout]     |                                    ^                             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 189 -                 let pos = unsafe { (*glyph_pos.offset(i as isize)) };
[INFO] [stdout] 189 +                 let pos = unsafe { *glyph_pos.offset(i as isize) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `gfx::Device`
[INFO] [stdout]  --> src/ui/graphics.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use gfx::Device;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `gfx::traits::FactoryExt`
[INFO] [stdout]  --> src/ui/graphics.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use gfx::traits::FactoryExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `gfx_window_glutin`
[INFO] [stdout]  --> src/ui/graphics.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use gfx_window_glutin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `glutin`
[INFO] [stdout]  --> src/ui/graphics.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use glutin;
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/ui/graphics.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/ui/graphics.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ui::text::Glyph`
[INFO] [stdout]   --> src/ui/graphics.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use ui::text::Glyph;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied
[INFO] [stdout]    --> src/app.rs:24:3
[INFO] [stdout]     |
[INFO] [stdout]  24 |         text::render_text_to_glyphs(text, font);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^------------ two arguments of type `&mut HashMap<GlyphKey, Glyph<_>>` and `&mut _` are missing
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/ui/text.rs:113:8
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub fn render_text_to_glyphs<'a, R, F>(t: Text,
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 114 |                                        font: Font,
[INFO] [stdout] 115 |                                        library: &'a mut GlyphLibrary<R>,
[INFO] [stdout]     |                                        --------------------------------
[INFO] [stdout] 116 |                                        factory: &mut F)
[INFO] [stdout]     |                                        ---------------
[INFO] [stdout] help: provide the arguments
[INFO] [stdout]     |
[INFO] [stdout]  24 |         text::render_text_to_glyphs(text, font, /* library */, /* factory */);
[INFO] [stdout]     |                                               ++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ui::window`
[INFO] [stdout]  --> src/app.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use ui::window;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std`
[INFO] [stdout]  --> src/ui/text.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std;
[INFO] [stdout]   |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `max` and `min`
[INFO] [stdout]   --> src/ui/text.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::cmp::{max, min};
[INFO] [stdout]    |                ^^^  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]    --> src/ui/text.rs:189:24
[INFO] [stdout]     |
[INFO] [stdout] 189 |                 let pos = unsafe { (*glyph_pos.offset(i as isize)) };
[INFO] [stdout]     |                                    ^                             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 189 -                 let pos = unsafe { (*glyph_pos.offset(i as isize)) };
[INFO] [stdout] 189 +                 let pos = unsafe { *glyph_pos.offset(i as isize) };
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `gfx::Device`
[INFO] [stdout]  --> src/ui/graphics.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use gfx::Device;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `gfx::traits::FactoryExt`
[INFO] [stdout]  --> src/ui/graphics.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use gfx::traits::FactoryExt;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `gfx_window_glutin`
[INFO] [stdout]  --> src/ui/graphics.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use gfx_window_glutin;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `glutin`
[INFO] [stdout]  --> src/ui/graphics.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use glutin;
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::borrow::Borrow`
[INFO] [stdout]  --> src/ui/graphics.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::borrow::Borrow;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]   --> src/ui/graphics.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::collections::HashMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ui::text::Glyph`
[INFO] [stdout]   --> src/ui/graphics.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use ui::text::Glyph;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0501]: cannot borrow `*library` as immutable because previous closure requires unique access
[INFO] [stdout]    --> src/ui/text.rs:178:3
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub fn render_text_to_glyphs_buf<'a, R, F>(text: Text,
[INFO] [stdout]     |                                  -- lifetime `'a` defined here
[INFO] [stdout] ...
[INFO] [stdout] 178 |         library.get(&key).map_or_else(
[INFO] [stdout]     |         ^^^^^^^ second borrow occurs here
[INFO] [stdout] 179 |             || {
[INFO] [stdout]     |             -- closure construction occurs here
[INFO] [stdout] ...
[INFO] [stdout] 204 |                 library.insert(key, glyph);
[INFO] [stdout]     |                 ------- first borrow occurs due to use of `library` in closure
[INFO] [stdout] ...
[INFO] [stdout] 211 |     Ok(glyphs)
[INFO] [stdout]     |     ---------- returning this value requires that `library` is borrowed for `'a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `library`, which is owned by the current function
[INFO] [stdout]    --> src/ui/text.rs:179:4
[INFO] [stdout]     |
[INFO] [stdout] 179 |             || {
[INFO] [stdout]     |             ^^ may outlive borrowed value `library`
[INFO] [stdout] ...
[INFO] [stdout] 204 |                 library.insert(key, glyph);
[INFO] [stdout]     |                 ------- `library` is borrowed here
[INFO] [stdout]     |
[INFO] [stdout] note: closure is returned here
[INFO] [stdout]    --> src/ui/text.rs:211:2
[INFO] [stdout]     |
[INFO] [stdout] 211 |     Ok(glyphs)
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] help: to force the closure to take ownership of `library` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]     |
[INFO] [stdout] 179 |             move || {
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0500]: closure requires unique access to `library` but it is already borrowed
[INFO] [stdout]    --> src/ui/text.rs:179:4
[INFO] [stdout]     |
[INFO] [stdout] 178 |         library.get(&key).map_or_else(
[INFO] [stdout]     |         -------           ----------- first borrow later used by call
[INFO] [stdout]     |         |
[INFO] [stdout]     |         borrow occurs here
[INFO] [stdout] 179 |             || {
[INFO] [stdout]     |             ^^ closure construction occurs here
[INFO] [stdout] ...
[INFO] [stdout] 204 |                 library.insert(key, glyph);
[INFO] [stdout]     |                 ------- second borrow occurs due to use of `library` in closure
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `glyphs` as mutable more than once at a time
[INFO] [stdout]    --> src/ui/text.rs:207:4
[INFO] [stdout]     |
[INFO] [stdout] 178 |         library.get(&key).map_or_else(
[INFO] [stdout]     |                           ----------- first borrow later used by call
[INFO] [stdout] 179 |             || {
[INFO] [stdout]     |             -- first mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 205 |                 glyphs.push(library.get(&key).unwrap());
[INFO] [stdout]     |                 ------ first borrow occurs due to use of `glyphs` in closure
[INFO] [stdout] 206 |             },
[INFO] [stdout] 207 |             |g| glyphs.push(g),
[INFO] [stdout]     |             ^^^ ------ second borrow occurs due to use of `glyphs` in closure
[INFO] [stdout]     |             |
[INFO] [stdout]     |             second mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tea` (bin "tea" test) due to 5 previous errors; 11 warnings emitted
[INFO] [stdout] Some errors have detailed explanations: E0061, E0373, E0499, E0500, E0501.
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied
[INFO] [stdout]    --> src/app.rs:24:3
[INFO] [stdout]     |
[INFO] [stdout]  24 |         text::render_text_to_glyphs(text, font);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^------------ two arguments of type `&mut HashMap<GlyphKey, Glyph<_>>` and `&mut _` are missing
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/ui/text.rs:113:8
[INFO] [stdout]     |
[INFO] [stdout] 113 | pub fn render_text_to_glyphs<'a, R, F>(t: Text,
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 114 |                                        font: Font,
[INFO] [stdout] 115 |                                        library: &'a mut GlyphLibrary<R>,
[INFO] [stdout]     |                                        --------------------------------
[INFO] [stdout] 116 |                                        factory: &mut F)
[INFO] [stdout]     |                                        ---------------
[INFO] [stdout] help: provide the arguments
[INFO] [stdout]     |
[INFO] [stdout]  24 |         text::render_text_to_glyphs(text, font, /* library */, /* factory */);
[INFO] [stdout]     |                                               ++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0501]: cannot borrow `*library` as immutable because previous closure requires unique access
[INFO] [stdout]    --> src/ui/text.rs:178:3
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub fn render_text_to_glyphs_buf<'a, R, F>(text: Text,
[INFO] [stdout]     |                                  -- lifetime `'a` defined here
[INFO] [stdout] ...
[INFO] [stdout] 178 |         library.get(&key).map_or_else(
[INFO] [stdout]     |         ^^^^^^^ second borrow occurs here
[INFO] [stdout] 179 |             || {
[INFO] [stdout]     |             -- closure construction occurs here
[INFO] [stdout] ...
[INFO] [stdout] 204 |                 library.insert(key, glyph);
[INFO] [stdout]     |                 ------- first borrow occurs due to use of `library` in closure
[INFO] [stdout] ...
[INFO] [stdout] 211 |     Ok(glyphs)
[INFO] [stdout]     |     ---------- returning this value requires that `library` is borrowed for `'a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `library`, which is owned by the current function
[INFO] [stdout]    --> src/ui/text.rs:179:4
[INFO] [stdout]     |
[INFO] [stdout] 179 |             || {
[INFO] [stdout]     |             ^^ may outlive borrowed value `library`
[INFO] [stdout] ...
[INFO] [stdout] 204 |                 library.insert(key, glyph);
[INFO] [stdout]     |                 ------- `library` is borrowed here
[INFO] [stdout]     |
[INFO] [stdout] note: closure is returned here
[INFO] [stdout]    --> src/ui/text.rs:211:2
[INFO] [stdout]     |
[INFO] [stdout] 211 |     Ok(glyphs)
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] help: to force the closure to take ownership of `library` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]     |
[INFO] [stdout] 179 |             move || {
[INFO] [stdout]     |             ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0500]: closure requires unique access to `library` but it is already borrowed
[INFO] [stdout]    --> src/ui/text.rs:179:4
[INFO] [stdout]     |
[INFO] [stdout] 178 |         library.get(&key).map_or_else(
[INFO] [stdout]     |         -------           ----------- first borrow later used by call
[INFO] [stdout]     |         |
[INFO] [stdout]     |         borrow occurs here
[INFO] [stdout] 179 |             || {
[INFO] [stdout]     |             ^^ closure construction occurs here
[INFO] [stdout] ...
[INFO] [stdout] 204 |                 library.insert(key, glyph);
[INFO] [stdout]     |                 ------- second borrow occurs due to use of `library` in closure
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `glyphs` as mutable more than once at a time
[INFO] [stdout]    --> src/ui/text.rs:207:4
[INFO] [stdout]     |
[INFO] [stdout] 178 |         library.get(&key).map_or_else(
[INFO] [stdout]     |                           ----------- first borrow later used by call
[INFO] [stdout] 179 |             || {
[INFO] [stdout]     |             -- first mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 205 |                 glyphs.push(library.get(&key).unwrap());
[INFO] [stdout]     |                 ------ first borrow occurs due to use of `glyphs` in closure
[INFO] [stdout] 206 |             },
[INFO] [stdout] 207 |             |g| glyphs.push(g),
[INFO] [stdout]     |             ^^^ ------ second borrow occurs due to use of `glyphs` in closure
[INFO] [stdout]     |             |
[INFO] [stdout]     |             second mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0373, E0499, E0500, E0501.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tea` (bin "tea") due to 5 previous errors; 11 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b97521e798ec18ffbde70553af48faf5d3cda6e000a2d7e4caa834f1b88f8e9e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b97521e798ec18ffbde70553af48faf5d3cda6e000a2d7e4caa834f1b88f8e9e", kill_on_drop: false }`
[INFO] [stdout] b97521e798ec18ffbde70553af48faf5d3cda6e000a2d7e4caa834f1b88f8e9e
