[INFO] crate rs-tiled_json 0.1.0 is already in cache [INFO] testing rs-tiled_json-0.1.0 against 1.45.2 for beta-1.46-1 [INFO] extracting crate rs-tiled_json 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate rs-tiled_json 0.1.0 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate rs-tiled_json 0.1.0 [INFO] finished tweaking crates.io crate rs-tiled_json 0.1.0 [INFO] tweaked toml for crates.io crate rs-tiled_json 0.1.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36571e073126d17ee09761304950b267c63c6155c87361b8ffd1232887d70ab0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "36571e073126d17ee09761304950b267c63c6155c87361b8ffd1232887d70ab0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36571e073126d17ee09761304950b267c63c6155c87361b8ffd1232887d70ab0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36571e073126d17ee09761304950b267c63c6155c87361b8ffd1232887d70ab0", kill_on_drop: false }` [INFO] [stdout] 36571e073126d17ee09761304950b267c63c6155c87361b8ffd1232887d70ab0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33705d0318807414ca07ad8bf9fb0a43d57f5082797f9cc7e991d4056cfce03f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "33705d0318807414ca07ad8bf9fb0a43d57f5082797f9cc7e991d4056cfce03f", kill_on_drop: false }` [INFO] [stderr] Compiling rs-tiled_json v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.33s [INFO] running `Command { std: "docker" "inspect" "33705d0318807414ca07ad8bf9fb0a43d57f5082797f9cc7e991d4056cfce03f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33705d0318807414ca07ad8bf9fb0a43d57f5082797f9cc7e991d4056cfce03f", kill_on_drop: false }` [INFO] [stdout] 33705d0318807414ca07ad8bf9fb0a43d57f5082797f9cc7e991d4056cfce03f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4e64fe28229456d6731ec0b6434ea58a78ef9dbd0aa6ef59103b89eacd5a6da [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c4e64fe28229456d6731ec0b6434ea58a78ef9dbd0aa6ef59103b89eacd5a6da", kill_on_drop: false }` [INFO] [stderr] Compiling rs-tiled_json v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.61s [INFO] running `Command { std: "docker" "inspect" "c4e64fe28229456d6731ec0b6434ea58a78ef9dbd0aa6ef59103b89eacd5a6da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4e64fe28229456d6731ec0b6434ea58a78ef9dbd0aa6ef59103b89eacd5a6da", kill_on_drop: false }` [INFO] [stdout] c4e64fe28229456d6731ec0b6434ea58a78ef9dbd0aa6ef59103b89eacd5a6da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b0da8d0f71bcddbe31d1a6b1e9be21fad6f041159c243ea6b1d3b37cd805bbdc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b0da8d0f71bcddbe31d1a6b1e9be21fad6f041159c243ea6b1d3b37cd805bbdc", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stdout] running 0 tests [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rs_tiled_json-2d7f61244514fbab [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests rs-tiled_json [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test src/tileset.rs - tileset (line 24) ... FAILED [INFO] [stdout] test src/color.rs - color (line 9) ... FAILED [INFO] [stdout] test src/lib.rs - load_map (line 133) ... FAILED [INFO] [stdout] test src/map.rs - map (line 21) ... FAILED [INFO] [stdout] test src/lib.rs - (line 33) ... FAILED [INFO] [stdout] test src/layer.rs - layer (line 41) ... FAILED [INFO] [stdout] test src/layer.rs - layer (line 23) ... FAILED [INFO] [stdout] test src/property.rs - property (line 32) ... FAILED [INFO] [stdout] test src/property.rs - property (line 22) ... FAILED [INFO] [stdout] test src/layer.rs - layer (line 28) ... FAILED [INFO] [stdout] test src/tileset.rs - tileset::Tile (line 290) ... FAILED [INFO] [stdout] test src/layer.rs - layer (line 64) ... FAILED [INFO] [stdout] test src/map.rs - map (line 11) ... FAILED [INFO] [stdout] test src/lib.rs - (line 52) ... FAILED [INFO] [stdout] test src/layer.rs - layer (line 33) ... FAILED [INFO] [stdout] test src/layer.rs - layer (line 19) ... FAILED [INFO] [stdout] test src/tileset.rs - tileset (line 13) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/tileset.rs - tileset (line 24) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `->` [INFO] [stdout] --> src/tileset.rs:25:54 [INFO] [stdout] | [INFO] [stdout] 3 | tiled_json::Tileset::get_property(&self, name: &str) -> Option<&tiled_json::Property>; [INFO] [stdout] | ^^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/color.rs - color (line 9) stdout ---- [INFO] [stdout] error: expected one of `!` or `[`, found `rrggbb` [INFO] [stdout] --> src/color.rs:10:2 [INFO] [stdout] | [INFO] [stdout] 3 | #rrggbb [INFO] [stdout] | ^^^^^^ expected one of `!` or `[` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - load_map (line 133) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tiled_json` [INFO] [stdout] --> src/lib.rs:134:11 [INFO] [stdout] | [INFO] [stdout] 3 | let map = tiled_json::load_map("map1.json"); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `tiled_json` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map (line 21) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `->` [INFO] [stdout] --> src/map.rs:22:50 [INFO] [stdout] | [INFO] [stdout] 3 | tiled_json::Map::get_property(&self, name: &str) -> Option<&tiled_json::Property>; [INFO] [stdout] | ^^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 33) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `Layers` [INFO] [stdout] --> src/lib.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 3 | Map [INFO] [stdout] | - expected one of 8 possible tokens [INFO] [stdout] 4 | Layers [INFO] [stdout] | ^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/layer.rs - layer (line 41) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `->` [INFO] [stdout] --> src/layer.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 3 | tiled_json::Layer::is_tile_layer(&self) -> bool; [INFO] [stdout] | ^^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/layer.rs - layer (line 23) stdout ---- [INFO] [stdout] error: expected one of `!`, `(`, `.`, `::`, `;`, `<`, `?`, or `}`, found `objects` [INFO] [stdout] --> src/layer.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 3 | draworder: tiled_json::DrawOrder [INFO] [stdout] | - - expected one of 8 possible tokens [INFO] [stdout] | | [INFO] [stdout] | help: maybe write a path separator here: `::` [INFO] [stdout] 4 | objects: Vec [INFO] [stdout] | ^^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/property.rs - property (line 32) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `->` [INFO] [stdout] --> src/property.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 3 | ::get_property(&self, name: &str) -> Option<&tiled_json::Property>; [INFO] [stdout] | ^^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/property.rs - property (line 22) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `->` [INFO] [stdout] --> src/property.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 3 | Property::get_string(&self) -> Option<&String>; [INFO] [stdout] | ^^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/layer.rs - layer (line 28) stdout ---- [INFO] [stdout] error: expected one of `!`, `(`, `.`, `::`, `;`, `<`, `?`, or `}`, found `transparentcolor` [INFO] [stdout] --> src/layer.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 3 | image: String [INFO] [stdout] | - - expected one of 8 possible tokens [INFO] [stdout] | | [INFO] [stdout] | tried to parse a type due to this [INFO] [stdout] 4 | transparentcolor: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tileset.rs - tileset::Tile (line 290) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `->` [INFO] [stdout] --> src/tileset.rs:291:51 [INFO] [stdout] | [INFO] [stdout] 3 | tiled_json::Tile::get_property(&self, name: &str) -> Option<&tiled_json::Property>; [INFO] [stdout] | ^^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/layer.rs - layer (line 64) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `->` [INFO] [stdout] --> src/layer.rs:65:52 [INFO] [stdout] | [INFO] [stdout] 3 | tiled_json::Layer::get_property(&self, name: &str) -> Option<&tiled_json::Property>; [INFO] [stdout] | ^^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/map.rs - map (line 11) stdout ---- [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `->` [INFO] [stdout] --> src/map.rs:12:32 [INFO] [stdout] | [INFO] [stdout] 3 | tiled_json::Map::layers(&self) -> &Vec; [INFO] [stdout] | ^^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 52) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tiled_json` [INFO] [stdout] --> src/lib.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 3 | let map = tiled_json::load_map("map1.json").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `tiled_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tiled_json` [INFO] [stdout] --> src/lib.rs:63:29 [INFO] [stdout] | [INFO] [stdout] 13 | let flip_bits = tiled_json::gid_flipped_hvd( *n ); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `tiled_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tiled_json` [INFO] [stdout] --> src/lib.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 14 | let gid = tiled_json::gid_without_flags( *n ); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `tiled_json` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MSECS_SINCE_WORLD_CREATION` in this scope [INFO] [stdout] --> src/lib.rs:70:50 [INFO] [stdout] | [INFO] [stdout] 20 | let anim_coords = tile.get_anim( MSECS_SINCE_WORLD_CREATION ).unwrap(); // this may not exist [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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/layer.rs - layer (line 33) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `tiled_json` [INFO] [stdout] --> src/layer.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 3 | layers: Vec [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type or module `tiled_json` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `layers` in this scope [INFO] [stdout] --> src/layer.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 3 | layers: Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | expecting a type here because of type ascription [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/layer.rs - layer (line 19) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `data` in this scope [INFO] [stdout] --> src/layer.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 3 | data: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/layer.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] 3 | data: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `()`, found struct `std::vec::Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `std::vec::Vec` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tileset.rs - tileset (line 13) stdout ---- [INFO] [stdout] error: free function without a body [INFO] [stdout] --> src/tileset.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn coord_by_gid(&self, gid: u32) -> (u16, u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/tileset.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn coord_by_gid(&self, gid: u32) -> (u16, u16); [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error: free function without a body [INFO] [stdout] --> src/tileset.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn anim_by_gid(&self, gid: u32, milliseconds: u32) -> (u16, u16); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/tileset.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn anim_by_gid(&self, gid: u32, milliseconds: u32) -> (u16, u16); [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error: free function without a body [INFO] [stdout] --> src/tileset.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn collision_by_gid(&self, gid: u32) -> Option<&Layer>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/tileset.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn collision_by_gid(&self, gid: u32) -> Option<&Layer>; [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error: free function without a body [INFO] [stdout] --> src/tileset.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn tile_by_gid(&self, gid: u32) -> Option<&Tile>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/tileset.rs:17:24 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn tile_by_gid(&self, gid: u32) -> Option<&Tile>; [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error: free function without a body [INFO] [stdout] --> src/tileset.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn type_by_gid(&self, gid: u32) -> Option<&String>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/tileset.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn type_by_gid(&self, gid: u32) -> Option<&String>; [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error: free function without a body [INFO] [stdout] --> src/tileset.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn properties_by_gid(&self, gid: u32) -> Option<&Vec>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/tileset.rs:19:30 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn properties_by_gid(&self, gid: u32) -> Option<&Vec>; [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Layer` in this scope [INFO] [stdout] --> src/tileset.rs:16:57 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn collision_by_gid(&self, gid: u32) -> Option<&Layer>; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use rs_tiled_json::Layer; [INFO] [stdout] | [INFO] [stdout] 2 | use rs_tiled_json::layer::Layer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Tile` in this scope [INFO] [stdout] --> src/tileset.rs:17:52 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn tile_by_gid(&self, gid: u32) -> Option<&Tile>; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use rs_tiled_json::Tile; [INFO] [stdout] | [INFO] [stdout] 2 | use rs_tiled_json::tileset::Tile; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Property` in this scope [INFO] [stdout] --> src/tileset.rs:19:62 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn properties_by_gid(&self, gid: u32) -> Option<&Vec>; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use rs_tiled_json::Property; [INFO] [stdout] | [INFO] [stdout] 2 | use rs_tiled_json::property::Property; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/color.rs - color (line 9) [INFO] [stdout] src/layer.rs - layer (line 19) [INFO] [stdout] src/layer.rs - layer (line 23) [INFO] [stdout] src/layer.rs - layer (line 28) [INFO] [stdout] src/layer.rs - layer (line 33) [INFO] [stdout] src/layer.rs - layer (line 41) [INFO] [stdout] src/layer.rs - layer (line 64) [INFO] [stdout] src/lib.rs - (line 33) [INFO] [stdout] src/lib.rs - (line 52) [INFO] [stdout] src/lib.rs - load_map (line 133) [INFO] [stdout] src/map.rs - map (line 11) [INFO] [stdout] src/map.rs - map (line 21) [INFO] [stdout] src/property.rs - property (line 22) [INFO] [stdout] src/property.rs - property (line 32) [INFO] [stdout] src/tileset.rs - tileset (line 13) [INFO] [stdout] src/tileset.rs - tileset (line 24) [INFO] [stdout] src/tileset.rs - tileset::Tile (line 290) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 17 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "b0da8d0f71bcddbe31d1a6b1e9be21fad6f041159c243ea6b1d3b37cd805bbdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0da8d0f71bcddbe31d1a6b1e9be21fad6f041159c243ea6b1d3b37cd805bbdc", kill_on_drop: false }` [INFO] [stdout] b0da8d0f71bcddbe31d1a6b1e9be21fad6f041159c243ea6b1d3b37cd805bbdc