[INFO] fetching crate tesserae 0.3.1... [INFO] testing tesserae-0.3.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate tesserae 0.3.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate tesserae 0.3.1 [INFO] finished tweaking crates.io crate tesserae 0.3.1 [INFO] tweaked toml for crates.io crate tesserae 0.3.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tesserae 0.3.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tesserae 0.3.1 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4170c5f671744874e2801ec0ffe47b3898b31e0ec2970f00903aa552dc0df405 [INFO] running `Command { std: "docker" "start" "-a" "4170c5f671744874e2801ec0ffe47b3898b31e0ec2970f00903aa552dc0df405", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4170c5f671744874e2801ec0ffe47b3898b31e0ec2970f00903aa552dc0df405", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4170c5f671744874e2801ec0ffe47b3898b31e0ec2970f00903aa552dc0df405", kill_on_drop: false }` [INFO] [stdout] 4170c5f671744874e2801ec0ffe47b3898b31e0ec2970f00903aa552dc0df405 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 196d2023f0d20e831c774d5576858336bf2ea6495c9e3e5871f32c9ca062e532 [INFO] running `Command { std: "docker" "start" "-a" "196d2023f0d20e831c774d5576858336bf2ea6495c9e3e5871f32c9ca062e532", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling sdl2 v0.33.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling sdl2-sys v0.33.0 [INFO] [stderr] Compiling tesserae v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:469:25 [INFO] [stdout] | [INFO] [stdout] 469 | if let Some(mut t) = self.tiles.get_mut(i) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:572:20 [INFO] [stdout] | [INFO] [stdout] 572 | pub fn texture(&self) -> &Texture { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 572 | pub fn texture(&self) -> &Texture<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.20s [INFO] running `Command { std: "docker" "inspect" "196d2023f0d20e831c774d5576858336bf2ea6495c9e3e5871f32c9ca062e532", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "196d2023f0d20e831c774d5576858336bf2ea6495c9e3e5871f32c9ca062e532", kill_on_drop: false }` [INFO] [stdout] 196d2023f0d20e831c774d5576858336bf2ea6495c9e3e5871f32c9ca062e532 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be71ca90cbc52973fa5a6bf1b09e2a2862fc347624ee31ef2b2ffc7394145fa9 [INFO] running `Command { std: "docker" "start" "-a" "be71ca90cbc52973fa5a6bf1b09e2a2862fc347624ee31ef2b2ffc7394145fa9", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bit_reverse v0.1.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:469:25 [INFO] [stdout] | [INFO] [stdout] 469 | if let Some(mut t) = self.tiles.get_mut(i) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:572:20 [INFO] [stdout] | [INFO] [stdout] 572 | pub fn texture(&self) -> &Texture { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 572 | pub fn texture(&self) -> &Texture<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling tesserae v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:469:25 [INFO] [stdout] | [INFO] [stdout] 469 | if let Some(mut t) = self.tiles.get_mut(i) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:572:20 [INFO] [stdout] | [INFO] [stdout] 572 | pub fn texture(&self) -> &Texture { [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 572 | pub fn texture(&self) -> &Texture<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 5.68s [INFO] running `Command { std: "docker" "inspect" "be71ca90cbc52973fa5a6bf1b09e2a2862fc347624ee31ef2b2ffc7394145fa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be71ca90cbc52973fa5a6bf1b09e2a2862fc347624ee31ef2b2ffc7394145fa9", kill_on_drop: false }` [INFO] [stdout] be71ca90cbc52973fa5a6bf1b09e2a2862fc347624ee31ef2b2ffc7394145fa9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8203b74dfdb966098ad71f2b2fedf4c871cf10c89b4f689e75ecd75ab98ce47c [INFO] running `Command { std: "docker" "start" "-a" "8203b74dfdb966098ad71f2b2fedf4c871cf10c89b4f689e75ecd75ab98ce47c", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/lib.rs:469:25 [INFO] [stderr] | [INFO] [stderr] 469 | if let Some(mut t) = self.tiles.get_mut(i) { [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:572:20 [INFO] [stderr] | [INFO] [stderr] 572 | pub fn texture(&self) -> &Texture { [INFO] [stderr] | ^^^^^ ^^^^^^^^ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 572 | pub fn texture(&self) -> &Texture<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `tesserae` (lib) generated 2 warnings (run `cargo fix --lib -p tesserae` to apply 2 suggestions) [INFO] [stderr] warning: `tesserae` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tesserae-f47ad98b1186bdeb) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests tesserae [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - Graphic<()>::blank (line 370) ... FAILED [INFO] [stdout] test src/lib.rs - Graphic<()>::load_file (line 317) ... FAILED [INFO] [stdout] test src/lib.rs - Graphic<()>::load_from (line 329) ... FAILED [INFO] [stdout] test src/lib.rs - Graphic<()>::textured (line 381) ... FAILED [INFO] [stdout] test src/lib.rs - Graphic<()>::tile_cache_textured (line 400) ... FAILED [INFO] [stdout] test src/lib.rs - TileSet::load_from (line 169) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Graphic<()>::blank (line 370) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `(` [INFO] [stdout] --> src/lib.rs:371:15 [INFO] [stdout] | [INFO] [stdout] 371 | Graphic::blank(8,12) [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Graphic<()>::load_file (line 317) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `(` [INFO] [stdout] --> src/lib.rs:318:19 [INFO] [stdout] | [INFO] [stdout] 318 | Graphic::load_file(path) [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Graphic<()>::load_from (line 329) stdout ---- [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/lib.rs:330:69 [INFO] [stdout] | [INFO] [stdout] 330 | let g = Graphic::load_from(Cursor::new(&include_bytes!("file")[..])) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 331 | } _doctest_main_src_lib_rs_329_0() } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/file`: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:330:41 [INFO] [stdout] | [INFO] [stdout] 330 | let g = Graphic::load_from(Cursor::new(&include_bytes!("file")[..])) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Graphic` in this scope [INFO] [stdout] --> src/lib.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | let g = Graphic::load_from(Cursor::new(&include_bytes!("file")[..])) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Graphic` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 329 + use tesserae::Graphic; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Cursor` in this scope [INFO] [stdout] --> src/lib.rs:330:28 [INFO] [stdout] | [INFO] [stdout] 330 | let g = Graphic::load_from(Cursor::new(&include_bytes!("file")[..])) [INFO] [stdout] | ^^^^^^ use of undeclared type `Cursor` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 329 + use std::collections::btree_map::Cursor; [INFO] [stdout] | [INFO] [stdout] 329 + use std::collections::btree_set::Cursor; [INFO] [stdout] | [INFO] [stdout] 329 + use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 329 + use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Graphic<()>::textured (line 381) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `texture_creator` in this scope [INFO] [stdout] --> src/lib.rs:382:47 [INFO] [stdout] | [INFO] [stdout] 382 | let g = Graphics::load_file("path")?.textured(texture_creator); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Graphics` in this scope [INFO] [stdout] --> src/lib.rs:382:9 [INFO] [stdout] | [INFO] [stdout] 382 | let g = Graphics::load_file("path")?.textured(texture_creator); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Graphics` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Graphic<()>::tile_cache_textured (line 400) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `texture_creator` in this scope [INFO] [stdout] --> src/lib.rs:401:58 [INFO] [stdout] | [INFO] [stdout] 401 | let g = Graphics::load_file("path")?.tile_cache_textured(texture_creator); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Graphics` in this scope [INFO] [stdout] --> src/lib.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | let g = Graphics::load_file("path")?.tile_cache_textured(texture_creator); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Graphics` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - TileSet::load_from (line 169) stdout ---- [INFO] [stdout] error: couldn't read `src/tile_set`: No such file or directory (os error 2) [INFO] [stdout] --> src/lib.rs:170:10 [INFO] [stdout] | [INFO] [stdout] 170 | let ts = include_bytes!("tile_set"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a file with the same name in a different directory [INFO] [stdout] | [INFO] [stdout] 170 | let ts = include_bytes!("../tile_set"); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `TileSet` in this scope [INFO] [stdout] --> src/lib.rs:171:1 [INFO] [stdout] | [INFO] [stdout] 171 | TileSet::load_from(Cursor::new(&ts[..])) [INFO] [stdout] | ^^^^^^^ use of undeclared type `TileSet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 169 + use tesserae::TileSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Cursor` in this scope [INFO] [stdout] --> src/lib.rs:171:20 [INFO] [stdout] | [INFO] [stdout] 171 | TileSet::load_from(Cursor::new(&ts[..])) [INFO] [stdout] | ^^^^^^ use of undeclared type `Cursor` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 169 + use std::collections::btree_map::Cursor; [INFO] [stdout] | [INFO] [stdout] 169 + use std::collections::btree_set::Cursor; [INFO] [stdout] | [INFO] [stdout] 169 + use std::collections::linked_list::Cursor; [INFO] [stdout] | [INFO] [stdout] 169 + use std::io::Cursor; [INFO] [stdout] | [INFO] [stdout] = and 1 other candidate [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Graphic<()>::blank (line 370) [INFO] [stdout] src/lib.rs - Graphic<()>::load_file (line 317) [INFO] [stdout] src/lib.rs - Graphic<()>::load_from (line 329) [INFO] [stdout] src/lib.rs - Graphic<()>::textured (line 381) [INFO] [stdout] src/lib.rs - Graphic<()>::tile_cache_textured (line 400) [INFO] [stdout] src/lib.rs - TileSet::load_from (line 169) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "8203b74dfdb966098ad71f2b2fedf4c871cf10c89b4f689e75ecd75ab98ce47c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8203b74dfdb966098ad71f2b2fedf4c871cf10c89b4f689e75ecd75ab98ce47c", kill_on_drop: false }` [INFO] [stdout] 8203b74dfdb966098ad71f2b2fedf4c871cf10c89b4f689e75ecd75ab98ce47c