[INFO] fetching crate cocoon-tpm-storage 0.1.1... [INFO] checking cocoon-tpm-storage-0.1.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate cocoon-tpm-storage 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate cocoon-tpm-storage 0.1.1 [INFO] finished tweaking crates.io crate cocoon-tpm-storage 0.1.1 [INFO] tweaked toml for crates.io crate cocoon-tpm-storage 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cocoon-tpm-storage 0.1.1 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cocoon-tpm-storage 0.1.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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 740cd7e0e4acee0b7055e23179d26841954751afa8f704ade53ee959df6c2e70 [INFO] running `Command { std: "docker" "start" "-a" "740cd7e0e4acee0b7055e23179d26841954751afa8f704ade53ee959df6c2e70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "740cd7e0e4acee0b7055e23179d26841954751afa8f704ade53ee959df6c2e70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "740cd7e0e4acee0b7055e23179d26841954751afa8f704ade53ee959df6c2e70", kill_on_drop: false }` [INFO] [stdout] 740cd7e0e4acee0b7055e23179d26841954751afa8f704ade53ee959df6c2e70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6163d8e04793d7c8d12a0f6237d43102a9e5f601cda51107f58aa15868da502 [INFO] running `Command { std: "docker" "start" "-a" "b6163d8e04793d7c8d12a0f6237d43102a9e5f601cda51107f58aa15868da502", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking cocoon-tpm-tpm2-interface v0.1.0 [INFO] [stderr] Checking cmpa v0.1.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking cocoon-tpm-utils-common v0.1.1 [INFO] [stderr] Checking cocoon-tpm-utils-async v0.1.1 [INFO] [stderr] Checking generic-array v1.2.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ecb v0.1.2 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking cfb-mode v0.8.2 [INFO] [stderr] Checking ofb v0.6.1 [INFO] [stderr] Checking cocoon-tpm-crypto v0.1.2 [INFO] [stderr] Checking cocoon-tpm-storage v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/fs/cocoonfs/alloc_bitmap/file.rs:1178:81 [INFO] [stdout] | [INFO] [stdout] 1178 | ... |i| -> Result, convert::Infallible> { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 1179 | | ... Ok(mem::take(&mut this.encrypted_file_blocks[i])) [INFO] [stdout] 1180 | | ... }, [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/fs/cocoonfs/alloc_bitmap/file.rs:1179:33 [INFO] [stdout] | [INFO] [stdout] 1179 | ... Ok(mem::take(&mut this.encrypted_file_blocks[i])) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/fs/cocoonfs/alloc_bitmap/file.rs:1346:81 [INFO] [stdout] | [INFO] [stdout] 1346 | ... |i| -> Result, convert::Infallible> { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 1347 | | ... Ok(mem::take( [INFO] [stdout] 1348 | | ... &mut this.encrypted_file_blocks[u64::from( [INFO] [stdout] 1349 | | ... *cur_file_extent_range_write_allocation_blocks_end [INFO] [stdout] ... | [INFO] [stdout] 1353 | | ... )) [INFO] [stdout] 1354 | | ... }, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/fs/cocoonfs/alloc_bitmap/file.rs:1347:33 [INFO] [stdout] | [INFO] [stdout] 1347 | / ... Ok(mem::take( [INFO] [stdout] 1348 | | ... &mut this.encrypted_file_blocks[u64::from( [INFO] [stdout] 1349 | | ... *cur_file_extent_range_write_allocation_blocks_end [INFO] [stdout] 1350 | | ... - *cur_file_extent_range_allocation_blocks_begin, [INFO] [stdout] 1351 | | ... ) as usize [INFO] [stdout] 1352 | | ... + i], [INFO] [stdout] 1353 | | ... )) [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, HashInstance> [INFO] [stdout] --> src/fs/cocoonfs/auth_tree.rs:2049:21 [INFO] [stdout] | [INFO] [stdout] 2049 | let mut h = hash::HashInstance::new(self.node_hash_alg)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/auth_tree.rs:2049:21 [INFO] [stdout] | [INFO] [stdout] 2049 | let mut h = hash::HashInstance::new(self.node_hash_alg)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/image_header.rs:899:37 [INFO] [stdout] | [INFO] [stdout] 899 | if let Err(e) = expected_crc_io_slice.as_ref().copy_from_iter(&mut header_io_slice) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/image_header.rs:903:31 [INFO] [stdout] | [INFO] [stdout] 903 | if !match expected_crc_io_slice.is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/image_header.rs:917:37 [INFO] [stdout] | [INFO] [stdout] 917 | if let Err(e) = expected_crc_snb_io_slice.as_ref().copy_from_iter(&mut header_io_slice) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/image_header.rs:921:31 [INFO] [stdout] | [INFO] [stdout] 921 | if !match expected_crc_snb_io_slice.is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/image_header.rs:996:37 [INFO] [stdout] | [INFO] [stdout] 996 | if let Err(e) = salt_io_slice.copy_from_iter(&mut header_io_slice) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/image_header.rs:1000:27 [INFO] [stdout] | [INFO] [stdout] 1000 | match salt_io_slice.is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/image_header.rs:1112:37 [INFO] [stdout] | [INFO] [stdout] 1112 | if let Err(e) = expected_crc_io_slice.as_ref().copy_from_iter(&mut header_io_slice) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/image_header.rs:1116:31 [INFO] [stdout] | [INFO] [stdout] 1116 | if !match expected_crc_io_slice.is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/image_header.rs:1130:37 [INFO] [stdout] | [INFO] [stdout] 1130 | if let Err(e) = expected_crc_snb_io_slice.as_ref().copy_from_iter(&mut header_io_slice) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/image_header.rs:1134:31 [INFO] [stdout] | [INFO] [stdout] 1134 | if !match expected_crc_snb_io_slice.is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/image_header.rs:1218:37 [INFO] [stdout] | [INFO] [stdout] 1218 | if let Err(e) = salt_io_slice.copy_from_iter(&mut header_io_slice) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/image_header.rs:1222:27 [INFO] [stdout] | [INFO] [stdout] 1222 | match salt_io_slice.is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> src/fs/cocoonfs/journal/extents_covering_auth_digests.rs:140:51 [INFO] [stdout] | [INFO] [stdout] 140 | let decode_buf_len = decode_buf_len - decode_buf_io_slice.total_len()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/journal/extents_covering_auth_digests.rs:140:51 [INFO] [stdout] | [INFO] [stdout] 140 | let decode_buf_len = decode_buf_len - decode_buf_io_slice.total_len()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, bool> [INFO] [stdout] --> src/fs/cocoonfs/journal/log.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | if src.is_empty()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/journal/log.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | if src.is_empty()? { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> src/fs/cocoonfs/journal/log.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / io_slices::SingletonIoSliceMut::new(&mut tag) [INFO] [stdout] 129 | | .map_infallible_err() [INFO] [stdout] 130 | | .copy_from_iter(&mut src)?; [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/journal/log.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / io_slices::SingletonIoSliceMut::new(&mut tag) [INFO] [stdout] 129 | | .map_infallible_err() [INFO] [stdout] 130 | | .copy_from_iter(&mut src)?; [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> src/fs/cocoonfs/journal/log.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | / (&mut decode_buf_io_slice) [INFO] [stdout] 216 | | .map_infallible_err() [INFO] [stdout] 217 | | .copy_from_iter(&mut src.decoupled_borrow())?; [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/journal/log.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | / (&mut decode_buf_io_slice) [INFO] [stdout] 216 | | .map_infallible_err() [INFO] [stdout] 217 | | .copy_from_iter(&mut src.decoupled_borrow())?; [INFO] [stdout] | |____________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> src/fs/cocoonfs/journal/log.rs:218:43 [INFO] [stdout] | [INFO] [stdout] 218 | let decode_buf_len = decode_buf_len - decode_buf_io_slice.total_len()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/journal/log.rs:218:43 [INFO] [stdout] | [INFO] [stdout] 218 | let decode_buf_len = decode_buf_len - decode_buf_io_slice.total_len()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> src/fs/cocoonfs/journal/log.rs:960:12 [INFO] [stdout] | [INFO] [stdout] 960 | if src.total_len()? < encoded_alloc_bitmap_file_extents_len { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/journal/log.rs:960:12 [INFO] [stdout] | [INFO] [stdout] 960 | if src.total_len()? < encoded_alloc_bitmap_file_extents_len { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> src/fs/cocoonfs/journal/log.rs:1023:12 [INFO] [stdout] | [INFO] [stdout] 1023 | if src.total_len()? < encoded_alloc_bitmap_file_extents_len { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/journal/log.rs:1023:12 [INFO] [stdout] | [INFO] [stdout] 1023 | if src.total_len()? < encoded_alloc_bitmap_file_extents_len { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/transaction/auth_tree_data_blocks_update_states.rs:1206:84 [INFO] [stdout] | [INFO] [stdout] 1206 | |_| -> Result { [INFO] [stdout] | ____________________________________________________________________________________^ [INFO] [stdout] ... | [INFO] [stdout] 1322 | | Ok(allocation_block_state) [INFO] [stdout] 1323 | | }, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/transaction/auth_tree_data_blocks_update_states.rs:1322:25 [INFO] [stdout] | [INFO] [stdout] 1322 | Ok(allocation_block_state) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/fs/cocoonfs/alloc_bitmap/file.rs:1178:81 [INFO] [stdout] | [INFO] [stdout] 1178 | ... |i| -> Result, convert::Infallible> { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 1179 | | ... Ok(mem::take(&mut this.encrypted_file_blocks[i])) [INFO] [stdout] 1180 | | ... }, [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/fs/cocoonfs/alloc_bitmap/file.rs:1179:33 [INFO] [stdout] | [INFO] [stdout] 1179 | ... Ok(mem::take(&mut this.encrypted_file_blocks[i])) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/fs/cocoonfs/alloc_bitmap/file.rs:1346:81 [INFO] [stdout] | [INFO] [stdout] 1346 | ... |i| -> Result, convert::Infallible> { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 1347 | | ... Ok(mem::take( [INFO] [stdout] 1348 | | ... &mut this.encrypted_file_blocks[u64::from( [INFO] [stdout] 1349 | | ... *cur_file_extent_range_write_allocation_blocks_end [INFO] [stdout] ... | [INFO] [stdout] 1353 | | ... )) [INFO] [stdout] 1354 | | ... }, [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/fs/cocoonfs/alloc_bitmap/file.rs:1347:33 [INFO] [stdout] | [INFO] [stdout] 1347 | / ... Ok(mem::take( [INFO] [stdout] 1348 | | ... &mut this.encrypted_file_blocks[u64::from( [INFO] [stdout] 1349 | | ... *cur_file_extent_range_write_allocation_blocks_end [INFO] [stdout] 1350 | | ... - *cur_file_extent_range_allocation_blocks_begin, [INFO] [stdout] 1351 | | ... ) as usize [INFO] [stdout] 1352 | | ... + i], [INFO] [stdout] 1353 | | ... )) [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, HashInstance> [INFO] [stdout] --> src/fs/cocoonfs/auth_tree.rs:2049:21 [INFO] [stdout] | [INFO] [stdout] 2049 | let mut h = hash::HashInstance::new(self.node_hash_alg)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/auth_tree.rs:2049:21 [INFO] [stdout] | [INFO] [stdout] 2049 | let mut h = hash::HashInstance::new(self.node_hash_alg)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cocoon-tpm-storage` (lib) due to 34 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/image_header.rs:899:37 [INFO] [stdout] | [INFO] [stdout] 899 | if let Err(e) = expected_crc_io_slice.as_ref().copy_from_iter(&mut header_io_slice) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/image_header.rs:903:31 [INFO] [stdout] | [INFO] [stdout] 903 | if !match expected_crc_io_slice.is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/image_header.rs:917:37 [INFO] [stdout] | [INFO] [stdout] 917 | if let Err(e) = expected_crc_snb_io_slice.as_ref().copy_from_iter(&mut header_io_slice) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/image_header.rs:921:31 [INFO] [stdout] | [INFO] [stdout] 921 | if !match expected_crc_snb_io_slice.is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/image_header.rs:996:37 [INFO] [stdout] | [INFO] [stdout] 996 | if let Err(e) = salt_io_slice.copy_from_iter(&mut header_io_slice) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/image_header.rs:1000:27 [INFO] [stdout] | [INFO] [stdout] 1000 | match salt_io_slice.is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/image_header.rs:1112:37 [INFO] [stdout] | [INFO] [stdout] 1112 | if let Err(e) = expected_crc_io_slice.as_ref().copy_from_iter(&mut header_io_slice) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/image_header.rs:1116:31 [INFO] [stdout] | [INFO] [stdout] 1116 | if !match expected_crc_io_slice.is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/image_header.rs:1130:37 [INFO] [stdout] | [INFO] [stdout] 1130 | if let Err(e) = expected_crc_snb_io_slice.as_ref().copy_from_iter(&mut header_io_slice) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/image_header.rs:1134:31 [INFO] [stdout] | [INFO] [stdout] 1134 | if !match expected_crc_snb_io_slice.is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/image_header.rs:1218:37 [INFO] [stdout] | [INFO] [stdout] 1218 | if let Err(e) = salt_io_slice.copy_from_iter(&mut header_io_slice) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/image_header.rs:1222:27 [INFO] [stdout] | [INFO] [stdout] 1222 | match salt_io_slice.is_empty() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> src/fs/cocoonfs/journal/extents_covering_auth_digests.rs:140:51 [INFO] [stdout] | [INFO] [stdout] 140 | let decode_buf_len = decode_buf_len - decode_buf_io_slice.total_len()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/journal/extents_covering_auth_digests.rs:140:51 [INFO] [stdout] | [INFO] [stdout] 140 | let decode_buf_len = decode_buf_len - decode_buf_io_slice.total_len()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, bool> [INFO] [stdout] --> src/fs/cocoonfs/journal/log.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | if src.is_empty()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/journal/log.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 121 | if src.is_empty()? { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> src/fs/cocoonfs/journal/log.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / io_slices::SingletonIoSliceMut::new(&mut tag) [INFO] [stdout] 129 | | .map_infallible_err() [INFO] [stdout] 130 | | .copy_from_iter(&mut src)?; [INFO] [stdout] | |__________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/journal/log.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / io_slices::SingletonIoSliceMut::new(&mut tag) [INFO] [stdout] 129 | | .map_infallible_err() [INFO] [stdout] 130 | | .copy_from_iter(&mut src)?; [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> src/fs/cocoonfs/journal/log.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | / (&mut decode_buf_io_slice) [INFO] [stdout] 216 | | .map_infallible_err() [INFO] [stdout] 217 | | .copy_from_iter(&mut src.decoupled_borrow())?; [INFO] [stdout] | |_____________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/journal/log.rs:215:5 [INFO] [stdout] | [INFO] [stdout] 215 | / (&mut decode_buf_io_slice) [INFO] [stdout] 216 | | .map_infallible_err() [INFO] [stdout] 217 | | .copy_from_iter(&mut src.decoupled_borrow())?; [INFO] [stdout] | |____________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> src/fs/cocoonfs/journal/log.rs:218:43 [INFO] [stdout] | [INFO] [stdout] 218 | let decode_buf_len = decode_buf_len - decode_buf_io_slice.total_len()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/journal/log.rs:218:43 [INFO] [stdout] | [INFO] [stdout] 218 | let decode_buf_len = decode_buf_len - decode_buf_io_slice.total_len()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> src/fs/cocoonfs/journal/log.rs:960:12 [INFO] [stdout] | [INFO] [stdout] 960 | if src.total_len()? < encoded_alloc_bitmap_file_extents_len { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/journal/log.rs:960:12 [INFO] [stdout] | [INFO] [stdout] 960 | if src.total_len()? < encoded_alloc_bitmap_file_extents_len { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, usize> [INFO] [stdout] --> src/fs/cocoonfs/journal/log.rs:1023:12 [INFO] [stdout] | [INFO] [stdout] 1023 | if src.total_len()? < encoded_alloc_bitmap_file_extents_len { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/journal/log.rs:1023:12 [INFO] [stdout] | [INFO] [stdout] 1023 | if src.total_len()? < encoded_alloc_bitmap_file_extents_len { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/transaction/auth_tree_data_blocks_update_states.rs:1206:84 [INFO] [stdout] | [INFO] [stdout] 1206 | |_| -> Result { [INFO] [stdout] | ____________________________________________________________________________________^ [INFO] [stdout] ... | [INFO] [stdout] 1322 | | Ok(allocation_block_state) [INFO] [stdout] 1323 | | }, [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/fs/cocoonfs/transaction/auth_tree_data_blocks_update_states.rs:1322:25 [INFO] [stdout] | [INFO] [stdout] 1322 | Ok(allocation_block_state) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cocoon-tpm-storage` (lib test) due to 34 previous errors [INFO] running `Command { std: "docker" "inspect" "b6163d8e04793d7c8d12a0f6237d43102a9e5f601cda51107f58aa15868da502", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6163d8e04793d7c8d12a0f6237d43102a9e5f601cda51107f58aa15868da502", kill_on_drop: false }` [INFO] [stdout] b6163d8e04793d7c8d12a0f6237d43102a9e5f601cda51107f58aa15868da502