[INFO] crate rs-tiled_json 0.1.0 is already in cache [INFO] testing rs-tiled_json-0.1.0 against 1.44.0 for beta-1.45-1 [INFO] extracting crate rs-tiled_json 0.1.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate rs-tiled_json 0.1.0 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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-8/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 240f1311103d650de56f674fa637bd177c1378678fa4690816cc957562cf7c1a [INFO] running `"docker" "start" "-a" "240f1311103d650de56f674fa637bd177c1378678fa4690816cc957562cf7c1a"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling rs-tiled_json v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.97s [INFO] running `"docker" "inspect" "240f1311103d650de56f674fa637bd177c1378678fa4690816cc957562cf7c1a"` [INFO] running `"docker" "rm" "-f" "240f1311103d650de56f674fa637bd177c1378678fa4690816cc957562cf7c1a"` [INFO] [stdout] 240f1311103d650de56f674fa637bd177c1378678fa4690816cc957562cf7c1a [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8e154ca849271c07fc355587f2e2141f1dd488cb6d8752a895f4f62970001268 [INFO] running `"docker" "start" "-a" "8e154ca849271c07fc355587f2e2141f1dd488cb6d8752a895f4f62970001268"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling rs-tiled_json v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.26s [INFO] running `"docker" "inspect" "8e154ca849271c07fc355587f2e2141f1dd488cb6d8752a895f4f62970001268"` [INFO] running `"docker" "rm" "-f" "8e154ca849271c07fc355587f2e2141f1dd488cb6d8752a895f4f62970001268"` [INFO] [stdout] 8e154ca849271c07fc355587f2e2141f1dd488cb6d8752a895f4f62970001268 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen"` [INFO] [stdout] 53aefd70b01bd3bc6c0d4ebe73105371ecb1f1cc6494dc48c27b21879e39a1e0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "53aefd70b01bd3bc6c0d4ebe73105371ecb1f1cc6494dc48c27b21879e39a1e0"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rs_tiled_json-b741c6a807241f5b [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 [INFO] [stdout] [INFO] [stderr] Doc-tests rs-tiled_json [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test src/map.rs - map (line 11) ... FAILED [INFO] [stdout] test src/lib.rs - load_map (line 133) ... FAILED [INFO] [stdout] test src/property.rs - property (line 32) ... FAILED [INFO] [stdout] test src/color.rs - color (line 9) ... FAILED [INFO] [stdout] test src/layer.rs - layer (line 41) ... FAILED [INFO] [stdout] test src/layer.rs - layer (line 28) ... FAILED [INFO] [stdout] test src/layer.rs - layer (line 23) ... FAILED [INFO] [stdout] test src/property.rs - property (line 22) ... FAILED [INFO] [stdout] test src/map.rs - map (line 21) ... FAILED [INFO] [stdout] test src/tileset.rs - tileset (line 24) ... FAILED [INFO] [stdout] test src/lib.rs - (line 33) ... 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/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/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 - 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/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/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/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 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/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 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/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/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/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/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/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: possible candidates are found in other modules, you can import them into scope [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: possible candidates are found in other modules, you can import them into scope [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: possible candidates are found in other modules, you can import them into scope [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 `"docker" "inspect" "53aefd70b01bd3bc6c0d4ebe73105371ecb1f1cc6494dc48c27b21879e39a1e0"` [INFO] running `"docker" "rm" "-f" "53aefd70b01bd3bc6c0d4ebe73105371ecb1f1cc6494dc48c27b21879e39a1e0"` [INFO] [stdout] 53aefd70b01bd3bc6c0d4ebe73105371ecb1f1cc6494dc48c27b21879e39a1e0