[INFO] fetching crate tar-wasi 0.4.38... [INFO] building tar-wasi-0.4.38 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate tar-wasi 0.4.38 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate tar-wasi 0.4.38 [INFO] finished tweaking crates.io crate tar-wasi 0.4.38 [INFO] tweaked toml for crates.io crate tar-wasi 0.4.38 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tar-wasi 0.4.38 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tar-wasi 0.4.38 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tempfile v3.2.0 [INFO] [stderr] Downloaded xattr v0.2.2 [INFO] [stderr] Downloaded rand_hc v0.3.1 [INFO] [stderr] Downloaded rand v0.8.4 [INFO] [stderr] Downloaded libc v0.2.107 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0566f60992c9e39e5ef936d732ff2da1d9aabcc4152da28164b4eea1528543c [INFO] running `Command { std: "docker" "start" "-a" "c0566f60992c9e39e5ef936d732ff2da1d9aabcc4152da28164b4eea1528543c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0566f60992c9e39e5ef936d732ff2da1d9aabcc4152da28164b4eea1528543c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0566f60992c9e39e5ef936d732ff2da1d9aabcc4152da28164b4eea1528543c", kill_on_drop: false }` [INFO] [stdout] c0566f60992c9e39e5ef936d732ff2da1d9aabcc4152da28164b4eea1528543c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32b175f46d1799415aa9c191b2c25d36f29f3738c50945c9f55087f1cb721b08 [INFO] running `Command { std: "docker" "start" "-a" "32b175f46d1799415aa9c191b2c25d36f29f3738c50945c9f55087f1cb721b08", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling filetime v0.2.15 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling tar-wasi v0.4.38 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/archive.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn entries(&mut self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn entries(&mut self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/archive.rs:172:30 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn entries_with_seek(&mut self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 172 | pub fn entries_with_seek(&mut self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn path(&self) -> io::Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn path(&self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn path_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn path_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn link_name(&self) -> io::Result>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 102 | pub fn link_name(&self) -> io::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn link_name_bytes(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn link_name_bytes(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:133:27 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn pax_extensions(&mut self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 133 | pub fn pax_extensions(&mut self) -> io::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | fn path(&self) -> io::Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 287 | fn path(&self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:291:19 [INFO] [stdout] | [INFO] [stdout] 291 | fn path_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 291 | fn path_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:320:18 [INFO] [stdout] | [INFO] [stdout] 320 | fn link_name(&self) -> io::Result>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 320 | fn link_name(&self) -> io::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:327:24 [INFO] [stdout] | [INFO] [stdout] 327 | fn link_name_bytes(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 327 | fn link_name_bytes(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:351:23 [INFO] [stdout] | [INFO] [stdout] 351 | fn pax_extensions(&mut self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 351 | fn pax_extensions(&mut self) -> io::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:334:17 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn path(&self) -> io::Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 334 | pub fn path(&self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:345:23 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn path_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 345 | pub fn path_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:394:22 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn link_name(&self) -> io::Result>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 394 | pub fn link_name(&self) -> io::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:408:28 [INFO] [stdout] | [INFO] [stdout] 408 | pub fn link_name_bytes(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 408 | pub fn link_name_bytes(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:936:23 [INFO] [stdout] | [INFO] [stdout] 936 | pub fn path_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 936 | pub fn path_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:1575:22 [INFO] [stdout] | [INFO] [stdout] 1575 | pub fn path2bytes(p: &Path) -> io::Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1575 | pub fn path2bytes(p: &Path) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pax.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn pax_extensions(a: &[u8]) -> PaxExtensions { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub fn pax_extensions(a: &[u8]) -> PaxExtensions<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.20s [INFO] running `Command { std: "docker" "inspect" "32b175f46d1799415aa9c191b2c25d36f29f3738c50945c9f55087f1cb721b08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32b175f46d1799415aa9c191b2c25d36f29f3738c50945c9f55087f1cb721b08", kill_on_drop: false }` [INFO] [stdout] 32b175f46d1799415aa9c191b2c25d36f29f3738c50945c9f55087f1cb721b08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3370a25b37f7ed191e8fb1a50718e74c016d83435c7ec8e109248f085f6c70f7 [INFO] running `Command { std: "docker" "start" "-a" "3370a25b37f7ed191e8fb1a50718e74c016d83435c7ec8e109248f085f6c70f7", kill_on_drop: false }` [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/archive.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn entries(&mut self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn entries(&mut self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/archive.rs:172:30 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn entries_with_seek(&mut self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 172 | pub fn entries_with_seek(&mut self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn path(&self) -> io::Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn path(&self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn path_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn path_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn link_name(&self) -> io::Result>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 102 | pub fn link_name(&self) -> io::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn link_name_bytes(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn link_name_bytes(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:133:27 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn pax_extensions(&mut self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 133 | pub fn pax_extensions(&mut self) -> io::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | fn path(&self) -> io::Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 287 | fn path(&self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:291:19 [INFO] [stdout] | [INFO] [stdout] 291 | fn path_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 291 | fn path_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:320:18 [INFO] [stdout] | [INFO] [stdout] 320 | fn link_name(&self) -> io::Result>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 320 | fn link_name(&self) -> io::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:327:24 [INFO] [stdout] | [INFO] [stdout] 327 | fn link_name_bytes(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 327 | fn link_name_bytes(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:351:23 [INFO] [stdout] | [INFO] [stdout] 351 | fn pax_extensions(&mut self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 351 | fn pax_extensions(&mut self) -> io::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:334:17 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn path(&self) -> io::Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 334 | pub fn path(&self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:345:23 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn path_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 345 | pub fn path_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:394:22 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn link_name(&self) -> io::Result>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 394 | pub fn link_name(&self) -> io::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:408:28 [INFO] [stdout] | [INFO] [stdout] 408 | pub fn link_name_bytes(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 408 | pub fn link_name_bytes(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:936:23 [INFO] [stdout] | [INFO] [stdout] 936 | pub fn path_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 936 | pub fn path_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:1575:22 [INFO] [stdout] | [INFO] [stdout] 1575 | pub fn path2bytes(p: &Path) -> io::Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1575 | pub fn path2bytes(p: &Path) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pax.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn pax_extensions(a: &[u8]) -> PaxExtensions { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub fn pax_extensions(a: &[u8]) -> PaxExtensions<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling tar-wasi v0.4.38 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `tar` [INFO] [stdout] --> examples/write.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate tar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `tar` [INFO] [stdout] --> examples/extract_file.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate tar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/extract_file.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | let mut f = file.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `tar` [INFO] [stdout] --> examples/raw_list.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate tar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tar-wasi` (example "write") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tar-wasi` (example "extract_file") due to 2 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/raw_list.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | let mut f = file.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/raw_list.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | let e = e.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `tar` [INFO] [stdout] --> examples/list.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate tar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `tar` [INFO] [stdout] --> tests/entry.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate tar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tar-wasi` (example "raw_list") due to 3 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/list.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | let f = file.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tar-wasi` (example "list") due to 2 previous errors [INFO] [stdout] error[E0463]: can't find crate for `tar` [INFO] [stdout] --> tests/all.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate tar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/simple.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | let bytes = tar!("simple.tar"); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/simple.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | let mut ar = Archive::new(Cursor::new(tar!("simple.tar"))); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/simple_missing_last_header.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | let mut ar = Archive::new(Cursor::new(tar!("simple_missing_last_header.tar"))); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/reading_files.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | let rdr = Cursor::new(tar!("reading_files.tar")); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/reading_files.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | let rdr = Cursor::new(tar!("reading_files.tar")); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/reading_files.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | let rdr = Cursor::new(tar!("reading_files.tar")); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/reading_files.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | let mut reader = LoggingReader::new(Cursor::new(tar!("reading_files.tar"))); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/reading_files.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | let mut seekable_reader = LoggingReader::new(Cursor::new(tar!("reading_files.tar"))); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/directory.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | let rdr = Cursor::new(tar!("directory.tar")); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/reading_files.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | let rdr = Cursor::new(tar!("reading_files.tar")); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/reading_files.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | let rdr = Cursor::new(tar!("reading_files.tar")); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/link.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | let rdr = Cursor::new(tar!("link.tar")); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/entry.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | let mut entries = t!(ar.entries()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 41 | let entry = t!(entries.next().unwrap()); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `entries` an explicit type [INFO] [stdout] | [INFO] [stdout] 40 | let mut entries: /* Type */ = t!(ar.entries()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/link.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 373 | let rdr = Cursor::new(tar!("link.tar")); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/entry.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let entry = t!(entries.next().unwrap()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | assert_eq!(&*entry.link_name_bytes().unwrap(), b"/bar"); [INFO] [stdout] | --------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `entry` an explicit type [INFO] [stdout] | [INFO] [stdout] 41 | let entry: /* Type */ = t!(entries.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/xattrs.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 385 | let rdr = Cursor::new(tar!("xattrs.tar")); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/xattrs.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 400 | let rdr = Cursor::new(tar!("xattrs.tar")); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/duplicate_dirs.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 510 | let rdr = Cursor::new(tar!("duplicate_dirs.tar")); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/spaces.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 660 | let rdr = Cursor::new(tar!("spaces.tar")); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/empty_filename.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 700 | let rdr = Cursor::new(tar!("empty_filename.tar")); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/file_times.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 709 | let rdr = Cursor::new(tar!("file_times.tar")); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/link.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 794 | let mut ar = Archive::new(Cursor::new(tar!("link.tar"))); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/link.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 809 | let mut ar = Archive::new(Cursor::new(tar!("link.tar"))); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/pax_size.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 823 | let mut ar = Archive::new(tar!("pax_size.tar")); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/pax.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 843 | let mut ar = Archive::new(tar!("pax.tar")); [INFO] [stdout] | --------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/pax2.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 863 | let mut ar = Archive::new(tar!("pax2.tar")); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/pax2.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 872 | let mut ar = Archive::new(tar!("pax2.tar")); [INFO] [stdout] | ---------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/sparse.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 962 | let rdr = Cursor::new(tar!("sparse.tar")); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/sparse.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1013 | let rdr = Cursor::new(tar!("sparse.tar")); [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/sparse-1.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1054 | let rdr = Cursor::new(tar!("sparse-1.tar")); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/7z_long_path.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1241 | let rdr = Cursor::new(tar!("7z_long_path.tar")); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `tests/archives/7z_long_path.tar`: No such file or directory (os error 2) [INFO] [stdout] --> tests/all.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | &include_bytes!(concat!("archives/", $e))[..] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1254 | let rdr = Cursor::new(tar!("7z_long_path.tar")); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` which comes from the expansion of the macro `tar` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tar-wasi` (test "entry") due to 3 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/header/mod.rs:43:34 [INFO] [stdout] | [INFO] [stdout] 43 | assert_eq!(t!(h.link_name()).unwrap().to_str(), Some("foo")); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/header/mod.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 45 | assert_eq!(t!(h.link_name()).unwrap().to_str(), Some("../foo")); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/header/mod.rs:47:34 [INFO] [stdout] | [INFO] [stdout] 47 | assert_eq!(t!(h.link_name()).unwrap().to_str(), Some("foo/bar")); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/header/mod.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 50 | assert_eq!(t!(h.link_name()).unwrap().to_str(), Some("foo/ba")); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/header/mod.rs:52:38 [INFO] [stdout] | [INFO] [stdout] 52 | assert_eq!(t!(h.link_name()).unwrap().to_str(), Some("foo\\ba")); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/header/mod.rs:59:34 [INFO] [stdout] | [INFO] [stdout] 59 | assert_eq!(t!(h.link_name()).unwrap().to_str(), Some("foo\\bar")); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/header/mod.rs:133:29 [INFO] [stdout] | [INFO] [stdout] 133 | assert_eq!(t!(h.path()).to_str(), Some("foo")); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/header/mod.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | assert_eq!(t!(h.path()).to_str(), Some("foo/")); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/header/mod.rs:137:29 [INFO] [stdout] | [INFO] [stdout] 137 | assert_eq!(t!(h.path()).to_str(), Some("foo/bar")); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/header/mod.rs:140:33 [INFO] [stdout] | [INFO] [stdout] 140 | assert_eq!(t!(h.path()).to_str(), Some("foo/bar")); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/header/mod.rs:142:33 [INFO] [stdout] | [INFO] [stdout] 142 | assert_eq!(t!(h.path()).to_str(), Some("foo\\bar")); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/header/mod.rs:149:29 [INFO] [stdout] | [INFO] [stdout] 149 | assert_eq!(t!(h.path()).to_str(), Some("control")); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/header/mod.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 166 | assert_eq!(t!(h.path()).to_str(), Some("foo")); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/header/mod.rs:171:29 [INFO] [stdout] | [INFO] [stdout] 171 | assert_eq!(t!(h.path()).to_str(), Some(&medium2[..])); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let e = t!(entry); [INFO] [stdout] | ^ [INFO] [stdout] 75 | names.push(t!(::std::str::from_utf8(&e.path_bytes())).to_string()); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `e` an explicit type [INFO] [stdout] | [INFO] [stdout] 74 | let e: /* Type */ = t!(entry); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | let file = t!(file); [INFO] [stdout] | ^^^^ [INFO] [stdout] 89 | let h1 = file.header(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `file` an explicit type [INFO] [stdout] | [INFO] [stdout] 88 | let file: /* Type */ = t!(file); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let file = t!(file); [INFO] [stdout] | ^^^^ [INFO] [stdout] 104 | let h1 = file.header(); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `file` an explicit type [INFO] [stdout] | [INFO] [stdout] 103 | let file: /* Type */ = t!(file); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | let mut entries = t!(ar.entries()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 117 | [INFO] [stdout] 118 | let mut a = t!(entries.next().unwrap()); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `entries` an explicit type [INFO] [stdout] | [INFO] [stdout] 116 | let mut entries: /* Type */ = t!(ar.entries()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | let mut a = t!(entries.next().unwrap()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 119 | assert_eq!(&*a.header().path_bytes(), b"a"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `a` an explicit type [INFO] [stdout] | [INFO] [stdout] 118 | let mut a: /* Type */ = t!(entries.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let mut b = t!(entries.next().unwrap()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 125 | assert_eq!(&*b.header().path_bytes(), b"b"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `b` an explicit type [INFO] [stdout] | [INFO] [stdout] 124 | let mut b: /* Type */ = t!(entries.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | let mut entries = t!(ar.entries()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 147 | let mut f = t!(entries.next().unwrap()); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `entries` an explicit type [INFO] [stdout] | [INFO] [stdout] 146 | let mut entries: /* Type */ = t!(ar.entries()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | let mut f = t!(entries.next().unwrap()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 148 | [INFO] [stdout] 149 | assert_eq!(&*f.header().path_bytes(), b"test2"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `f` an explicit type [INFO] [stdout] | [INFO] [stdout] 147 | let mut f: /* Type */ = t!(entries.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | let mut entries = t!(ar.entries()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 182 | let mut f = entries.next().unwrap().unwrap(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `entries` an explicit type [INFO] [stdout] | [INFO] [stdout] 179 | let mut entries: /* Type */ = t!(ar.entries()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 210 | let mut a = t!(entries.next().unwrap()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 211 | assert_eq!(&*a.header().path_bytes(), b"a"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `a` an explicit type [INFO] [stdout] | [INFO] [stdout] 210 | let mut a: /* Type */ = t!(entries.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | let mut b = t!(entries.next().unwrap()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 220 | assert_eq!(&*b.header().path_bytes(), b"b"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `b` an explicit type [INFO] [stdout] | [INFO] [stdout] 219 | let mut b: /* Type */ = t!(entries.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:275:10 [INFO] [stdout] | [INFO] [stdout] 275 | .map(|entry| entry.unwrap().path().unwrap().to_path_buf()) [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:275:15 [INFO] [stdout] | [INFO] [stdout] 275 | .map(|entry| entry.unwrap().path().unwrap().to_path_buf()) [INFO] [stdout] | ^^^^^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 275 | .map(|entry: /* Type */| entry.unwrap().path().unwrap().to_path_buf()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:281:10 [INFO] [stdout] | [INFO] [stdout] 281 | .map(|entry| entry.unwrap().path().unwrap().to_path_buf()) [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:281:15 [INFO] [stdout] | [INFO] [stdout] 281 | .map(|entry| entry.unwrap().path().unwrap().to_path_buf()) [INFO] [stdout] | ^^^^^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 281 | .map(|entry: /* Type */| entry.unwrap().path().unwrap().to_path_buf()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:318:16 [INFO] [stdout] | [INFO] [stdout] 318 | if err.kind() == std::io::ErrorKind::AlreadyExists { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:354:16 [INFO] [stdout] | [INFO] [stdout] 354 | if err.kind() == std::io::ErrorKind::AlreadyExists { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:540:30 [INFO] [stdout] | [INFO] [stdout] 540 | assert!(t!(ar.entries()).all(|fr| fr.is_ok())); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:540:35 [INFO] [stdout] | [INFO] [stdout] 540 | assert!(t!(ar.entries()).all(|fr| fr.is_ok())); [INFO] [stdout] | ^^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 540 | assert!(t!(ar.entries()).all(|fr: /* Type */| fr.is_ok())); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:570:30 [INFO] [stdout] | [INFO] [stdout] 570 | assert!(t!(ar.entries()).any(|fr| fr.is_err())); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:570:35 [INFO] [stdout] | [INFO] [stdout] 570 | assert!(t!(ar.entries()).any(|fr| fr.is_err())); [INFO] [stdout] | ^^ ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 570 | assert!(t!(ar.entries()).any(|fr: /* Type */| fr.is_err())); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:684:9 [INFO] [stdout] | [INFO] [stdout] 684 | let mut data = t!(ar.into_inner()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 685 | let amt = data.len(); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `data` an explicit type [INFO] [stdout] | [INFO] [stdout] 684 | let mut data: /* Type */ = t!(ar.into_inner()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:752:33 [INFO] [stdout] | [INFO] [stdout] 752 | let f = t!(t!(ar.entries()).next().unwrap()); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:752:9 [INFO] [stdout] | [INFO] [stdout] 752 | let f = t!(t!(ar.entries()).next().unwrap()); [INFO] [stdout] | ^ [INFO] [stdout] 753 | if cfg!(unix) { [INFO] [stdout] 754 | assert_eq!(t!(f.header().path()).to_str(), Some("foo\\bar")); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `f` an explicit type [INFO] [stdout] | [INFO] [stdout] 752 | let f: /* Type */ = t!(t!(ar.entries()).next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:754:42 [INFO] [stdout] | [INFO] [stdout] 754 | assert_eq!(t!(f.header().path()).to_str(), Some("foo\\bar")); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:756:42 [INFO] [stdout] | [INFO] [stdout] 756 | assert_eq!(t!(f.header().path()).to_str(), Some("foo/bar")); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:771:33 [INFO] [stdout] | [INFO] [stdout] 771 | let f = t!(t!(ar.entries()).next().unwrap()); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:771:9 [INFO] [stdout] | [INFO] [stdout] 771 | let f = t!(t!(ar.entries()).next().unwrap()); [INFO] [stdout] | ^ [INFO] [stdout] 772 | assert_eq!(t!(f.header().path()).to_str(), Some("foo\\bar")); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `f` an explicit type [INFO] [stdout] | [INFO] [stdout] 771 | let f: /* Type */ = t!(t!(ar.entries()).next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:772:38 [INFO] [stdout] | [INFO] [stdout] 772 | assert_eq!(t!(f.header().path()).to_str(), Some("foo\\bar")); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:795:9 [INFO] [stdout] | [INFO] [stdout] 795 | let mut entries = t!(ar.entries()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 796 | let link = t!(entries.next().unwrap()); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `entries` an explicit type [INFO] [stdout] | [INFO] [stdout] 795 | let mut entries: /* Type */ = t!(ar.entries()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:796:9 [INFO] [stdout] | [INFO] [stdout] 796 | let link = t!(entries.next().unwrap()); [INFO] [stdout] | ^^^^ [INFO] [stdout] 797 | assert_eq!( [INFO] [stdout] 798 | t!(link.header().link_name()).as_ref().map(|p| &**p), [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `link` an explicit type [INFO] [stdout] | [INFO] [stdout] 796 | let link: /* Type */ = t!(entries.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:798:39 [INFO] [stdout] | [INFO] [stdout] 798 | t!(link.header().link_name()).as_ref().map(|p| &**p), [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:801:9 [INFO] [stdout] | [INFO] [stdout] 801 | let other = t!(entries.next().unwrap()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 802 | assert!(t!(other.header().link_name()).is_none()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `other` an explicit type [INFO] [stdout] | [INFO] [stdout] 801 | let other: /* Type */ = t!(entries.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:802:44 [INFO] [stdout] | [INFO] [stdout] 802 | assert!(t!(other.header().link_name()).is_none()); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:824:9 [INFO] [stdout] | [INFO] [stdout] 824 | let mut entries = t!(ar.entries()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 825 | let mut entry = t!(entries.next().unwrap()); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `entries` an explicit type [INFO] [stdout] | [INFO] [stdout] 824 | let mut entries: /* Type */ = t!(ar.entries()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:825:9 [INFO] [stdout] | [INFO] [stdout] 825 | let mut entry = t!(entries.next().unwrap()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 826 | let mut attributes = t!(entry.pax_extensions()).unwrap(); [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `entry` an explicit type [INFO] [stdout] | [INFO] [stdout] 825 | let mut entry: /* Type */ = t!(entries.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:826:53 [INFO] [stdout] | [INFO] [stdout] 826 | let mut attributes = t!(entry.pax_extensions()).unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:831:9 [INFO] [stdout] | [INFO] [stdout] 831 | let fourth = t!(attributes.next().unwrap()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 834 | assert_eq!(fourth.key(), Ok("size")); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `fourth` an explicit type [INFO] [stdout] | [INFO] [stdout] 831 | let fourth: /* Type */ = t!(attributes.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:844:9 [INFO] [stdout] | [INFO] [stdout] 844 | let mut entries = t!(ar.entries()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 845 | [INFO] [stdout] 846 | let mut first = t!(entries.next().unwrap()); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `entries` an explicit type [INFO] [stdout] | [INFO] [stdout] 844 | let mut entries: /* Type */ = t!(ar.entries()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:846:9 [INFO] [stdout] | [INFO] [stdout] 846 | let mut first = t!(entries.next().unwrap()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 847 | let mut attributes = t!(first.pax_extensions()).unwrap(); [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `first` an explicit type [INFO] [stdout] | [INFO] [stdout] 846 | let mut first: /* Type */ = t!(entries.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:847:53 [INFO] [stdout] | [INFO] [stdout] 847 | let mut attributes = t!(first.pax_extensions()).unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:848:9 [INFO] [stdout] | [INFO] [stdout] 848 | let first = t!(attributes.next().unwrap()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 853 | assert_eq!(first.key(), Ok("mtime")); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `first` an explicit type [INFO] [stdout] | [INFO] [stdout] 848 | let first: /* Type */ = t!(attributes.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:849:9 [INFO] [stdout] | [INFO] [stdout] 849 | let second = t!(attributes.next().unwrap()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 855 | assert_eq!(second.key(), Ok("atime")); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `second` an explicit type [INFO] [stdout] | [INFO] [stdout] 849 | let second: /* Type */ = t!(attributes.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:850:9 [INFO] [stdout] | [INFO] [stdout] 850 | let third = t!(attributes.next().unwrap()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 857 | assert_eq!(third.key(), Ok("ctime")); [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `third` an explicit type [INFO] [stdout] | [INFO] [stdout] 850 | let third: /* Type */ = t!(attributes.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:864:9 [INFO] [stdout] | [INFO] [stdout] 864 | let mut entries = t!(ar.entries()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 865 | [INFO] [stdout] 866 | let first = t!(entries.next().unwrap()); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `entries` an explicit type [INFO] [stdout] | [INFO] [stdout] 864 | let mut entries: /* Type */ = t!(ar.entries()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:866:9 [INFO] [stdout] | [INFO] [stdout] 866 | let first = t!(entries.next().unwrap()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 867 | assert!(first.path().unwrap().ends_with("aaaaaaaaaaaaaaa")); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `first` an explicit type [INFO] [stdout] | [INFO] [stdout] 866 | let first: /* Type */ = t!(entries.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:873:38 [INFO] [stdout] | [INFO] [stdout] 873 | let mut links = t!(ar.entries()).skip(3).take(2); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:875:9 [INFO] [stdout] | [INFO] [stdout] 875 | let long_symlink = t!(links.next().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 876 | let link_name = long_symlink.link_name().unwrap().unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `long_symlink` an explicit type [INFO] [stdout] | [INFO] [stdout] 875 | let long_symlink: /* Type */ = t!(links.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:880:9 [INFO] [stdout] | [INFO] [stdout] 880 | let long_hardlink = t!(links.next().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 881 | let link_name = long_hardlink.link_name().unwrap().unwrap(); [INFO] [stdout] | --------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `long_hardlink` an explicit type [INFO] [stdout] | [INFO] [stdout] 880 | let long_hardlink: /* Type */ = t!(links.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:907:32 [INFO] [stdout] | [INFO] [stdout] 907 | let e = t!(t!(a.entries()).next().unwrap()); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:907:9 [INFO] [stdout] | [INFO] [stdout] 907 | let e = t!(t!(a.entries()).next().unwrap()); [INFO] [stdout] | ^ [INFO] [stdout] 908 | assert_eq!(&*e.path_bytes(), b"foo"); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `e` an explicit type [INFO] [stdout] | [INFO] [stdout] 907 | let e: /* Type */ = t!(t!(a.entries()).next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:932:32 [INFO] [stdout] | [INFO] [stdout] 932 | let e = t!(t!(a.entries()).next().unwrap()); [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:932:9 [INFO] [stdout] | [INFO] [stdout] 932 | let e = t!(t!(a.entries()).next().unwrap()); [INFO] [stdout] | ^ [INFO] [stdout] 933 | assert_eq!(&*e.link_name_bytes().unwrap(), b"foo"); [INFO] [stdout] | --------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `e` an explicit type [INFO] [stdout] | [INFO] [stdout] 932 | let e: /* Type */ = t!(t!(a.entries()).next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:951:36 [INFO] [stdout] | [INFO] [stdout] 951 | let mut e = t!(t!(a.entries()).raw(true).next().unwrap()); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:951:9 [INFO] [stdout] | [INFO] [stdout] 951 | let mut e = t!(t!(a.entries()).raw(true).next().unwrap()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 952 | let mut name = Vec::new(); [INFO] [stdout] 953 | t!(e.read_to_end(&mut name)); [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `e` an explicit type [INFO] [stdout] | [INFO] [stdout] 951 | let mut e: /* Type */ = t!(t!(a.entries()).raw(true).next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/archive.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn entries(&mut self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | pub fn entries(&mut self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:964:9 [INFO] [stdout] | [INFO] [stdout] 964 | let mut entries = t!(ar.entries()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 965 | [INFO] [stdout] 966 | let mut a = t!(entries.next().unwrap()); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `entries` an explicit type [INFO] [stdout] | [INFO] [stdout] 964 | let mut entries: /* Type */ = t!(ar.entries()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/archive.rs:172:30 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn entries_with_seek(&mut self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 172 | pub fn entries_with_seek(&mut self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:966:9 [INFO] [stdout] | [INFO] [stdout] 966 | let mut a = t!(entries.next().unwrap()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 967 | let mut s = String::new(); [INFO] [stdout] 968 | assert_eq!(&*a.header().path_bytes(), b"sparse_begin.txt"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `a` an explicit type [INFO] [stdout] | [INFO] [stdout] 966 | let mut a: /* Type */ = t!(entries.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:973:9 [INFO] [stdout] | [INFO] [stdout] 973 | let mut a = t!(entries.next().unwrap()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 974 | let mut s = String::new(); [INFO] [stdout] 975 | assert_eq!(&*a.header().path_bytes(), b"sparse_end.txt"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `a` an explicit type [INFO] [stdout] | [INFO] [stdout] 973 | let mut a: /* Type */ = t!(entries.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn path(&self) -> io::Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 75 | pub fn path(&self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn path_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | pub fn path_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:102:22 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn link_name(&self) -> io::Result>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 102 | pub fn link_name(&self) -> io::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn link_name_bytes(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 111 | pub fn link_name_bytes(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:980:9 [INFO] [stdout] | [INFO] [stdout] 980 | let mut a = t!(entries.next().unwrap()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 981 | let mut s = String::new(); [INFO] [stdout] 982 | assert_eq!(&*a.header().path_bytes(), b"sparse_ext.txt"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `a` an explicit type [INFO] [stdout] | [INFO] [stdout] 980 | let mut a: /* Type */ = t!(entries.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:133:27 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn pax_extensions(&mut self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 133 | pub fn pax_extensions(&mut self) -> io::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:287:13 [INFO] [stdout] | [INFO] [stdout] 287 | fn path(&self) -> io::Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 287 | fn path(&self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:291:19 [INFO] [stdout] | [INFO] [stdout] 291 | fn path_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 291 | fn path_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:320:18 [INFO] [stdout] | [INFO] [stdout] 320 | fn link_name(&self) -> io::Result>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 320 | fn link_name(&self) -> io::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:327:24 [INFO] [stdout] | [INFO] [stdout] 327 | fn link_name_bytes(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 327 | fn link_name_bytes(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entry.rs:351:23 [INFO] [stdout] | [INFO] [stdout] 351 | fn pax_extensions(&mut self) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 351 | fn pax_extensions(&mut self) -> io::Result>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:334:17 [INFO] [stdout] | [INFO] [stdout] 334 | pub fn path(&self) -> io::Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 334 | pub fn path(&self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:345:23 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn path_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 345 | pub fn path_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:394:22 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn link_name(&self) -> io::Result>> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 394 | pub fn link_name(&self) -> io::Result>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:408:28 [INFO] [stdout] | [INFO] [stdout] 408 | pub fn link_name_bytes(&self) -> Option> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 408 | pub fn link_name_bytes(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:936:23 [INFO] [stdout] | [INFO] [stdout] 936 | pub fn path_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 936 | pub fn path_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:997:9 [INFO] [stdout] | [INFO] [stdout] 997 | let mut a = t!(entries.next().unwrap()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 998 | let mut s = String::new(); [INFO] [stdout] 999 | assert_eq!(&*a.header().path_bytes(), b"sparse.txt"); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `a` an explicit type [INFO] [stdout] | [INFO] [stdout] 997 | let mut a: /* Type */ = t!(entries.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/header.rs:1575:22 [INFO] [stdout] | [INFO] [stdout] 1575 | pub fn path2bytes(p: &Path) -> io::Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1575 | pub fn path2bytes(p: &Path) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pax.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn pax_extensions(a: &[u8]) -> PaxExtensions { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub fn pax_extensions(a: &[u8]) -> PaxExtensions<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:1056:9 [INFO] [stdout] | [INFO] [stdout] 1056 | let mut entries = t!(ar.entries()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1057 | let mut a = t!(entries.next().unwrap()); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `entries` an explicit type [INFO] [stdout] | [INFO] [stdout] 1056 | let mut entries: /* Type */ = t!(ar.entries()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:1057:9 [INFO] [stdout] | [INFO] [stdout] 1057 | let mut a = t!(entries.next().unwrap()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1058 | let mut s = String::new(); [INFO] [stdout] 1059 | t!(a.read_to_string(&mut s)); [INFO] [stdout] | -------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `a` an explicit type [INFO] [stdout] | [INFO] [stdout] 1057 | let mut a: /* Type */ = t!(entries.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tar-wasi` (lib test) due to 19 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:1096:9 [INFO] [stdout] | [INFO] [stdout] 1096 | let mut entries = t!(ar.entries()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1097 | [INFO] [stdout] 1098 | let entry = t!(entries.next().unwrap()); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `entries` an explicit type [INFO] [stdout] | [INFO] [stdout] 1096 | let mut entries: /* Type */ = t!(ar.entries()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:1098:9 [INFO] [stdout] | [INFO] [stdout] 1098 | let entry = t!(entries.next().unwrap()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1099 | assert_eq!(t!(entry.path()), short_path); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `entry` an explicit type [INFO] [stdout] | [INFO] [stdout] 1098 | let entry: /* Type */ = t!(entries.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:1102:9 [INFO] [stdout] | [INFO] [stdout] 1102 | let entry = t!(entries.next().unwrap()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1103 | assert_eq!(t!(entry.path()), long_path); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `entry` an explicit type [INFO] [stdout] | [INFO] [stdout] 1102 | let entry: /* Type */ = t!(entries.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:1135:9 [INFO] [stdout] | [INFO] [stdout] 1135 | let mut entries = t!(ar.entries()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1136 | [INFO] [stdout] 1137 | let entry = t!(entries.next().unwrap()); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `entries` an explicit type [INFO] [stdout] | [INFO] [stdout] 1135 | let mut entries: /* Type */ = t!(ar.entries()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:1137:9 [INFO] [stdout] | [INFO] [stdout] 1137 | let entry = t!(entries.next().unwrap()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1138 | assert_eq!(t!(entry.path()), Path::new("test")); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `entry` an explicit type [INFO] [stdout] | [INFO] [stdout] 1137 | let entry: /* Type */ = t!(entries.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:1145:9 [INFO] [stdout] | [INFO] [stdout] 1145 | let entry = t!(entries.next().unwrap()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1146 | assert_eq!(t!(entry.path()), Path::new("test2")); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `entry` an explicit type [INFO] [stdout] | [INFO] [stdout] 1145 | let entry: /* Type */ = t!(entries.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:1153:9 [INFO] [stdout] | [INFO] [stdout] 1153 | let entry = t!(entries.next().unwrap()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1154 | assert_eq!(t!(entry.path()), Path::new(&long_pathname)); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `entry` an explicit type [INFO] [stdout] | [INFO] [stdout] 1153 | let entry: /* Type */ = t!(entries.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:1193:30 [INFO] [stdout] | [INFO] [stdout] 1193 | assert!(t!(ar.entries()).all(|fr| fr.is_ok())); [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:1193:35 [INFO] [stdout] | [INFO] [stdout] 1193 | assert!(t!(ar.entries()).all(|fr| fr.is_ok())); [INFO] [stdout] | ^^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 1193 | assert!(t!(ar.entries()).all(|fr: /* Type */| fr.is_ok())); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:1212:9 [INFO] [stdout] | [INFO] [stdout] 1212 | let mut entries = t!(ar.entries()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1213 | let entry = t!(entries.next().unwrap()); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `entries` an explicit type [INFO] [stdout] | [INFO] [stdout] 1212 | let mut entries: /* Type */ = t!(ar.entries()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:1213:9 [INFO] [stdout] | [INFO] [stdout] 1213 | let entry = t!(entries.next().unwrap()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1214 | assert_eq!(t!(entry.path()), Path::new("archive/dir")); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `entry` an explicit type [INFO] [stdout] | [INFO] [stdout] 1213 | let entry: /* Type */ = t!(entries.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/all.rs:1215:9 [INFO] [stdout] | [INFO] [stdout] 1215 | let entry = t!(entries.next().unwrap()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] 1216 | assert_eq!(t!(entry.path()), Path::new("archive/dir/f")); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `entry` an explicit type [INFO] [stdout] | [INFO] [stdout] 1215 | let entry: /* Type */ = t!(entries.next().unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tar-wasi` (test "all") due to 119 previous errors [INFO] running `Command { std: "docker" "inspect" "3370a25b37f7ed191e8fb1a50718e74c016d83435c7ec8e109248f085f6c70f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3370a25b37f7ed191e8fb1a50718e74c016d83435c7ec8e109248f085f6c70f7", kill_on_drop: false }` [INFO] [stdout] 3370a25b37f7ed191e8fb1a50718e74c016d83435c7ec8e109248f085f6c70f7