[INFO] cloning repository https://github.com/kaikalii/fit-text [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kaikalii/fit-text" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaikalii%2Ffit-text", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaikalii%2Ffit-text'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 67a138c14ea13b4df4c4de6dacda06da59fbdb2a [INFO] testing kaikalii/fit-text against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkaikalii%2Ffit-text" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/kaikalii/fit-text [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/kaikalii/fit-text [INFO] tweaked toml for git repo https://github.com/kaikalii/fit-text written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kaikalii/fit-text on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kaikalii/fit-text 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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded piston-texture v0.8.0 [INFO] [stderr] Downloaded vector2math v0.13.0 [INFO] [stderr] Downloaded bytemuck v1.3.1 [INFO] [stderr] Downloaded piston2d-graphics v0.40.0 [INFO] [stderr] Downloaded piston2d-graphics v0.41.0 [INFO] [stderr] Downloaded graphics_buffer v0.7.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3718a100dff0039f184d32c5bc13cc2000c1104043b9672405290585c74ef8b3 [INFO] running `Command { std: "docker" "start" "-a" "3718a100dff0039f184d32c5bc13cc2000c1104043b9672405290585c74ef8b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3718a100dff0039f184d32c5bc13cc2000c1104043b9672405290585c74ef8b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3718a100dff0039f184d32c5bc13cc2000c1104043b9672405290585c74ef8b3", kill_on_drop: false }` [INFO] [stdout] 3718a100dff0039f184d32c5bc13cc2000c1104043b9672405290585c74ef8b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f3fd9f82f12a2d9b12823f1bb8e3fd8180c570000318eeb6b2e2ea523dfe543 [INFO] running `Command { std: "docker" "start" "-a" "7f3fd9f82f12a2d9b12823f1bb8e3fd8180c570000318eeb6b2e2ea523dfe543", kill_on_drop: false }` [INFO] [stderr] Compiling piston-float v1.0.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.2 [INFO] [stderr] Compiling vector2math v0.13.0 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling piston-viewport v1.0.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling piston2d-graphics v0.41.0 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling fit_text v0.3.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.92s [INFO] running `Command { std: "docker" "inspect" "7f3fd9f82f12a2d9b12823f1bb8e3fd8180c570000318eeb6b2e2ea523dfe543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f3fd9f82f12a2d9b12823f1bb8e3fd8180c570000318eeb6b2e2ea523dfe543", kill_on_drop: false }` [INFO] [stdout] 7f3fd9f82f12a2d9b12823f1bb8e3fd8180c570000318eeb6b2e2ea523dfe543 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65b876028e53ff3173faaa7f39790471f43a95c1437fe342ae03f3d22086738c [INFO] running `Command { std: "docker" "start" "-a" "65b876028e53ff3173faaa7f39790471f43a95c1437fe342ae03f3d22086738c", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling bytemuck v1.3.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling piston2d-graphics v0.40.0 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling graphics_buffer v0.7.7 [INFO] [stderr] Compiling fit_text v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `GlyphCache<'_, (), RenderBuffer>: CharacterCache` is not satisfied [INFO] [stdout] --> examples/simple.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | fitted_text(s1, rect, 30, &mut glyphs, IDENTITY, &mut normal_buffer).unwrap(); [INFO] [stdout] | ----------- ^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `graphics::character::CharacterCache` is not implemented for `graphics::glyph_cache::rusttype::GlyphCache<'_, (), graphics_buffer::RenderBuffer>` [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/piston2d-graphics-0.40.0/src/glyph_cache/rusttype.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl<'b, F, T: ImageSize> CharacterCache for GlyphCache<'b, F, T> [INFO] [stdout] 142 | | where T: CreateTexture + UpdateTexture [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] = note: perhaps two different versions of crate `graphics` are being used? [INFO] [stdout] note: there are multiple different versions of crate `graphics` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/piston2d-graphics-0.41.0/src/character.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub trait CharacterCache { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/simple.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use fit_text::*; [INFO] [stdout] | -------- one version of crate `graphics` used here, as a dependency of crate `fit_text` [INFO] [stdout] 2 | use graphics_buffer::*; [INFO] [stdout] | --------------- one version of crate `graphics` used here, as a dependency of crate `graphics_buffer` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/piston2d-graphics-0.40.0/src/glyph_cache/rusttype.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct GlyphCache<'a, F, T> { [INFO] [stdout] | ------------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/piston2d-graphics-0.40.0/src/graphics.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Graphics: Sized { [INFO] [stdout] | ------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `fit_text::fitted_text` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:545:8 [INFO] [stdout] | [INFO] [stdout] 532 | pub fn fitted_text( [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 545 | C: CharacterCache, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `fitted_text` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/simple-61b79551d3cce910.long-type-1895839467873998976.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `graphics_buffer::RenderBuffer: graphics::graphics::Graphics` is not satisfied [INFO] [stdout] --> examples/simple.rs:24:54 [INFO] [stdout] | [INFO] [stdout] 24 | fitted_text(s1, rect, 30, &mut glyphs, IDENTITY, &mut normal_buffer).unwrap(); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^ the trait `graphics::graphics::Graphics` is not implemented for `graphics_buffer::RenderBuffer` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/graphics_buffer-0.7.7/src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | impl Graphics for RenderBuffer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `graphics` are being used? [INFO] [stdout] note: there are multiple different versions of crate `graphics` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/piston2d-graphics-0.41.0/src/graphics.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait Graphics: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/simple.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use fit_text::*; [INFO] [stdout] | -------- one version of crate `graphics` used here, as a dependency of crate `fit_text` [INFO] [stdout] 2 | use graphics_buffer::*; [INFO] [stdout] | --------------- one version of crate `graphics` used here, as a dependency of crate `graphics_buffer` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/graphics_buffer-0.7.7/src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct RenderBuffer { [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/piston2d-graphics-0.40.0/src/graphics.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Graphics: Sized { [INFO] [stdout] | ------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `fit_text::fitted_text` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:547:8 [INFO] [stdout] | [INFO] [stdout] 532 | pub fn fitted_text( [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 547 | G: Graphics, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `fitted_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `GlyphCache<'_, (), RenderBuffer>: CharacterCache` is not satisfied [INFO] [stdout] --> examples/simple.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | fitted_colored_text(s2, rect, 30, &mut glyphs, IDENTITY, &mut colored_buffer).unwrap(); [INFO] [stdout] | ------------------- ^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `graphics::character::CharacterCache` is not implemented for `graphics::glyph_cache::rusttype::GlyphCache<'_, (), graphics_buffer::RenderBuffer>` [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/piston2d-graphics-0.40.0/src/glyph_cache/rusttype.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl<'b, F, T: ImageSize> CharacterCache for GlyphCache<'b, F, T> [INFO] [stdout] 142 | | where T: CreateTexture + UpdateTexture [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] = note: perhaps two different versions of crate `graphics` are being used? [INFO] [stdout] note: there are multiple different versions of crate `graphics` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/piston2d-graphics-0.41.0/src/character.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub trait CharacterCache { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/simple.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use fit_text::*; [INFO] [stdout] | -------- one version of crate `graphics` used here, as a dependency of crate `fit_text` [INFO] [stdout] 2 | use graphics_buffer::*; [INFO] [stdout] | --------------- one version of crate `graphics` used here, as a dependency of crate `graphics_buffer` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/piston2d-graphics-0.40.0/src/glyph_cache/rusttype.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct GlyphCache<'a, F, T> { [INFO] [stdout] | ------------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/piston2d-graphics-0.40.0/src/graphics.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Graphics: Sized { [INFO] [stdout] | ------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `fit_text::fitted_colored_text` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:581:8 [INFO] [stdout] | [INFO] [stdout] 567 | pub fn fitted_colored_text( [INFO] [stdout] | ------------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 581 | C: CharacterCache, [INFO] [stdout] | ^^^^^^^^^^^^^^ required by this bound in `fitted_colored_text` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/simple-61b79551d3cce910.long-type-1895839467873998976.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `graphics_buffer::RenderBuffer: graphics::graphics::Graphics` is not satisfied [INFO] [stdout] --> examples/simple.rs:27:62 [INFO] [stdout] | [INFO] [stdout] 27 | fitted_colored_text(s2, rect, 30, &mut glyphs, IDENTITY, &mut colored_buffer).unwrap(); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^^^^^ the trait `graphics::graphics::Graphics` is not implemented for `graphics_buffer::RenderBuffer` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/graphics_buffer-0.7.7/src/lib.rs:217:1 [INFO] [stdout] | [INFO] [stdout] 217 | impl Graphics for RenderBuffer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `graphics` are being used? [INFO] [stdout] note: there are multiple different versions of crate `graphics` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/piston2d-graphics-0.41.0/src/graphics.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub trait Graphics: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/simple.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use fit_text::*; [INFO] [stdout] | -------- one version of crate `graphics` used here, as a dependency of crate `fit_text` [INFO] [stdout] 2 | use graphics_buffer::*; [INFO] [stdout] | --------------- one version of crate `graphics` used here, as a dependency of crate `graphics_buffer` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/graphics_buffer-0.7.7/src/lib.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct RenderBuffer { [INFO] [stdout] | ----------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/piston2d-graphics-0.40.0/src/graphics.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Graphics: Sized { [INFO] [stdout] | ------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] note: required by a bound in `fit_text::fitted_colored_text` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:583:8 [INFO] [stdout] | [INFO] [stdout] 567 | pub fn fitted_colored_text( [INFO] [stdout] | ------------------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 583 | G: Graphics, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `fitted_colored_text` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `GlyphCache<'_, (), RenderBuffer>: CharacterCache` is not satisfied [INFO] [stdout] --> examples/simple.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | fitted_text(s1, rect, 30, &mut glyphs, IDENTITY, &mut normal_buffer).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: the trait `graphics::character::CharacterCache` is not implemented for `graphics::glyph_cache::rusttype::GlyphCache<'_, (), graphics_buffer::RenderBuffer>` [INFO] [stdout] help: trait impl with same name found [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/piston2d-graphics-0.40.0/src/glyph_cache/rusttype.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | / impl<'b, F, T: ImageSize> CharacterCache for GlyphCache<'b, F, T> [INFO] [stdout] 142 | | where T: CreateTexture + UpdateTexture [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] = note: perhaps two different versions of crate `graphics` are being used? [INFO] [stdout] note: there are multiple different versions of crate `graphics` in the dependency graph [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/piston2d-graphics-0.41.0/src/character.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | pub trait CharacterCache { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ this is the required trait [INFO] [stdout] | [INFO] [stdout] ::: examples/simple.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use fit_text::*; [INFO] [stdout] | -------- one version of crate `graphics` used here, as a dependency of crate `fit_text` [INFO] [stdout] 2 | use graphics_buffer::*; [INFO] [stdout] | --------------- one version of crate `graphics` used here, as a dependency of crate `graphics_buffer` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/piston2d-graphics-0.40.0/src/glyph_cache/rusttype.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct GlyphCache<'a, F, T> { [INFO] [stdout] | ------------------------------- this type doesn't implement the required trait [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/piston2d-graphics-0.40.0/src/graphics.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Graphics: Sized { [INFO] [stdout] | ------------------------- this is the found trait [INFO] [stdout] = help: you can use `cargo tree` to explore your dependency tree [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/simple-61b79551d3cce910.long-type-1895839467873998976.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fit_text` (example "simple") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "65b876028e53ff3173faaa7f39790471f43a95c1437fe342ae03f3d22086738c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65b876028e53ff3173faaa7f39790471f43a95c1437fe342ae03f3d22086738c", kill_on_drop: false }` [INFO] [stdout] 65b876028e53ff3173faaa7f39790471f43a95c1437fe342ae03f3d22086738c