[INFO] fetching crate stream_zipper 0.2.0... [INFO] checking stream_zipper-0.2.0 against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] extracting crate stream_zipper 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate stream_zipper 0.2.0 on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate stream_zipper 0.2.0 [INFO] finished tweaking crates.io crate stream_zipper 0.2.0 [INFO] tweaked toml for crates.io crate stream_zipper 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding miniz_oxide v0.3.7 (available: v0.8.2) [INFO] [stderr] Adding nom v5.1.3 (available: v7.1.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6de15aea66c7cf6d7f9275fa65b9b23019d0f618d76be92e137f18d9125d002c [INFO] running `Command { std: "docker" "start" "-a" "6de15aea66c7cf6d7f9275fa65b9b23019d0f618d76be92e137f18d9125d002c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6de15aea66c7cf6d7f9275fa65b9b23019d0f618d76be92e137f18d9125d002c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6de15aea66c7cf6d7f9275fa65b9b23019d0f618d76be92e137f18d9125d002c", kill_on_drop: false }` [INFO] [stdout] 6de15aea66c7cf6d7f9275fa65b9b23019d0f618d76be92e137f18d9125d002c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 644bdba8fac179c7005eed95db6daf90c0051ae099d80ca5293ab9b8ed2587f1 [INFO] running `Command { std: "docker" "start" "-a" "644bdba8fac179c7005eed95db6daf90c0051ae099d80ca5293ab9b8ed2587f1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling nom v5.1.3 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking stream_zipper v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/utils.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | fn nom_fail(self, impl Fn(E1) -> E2) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: impl Fn(E1) -> E2` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/utils.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | fn nom_err(self, impl Fn(E1) -> E2) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: impl Fn(E1) -> E2` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/utils.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | fn map_nom_err(self, impl Fn(E1) -> E2) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: impl Fn(E1) -> E2` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/utils.rs:37:27 [INFO] [stdout] | [INFO] [stdout] 37 | fn nom_fail(self, impl Fn(E1) -> E2) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: impl Fn(E1) -> E2` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/utils.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | fn nom_err(self, impl Fn(E1) -> E2) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: impl Fn(E1) -> E2` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/utils.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | fn map_nom_err(self, impl Fn(E1) -> E2) -> Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: impl Fn(E1) -> E2` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/deflate.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | mut state: &'o mut InnerState, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/gzip.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | output, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `footer` [INFO] [stdout] --> src/gzip.rs:232:31 [INFO] [stdout] | [INFO] [stdout] 232 | Ok((mut unparsed, footer)) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_footer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/gzip.rs:311:23 [INFO] [stdout] | [INFO] [stdout] 311 | Ok((unparsed, header)) => Ok(( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unparsed` [INFO] [stdout] --> src/input_helper.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let unparsed = if orig_stored > 0 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unparsed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/zip.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | fn feed_input(&mut self, input: &[u8]) -> State { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/deflate.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | mut state: &'o mut InnerState, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inflater` [INFO] [stdout] --> src/zip.rs:277:21 [INFO] [stdout] | [INFO] [stdout] 277 | let inflater = deflate::Stream::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inflater` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/zip.rs:353:17 [INFO] [stdout] | [INFO] [stdout] 353 | output, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unparsed_input` [INFO] [stdout] --> src/deflate.rs:407:31 [INFO] [stdout] | [INFO] [stdout] 407 | State::Stop { unparsed_input } => last_state = Some(state), [INFO] [stdout] | ^^^^^^^^^^^^^^ help: try ignoring the field: `unparsed_input: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/lib.rs:197:18 [INFO] [stdout] | [INFO] [stdout] 197 | Init(file) => panic!("This shouldn't be called before autodetect!"), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/lib.rs:219:26 [INFO] [stdout] | [INFO] [stdout] 219 | GZip(ref mut file) => unimplemented!("TODO"), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CompressedStream` is never used [INFO] [stdout] --> src/lib.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | trait CompressedStream: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/gzip.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | output, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `footer` [INFO] [stdout] --> src/gzip.rs:232:31 [INFO] [stdout] | [INFO] [stdout] 232 | Ok((mut unparsed, footer)) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_footer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/gzip.rs:311:23 [INFO] [stdout] | [INFO] [stdout] 311 | Ok((unparsed, header)) => Ok(( [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `ReadHeadersResult<'_>` to `ReadHeadersResult<'_>` [INFO] [stdout] --> src/lib.rs:218:37 [INFO] [stdout] | [INFO] [stdout] 218 | Zip(ref mut file) => Ok(file.read_headers(input)?.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unparsed` [INFO] [stdout] --> src/input_helper.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let unparsed = if orig_stored > 0 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unparsed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/zip.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | fn feed_input(&mut self, input: &[u8]) -> State { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stream_zipper` (lib) due to 1 previous error; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `inflater` [INFO] [stdout] --> src/zip.rs:277:21 [INFO] [stdout] | [INFO] [stdout] 277 | let inflater = deflate::Stream::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inflater` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/zip.rs:353:17 [INFO] [stdout] | [INFO] [stdout] 353 | output, [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `output: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/lib.rs:197:18 [INFO] [stdout] | [INFO] [stdout] 197 | Init(file) => panic!("This shouldn't be called before autodetect!"), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file` [INFO] [stdout] --> src/lib.rs:219:26 [INFO] [stdout] | [INFO] [stdout] 219 | GZip(ref mut file) => unimplemented!("TODO"), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CompressedStream` is never used [INFO] [stdout] --> src/lib.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | trait CompressedStream: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `ReadHeadersResult<'_>` to `ReadHeadersResult<'_>` [INFO] [stdout] --> src/lib.rs:218:37 [INFO] [stdout] | [INFO] [stdout] 218 | Zip(ref mut file) => Ok(file.read_headers(input)?.into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stream_zipper` (lib test) due to 1 previous error; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "644bdba8fac179c7005eed95db6daf90c0051ae099d80ca5293ab9b8ed2587f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "644bdba8fac179c7005eed95db6daf90c0051ae099d80ca5293ab9b8ed2587f1", kill_on_drop: false }` [INFO] [stdout] 644bdba8fac179c7005eed95db6daf90c0051ae099d80ca5293ab9b8ed2587f1