[INFO] fetching crate xrw 0.0.1...
[INFO] testing xrw-0.0.1 against beta-2026-04-21 for beta-1.96-2
[INFO] extracting crate xrw 0.0.1 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate xrw 0.0.1
[INFO] finished tweaking crates.io crate xrw 0.0.1
[INFO] tweaked toml for crates.io crate xrw 0.0.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate xrw 0.0.1 on toolchain beta-2026-04-21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-04-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate xrw 0.0.1 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-04-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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-04-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 170f42b585c73a39408cd91dc35021170f1250b6f7120b75caf6c67b088aacbd
[INFO] running `Command { std: "docker" "start" "-a" "170f42b585c73a39408cd91dc35021170f1250b6f7120b75caf6c67b088aacbd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "170f42b585c73a39408cd91dc35021170f1250b6f7120b75caf6c67b088aacbd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "170f42b585c73a39408cd91dc35021170f1250b6f7120b75caf6c67b088aacbd", kill_on_drop: false }`
[INFO] [stdout] 170f42b585c73a39408cd91dc35021170f1250b6f7120b75caf6c67b088aacbd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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-04-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2aabefb9b7f4daf7e7030f3be0488c3fcff31289e5e4510dcff2401f26b5f83a
[INFO] running `Command { std: "docker" "start" "-a" "2aabefb9b7f4daf7e7030f3be0488c3fcff31289e5e4510dcff2401f26b5f83a", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling xrw v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/family.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |             _ => Err(Error::UnknownContainer),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/family.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |             Family::Interchange => Ok(Descriptor::INTERCHANGE),
[INFO] [stdout]    |             ------------------- matches some of the same values
[INFO] [stdout] 24 |             Family::ResourceInterchange => Ok(Descriptor::RESOURCE_INTERCHANGE),
[INFO] [stdout]    |             --------------------------- matches some of the same values
[INFO] [stdout] 25 |             Family::ResourceInterchangeX => Ok(Descriptor::INTERCHANGE),
[INFO] [stdout]    |             ---------------------------- matches some of the same values
[INFO] [stdout] 26 |             Family::ResourceInterchange64 => Ok(Descriptor::RESOURCE_INTERCHANGE),
[INFO] [stdout]    |             ----------------------------- matches some of the same values
[INFO] [stdout] 27 |             Family::Wave64 => Ok(Descriptor::WAVE_64),
[INFO] [stdout] 28 |             _ => Err(Error::UnknownContainer),
[INFO] [stdout]    |             ^ ...and 1 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `marker`
[INFO] [stdout]    --> src/structure.rs:389:14
[INFO] [stdout]     |
[INFO] [stdout] 389 |         let (marker, size, form, ds64) = Self::route_header_parse(reader, &family, &descriptor)?;
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marker`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `form`
[INFO] [stdout]    --> src/structure.rs:389:28
[INFO] [stdout]     |
[INFO] [stdout] 389 |         let (marker, size, form, ds64) = Self::route_header_parse(reader, &family, &descriptor)?;
[INFO] [stdout]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_form`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reader`
[INFO] [stdout]    --> src/structure.rs:415:9
[INFO] [stdout]     |
[INFO] [stdout] 415 |         reader: &mut Reader<R>,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block`
[INFO] [stdout]    --> src/structure.rs:416:9
[INFO] [stdout]     |
[INFO] [stdout] 416 |         block: &Block,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_block`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `marker`
[INFO] [stdout]    --> src/structure.rs:426:24
[INFO] [stdout]     |
[INFO] [stdout] 426 |     pub fn find(&self, marker: Marker) -> Option<&Block> {
[INFO] [stdout]     |                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `marker`
[INFO] [stdout]    --> src/structure.rs:435:28
[INFO] [stdout]     |
[INFO] [stdout] 435 |     pub fn find_all(&self, marker: Marker) -> Vec<&Block> {
[INFO] [stdout]     |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `marker`
[INFO] [stdout]    --> src/structure.rs:453:28
[INFO] [stdout]     |
[INFO] [stdout] 453 |     pub fn position(&self, marker: Marker) -> Option<usize> {
[INFO] [stdout]     |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `marker`
[INFO] [stdout]    --> src/structure.rs:462:28
[INFO] [stdout]     |
[INFO] [stdout] 462 |     pub fn contains(&self, marker: Marker) -> bool {
[INFO] [stdout]     |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block`
[INFO] [stdout]    --> src/structure.rs:505:33
[INFO] [stdout]     |
[INFO] [stdout] 505 |     pub fn add_block(&mut self, block: Block) {
[INFO] [stdout]     |                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_block`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/structure.rs:514:36
[INFO] [stdout]     |
[INFO] [stdout] 514 |     pub fn add_block_at(&mut self, index: usize, block: Block) {
[INFO] [stdout]     |                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block`
[INFO] [stdout]    --> src/structure.rs:514:50
[INFO] [stdout]     |
[INFO] [stdout] 514 |     pub fn add_block_at(&mut self, index: usize, block: Block) {
[INFO] [stdout]     |                                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_block`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `marker`
[INFO] [stdout]    --> src/structure.rs:523:36
[INFO] [stdout]     |
[INFO] [stdout] 523 |     pub fn remove_block(&mut self, marker: Marker) {
[INFO] [stdout]     |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/structure.rs:532:39
[INFO] [stdout]     |
[INFO] [stdout] 532 |     pub fn remove_block_at(&mut self, index: usize) {
[INFO] [stdout]     |                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `marker`
[INFO] [stdout]    --> src/structure.rs:541:34
[INFO] [stdout]     |
[INFO] [stdout] 541 |     pub fn remove_all(&mut self, marker: Marker) {
[INFO] [stdout]     |                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order`
[INFO] [stdout]    --> src/structure.rs:551:38
[INFO] [stdout]     |
[INFO] [stdout] 551 |     pub fn reorder_blocks(&mut self, order: &[Marker]) {
[INFO] [stdout]     |                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_order`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `predicate`
[INFO] [stdout]    --> src/structure.rs:562:53
[INFO] [stdout]     |
[INFO] [stdout] 562 |     pub fn retain<F: Fn(&Block) -> bool>(&mut self, predicate: F) {
[INFO] [stdout]     |                                                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predicate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/structure.rs:571:28
[INFO] [stdout]     |
[INFO] [stdout] 571 |     pub fn swap(&mut self, a: usize, b: usize) {
[INFO] [stdout]     |                            ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/structure.rs:571:38
[INFO] [stdout]     |
[INFO] [stdout] 571 |     pub fn swap(&mut self, a: usize, b: usize) {
[INFO] [stdout]     |                                      ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]    --> src/structure.rs:610:27
[INFO] [stdout]     |
[INFO] [stdout] 610 |     pub fn convert(&self, target: Family) -> Result<Structure> {
[INFO] [stdout]     |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constants `MARK_RIFF`, `MARK_RIFX`, `MARK_FFIR`, and `MARK_SW64` are never used
[INFO] [stdout]   --> src/structure.rs:70:11
[INFO] [stdout]    |
[INFO] [stdout] 69 | impl Structure {
[INFO] [stdout]    | -------------- associated constants in this implementation
[INFO] [stdout] 70 |     const MARK_RIFF: [u8; 4] = *b"RIFF";
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 71 |     const MARK_RIFX: [u8; 4] = *b"RIFX";
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 72 |     const MARK_FFIR: [u8; 4] = *b"FFIR";
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     const MARK_SW64: [u8; 4] = *b"riff";
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.51s
[INFO] running `Command { std: "docker" "inspect" "2aabefb9b7f4daf7e7030f3be0488c3fcff31289e5e4510dcff2401f26b5f83a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2aabefb9b7f4daf7e7030f3be0488c3fcff31289e5e4510dcff2401f26b5f83a", kill_on_drop: false }`
[INFO] [stdout] 2aabefb9b7f4daf7e7030f3be0488c3fcff31289e5e4510dcff2401f26b5f83a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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-04-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 801c63a248b42b25e171a55ca50faa8aa552c536173669e51e7f77adbe91e92b
[INFO] running `Command { std: "docker" "start" "-a" "801c63a248b42b25e171a55ca50faa8aa552c536173669e51e7f77adbe91e92b", kill_on_drop: false }`
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/family.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |             _ => Err(Error::UnknownContainer),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/family.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |             Family::Interchange => Ok(Descriptor::INTERCHANGE),
[INFO] [stdout]    |             ------------------- matches some of the same values
[INFO] [stdout] 24 |             Family::ResourceInterchange => Ok(Descriptor::RESOURCE_INTERCHANGE),
[INFO] [stdout]    |             --------------------------- matches some of the same values
[INFO] [stdout] 25 |             Family::ResourceInterchangeX => Ok(Descriptor::INTERCHANGE),
[INFO] [stdout]    |             ---------------------------- matches some of the same values
[INFO] [stdout] 26 |             Family::ResourceInterchange64 => Ok(Descriptor::RESOURCE_INTERCHANGE),
[INFO] [stdout]    |             ----------------------------- matches some of the same values
[INFO] [stdout] 27 |             Family::Wave64 => Ok(Descriptor::WAVE_64),
[INFO] [stdout] 28 |             _ => Err(Error::UnknownContainer),
[INFO] [stdout]    |             ^ ...and 1 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `marker`
[INFO] [stdout]    --> src/structure.rs:389:14
[INFO] [stdout]     |
[INFO] [stdout] 389 |         let (marker, size, form, ds64) = Self::route_header_parse(reader, &family, &descriptor)?;
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marker`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `form`
[INFO] [stdout]    --> src/structure.rs:389:28
[INFO] [stdout]     |
[INFO] [stdout] 389 |         let (marker, size, form, ds64) = Self::route_header_parse(reader, &family, &descriptor)?;
[INFO] [stdout]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_form`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reader`
[INFO] [stdout]    --> src/structure.rs:415:9
[INFO] [stdout]     |
[INFO] [stdout] 415 |         reader: &mut Reader<R>,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block`
[INFO] [stdout]    --> src/structure.rs:416:9
[INFO] [stdout]     |
[INFO] [stdout] 416 |         block: &Block,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_block`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `marker`
[INFO] [stdout]    --> src/structure.rs:426:24
[INFO] [stdout]     |
[INFO] [stdout] 426 |     pub fn find(&self, marker: Marker) -> Option<&Block> {
[INFO] [stdout]     |                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `marker`
[INFO] [stdout]    --> src/structure.rs:435:28
[INFO] [stdout]     |
[INFO] [stdout] 435 |     pub fn find_all(&self, marker: Marker) -> Vec<&Block> {
[INFO] [stdout]     |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `marker`
[INFO] [stdout]    --> src/structure.rs:453:28
[INFO] [stdout]     |
[INFO] [stdout] 453 |     pub fn position(&self, marker: Marker) -> Option<usize> {
[INFO] [stdout]     |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `marker`
[INFO] [stdout]    --> src/structure.rs:462:28
[INFO] [stdout]     |
[INFO] [stdout] 462 |     pub fn contains(&self, marker: Marker) -> bool {
[INFO] [stdout]     |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block`
[INFO] [stdout]    --> src/structure.rs:505:33
[INFO] [stdout]     |
[INFO] [stdout] 505 |     pub fn add_block(&mut self, block: Block) {
[INFO] [stdout]     |                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_block`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/structure.rs:514:36
[INFO] [stdout]     |
[INFO] [stdout] 514 |     pub fn add_block_at(&mut self, index: usize, block: Block) {
[INFO] [stdout]     |                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block`
[INFO] [stdout]    --> src/structure.rs:514:50
[INFO] [stdout]     |
[INFO] [stdout] 514 |     pub fn add_block_at(&mut self, index: usize, block: Block) {
[INFO] [stdout]     |                                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_block`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `marker`
[INFO] [stdout]    --> src/structure.rs:523:36
[INFO] [stdout]     |
[INFO] [stdout] 523 |     pub fn remove_block(&mut self, marker: Marker) {
[INFO] [stdout]     |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/structure.rs:532:39
[INFO] [stdout]     |
[INFO] [stdout] 532 |     pub fn remove_block_at(&mut self, index: usize) {
[INFO] [stdout]     |                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `marker`
[INFO] [stdout]    --> src/structure.rs:541:34
[INFO] [stdout]     |
[INFO] [stdout] 541 |     pub fn remove_all(&mut self, marker: Marker) {
[INFO] [stdout]     |                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling xrw v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `order`
[INFO] [stdout]    --> src/structure.rs:551:38
[INFO] [stdout]     |
[INFO] [stdout] 551 |     pub fn reorder_blocks(&mut self, order: &[Marker]) {
[INFO] [stdout]     |                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_order`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `predicate`
[INFO] [stdout]    --> src/structure.rs:562:53
[INFO] [stdout]     |
[INFO] [stdout] 562 |     pub fn retain<F: Fn(&Block) -> bool>(&mut self, predicate: F) {
[INFO] [stdout]     |                                                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predicate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/structure.rs:571:28
[INFO] [stdout]     |
[INFO] [stdout] 571 |     pub fn swap(&mut self, a: usize, b: usize) {
[INFO] [stdout]     |                            ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/structure.rs:571:38
[INFO] [stdout]     |
[INFO] [stdout] 571 |     pub fn swap(&mut self, a: usize, b: usize) {
[INFO] [stdout]     |                                      ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]    --> src/structure.rs:610:27
[INFO] [stdout]     |
[INFO] [stdout] 610 |     pub fn convert(&self, target: Family) -> Result<Structure> {
[INFO] [stdout]     |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constants `MARK_RIFF`, `MARK_RIFX`, `MARK_FFIR`, and `MARK_SW64` are never used
[INFO] [stdout]   --> src/structure.rs:70:11
[INFO] [stdout]    |
[INFO] [stdout] 69 | impl Structure {
[INFO] [stdout]    | -------------- associated constants in this implementation
[INFO] [stdout] 70 |     const MARK_RIFF: [u8; 4] = *b"RIFF";
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 71 |     const MARK_RIFX: [u8; 4] = *b"RIFX";
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 72 |     const MARK_FFIR: [u8; 4] = *b"FFIR";
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     const MARK_SW64: [u8; 4] = *b"riff";
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/family.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |             _ => Err(Error::UnknownContainer),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/family.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |             Family::Interchange => Ok(Descriptor::INTERCHANGE),
[INFO] [stdout]    |             ------------------- matches some of the same values
[INFO] [stdout] 24 |             Family::ResourceInterchange => Ok(Descriptor::RESOURCE_INTERCHANGE),
[INFO] [stdout]    |             --------------------------- matches some of the same values
[INFO] [stdout] 25 |             Family::ResourceInterchangeX => Ok(Descriptor::INTERCHANGE),
[INFO] [stdout]    |             ---------------------------- matches some of the same values
[INFO] [stdout] 26 |             Family::ResourceInterchange64 => Ok(Descriptor::RESOURCE_INTERCHANGE),
[INFO] [stdout]    |             ----------------------------- matches some of the same values
[INFO] [stdout] 27 |             Family::Wave64 => Ok(Descriptor::WAVE_64),
[INFO] [stdout] 28 |             _ => Err(Error::UnknownContainer),
[INFO] [stdout]    |             ^ ...and 1 other patterns collectively make this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `marker`
[INFO] [stdout]    --> src/structure.rs:389:14
[INFO] [stdout]     |
[INFO] [stdout] 389 |         let (marker, size, form, ds64) = Self::route_header_parse(reader, &family, &descriptor)?;
[INFO] [stdout]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marker`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `form`
[INFO] [stdout]    --> src/structure.rs:389:28
[INFO] [stdout]     |
[INFO] [stdout] 389 |         let (marker, size, form, ds64) = Self::route_header_parse(reader, &family, &descriptor)?;
[INFO] [stdout]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_form`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reader`
[INFO] [stdout]    --> src/structure.rs:415:9
[INFO] [stdout]     |
[INFO] [stdout] 415 |         reader: &mut Reader<R>,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block`
[INFO] [stdout]    --> src/structure.rs:416:9
[INFO] [stdout]     |
[INFO] [stdout] 416 |         block: &Block,
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_block`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `marker`
[INFO] [stdout]    --> src/structure.rs:426:24
[INFO] [stdout]     |
[INFO] [stdout] 426 |     pub fn find(&self, marker: Marker) -> Option<&Block> {
[INFO] [stdout]     |                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `marker`
[INFO] [stdout]    --> src/structure.rs:435:28
[INFO] [stdout]     |
[INFO] [stdout] 435 |     pub fn find_all(&self, marker: Marker) -> Vec<&Block> {
[INFO] [stdout]     |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `marker`
[INFO] [stdout]    --> src/structure.rs:453:28
[INFO] [stdout]     |
[INFO] [stdout] 453 |     pub fn position(&self, marker: Marker) -> Option<usize> {
[INFO] [stdout]     |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `marker`
[INFO] [stdout]    --> src/structure.rs:462:28
[INFO] [stdout]     |
[INFO] [stdout] 462 |     pub fn contains(&self, marker: Marker) -> bool {
[INFO] [stdout]     |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block`
[INFO] [stdout]    --> src/structure.rs:505:33
[INFO] [stdout]     |
[INFO] [stdout] 505 |     pub fn add_block(&mut self, block: Block) {
[INFO] [stdout]     |                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_block`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/structure.rs:514:36
[INFO] [stdout]     |
[INFO] [stdout] 514 |     pub fn add_block_at(&mut self, index: usize, block: Block) {
[INFO] [stdout]     |                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `block`
[INFO] [stdout]    --> src/structure.rs:514:50
[INFO] [stdout]     |
[INFO] [stdout] 514 |     pub fn add_block_at(&mut self, index: usize, block: Block) {
[INFO] [stdout]     |                                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_block`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `marker`
[INFO] [stdout]    --> src/structure.rs:523:36
[INFO] [stdout]     |
[INFO] [stdout] 523 |     pub fn remove_block(&mut self, marker: Marker) {
[INFO] [stdout]     |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]    --> src/structure.rs:532:39
[INFO] [stdout]     |
[INFO] [stdout] 532 |     pub fn remove_block_at(&mut self, index: usize) {
[INFO] [stdout]     |                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `marker`
[INFO] [stdout]    --> src/structure.rs:541:34
[INFO] [stdout]     |
[INFO] [stdout] 541 |     pub fn remove_all(&mut self, marker: Marker) {
[INFO] [stdout]     |                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marker`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `order`
[INFO] [stdout]    --> src/structure.rs:551:38
[INFO] [stdout]     |
[INFO] [stdout] 551 |     pub fn reorder_blocks(&mut self, order: &[Marker]) {
[INFO] [stdout]     |                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_order`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `predicate`
[INFO] [stdout]    --> src/structure.rs:562:53
[INFO] [stdout]     |
[INFO] [stdout] 562 |     pub fn retain<F: Fn(&Block) -> bool>(&mut self, predicate: F) {
[INFO] [stdout]     |                                                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predicate`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/structure.rs:571:28
[INFO] [stdout]     |
[INFO] [stdout] 571 |     pub fn swap(&mut self, a: usize, b: usize) {
[INFO] [stdout]     |                            ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/structure.rs:571:38
[INFO] [stdout]     |
[INFO] [stdout] 571 |     pub fn swap(&mut self, a: usize, b: usize) {
[INFO] [stdout]     |                                      ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]    --> src/structure.rs:610:27
[INFO] [stdout]     |
[INFO] [stdout] 610 |     pub fn convert(&self, target: Family) -> Result<Structure> {
[INFO] [stdout]     |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated constants `MARK_RIFF`, `MARK_RIFX`, `MARK_FFIR`, and `MARK_SW64` are never used
[INFO] [stdout]   --> src/structure.rs:70:11
[INFO] [stdout]    |
[INFO] [stdout] 69 | impl Structure {
[INFO] [stdout]    | -------------- associated constants in this implementation
[INFO] [stdout] 70 |     const MARK_RIFF: [u8; 4] = *b"RIFF";
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 71 |     const MARK_RIFX: [u8; 4] = *b"RIFX";
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] 72 |     const MARK_FFIR: [u8; 4] = *b"FFIR";
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 78 |     const MARK_SW64: [u8; 4] = *b"riff";
[INFO] [stdout]    |           ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s
[INFO] running `Command { std: "docker" "inspect" "801c63a248b42b25e171a55ca50faa8aa552c536173669e51e7f77adbe91e92b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "801c63a248b42b25e171a55ca50faa8aa552c536173669e51e7f77adbe91e92b", kill_on_drop: false }`
[INFO] [stdout] 801c63a248b42b25e171a55ca50faa8aa552c536173669e51e7f77adbe91e92b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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-04-21" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] bc7d1e9733f7930587558a4861a17d70a31fbf08e1c4287cba803734f23be62a
[INFO] running `Command { std: "docker" "start" "-a" "bc7d1e9733f7930587558a4861a17d70a31fbf08e1c4287cba803734f23be62a", kill_on_drop: false }`
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]   --> src/family.rs:28:13
[INFO] [stderr]    |
[INFO] [stderr] 28 |             _ => Err(Error::UnknownContainer),
[INFO] [stderr]    |             ^ no value can reach this
[INFO] [stderr]    |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]   --> src/family.rs:28:13
[INFO] [stderr]    |
[INFO] [stderr] 23 |             Family::Interchange => Ok(Descriptor::INTERCHANGE),
[INFO] [stderr]    |             ------------------- matches some of the same values
[INFO] [stderr] 24 |             Family::ResourceInterchange => Ok(Descriptor::RESOURCE_INTERCHANGE),
[INFO] [stderr]    |             --------------------------- matches some of the same values
[INFO] [stderr] 25 |             Family::ResourceInterchangeX => Ok(Descriptor::INTERCHANGE),
[INFO] [stderr]    |             ---------------------------- matches some of the same values
[INFO] [stderr] 26 |             Family::ResourceInterchange64 => Ok(Descriptor::RESOURCE_INTERCHANGE),
[INFO] [stderr]    |             ----------------------------- matches some of the same values
[INFO] [stderr] 27 |             Family::Wave64 => Ok(Descriptor::WAVE_64),
[INFO] [stderr] 28 |             _ => Err(Error::UnknownContainer),
[INFO] [stderr]    |             ^ ...and 1 other patterns collectively make this unreachable
[INFO] [stderr]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `marker`
[INFO] [stderr]    --> src/structure.rs:389:14
[INFO] [stderr]     |
[INFO] [stderr] 389 |         let (marker, size, form, ds64) = Self::route_header_parse(reader, &family, &descriptor)?;
[INFO] [stderr]     |              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marker`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `form`
[INFO] [stderr]    --> src/structure.rs:389:28
[INFO] [stderr]     |
[INFO] [stderr] 389 |         let (marker, size, form, ds64) = Self::route_header_parse(reader, &family, &descriptor)?;
[INFO] [stderr]     |                            ^^^^ help: if this is intentional, prefix it with an underscore: `_form`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `reader`
[INFO] [stderr]    --> src/structure.rs:415:9
[INFO] [stderr]     |
[INFO] [stderr] 415 |         reader: &mut Reader<R>,
[INFO] [stderr]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `block`
[INFO] [stderr]    --> src/structure.rs:416:9
[INFO] [stderr]     |
[INFO] [stderr] 416 |         block: &Block,
[INFO] [stderr]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_block`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `marker`
[INFO] [stderr]    --> src/structure.rs:426:24
[INFO] [stderr]     |
[INFO] [stderr] 426 |     pub fn find(&self, marker: Marker) -> Option<&Block> {
[INFO] [stderr]     |                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marker`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `marker`
[INFO] [stderr]    --> src/structure.rs:435:28
[INFO] [stderr]     |
[INFO] [stderr] 435 |     pub fn find_all(&self, marker: Marker) -> Vec<&Block> {
[INFO] [stderr]     |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marker`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `marker`
[INFO] [stderr]    --> src/structure.rs:453:28
[INFO] [stderr]     |
[INFO] [stderr] 453 |     pub fn position(&self, marker: Marker) -> Option<usize> {
[INFO] [stderr]     |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marker`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `marker`
[INFO] [stderr]    --> src/structure.rs:462:28
[INFO] [stderr]     |
[INFO] [stderr] 462 |     pub fn contains(&self, marker: Marker) -> bool {
[INFO] [stderr]     |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marker`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `block`
[INFO] [stderr]    --> src/structure.rs:505:33
[INFO] [stderr]     |
[INFO] [stderr] 505 |     pub fn add_block(&mut self, block: Block) {
[INFO] [stderr]     |                                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_block`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `index`
[INFO] [stderr]    --> src/structure.rs:514:36
[INFO] [stderr]     |
[INFO] [stderr] 514 |     pub fn add_block_at(&mut self, index: usize, block: Block) {
[INFO] [stderr]     |                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `block`
[INFO] [stderr]    --> src/structure.rs:514:50
[INFO] [stderr]     |
[INFO] [stderr] 514 |     pub fn add_block_at(&mut self, index: usize, block: Block) {
[INFO] [stderr]     |                                                  ^^^^^ help: if this is intentional, prefix it with an underscore: `_block`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `marker`
[INFO] [stderr]    --> src/structure.rs:523:36
[INFO] [stderr]     |
[INFO] [stderr] 523 |     pub fn remove_block(&mut self, marker: Marker) {
[INFO] [stderr]     |                                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marker`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `index`
[INFO] [stderr]    --> src/structure.rs:532:39
[INFO] [stderr]     |
[INFO] [stderr] 532 |     pub fn remove_block_at(&mut self, index: usize) {
[INFO] [stderr]     |                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `marker`
[INFO] [stderr]    --> src/structure.rs:541:34
[INFO] [stderr]     |
[INFO] [stderr] 541 |     pub fn remove_all(&mut self, marker: Marker) {
[INFO] [stderr]     |                                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_marker`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `order`
[INFO] [stderr]    --> src/structure.rs:551:38
[INFO] [stderr]     |
[INFO] [stderr] 551 |     pub fn reorder_blocks(&mut self, order: &[Marker]) {
[INFO] [stderr]     |                                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_order`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `predicate`
[INFO] [stderr]    --> src/structure.rs:562:53
[INFO] [stderr]     |
[INFO] [stderr] 562 |     pub fn retain<F: Fn(&Block) -> bool>(&mut self, predicate: F) {
[INFO] [stderr]     |                                                     ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predicate`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `a`
[INFO] [stderr]    --> src/structure.rs:571:28
[INFO] [stderr]     |
[INFO] [stderr] 571 |     pub fn swap(&mut self, a: usize, b: usize) {
[INFO] [stderr]     |                            ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `b`
[INFO] [stderr]    --> src/structure.rs:571:38
[INFO] [stderr]     |
[INFO] [stderr] 571 |     pub fn swap(&mut self, a: usize, b: usize) {
[INFO] [stderr]     |                                      ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `target`
[INFO] [stderr]    --> src/structure.rs:610:27
[INFO] [stderr]     |
[INFO] [stderr] 610 |     pub fn convert(&self, target: Family) -> Result<Structure> {
[INFO] [stderr]     |                           ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target`
[INFO] [stderr] 
[INFO] [stderr] warning: associated constants `MARK_RIFF`, `MARK_RIFX`, `MARK_FFIR`, and `MARK_SW64` are never used
[INFO] [stderr]   --> src/structure.rs:70:11
[INFO] [stderr]    |
[INFO] [stderr] 69 | impl Structure {
[INFO] [stderr]    | -------------- associated constants in this implementation
[INFO] [stderr] 70 |     const MARK_RIFF: [u8; 4] = *b"RIFF";
[INFO] [stderr]    |           ^^^^^^^^^
[INFO] [stderr] 71 |     const MARK_RIFX: [u8; 4] = *b"RIFX";
[INFO] [stderr]    |           ^^^^^^^^^
[INFO] [stderr] 72 |     const MARK_FFIR: [u8; 4] = *b"FFIR";
[INFO] [stderr]    |           ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 78 |     const MARK_SW64: [u8; 4] = *b"riff";
[INFO] [stderr]    |           ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `xrw` (lib) generated 21 warnings (run `cargo fix --lib -p xrw` to apply 19 suggestions)
[INFO] [stderr] warning: `xrw` (lib test) generated 21 warnings (21 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xrw-20124c024d2312cb)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stderr]    Doc-tests xrw
[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 21 tests
[INFO] [stdout] test src/structure.rs - structure::Structure::read (line 382) ... FAILED
[INFO] [stdout] test src/structure.rs - structure::Structure::read_payload (line 406) ... FAILED
[INFO] [stdout] test src/structure.rs - structure::Structure::contains (line 459) ... FAILED
[INFO] [stdout] test src/structure.rs - structure::Structure::add_block_at (line 511) ... FAILED
[INFO] [stdout] test src/structure.rs - structure::Structure::promote_container (line 578) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 38) ... FAILED
[INFO] [stdout] test src/structure.rs - structure::Structure::find_all (line 432) ... FAILED
[INFO] [stdout] test src/structure.rs - structure::Structure::remove_all (line 538) ... FAILED
[INFO] [stdout] test src/structure.rs - structure::Structure::convert (line 607) ... FAILED
[INFO] [stdout] test src/structure.rs - structure::Structure::find (line 423) ... FAILED
[INFO] [stdout] test src/structure.rs - structure::Structure::blocks (line 493) ... FAILED
[INFO] [stdout] test src/structure.rs - structure::Structure::add_block (line 502) ... FAILED
[INFO] [stdout] test src/structure.rs - structure::Structure::remove_block (line 520) ... FAILED
[INFO] [stdout] test src/structure.rs - structure::Structure::position (line 450) ... FAILED
[INFO] [stdout] test src/structure.rs - structure::Structure::read (line 378) ... FAILED
[INFO] [stdout] test src/structure.rs - structure::Structure::has_duplicates (line 476) ... FAILED
[INFO] [stdout] test src/structure.rs - structure::Structure::remove_block_at (line 529) ... FAILED
[INFO] [stdout] test src/structure.rs - structure::Structure::reorder_blocks (line 548) ... FAILED
[INFO] [stdout] test src/structure.rs - structure::Structure::swap (line 568) ... FAILED
[INFO] [stdout] test src/structure.rs - structure::Structure::retain (line 557) ... FAILED
[INFO] [stdout] test src/structure.rs - structure::Structure::is_empty (line 468) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/structure.rs - structure::Structure::read (line 382) stdout ----
[INFO] [stdout] error: this file contains an unclosed delimiter
[INFO] [stdout]    --> src/structure.rs:383:107
[INFO] [stdout]     |
[INFO] [stdout] 383 | let structure = Structure::read(&mut reader, &ReadOptions { skip_duplicates: true, ..Default::default()}?;
[INFO] [stdout]     |                                - unclosed delimiter                                                       ^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/structure.rs - structure::Structure::read_payload (line 406) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `structure` in this scope
[INFO] [stdout]    --> src/structure.rs:407:15
[INFO] [stdout]     |
[INFO] [stdout] 407 | let payload = structure.read_payload(&block, &mut reader)?;
[INFO] [stdout]     |               ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `block` in this scope
[INFO] [stdout]    --> src/structure.rs:407:39
[INFO] [stdout]     |
[INFO] [stdout] 407 | let payload = structure.read_payload(&block, &mut reader)?;
[INFO] [stdout]     |                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `reader` in this scope
[INFO] [stdout]    --> src/structure.rs:407:51
[INFO] [stdout]     |
[INFO] [stdout] 407 | let payload = structure.read_payload(&block, &mut reader)?;
[INFO] [stdout]     |                                                   ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/structure.rs - structure::Structure::contains (line 459) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]    --> src/structure.rs:460:51
[INFO] [stdout]     |
[INFO] [stdout] 460 | if structure.contains(Marker::FourCC(*b"bext")) { ... }
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]     |
[INFO] [stdout] 460 - if structure.contains(Marker::FourCC(*b"bext")) { ... }
[INFO] [stdout] 460 + if structure.contains(Marker::FourCC(*b"bext")) { .. }
[INFO] [stdout]     |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout] 460 - if structure.contains(Marker::FourCC(*b"bext")) { ... }
[INFO] [stdout] 460 + if structure.contains(Marker::FourCC(*b"bext")) { ..= }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]    --> src/structure.rs:460:51
[INFO] [stdout]     |
[INFO] [stdout] 460 | if structure.contains(Marker::FourCC(*b"bext")) { ... }
[INFO] [stdout]     |                                                   ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]     |
[INFO] [stdout] 460 - if structure.contains(Marker::FourCC(*b"bext")) { ... }
[INFO] [stdout] 460 + if structure.contains(Marker::FourCC(*b"bext")) { .. }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `structure` in this scope
[INFO] [stdout]    --> src/structure.rs:460:4
[INFO] [stdout]     |
[INFO] [stdout] 460 | if structure.contains(Marker::FourCC(*b"bext")) { ... }
[INFO] [stdout]     |    ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Marker` in this scope
[INFO] [stdout]    --> src/structure.rs:460:23
[INFO] [stdout]     |
[INFO] [stdout] 460 | if structure.contains(Marker::FourCC(*b"bext")) { ... }
[INFO] [stdout]     |                       ^^^^^^ use of undeclared type `Marker`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0586.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/structure.rs - structure::Structure::add_block_at (line 511) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `structure` in this scope
[INFO] [stdout]    --> src/structure.rs:512:1
[INFO] [stdout]     |
[INFO] [stdout] 512 | structure.add_block_at(0, block);
[INFO] [stdout]     | ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `block` in this scope
[INFO] [stdout]    --> src/structure.rs:512:27
[INFO] [stdout]     |
[INFO] [stdout] 512 | structure.add_block_at(0, block);
[INFO] [stdout]     |                           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/structure.rs - structure::Structure::promote_container (line 578) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `structure` in this scope
[INFO] [stdout]    --> src/structure.rs:579:1
[INFO] [stdout]     |
[INFO] [stdout] 579 | structure.promote_container()?;
[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/lib.rs - (line 38) stdout ----
[INFO] [stdout] error[E0433]: cannot find type `Reader` in this scope
[INFO] [stdout]   --> src/lib.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 39 | let mut reader = Reader::open("audio.wav")?;
[INFO] [stdout]    |                  ^^^^^^ use of undeclared type `Reader`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Structure` in this scope
[INFO] [stdout]   --> src/lib.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 | let structure = Structure::read(&mut reader, &ReadOptions::default())?;
[INFO] [stdout]    |                 ^^^^^^^^^ use of undeclared type `Structure`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ReadOptions` in this scope
[INFO] [stdout]   --> src/lib.rs:40:47
[INFO] [stdout]    |
[INFO] [stdout] 40 | let structure = Structure::read(&mut reader, &ReadOptions::default())?;
[INFO] [stdout]    |                                               ^^^^^^^^^^^ use of undeclared type `ReadOptions`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Marker` in this scope
[INFO] [stdout]   --> src/lib.rs:42:35
[INFO] [stdout]    |
[INFO] [stdout] 42 | if let Some(fmt) = structure.find(Marker::FourCC(*b"fmt ")) {
[INFO] [stdout]    |                                   ^^^^^^ use of undeclared type `Marker`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/structure.rs - structure::Structure::find_all (line 432) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `structure` in this scope
[INFO] [stdout]    --> src/structure.rs:433:16
[INFO] [stdout]     |
[INFO] [stdout] 433 | let data_all = structure.find_all(Marker::FourCC(*b"data"));
[INFO] [stdout]     |                ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Marker` in this scope
[INFO] [stdout]    --> src/structure.rs:433:35
[INFO] [stdout]     |
[INFO] [stdout] 433 | let data_all = structure.find_all(Marker::FourCC(*b"data"));
[INFO] [stdout]     |                                   ^^^^^^ use of undeclared type `Marker`
[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] ---- src/structure.rs - structure::Structure::remove_all (line 538) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `structure` in this scope
[INFO] [stdout]    --> src/structure.rs:539:1
[INFO] [stdout]     |
[INFO] [stdout] 539 | structure.remove_all(Marker::FourCC(*b"LIST"));
[INFO] [stdout]     | ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Marker` in this scope
[INFO] [stdout]    --> src/structure.rs:539:22
[INFO] [stdout]     |
[INFO] [stdout] 539 | structure.remove_all(Marker::FourCC(*b"LIST"));
[INFO] [stdout]     |                      ^^^^^^ use of undeclared type `Marker`
[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] ---- src/structure.rs - structure::Structure::convert (line 607) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `structure` in this scope
[INFO] [stdout]    --> src/structure.rs:608:12
[INFO] [stdout]     |
[INFO] [stdout] 608 | let rf64 = structure.convert(Family::ResourceInterchange64)?;
[INFO] [stdout]     |            ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Family` in this scope
[INFO] [stdout]    --> src/structure.rs:608:30
[INFO] [stdout]     |
[INFO] [stdout] 608 | let rf64 = structure.convert(Family::ResourceInterchange64)?;
[INFO] [stdout]     |                              ^^^^^^ use of undeclared type `Family`
[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] ---- src/structure.rs - structure::Structure::find (line 423) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `structure` in this scope
[INFO] [stdout]    --> src/structure.rs:424:11
[INFO] [stdout]     |
[INFO] [stdout] 424 | let fmt = structure.find(Marker::FourCC(*b"fmt "));
[INFO] [stdout]     |           ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Marker` in this scope
[INFO] [stdout]    --> src/structure.rs:424:26
[INFO] [stdout]     |
[INFO] [stdout] 424 | let fmt = structure.find(Marker::FourCC(*b"fmt "));
[INFO] [stdout]     |                          ^^^^^^ use of undeclared type `Marker`
[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] ---- src/structure.rs - structure::Structure::blocks (line 493) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]    --> src/structure.rs:494:35
[INFO] [stdout]     |
[INFO] [stdout] 494 | for block in structure.blocks() { ... }
[INFO] [stdout]     |                                   ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]     |
[INFO] [stdout] 494 - for block in structure.blocks() { ... }
[INFO] [stdout] 494 + for block in structure.blocks() { .. }
[INFO] [stdout]     |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout] 494 - for block in structure.blocks() { ... }
[INFO] [stdout] 494 + for block in structure.blocks() { ..= }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]    --> src/structure.rs:494:35
[INFO] [stdout]     |
[INFO] [stdout] 494 | for block in structure.blocks() { ... }
[INFO] [stdout]     |                                   ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]     |
[INFO] [stdout] 494 - for block in structure.blocks() { ... }
[INFO] [stdout] 494 + for block in structure.blocks() { .. }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `structure` in this scope
[INFO] [stdout]    --> src/structure.rs:494:14
[INFO] [stdout]     |
[INFO] [stdout] 494 | for block in structure.blocks() { ... }
[INFO] [stdout]     |              ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0586.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/structure.rs - structure::Structure::add_block (line 502) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `structure` in this scope
[INFO] [stdout]    --> src/structure.rs:503:1
[INFO] [stdout]     |
[INFO] [stdout] 503 | structure.add_block(block);
[INFO] [stdout]     | ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `block` in this scope
[INFO] [stdout]    --> src/structure.rs:503:21
[INFO] [stdout]     |
[INFO] [stdout] 503 | structure.add_block(block);
[INFO] [stdout]     |                     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/structure.rs - structure::Structure::remove_block (line 520) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `structure` in this scope
[INFO] [stdout]    --> src/structure.rs:521:1
[INFO] [stdout]     |
[INFO] [stdout] 521 | structure.remove_block(Marker::FourCC(*b"LIST"));
[INFO] [stdout]     | ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Marker` in this scope
[INFO] [stdout]    --> src/structure.rs:521:24
[INFO] [stdout]     |
[INFO] [stdout] 521 | structure.remove_block(Marker::FourCC(*b"LIST"));
[INFO] [stdout]     |                        ^^^^^^ use of undeclared type `Marker`
[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] ---- src/structure.rs - structure::Structure::position (line 450) stdout ----
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]    --> src/structure.rs:451:57
[INFO] [stdout]     |
[INFO] [stdout] 451 | let index = structure.position(Marker::FourCC(*b"bext"))
[INFO] [stdout]     |                                                         ^ help: add `;` here
[INFO] [stdout] 452 | } _doctest_main_src_structure_rs_450_0() }
[INFO] [stdout]     | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `structure` in this scope
[INFO] [stdout]    --> src/structure.rs:451:13
[INFO] [stdout]     |
[INFO] [stdout] 451 | let index = structure.position(Marker::FourCC(*b"bext"))
[INFO] [stdout]     |             ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Marker` in this scope
[INFO] [stdout]    --> src/structure.rs:451:32
[INFO] [stdout]     |
[INFO] [stdout] 451 | let index = structure.position(Marker::FourCC(*b"bext"))
[INFO] [stdout]     |                                ^^^^^^ use of undeclared type `Marker`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/structure.rs - structure::Structure::read (line 378) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `reader` in this scope
[INFO] [stdout]    --> src/structure.rs:379:38
[INFO] [stdout]     |
[INFO] [stdout] 379 | let structure = Structure::read(&mut reader, &ReadOptions::default())?;
[INFO] [stdout]     |                                      ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Structure` in this scope
[INFO] [stdout]    --> src/structure.rs:379:17
[INFO] [stdout]     |
[INFO] [stdout] 379 | let structure = Structure::read(&mut reader, &ReadOptions::default())?;
[INFO] [stdout]     |                 ^^^^^^^^^ use of undeclared type `Structure`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `ReadOptions` in this scope
[INFO] [stdout]    --> src/structure.rs:379:47
[INFO] [stdout]     |
[INFO] [stdout] 379 | let structure = Structure::read(&mut reader, &ReadOptions::default())?;
[INFO] [stdout]     |                                               ^^^^^^^^^^^ use of undeclared type `ReadOptions`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/structure.rs - structure::Structure::has_duplicates (line 476) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]    --> src/structure.rs:477:33
[INFO] [stdout]     |
[INFO] [stdout] 477 | if structure.has_duplicates() { ... }
[INFO] [stdout]     |                                 ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]     |
[INFO] [stdout] 477 - if structure.has_duplicates() { ... }
[INFO] [stdout] 477 + if structure.has_duplicates() { .. }
[INFO] [stdout]     |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout] 477 - if structure.has_duplicates() { ... }
[INFO] [stdout] 477 + if structure.has_duplicates() { ..= }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]    --> src/structure.rs:477:33
[INFO] [stdout]     |
[INFO] [stdout] 477 | if structure.has_duplicates() { ... }
[INFO] [stdout]     |                                 ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]     |
[INFO] [stdout] 477 - if structure.has_duplicates() { ... }
[INFO] [stdout] 477 + if structure.has_duplicates() { .. }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `structure` in this scope
[INFO] [stdout]    --> src/structure.rs:477:4
[INFO] [stdout]     |
[INFO] [stdout] 477 | if structure.has_duplicates() { ... }
[INFO] [stdout]     |    ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0586.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/structure.rs - structure::Structure::remove_block_at (line 529) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `structure` in this scope
[INFO] [stdout]    --> src/structure.rs:530:1
[INFO] [stdout]     |
[INFO] [stdout] 530 | structure.remove_block_at(0);
[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/structure.rs - structure::Structure::reorder_blocks (line 548) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `structure` in this scope
[INFO] [stdout]    --> src/structure.rs:549:1
[INFO] [stdout]     |
[INFO] [stdout] 549 | structure.reorder_blocks(&[Marker::FourCC(*b"fmt "), Marker::FourCC(*b"data")]);
[INFO] [stdout]     | ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Marker` in this scope
[INFO] [stdout]    --> src/structure.rs:549:28
[INFO] [stdout]     |
[INFO] [stdout] 549 | structure.reorder_blocks(&[Marker::FourCC(*b"fmt "), Marker::FourCC(*b"data")]);
[INFO] [stdout]     |                            ^^^^^^ use of undeclared type `Marker`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Marker` in this scope
[INFO] [stdout]    --> src/structure.rs:549:54
[INFO] [stdout]     |
[INFO] [stdout] 549 | structure.reorder_blocks(&[Marker::FourCC(*b"fmt "), Marker::FourCC(*b"data")]);
[INFO] [stdout]     |                                                      ^^^^^^ use of undeclared type `Marker`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/structure.rs - structure::Structure::swap (line 568) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `structure` in this scope
[INFO] [stdout]    --> src/structure.rs:569:1
[INFO] [stdout]     |
[INFO] [stdout] 569 | structure.swap(0, 1);
[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/structure.rs - structure::Structure::retain (line 557) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `structure` in this scope
[INFO] [stdout]    --> src/structure.rs:560:1
[INFO] [stdout]     |
[INFO] [stdout] 560 | structure.retain(|block| known.contains(&block.marker));
[INFO] [stdout]     | ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Marker` in this scope
[INFO] [stdout]    --> src/structure.rs:559:14
[INFO] [stdout]     |
[INFO] [stdout] 559 | let known = [Marker::FourCC(*b"fmt "), Marker::FourCC(*b"data"), Marker::FourCC(*b"bext")];
[INFO] [stdout]     |              ^^^^^^ use of undeclared type `Marker`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Marker` in this scope
[INFO] [stdout]    --> src/structure.rs:559:40
[INFO] [stdout]     |
[INFO] [stdout] 559 | let known = [Marker::FourCC(*b"fmt "), Marker::FourCC(*b"data"), Marker::FourCC(*b"bext")];
[INFO] [stdout]     |                                        ^^^^^^ use of undeclared type `Marker`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Marker` in this scope
[INFO] [stdout]    --> src/structure.rs:559:66
[INFO] [stdout]     |
[INFO] [stdout] 559 | let known = [Marker::FourCC(*b"fmt "), Marker::FourCC(*b"data"), Marker::FourCC(*b"bext")];
[INFO] [stdout]     |                                                                  ^^^^^^ use of undeclared type `Marker`
[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/structure.rs - structure::Structure::is_empty (line 468) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]    --> src/structure.rs:469:27
[INFO] [stdout]     |
[INFO] [stdout] 469 | if structure.is_empty() { ... }
[INFO] [stdout]     |                           ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]     |
[INFO] [stdout] 469 - if structure.is_empty() { ... }
[INFO] [stdout] 469 + if structure.is_empty() { .. }
[INFO] [stdout]     |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout] 469 - if structure.is_empty() { ... }
[INFO] [stdout] 469 + if structure.is_empty() { ..= }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]    --> src/structure.rs:469:27
[INFO] [stdout]     |
[INFO] [stdout] 469 | if structure.is_empty() { ... }
[INFO] [stdout]     |                           ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]     |
[INFO] [stdout] 469 - if structure.is_empty() { ... }
[INFO] [stdout] 469 + if structure.is_empty() { .. }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `structure` in this scope
[INFO] [stdout]    --> src/structure.rs:469:4
[INFO] [stdout]     |
[INFO] [stdout] 469 | if structure.is_empty() { ... }
[INFO] [stdout]     |    ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0586.
[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/lib.rs - (line 38)
[INFO] [stdout]     src/structure.rs - structure::Structure::add_block (line 502)
[INFO] [stdout]     src/structure.rs - structure::Structure::add_block_at (line 511)
[INFO] [stdout]     src/structure.rs - structure::Structure::blocks (line 493)
[INFO] [stdout]     src/structure.rs - structure::Structure::contains (line 459)
[INFO] [stdout]     src/structure.rs - structure::Structure::convert (line 607)
[INFO] [stdout]     src/structure.rs - structure::Structure::find (line 423)
[INFO] [stdout]     src/structure.rs - structure::Structure::find_all (line 432)
[INFO] [stdout]     src/structure.rs - structure::Structure::has_duplicates (line 476)
[INFO] [stdout]     src/structure.rs - structure::Structure::is_empty (line 468)
[INFO] [stdout]     src/structure.rs - structure::Structure::position (line 450)
[INFO] [stdout]     src/structure.rs - structure::Structure::promote_container (line 578)
[INFO] [stdout]     src/structure.rs - structure::Structure::read (line 378)
[INFO] [stdout]     src/structure.rs - structure::Structure::read (line 382)
[INFO] [stdout]     src/structure.rs - structure::Structure::read_payload (line 406)
[INFO] [stdout]     src/structure.rs - structure::Structure::remove_all (line 538)
[INFO] [stdout]     src/structure.rs - structure::Structure::remove_block (line 520)
[INFO] [stdout]     src/structure.rs - structure::Structure::remove_block_at (line 529)
[INFO] [stdout]     src/structure.rs - structure::Structure::reorder_blocks (line 548)
[INFO] [stdout]     src/structure.rs - structure::Structure::retain (line 557)
[INFO] [stdout]     src/structure.rs - structure::Structure::swap (line 568)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 21 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.37s; merged doctests compilation took 0.20s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "bc7d1e9733f7930587558a4861a17d70a31fbf08e1c4287cba803734f23be62a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc7d1e9733f7930587558a4861a17d70a31fbf08e1c4287cba803734f23be62a", kill_on_drop: false }`
[INFO] [stdout] bc7d1e9733f7930587558a4861a17d70a31fbf08e1c4287cba803734f23be62a
