[INFO] fetching crate wfc_tiled 1.0.5...
[INFO] testing wfc_tiled-1.0.5 against beta-2026-03-05 for beta-1.95-1
[INFO] extracting crate wfc_tiled 1.0.5 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate wfc_tiled 1.0.5
[INFO] finished tweaking crates.io crate wfc_tiled 1.0.5
[INFO] tweaked toml for crates.io crate wfc_tiled 1.0.5 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate wfc_tiled 1.0.5 on toolchain beta-2026-03-05
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-03-05" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate wfc_tiled 1.0.5 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-03-05" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fe589eaff64fbdb29664a852fa33b96237df35b79e0fa097997715ee117d95ef
[INFO] running `Command { std: "docker" "start" "-a" "fe589eaff64fbdb29664a852fa33b96237df35b79e0fa097997715ee117d95ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fe589eaff64fbdb29664a852fa33b96237df35b79e0fa097997715ee117d95ef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe589eaff64fbdb29664a852fa33b96237df35b79e0fa097997715ee117d95ef", kill_on_drop: false }`
[INFO] [stdout] fe589eaff64fbdb29664a852fa33b96237df35b79e0fa097997715ee117d95ef
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 919827a4e17ea358b0cb21329e8f6d7f7864c73f2211f4313e7f979e77fa941e
[INFO] running `Command { std: "docker" "start" "-a" "919827a4e17ea358b0cb21329e8f6d7f7864c73f2211f4313e7f979e77fa941e", kill_on_drop: false }`
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling crossbeam-utils v0.7.0
[INFO] [stderr]    Compiling num-traits v0.2.10
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.0
[INFO] [stderr]    Compiling syn v1.0.11
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling memchr v2.2.1
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rayon-core v1.6.1
[INFO] [stderr]    Compiling serde v1.0.103
[INFO] [stderr]    Compiling num_cpus v1.11.1
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling crossbeam-queue v0.2.0
[INFO] [stderr]    Compiling num-rational v0.2.2
[INFO] [stderr]    Compiling coord_2d v0.2.15
[INFO] [stderr]    Compiling deflate v0.7.20
[INFO] [stderr]    Compiling memoffset v0.5.3
[INFO] [stderr]    Compiling regex-automata v0.1.8
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling color_quant v1.0.1
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling gif v0.10.3
[INFO] [stderr]    Compiling hashbrown v0.1.8
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling crossbeam-deque v0.7.2
[INFO] [stderr]    Compiling tiff v0.2.2
[INFO] [stderr]    Compiling grid_2d v0.12.5
[INFO] [stderr]    Compiling direction v0.17.8
[INFO] [stderr]    Compiling png v0.14.1
[INFO] [stderr]    Compiling csv-core v0.1.6
[INFO] [stderr]    Compiling base64 v0.10.1
[INFO] [stderr]    Compiling rayon v1.2.1
[INFO] [stderr]    Compiling wfc v0.8.1
[INFO] [stderr]    Compiling serde_derive v1.0.103
[INFO] [stderr]    Compiling jpeg-decoder v0.1.16
[INFO] [stderr]    Compiling image v0.21.3
[INFO] [stderr]    Compiling bstr v0.2.8
[INFO] [stderr]    Compiling ron v0.5.1
[INFO] [stderr]    Compiling csv v1.1.1
[INFO] [stderr]    Compiling wfc_tiled v1.0.5 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.84s
[INFO] running `Command { std: "docker" "inspect" "919827a4e17ea358b0cb21329e8f6d7f7864c73f2211f4313e7f979e77fa941e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "919827a4e17ea358b0cb21329e8f6d7f7864c73f2211f4313e7f979e77fa941e", kill_on_drop: false }`
[INFO] [stdout] 919827a4e17ea358b0cb21329e8f6d7f7864c73f2211f4313e7f979e77fa941e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 67e7688f716d25c4ac1d3130cc7ac127a8822b5501891b5d26d1adab077aa903
[INFO] running `Command { std: "docker" "start" "-a" "67e7688f716d25c4ac1d3130cc7ac127a8822b5501891b5d26d1adab077aa903", kill_on_drop: false }`
[INFO] [stderr]    Compiling wfc_tiled v1.0.5 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.83s
[INFO] running `Command { std: "docker" "inspect" "67e7688f716d25c4ac1d3130cc7ac127a8822b5501891b5d26d1adab077aa903", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "67e7688f716d25c4ac1d3130cc7ac127a8822b5501891b5d26d1adab077aa903", kill_on_drop: false }`
[INFO] [stdout] 67e7688f716d25c4ac1d3130cc7ac127a8822b5501891b5d26d1adab077aa903
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-03-05" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 6455323bd45e60deb7eaa6c6aff0680c3f1ffcba06c79fc67d176f33ad47a0b1
[INFO] running `Command { std: "docker" "start" "-a" "6455323bd45e60deb7eaa6c6aff0680c3f1ffcba06c79fc67d176f33ad47a0b1", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wfc_tiled-dcd7608342e8444e)
[INFO] [stderr]    Doc-tests wfc_tiled
[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] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test src/forbid_corner.rs - forbid_corner::ForceBorderForbid (line 18) ... FAILED
[INFO] [stdout] test src/tile_pattern.rs - tile_pattern::TilePattern (line 33) ... FAILED
[INFO] [stdout] test src/save_image.rs - save_image::grid_to_image (line 28) ... FAILED
[INFO] [stdout] test src/save_csv.rs - save_csv::grid_to_csv (line 19) ... FAILED
[INFO] [stdout] test src/save_tiled.rs - save_tiled::grid_to_tiled (line 51) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/forbid_corner.rs - forbid_corner::ForceBorderForbid (line 18) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `input_path` in this scope
[INFO] [stdout]   --> src/forbid_corner.rs:19:37
[INFO] [stdout]    |
[INFO] [stdout] 19 | let pattern = TilePattern::from_csv(input_path, 
[INFO] [stdout]    |                                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `NonZeroU32` in this scope
[INFO] [stdout]   --> src/forbid_corner.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     NonZeroU32::new(pattern_size).unwrap(), 
[INFO] [stdout]    |     ^^^^^^^^^^ use of undeclared type `NonZeroU32`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this type alias
[INFO] [stdout]    |
[INFO] [stdout] 18 + use std::num::NonZeroU32;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `pattern_size` in this scope
[INFO] [stdout]   --> src/forbid_corner.rs:20:21
[INFO] [stdout]    |
[INFO] [stdout] 20 |     NonZeroU32::new(pattern_size).unwrap(), 
[INFO] [stdout]    |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `pattern_size` in this scope
[INFO] [stdout]   --> src/forbid_corner.rs:23:47
[INFO] [stdout]    |
[INFO] [stdout] 23 | let forbid = ForceBorderForbid::new(&pattern, pattern_size);
[INFO] [stdout]    |                                               ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `output_size` in this scope
[INFO] [stdout]   --> src/forbid_corner.rs:24:33
[INFO] [stdout]    |
[INFO] [stdout] 24 | let grid = pattern.run_collapse(output_size, attempts,
[INFO] [stdout]    |                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `attempts` in this scope
[INFO] [stdout]   --> src/forbid_corner.rs:24:46
[INFO] [stdout]    |
[INFO] [stdout] 24 | let grid = pattern.run_collapse(output_size, attempts,
[INFO] [stdout]    |                                              ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `WrapXY` in this scope
[INFO] [stdout]   --> src/forbid_corner.rs:25:2
[INFO] [stdout]    |
[INFO] [stdout] 25 |  WrapXY, forbid, &mut rand::thread_rng()).expect("Error in WFC");
[INFO] [stdout]    |  ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `TilePattern` in this scope
[INFO] [stdout]   --> src/forbid_corner.rs:19:15
[INFO] [stdout]    |
[INFO] [stdout] 19 | let pattern = TilePattern::from_csv(input_path, 
[INFO] [stdout]    |               ^^^^^^^^^^^ use of undeclared type `TilePattern`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Orientation` in this scope
[INFO] [stdout]   --> src/forbid_corner.rs:21:7
[INFO] [stdout]    |
[INFO] [stdout] 21 |     &[Orientation::Original]).expect("Error while creating pattern");
[INFO] [stdout]    |       ^^^^^^^^^^^ use of undeclared type `Orientation`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ForceBorderForbid` in this scope
[INFO] [stdout]   --> src/forbid_corner.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 | let forbid = ForceBorderForbid::new(&pattern, pattern_size);
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^ use of undeclared type `ForceBorderForbid`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 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/tile_pattern.rs - tile_pattern::TilePattern (line 33) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `WrapXY` in this scope
[INFO] [stdout]   --> src/tile_pattern.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 47 |     WrapXY, 
[INFO] [stdout]    |     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ForbidNothing` in this scope
[INFO] [stdout]   --> src/tile_pattern.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     ForbidNothing, 
[INFO] [stdout]    |     ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TileSet` in this scope
[INFO] [stdout]   --> src/tile_pattern.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | let tset = TileSet {
[INFO] [stdout]    |            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Size` in this scope
[INFO] [stdout]   --> src/tile_pattern.rs:38:19
[INFO] [stdout]    |
[INFO] [stdout] 38 | let output_size = Size::new(32, 32);
[INFO] [stdout]    |                   ^^^^ use of undeclared type `Size`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 38 | let output_size = Sized::new(32, 32);
[INFO] [stdout]    |                       +
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `TilePattern` in this scope
[INFO] [stdout]   --> src/tile_pattern.rs:40:15
[INFO] [stdout]    |
[INFO] [stdout] 40 | let pattern = TilePattern::from_csv(input_path, 
[INFO] [stdout]    |               ^^^^^^^^^^^ use of undeclared type `TilePattern`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Orientation` in this scope
[INFO] [stdout]   --> src/tile_pattern.rs:42:7
[INFO] [stdout]    |
[INFO] [stdout] 42 |     &[Orientation::Original])
[INFO] [stdout]    |       ^^^^^^^^^^^ use of undeclared type `Orientation`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `grid_to_csv` in this scope
[INFO] [stdout]   --> src/tile_pattern.rs:52:1
[INFO] [stdout]    |
[INFO] [stdout] 52 | grid_to_csv(&grid, "out.csv")?;
[INFO] [stdout]    | ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Size` in this scope
[INFO] [stdout]   --> src/tile_pattern.rs:56:17
[INFO] [stdout]    |
[INFO] [stdout] 56 |     image_size: Size::new(256, 1450),
[INFO] [stdout]    |                 ^^^^ use of undeclared type `Size`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 56 |     image_size: Sized::new(256, 1450),
[INFO] [stdout]    |                     +
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Size` in this scope
[INFO] [stdout]   --> src/tile_pattern.rs:59:16
[INFO] [stdout]    |
[INFO] [stdout] 59 |     tile_size: Size::new(32, 32)
[INFO] [stdout]    |                ^^^^ use of undeclared type `Size`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 59 |     tile_size: Sized::new(32, 32)
[INFO] [stdout]    |                    +
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `grid_to_tiled` in this scope
[INFO] [stdout]   --> src/tile_pattern.rs:61:1
[INFO] [stdout]    |
[INFO] [stdout] 61 | grid_to_tiled(&grid, "out.tmx", tset)?;
[INFO] [stdout]    | ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0422`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/save_image.rs - save_image::grid_to_image (line 28) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `grid` in this scope
[INFO] [stdout]   --> src/save_image.rs:32:26
[INFO] [stdout]    |
[INFO] [stdout] 32 | let img = grid_to_image(&grid);
[INFO] [stdout]    |                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/save_csv.rs - save_csv::grid_to_csv (line 19) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `grid` in this scope
[INFO] [stdout]   --> src/save_csv.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 | grid_to_csv(&grid, "output.csv")?;
[INFO] [stdout]    |              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/save_csv.rs:23:33
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_save_csv_rs_19_0() {
[INFO] [stdout]    |                                      --------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 23 | grid_to_csv(&grid, "output.csv")?;
[INFO] [stdout]    |                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 20 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_save_csv_rs_19_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 21 | use wfc_tiled::grid_to_csv;
[INFO] [stdout] 22 |  
[INFO] [stdout] 23 | grid_to_csv(&grid, "output.csv")?;
[INFO] [stdout] 24 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/save_tiled.rs - save_tiled::grid_to_tiled (line 51) stdout ----
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TileSet` in this scope
[INFO] [stdout]   --> src/save_tiled.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | let tset = TileSet {
[INFO] [stdout]    |            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `grid` in this scope
[INFO] [stdout]   --> src/save_tiled.rs:61:16
[INFO] [stdout]    |
[INFO] [stdout] 61 | grid_to_tiled(&grid, "output.tmx", tset)?;
[INFO] [stdout]    |                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Size` in this scope
[INFO] [stdout]   --> src/save_tiled.rs:56:17
[INFO] [stdout]    |
[INFO] [stdout] 56 |     image_size: Size::new(256, 1450),
[INFO] [stdout]    |                 ^^^^ use of undeclared type `Size`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 56 |     image_size: Sized::new(256, 1450),
[INFO] [stdout]    |                     +
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Size` in this scope
[INFO] [stdout]   --> src/save_tiled.rs:59:16
[INFO] [stdout]    |
[INFO] [stdout] 59 |     tile_size: Size::new(32, 32)
[INFO] [stdout]    |                ^^^^ use of undeclared type `Size`
[INFO] [stdout]    |
[INFO] [stdout] help: a trait with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 59 |     tile_size: Sized::new(32, 32)
[INFO] [stdout]    |                    +
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/save_tiled.rs:61:41
[INFO] [stdout]    |
[INFO] [stdout] 52 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_save_tiled_rs_51_0() {
[INFO] [stdout]    |                                      ----------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 61 | grid_to_tiled(&grid, "output.tmx", tset)?;
[INFO] [stdout]    |                                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout] 52 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_save_tiled_rs_51_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 53 | use wfc_tiled::grid_to_tiled;
[INFO] [stdout] ...
[INFO] [stdout] 61 | grid_to_tiled(&grid, "output.tmx", tset)?;
[INFO] [stdout] 62 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0422, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/forbid_corner.rs - forbid_corner::ForceBorderForbid (line 18)
[INFO] [stdout]     src/save_csv.rs - save_csv::grid_to_csv (line 19)
[INFO] [stdout]     src/save_image.rs - save_image::grid_to_image (line 28)
[INFO] [stdout]     src/save_tiled.rs - save_tiled::grid_to_tiled (line 51)
[INFO] [stdout]     src/tile_pattern.rs - tile_pattern::TilePattern (line 33)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "6455323bd45e60deb7eaa6c6aff0680c3f1ffcba06c79fc67d176f33ad47a0b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6455323bd45e60deb7eaa6c6aff0680c3f1ffcba06c79fc67d176f33ad47a0b1", kill_on_drop: false }`
[INFO] [stdout] 6455323bd45e60deb7eaa6c6aff0680c3f1ffcba06c79fc67d176f33ad47a0b1
