[INFO] fetching crate pane 0.4.0... [INFO] checking pane-0.4.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate pane 0.4.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate pane 0.4.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate pane 0.4.0 [INFO] tweaked toml for crates.io crate pane 0.4.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pane 0.4.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 50 packages to latest compatible versions [INFO] [stderr] Adding piston2d-graphics v0.33.0 (available: v0.45.0) [INFO] [stderr] Adding rusttype v0.7.9 (available: v0.9.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded graphics_buffer v0.7.7 [INFO] [stderr] Downloaded piston2d-graphics v0.33.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ea2992e4aae6c1a2744c99ec13288cb89438c8ddbb2b4a8794cdd066653a479 [INFO] running `Command { std: "docker" "start" "-a" "6ea2992e4aae6c1a2744c99ec13288cb89438c8ddbb2b4a8794cdd066653a479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ea2992e4aae6c1a2744c99ec13288cb89438c8ddbb2b4a8794cdd066653a479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ea2992e4aae6c1a2744c99ec13288cb89438c8ddbb2b4a8794cdd066653a479", kill_on_drop: false }` [INFO] [stdout] 6ea2992e4aae6c1a2744c99ec13288cb89438c8ddbb2b4a8794cdd066653a479 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 827f3a7f11a8044b9ff76b1abe25c8043bf79efec45453e42728d7a9a568882a [INFO] running `Command { std: "docker" "start" "-a" "827f3a7f11a8044b9ff76b1abe25c8043bf79efec45453e42728d7a9a568882a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking piston-float v1.0.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking read_color v1.0.0 [INFO] [stderr] Checking interpolation v0.2.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking piston-texture v0.8.0 [INFO] [stderr] Checking piston-texture v0.6.0 [INFO] [stderr] Checking piston-viewport v1.0.2 [INFO] [stderr] Checking vecmath v1.0.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking gif v0.11.4 [INFO] [stderr] Checking piston2d-graphics v0.33.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking owned_ttf_parser v0.15.2 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking rusttype v0.9.3 [INFO] [stderr] Checking piston2d-graphics v0.40.0 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking graphics_buffer v0.7.7 [INFO] [stderr] Checking pane v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `Map` is never used [INFO] [stdout] --> src/lib.rs:389:7 [INFO] [stdout] | [INFO] [stdout] 389 | trait Map { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Map` is never used [INFO] [stdout] --> src/lib.rs:389:7 [INFO] [stdout] | [INFO] [stdout] 389 | trait Map { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `GlyphCache<'_, (), RenderBuffer>: CharacterWidthCache` is not satisfied [INFO] [stdout] --> examples/simple.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | .fit_text(&mut glyphs); [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.33.0/src/character.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | 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 graphics_buffer::*; [INFO] [stdout] | --------------- one version of crate `graphics` used here, as a dependency of crate `graphics_buffer` [INFO] [stdout] 2 | use pane::prelude::*; [INFO] [stdout] | ---- one version of crate `graphics` used here, as a dependency of crate `pane` [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 for `graphics::glyph_cache::rusttype::GlyphCache<'_, (), graphics_buffer::RenderBuffer>` to implement `CharacterWidthCache` [INFO] [stdout] note: required by a bound in `pane::Pane::::fit_text` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn fit_text(mut self, glyphs: &mut C) -> Self [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] 308 | where [INFO] [stdout] 309 | C: CharacterWidthCache, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Pane::::fit_text` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/simple-aa95f4f8300ffdc7.long-type-10310568420895478565.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 `GlyphCache<'_, (), RenderBuffer>: CharacterCache` is not satisfied [INFO] [stdout] --> examples/simple.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | pane.draw(&mut glyphs, IDENTITY, &mut 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.33.0/src/character.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | 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 graphics_buffer::*; [INFO] [stdout] | --------------- one version of crate `graphics` used here, as a dependency of crate `graphics_buffer` [INFO] [stdout] 2 | use pane::prelude::*; [INFO] [stdout] | ---- one version of crate `graphics` used here, as a dependency of crate `pane` [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 `pane::Pane::::draw` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:340:12 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn draw( [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 340 | C: CharacterCache, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Pane::::draw` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/examples/simple-aa95f4f8300ffdc7.long-type-15584759815225569628.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:58:38 [INFO] [stdout] | [INFO] [stdout] 58 | pane.draw(&mut glyphs, IDENTITY, &mut 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.33.0/src/graphics.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | 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 graphics_buffer::*; [INFO] [stdout] | --------------- one version of crate `graphics` used here, as a dependency of crate `graphics_buffer` [INFO] [stdout] 2 | use pane::prelude::*; [INFO] [stdout] | ---- one version of crate `graphics` used here, as a dependency of crate `pane` [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 `pane::Pane::::draw` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:341:12 [INFO] [stdout] | [INFO] [stdout] 332 | pub fn draw( [INFO] [stdout] | ---- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 341 | G: Graphics, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Pane::::draw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pane` (example "simple") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "827f3a7f11a8044b9ff76b1abe25c8043bf79efec45453e42728d7a9a568882a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "827f3a7f11a8044b9ff76b1abe25c8043bf79efec45453e42728d7a9a568882a", kill_on_drop: false }` [INFO] [stdout] 827f3a7f11a8044b9ff76b1abe25c8043bf79efec45453e42728d7a9a568882a