[INFO] cloning repository https://github.com/xcdnlgd/olive_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xcdnlgd/olive_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxcdnlgd%2Folive_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxcdnlgd%2Folive_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4e80824546eddb884fbf136aa504cd208d2646a8 [INFO] testing xcdnlgd/olive_rs against master#ebf0cf75d368c035f4c7e7246d203bd469ee4a51 for pr-137940-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxcdnlgd%2Folive_rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xcdnlgd/olive_rs on toolchain ebf0cf75d368c035f4c7e7246d203bd469ee4a51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xcdnlgd/olive_rs [INFO] finished tweaking git repo https://github.com/xcdnlgd/olive_rs [INFO] tweaked toml for git repo https://github.com/xcdnlgd/olive_rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/xcdnlgd/olive_rs 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" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded version-compare v0.1.1 [INFO] [stderr] Downloaded rgb v0.8.50 [INFO] [stderr] Downloaded phf_generator v0.11.2 [INFO] [stderr] Downloaded phf_macros v0.11.2 [INFO] [stderr] Downloaded profiling-procmacros v1.0.16 [INFO] [stderr] Downloaded ravif v0.11.10 [INFO] [stderr] Downloaded avif-serialize v0.8.2 [INFO] [stderr] Downloaded bytemuck v1.18.0 [INFO] [stderr] Downloaded profiling v1.0.16 [INFO] [stderr] Downloaded fdeflate v0.3.5 [INFO] [stderr] Downloaded imgref v1.11.0 [INFO] [stderr] Downloaded anyhow v1.0.89 [INFO] [stderr] Downloaded png v0.17.14 [INFO] [stderr] Downloaded hashbrown v0.15.0 [INFO] [stderr] Downloaded cc v1.1.30 [INFO] [stderr] Downloaded thiserror-impl v1.0.64 [INFO] [stderr] Downloaded sdl2 v0.37.0 [INFO] [stderr] Downloaded flate2 v1.0.34 [INFO] [stderr] Downloaded bitstream-io v2.5.3 [INFO] [stderr] Downloaded target-lexicon v0.12.16 [INFO] [stderr] Downloaded thiserror v1.0.64 [INFO] [stderr] Downloaded sdl2-sys v0.37.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce46dc3273514886b4ee62d12e9079b9cd9a158be6d85f2a047e89f6694d0514 [INFO] running `Command { std: "docker" "start" "-a" "ce46dc3273514886b4ee62d12e9079b9cd9a158be6d85f2a047e89f6694d0514", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce46dc3273514886b4ee62d12e9079b9cd9a158be6d85f2a047e89f6694d0514", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce46dc3273514886b4ee62d12e9079b9cd9a158be6d85f2a047e89f6694d0514", kill_on_drop: false }` [INFO] [stdout] ce46dc3273514886b4ee62d12e9079b9cd9a158be6d85f2a047e89f6694d0514 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d136b7d34dc013b1b6aea574db68093fa0c9dee2f123a7aa3b8eaca2c0335fd [INFO] running `Command { std: "docker" "start" "-a" "1d136b7d34dc013b1b6aea574db68093fa0c9dee2f123a7aa3b8eaca2c0335fd", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling olive_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.43s [INFO] running `Command { std: "docker" "inspect" "1d136b7d34dc013b1b6aea574db68093fa0c9dee2f123a7aa3b8eaca2c0335fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d136b7d34dc013b1b6aea574db68093fa0c9dee2f123a7aa3b8eaca2c0335fd", kill_on_drop: false }` [INFO] [stdout] 1d136b7d34dc013b1b6aea574db68093fa0c9dee2f123a7aa3b8eaca2c0335fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ed9abec4d3f3ebf4668bad5cdb2b1324b619dd0454146b57119642cb7bc98ef [INFO] running `Command { std: "docker" "start" "-a" "6ed9abec4d3f3ebf4668bad5cdb2b1324b619dd0454146b57119642cb7bc98ef", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling version-compare v0.1.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling built v0.7.4 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling sdl2-sys v0.37.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling bytemuck v1.18.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling bitstream-io v2.5.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rgb v0.8.50 [INFO] [stderr] Compiling avif-serialize v0.8.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.5 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling sdl2 v0.37.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling png v0.17.14 [INFO] [stderr] Compiling zune-jpeg v0.4.13 [INFO] [stderr] Compiling image-webp v0.1.3 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling olive_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling ravif v0.11.10 [INFO] [stderr] Compiling image v0.25.2 [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> examples/squish.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | let a: &mut [u32] = IMAGE.as_mut(); [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE` is never used [INFO] [stdout] --> examples/3d_project.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const WHITE: u32 = 0xffffffff; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 21.18s [INFO] running `Command { std: "docker" "inspect" "6ed9abec4d3f3ebf4668bad5cdb2b1324b619dd0454146b57119642cb7bc98ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ed9abec4d3f3ebf4668bad5cdb2b1324b619dd0454146b57119642cb7bc98ef", kill_on_drop: false }` [INFO] [stdout] 6ed9abec4d3f3ebf4668bad5cdb2b1324b619dd0454146b57119642cb7bc98ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+ebf0cf75d368c035f4c7e7246d203bd469ee4a51" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b177034c4e088396d9ffeaa75baa47aa5f5640d5040bb0fddb7d4152239b8c9e [INFO] running `Command { std: "docker" "start" "-a" "b177034c4e088396d9ffeaa75baa47aa5f5640d5040bb0fddb7d4152239b8c9e", kill_on_drop: false }` [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> examples/squish.rs:29:29 [INFO] [stderr] | [INFO] [stderr] 29 | let a: &mut [u32] = IMAGE.as_mut(); [INFO] [stderr] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `WHITE` is never used [INFO] [stderr] --> examples/3d_project.rs:15:7 [INFO] [stderr] | [INFO] [stderr] 15 | const WHITE: u32 = 0xffffffff; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `olive_rs` (example "squish") generated 1 warning [INFO] [stderr] warning: `olive_rs` (example "3d_project") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/olive_rs-b31822a5df3f675e) [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] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/olive_rs-632d34c9f95a0d36) [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 olive_rs [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/renderer.rs - renderer::normalize_rect (line 1644) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/renderer.rs - renderer::normalize_rect (line 1644) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `x` in this scope [INFO] [stdout] --> src/renderer.rs:1645:50 [INFO] [stdout] | [INFO] [stdout] 3 | if let Some((x0, y0), (x1, y1)) = normalize_rect(x, y, w, h, bound_width, bound_height) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `y` in this scope [INFO] [stdout] --> src/renderer.rs:1645:53 [INFO] [stdout] | [INFO] [stdout] 3 | if let Some((x0, y0), (x1, y1)) = normalize_rect(x, y, w, h, bound_width, bound_height) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `w` in this scope [INFO] [stdout] --> src/renderer.rs:1645:56 [INFO] [stdout] | [INFO] [stdout] 3 | if let Some((x0, y0), (x1, y1)) = normalize_rect(x, y, w, h, bound_width, bound_height) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `h` in this scope [INFO] [stdout] --> src/renderer.rs:1645:59 [INFO] [stdout] | [INFO] [stdout] 3 | if let Some((x0, y0), (x1, y1)) = normalize_rect(x, y, w, h, bound_width, bound_height) { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `bound_width` in this scope [INFO] [stdout] --> src/renderer.rs:1645:62 [INFO] [stdout] | [INFO] [stdout] 3 | if let Some((x0, y0), (x1, y1)) = normalize_rect(x, y, w, h, bound_width, bound_height) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `bound_height` in this scope [INFO] [stdout] --> src/renderer.rs:1645:75 [INFO] [stdout] | [INFO] [stdout] 3 | if let Some((x0, y0), (x1, y1)) = normalize_rect(x, y, w, h, bound_width, bound_height) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `normalize_rect` in this scope [INFO] [stdout] --> src/renderer.rs:1645:35 [INFO] [stdout] | [INFO] [stdout] 3 | if let Some((x0, y0), (x1, y1)) = normalize_rect(x, y, w, h, bound_width, bound_height) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0023]: this pattern has 2 fields, but the corresponding tuple variant has 1 field [INFO] [stdout] --> src/renderer.rs:1645:13 [INFO] [stdout] | [INFO] [stdout] 3 | if let Some((x0, y0), (x1, y1)) = normalize_rect(x, y, w, h, bound_width, bound_height) { [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ expected 1 field, found 2 [INFO] [stdout] --> /rustc/ebf0cf75d368c035f4c7e7246d203bd469ee4a51/library/core/src/option.rs:580:56 [INFO] [stdout] | [INFO] [stdout] = note: tuple variant has 1 field [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0023, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0023`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/renderer.rs - renderer::normalize_rect (line 1644) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b177034c4e088396d9ffeaa75baa47aa5f5640d5040bb0fddb7d4152239b8c9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b177034c4e088396d9ffeaa75baa47aa5f5640d5040bb0fddb7d4152239b8c9e", kill_on_drop: false }` [INFO] [stdout] b177034c4e088396d9ffeaa75baa47aa5f5640d5040bb0fddb7d4152239b8c9e