[INFO] fetching crate simple-anvil 0.3.3... [INFO] testing simple-anvil-0.3.3 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate simple-anvil 0.3.3 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate simple-anvil 0.3.3 [INFO] finished tweaking crates.io crate simple-anvil 0.3.3 [INFO] tweaked toml for crates.io crate simple-anvil 0.3.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate simple-anvil 0.3.3 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ed5a5a7f31db707514ea83f6c0019fbd0e815eda4c9c994ba77c478eb1ee5717 [INFO] running `Command { std: "docker" "start" "-a" "ed5a5a7f31db707514ea83f6c0019fbd0e815eda4c9c994ba77c478eb1ee5717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed5a5a7f31db707514ea83f6c0019fbd0e815eda4c9c994ba77c478eb1ee5717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed5a5a7f31db707514ea83f6c0019fbd0e815eda4c9c994ba77c478eb1ee5717", kill_on_drop: false }` [INFO] [stdout] ed5a5a7f31db707514ea83f6c0019fbd0e815eda4c9c994ba77c478eb1ee5717 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d23b99e5ae414d162a338f3642c77174de80c2318f0a67fba4c6ee8fef93b48 [INFO] running `Command { std: "docker" "start" "-a" "3d23b99e5ae414d162a338f3642c77174de80c2318f0a67fba4c6ee8fef93b48", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling cesu8 v1.1.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling hematite-nbt v0.5.2 [INFO] [stderr] Compiling simple-anvil v0.3.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.13s [INFO] running `Command { std: "docker" "inspect" "3d23b99e5ae414d162a338f3642c77174de80c2318f0a67fba4c6ee8fef93b48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d23b99e5ae414d162a338f3642c77174de80c2318f0a67fba4c6ee8fef93b48", kill_on_drop: false }` [INFO] [stdout] 3d23b99e5ae414d162a338f3642c77174de80c2318f0a67fba4c6ee8fef93b48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25f171076f26c05a53d44aa9a8fffebb45991ffecfd36cf34c035fc12a042c8c [INFO] running `Command { std: "docker" "start" "-a" "25f171076f26c05a53d44aa9a8fffebb45991ffecfd36cf34c035fc12a042c8c", kill_on_drop: false }` [INFO] [stderr] Compiling simple-anvil v0.3.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "25f171076f26c05a53d44aa9a8fffebb45991ffecfd36cf34c035fc12a042c8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25f171076f26c05a53d44aa9a8fffebb45991ffecfd36cf34c035fc12a042c8c", kill_on_drop: false }` [INFO] [stdout] 25f171076f26c05a53d44aa9a8fffebb45991ffecfd36cf34c035fc12a042c8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8a11fe21178960ec3f066b58b03e7779444363775a5ec9baf731a60917863167 [INFO] running `Command { std: "docker" "start" "-a" "8a11fe21178960ec3f066b58b03e7779444363775a5ec9baf731a60917863167", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/simple_anvil-bd9fd05257194568) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests simple_anvil [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/region.rs - region::Region<'a>::get_block (line 132) - compile ... ok [INFO] [stdout] test src/block.rs - block::Block::from_name (line 74) ... FAILED [INFO] [stdout] test src/block.rs - block::Block::new (line 30) ... FAILED [INFO] [stdout] test src/region.rs - region::Region<'a>::get_chunk (line 112) - compile ... ok [INFO] [stdout] test src/lib.rs - (line 10) - compile ... FAILED [INFO] [stdout] test src/chunk.rs - chunk::Chunk::get_last_update (line 60) - compile ... FAILED [INFO] [stdout] test src/block.rs - block::Block::name (line 53) ... FAILED [INFO] [stdout] test src/chunk.rs - chunk::Chunk::get_biome (line 179) - compile ... FAILED [INFO] [stdout] test src/region.rs - region::Region<'a>::from_file (line 89) - compile ... ok [INFO] [stdout] test src/chunk.rs - chunk::Chunk::get_block (line 243) - compile ... FAILED [INFO] [stdout] test src/chunk.rs - chunk::Chunk::get_status (line 40) - compile ... FAILED [INFO] [stdout] test src/chunk.rs - chunk::Chunk::get_heightmap (line 82) - compile ... FAILED [INFO] [stdout] test src/chunk.rs - chunk::Chunk::get_biome (line 193) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/block.rs - block::Block::from_name (line 74) stdout ---- [INFO] [stdout] error[E0061]: this function takes 3 arguments but 1 argument was supplied [INFO] [stdout] --> src/block.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 6 | let block = Block::from_name("minecraft:stone".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------------- two arguments of type `Option<(i32, i32, i32)>` and `Option>` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/block.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn from_name(name: String, coords: Option<(i32, i32, i32)>, properties: Option>) -> Block { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 6 | let block = Block::from_name("minecraft:stone".into(), /* Option<(i32, i32, i32)> */, /* Option> */); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/block.rs - block::Block::new (line 30) stdout ---- [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/block.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 6 | let block = Block::new("minecraft".into(), Some("stone".into())); [INFO] [stdout] | ^^^^^^^^^^------------------------------------------ two arguments of type `Option<(i32, i32, i32)>` and `Option>` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/block.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(namespace: String, block_id: Option, coords: Option<(i32, i32, i32)>, properties: Option>) -... [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 6 | let block = Block::new("minecraft".into(), Some("stone".into()), /* Option<(i32, i32, i32)> */, /* Option> */); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 10) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `fn` [INFO] [stdout] --> src/lib.rs:12:33 [INFO] [stdout] | [INFO] [stdout] 4 | use simple_anvil::region::Region [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 5 | fn main() { [INFO] [stdout] | -- unexpected token [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/chunk.rs - chunk::Chunk::get_last_update (line 60) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chunk.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 6 | let region = Region::from_file("r.0.0.mca"); [INFO] [stdout] | ----------------- ^^^^^^^^^^^ expected `String`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/region.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn from_file(file: String) -> Region<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 6 | let region = Region::from_file("r.0.0.mca".to_string()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/block.rs - block::Block::name (line 53) stdout ---- [INFO] [stdout] error[E0061]: this function takes 4 arguments but 2 arguments were supplied [INFO] [stdout] --> src/block.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 6 | let block = Block::new("minecraft".into(), Some("stone".into())); [INFO] [stdout] | ^^^^^^^^^^------------------------------------------ two arguments of type `Option<(i32, i32, i32)>` and `Option>` are missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/block.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn new(namespace: String, block_id: Option, coords: Option<(i32, i32, i32)>, properties: Option>) -... [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the arguments [INFO] [stdout] | [INFO] [stdout] 6 | let block = Block::new("minecraft".into(), Some("stone".into()), /* Option<(i32, i32, i32)> */, /* Option> */); [INFO] [stdout] | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/chunk.rs - chunk::Chunk::get_biome (line 179) stdout ---- [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/chunk.rs:189:2 [INFO] [stdout] | [INFO] [stdout] 13 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 14 | let section_y = ((y + 64) / 16 - 4) as i8 [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/chunk.rs:190:42 [INFO] [stdout] | [INFO] [stdout] 14 | let section_y = ((y + 64) / 16 - 4) as i8 [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 15 | let biome = chunk.get_biome(section_y); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chunk.rs:182:32 [INFO] [stdout] | [INFO] [stdout] 6 | let region = Region::from_file("r.0.0.mca"); [INFO] [stdout] | ----------------- ^^^^^^^^^^^ expected `String`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/region.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn from_file(file: String) -> Region<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 6 | let region = Region::from_file("r.0.0.mca".to_string()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chunk.rs:191:29 [INFO] [stdout] | [INFO] [stdout] 15 | let biome = chunk.get_biome(section_y); [INFO] [stdout] | --------- ^^^^^^^^^ expected `i32`, found `i8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/chunk.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn get_biome(&self, y: i32) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: you can convert an `i8` to an `i32` [INFO] [stdout] | [INFO] [stdout] 15 | let biome = chunk.get_biome(section_y.into()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/chunk.rs - chunk::Chunk::get_block (line 243) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chunk.rs:246:32 [INFO] [stdout] | [INFO] [stdout] 6 | let region = Region::from_file("r.0.0.mca"); [INFO] [stdout] | ----------------- ^^^^^^^^^^^ expected `String`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/region.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn from_file(file: String) -> Region<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 6 | let region = Region::from_file("r.0.0.mca".to_string()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/chunk.rs - chunk::Chunk::get_status (line 40) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chunk.rs:43:32 [INFO] [stdout] | [INFO] [stdout] 6 | let region = Region::from_file("r.0.0.mca"); [INFO] [stdout] | ----------------- ^^^^^^^^^^^ expected `String`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/region.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn from_file(file: String) -> Region<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 6 | let region = Region::from_file("r.0.0.mca".to_string()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/chunk.rs - chunk::Chunk::get_heightmap (line 82) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chunk.rs:85:32 [INFO] [stdout] | [INFO] [stdout] 6 | let region = Region::from_file("r.0.0.mca"); [INFO] [stdout] | ----------------- ^^^^^^^^^^^ expected `String`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/region.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn from_file(file: String) -> Region<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 6 | let region = Region::from_file("r.0.0.mca".to_string()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/chunk.rs - chunk::Chunk::get_biome (line 193) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/chunk.rs:196:32 [INFO] [stdout] | [INFO] [stdout] 6 | let region = Region::from_file("r.0.0.mca"); [INFO] [stdout] | ----------------- ^^^^^^^^^^^ expected `String`, found `&str` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/region.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn from_file(file: String) -> Region<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: try using a conversion method [INFO] [stdout] | [INFO] [stdout] 6 | let region = Region::from_file("r.0.0.mca".to_string()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/block.rs - block::Block::from_name (line 74) [INFO] [stdout] src/block.rs - block::Block::name (line 53) [INFO] [stdout] src/block.rs - block::Block::new (line 30) [INFO] [stdout] src/chunk.rs - chunk::Chunk::get_biome (line 179) [INFO] [stdout] src/chunk.rs - chunk::Chunk::get_biome (line 193) [INFO] [stdout] src/chunk.rs - chunk::Chunk::get_block (line 243) [INFO] [stdout] src/chunk.rs - chunk::Chunk::get_heightmap (line 82) [INFO] [stdout] src/chunk.rs - chunk::Chunk::get_last_update (line 60) [INFO] [stdout] src/chunk.rs - chunk::Chunk::get_status (line 40) [INFO] [stdout] src/lib.rs - (line 10) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.32s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "8a11fe21178960ec3f066b58b03e7779444363775a5ec9baf731a60917863167", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a11fe21178960ec3f066b58b03e7779444363775a5ec9baf731a60917863167", kill_on_drop: false }` [INFO] [stdout] 8a11fe21178960ec3f066b58b03e7779444363775a5ec9baf731a60917863167