[INFO] fetching crate rs-tiled_json 0.1.0...
[INFO] testing rs-tiled_json-0.1.0 against 1.47.0 for beta-1.48-1
[INFO] extracting crate rs-tiled_json 0.1.0 into /workspace/builds/worker-6/source
[INFO] validating manifest of crates.io crate rs-tiled_json 0.1.0 on toolchain 1.47.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.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-6/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.47.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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c5b95a7705a9c1fa1e46772b181bcb13caec5fbb25755e22eb45b7ebe9acc6b2
[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" "c5b95a7705a9c1fa1e46772b181bcb13caec5fbb25755e22eb45b7ebe9acc6b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c5b95a7705a9c1fa1e46772b181bcb13caec5fbb25755e22eb45b7ebe9acc6b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c5b95a7705a9c1fa1e46772b181bcb13caec5fbb25755e22eb45b7ebe9acc6b2", kill_on_drop: false }`
[INFO] [stdout] c5b95a7705a9c1fa1e46772b181bcb13caec5fbb25755e22eb45b7ebe9acc6b2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 50a770fdd1fc0384a37bfb723ec7b779599517d941911eb3c45c0d97e9a85a6d
[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" "50a770fdd1fc0384a37bfb723ec7b779599517d941911eb3c45c0d97e9a85a6d", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]    Compiling serde_json v1.0.59
[INFO] [stderr]    Compiling rs-tiled_json v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 13.87s
[INFO] running `Command { std: "docker" "inspect" "50a770fdd1fc0384a37bfb723ec7b779599517d941911eb3c45c0d97e9a85a6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "50a770fdd1fc0384a37bfb723ec7b779599517d941911eb3c45c0d97e9a85a6d", kill_on_drop: false }`
[INFO] [stdout] 50a770fdd1fc0384a37bfb723ec7b779599517d941911eb3c45c0d97e9a85a6d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "test" "--frozen" "--no-run" "--message-format=json", 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] 359a34b0ebd9dc777738b2719e7bd4572c5ed221962d9641e2033d54e5f61111
[INFO] running `Command { std: "docker" "start" "-a" "359a34b0ebd9dc777738b2719e7bd4572c5ed221962d9641e2033d54e5f61111", 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.73s
[INFO] running `Command { std: "docker" "inspect" "359a34b0ebd9dc777738b2719e7bd4572c5ed221962d9641e2033d54e5f61111", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "359a34b0ebd9dc777738b2719e7bd4572c5ed221962d9641e2033d54e5f61111", kill_on_drop: false }`
[INFO] [stdout] 359a34b0ebd9dc777738b2719e7bd4572c5ed221962d9641e2033d54e5f61111
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.47.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c08f211b90793e8897057ee96c074fb14b08e5d09e76f5b9be1f67a03849a9e5
[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" "c08f211b90793e8897057ee96c074fb14b08e5d09e76f5b9be1f67a03849a9e5", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.16s
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/rs_tiled_json-bcf2a5b0461baaa1
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests rs-tiled_json
[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] [stdout] 
[INFO] [stdout] running 17 tests
[INFO] [stdout] test src/layer.rs - layer (line 23) ... FAILED
[INFO] [stdout] test src/map.rs - map (line 21) ... FAILED
[INFO] [stdout] test src/color.rs - color (line 9) ... FAILED
[INFO] [stdout] test src/property.rs - property (line 32) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 33) ... FAILED
[INFO] [stdout] test src/layer.rs - layer (line 64) ... FAILED
[INFO] [stdout] test src/layer.rs - layer (line 41) ... FAILED
[INFO] [stdout] test src/tileset.rs - tileset (line 24) ... FAILED
[INFO] [stdout] test src/layer.rs - layer (line 28) ... FAILED
[INFO] [stdout] test src/property.rs - property (line 22) ... FAILED
[INFO] [stdout] test src/map.rs - map (line 11) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 52) ... FAILED
[INFO] [stdout] test src/tileset.rs - tileset::Tile (line 290) ... FAILED
[INFO] [stdout] test src/lib.rs - load_map (line 133) ... FAILED
[INFO] [stdout] test src/tileset.rs - tileset (line 13) ... FAILED
[INFO] [stdout] test src/layer.rs - layer (line 19) ... FAILED
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] [stdout] test src/layer.rs - layer (line 33) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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<tiled_json::Object>
[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/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/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/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/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 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 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/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/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<tiled_json::Color>
[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 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<tiled_json::Layer>;
[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/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 - 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/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: `{ <body> }`
[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: `{ <body> }`
[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: `{ <body> }`
[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: `{ <body> }`
[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: `{ <body> }`
[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<Property>>;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
[INFO] [stdout]   |                                                                        |
[INFO] [stdout]   |                                                                        help: provide a definition for the function: `{ <body> }`
[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<Property>>;
[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<Property>>;
[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[E0425]: cannot find value `data` in this scope
[INFO] [stdout]  --> src/layer.rs:20:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | data: Vec<u32>
[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<u32>
[INFO] [stdout]   | ^^^^^^^^^^^^^^ expected `()`, found struct `std::vec::Vec`
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected unit type `()`
[INFO] [stdout]                 found struct `std::vec::Vec<u32>`
[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/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<tiled_json::Layer>
[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<tiled_json::Layer>
[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] 
[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] running `Command { std: "docker" "inspect" "c08f211b90793e8897057ee96c074fb14b08e5d09e76f5b9be1f67a03849a9e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c08f211b90793e8897057ee96c074fb14b08e5d09e76f5b9be1f67a03849a9e5", kill_on_drop: false }`
[INFO] [stdout] c08f211b90793e8897057ee96c074fb14b08e5d09e76f5b9be1f67a03849a9e5
