[INFO] fetching crate rs-tiled_json 0.1.0... [INFO] testing rs-tiled_json-0.1.0 against 1.49.0 for beta-1.50-1 [INFO] extracting crate rs-tiled_json 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate rs-tiled_json 0.1.0 on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 455b6bb28f1660b8bd7f90806ccf937e04976403f03dbcf31765c7e059e05073 [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" "455b6bb28f1660b8bd7f90806ccf937e04976403f03dbcf31765c7e059e05073", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "455b6bb28f1660b8bd7f90806ccf937e04976403f03dbcf31765c7e059e05073", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "455b6bb28f1660b8bd7f90806ccf937e04976403f03dbcf31765c7e059e05073", kill_on_drop: false }` [INFO] [stdout] 455b6bb28f1660b8bd7f90806ccf937e04976403f03dbcf31765c7e059e05073 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0b052e7da46179da8484650dc3654c3693b7b8d7f37bc46e9e14ba33f5de066 [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" "c0b052e7da46179da8484650dc3654c3693b7b8d7f37bc46e9e14ba33f5de066", kill_on_drop: false }` [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling rs-tiled_json v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.50s [INFO] running `Command { std: "docker" "inspect" "c0b052e7da46179da8484650dc3654c3693b7b8d7f37bc46e9e14ba33f5de066", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0b052e7da46179da8484650dc3654c3693b7b8d7f37bc46e9e14ba33f5de066", kill_on_drop: false }` [INFO] [stdout] c0b052e7da46179da8484650dc3654c3693b7b8d7f37bc46e9e14ba33f5de066 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c68c3919c3a92e5265ac431b9226c638b209663dc812a798fd644edaaa8c3e57 [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" "c68c3919c3a92e5265ac431b9226c638b209663dc812a798fd644edaaa8c3e57", 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 1.55s [INFO] running `Command { std: "docker" "inspect" "c68c3919c3a92e5265ac431b9226c638b209663dc812a798fd644edaaa8c3e57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c68c3919c3a92e5265ac431b9226c638b209663dc812a798fd644edaaa8c3e57", kill_on_drop: false }` [INFO] [stdout] c68c3919c3a92e5265ac431b9226c638b209663dc812a798fd644edaaa8c3e57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3259f577c75a7e5752d7d2255708c144e41b19c64c19f8f114b3e34fc4cd88db [INFO] running `Command { std: "docker" "start" "-a" "3259f577c75a7e5752d7d2255708c144e41b19c64c19f8f114b3e34fc4cd88db", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rs_tiled_json-fe5403b906da8669 [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 21) ... 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 32) ... FAILED [INFO] [stdout] test src/map.rs - map (line 11) ... FAILED [INFO] [stdout] test src/lib.rs - (line 52) ... FAILED [INFO] [stdout] test src/property.rs - property (line 22) ... FAILED [INFO] [stdout] test src/layer.rs - layer (line 64) ... FAILED [INFO] [stdout] test src/layer.rs - layer (line 33) ... FAILED [INFO] [stdout] test src/layer.rs - layer (line 41) ... FAILED [INFO] [stdout] test src/lib.rs - load_map (line 133) ... FAILED [INFO] [stdout] test src/color.rs - color (line 9) ... FAILED [INFO] [stdout] test src/tileset.rs - tileset::Tile (line 290) ... FAILED [INFO] [stdout] test src/lib.rs - (line 33) ... FAILED [INFO] [stdout] test src/tileset.rs - tileset (line 24) ... FAILED [INFO] [stdout] test src/tileset.rs - tileset (line 13) ... FAILED [INFO] [stdout] test src/layer.rs - layer (line 19) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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/layer.rs - layer (line 28) stdout ---- [INFO] [stdout] error: expected one of `!`, `(`, `.`, `::`, `;`, `<`, `?`, or `}`, found `transparentcolor` [INFO] [stdout] --> src/layer.rs:30:3 [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:3 [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/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 crate 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 crate or module `tiled_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate or module `tiled_json` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate 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/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 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/layer.rs - layer (line 33) stdout ---- [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/layer.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | - while parsing this struct [INFO] [stdout] 3 | layers: Vec [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = help: use `::<...>` instead of `<...>` to specify type or const arguments [INFO] [stdout] = help: or use `(...)` if you meant to specify fn arguments [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tiled_json` [INFO] [stdout] --> src/layer.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 3 | layers: Vec [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate 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] | ^^^^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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 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/lib.rs - load_map (line 133) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate 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 crate 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/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/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/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 (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/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 this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rs_tiled_json::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 this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rs_tiled_json::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 this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rs_tiled_json::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] ---- src/layer.rs - layer (line 19) stdout ---- [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> src/layer.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | - while parsing this struct [INFO] [stdout] 3 | data: Vec [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = help: use `::<...>` instead of `<...>` to specify type or const arguments [INFO] [stdout] = help: or use `(...)` if you meant to specify fn arguments [INFO] [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] | ^^^^ 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 `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found struct `Vec` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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] [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" "3259f577c75a7e5752d7d2255708c144e41b19c64c19f8f114b3e34fc4cd88db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3259f577c75a7e5752d7d2255708c144e41b19c64c19f8f114b3e34fc4cd88db", kill_on_drop: false }` [INFO] [stdout] 3259f577c75a7e5752d7d2255708c144e41b19c64c19f8f114b3e34fc4cd88db