[INFO] fetching crate bitutils2 0.1.5... [INFO] checking bitutils2-0.1.5 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate bitutils2 0.1.5 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate bitutils2 0.1.5 [INFO] finished tweaking crates.io crate bitutils2 0.1.5 [INFO] tweaked toml for crates.io crate bitutils2 0.1.5 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate bitutils2 0.1.5 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f36fc7ab9ce16b4a2396a7a0ff8e23d94ffe1875576bb5061da1276d5dcabb5 [INFO] running `Command { std: "docker" "start" "-a" "6f36fc7ab9ce16b4a2396a7a0ff8e23d94ffe1875576bb5061da1276d5dcabb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f36fc7ab9ce16b4a2396a7a0ff8e23d94ffe1875576bb5061da1276d5dcabb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f36fc7ab9ce16b4a2396a7a0ff8e23d94ffe1875576bb5061da1276d5dcabb5", kill_on_drop: false }` [INFO] [stdout] 6f36fc7ab9ce16b4a2396a7a0ff8e23d94ffe1875576bb5061da1276d5dcabb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c45489a57c37708414b549d33a801cb6772bf55d07737df99fc2a2a0cdc4fb4 [INFO] running `Command { std: "docker" "start" "-a" "5c45489a57c37708414b549d33a801cb6772bf55d07737df99fc2a2a0cdc4fb4", kill_on_drop: false }` [INFO] [stderr] Checking bitutils2 v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin_regex/parse_helpers.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut input_iter = escape_slice(&input[start..]); [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: `input` [INFO] [stdout] --> src/bin_regex/mod.rs:1485:39 [INFO] [stdout] | [INFO] [stdout] 1485 | fn check_state_flags(input: &T, flags: &Vec, offset: BitIndex) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bit_index.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 149 | impl ParseBitIndexError { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 150 | fn new(kind: BitIndexErrorKind) -> ParseBitIndexError { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_f64` and `to_f32` are never used [INFO] [stdout] --> src/semb/mod.rs:354:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Semb { [INFO] [stdout] | ----------------------------------------------------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 354 | fn to_f64(&self) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | fn to_f32(&self) -> f32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidCharacter` is never constructed [INFO] [stdout] --> src/semb/mod.rs:466:5 [INFO] [stdout] | [INFO] [stdout] 463 | enum ParseSembErrorKind { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 466 | InvalidCharacter(usize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseSembErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `offset_from` is never used [INFO] [stdout] --> src/semb/common.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) trait ByteSlice { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | fn offset_from(&self, other: &Self) -> isize; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Float32` is never constructed [INFO] [stdout] --> src/bin_regex/mod.rs:476:8 [INFO] [stdout] | [INFO] [stdout] 476 | struct Float32(f32); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `canonical_form` is never used [INFO] [stdout] --> src/bin_regex/mod.rs:478:8 [INFO] [stdout] | [INFO] [stdout] 477 | impl Float32 { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 478 | fn canonical_form(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RangeParseProgress` is never used [INFO] [stdout] --> src/bin_regex/mod.rs:709:6 [INFO] [stdout] | [INFO] [stdout] 709 | enum RangeParseProgress { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_int_char_class` is never used [INFO] [stdout] --> src/bin_regex/mod.rs:715:4 [INFO] [stdout] | [INFO] [stdout] 715 | fn parse_int_char_class(input: &Vec, nbi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `escape_str` is never used [INFO] [stdout] --> src/bin_regex/parse_helpers.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn escape_str(input: &str) -> EscapeIter { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin_regex/mod.rs:1627:16 [INFO] [stdout] | [INFO] [stdout] 1627 | pub fn get(&self, i: usize) -> 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1627 | pub fn get(&self, i: usize) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin_regex/mod.rs:1641:17 [INFO] [stdout] | [INFO] [stdout] 1641 | pub fn name(&self, name: &str) -> 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] 1641 | pub fn name(&self, name: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bin_regex/mod.rs:1874:29 [INFO] [stdout] | [INFO] [stdout] 1874 | pub fn captures<'a, T>(&'a self, input: &'a T) -> Option> [INFO] [stdout] | ^^ ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1874 | pub fn captures<'a, T>(&'a self, input: &'a T) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin_regex/parse_helpers.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn escape_str(input: &str) -> EscapeIter { [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] 7 | pub fn escape_str(input: &str) -> EscapeIter> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bit_field.rs:2831:13 [INFO] [stdout] | [INFO] [stdout] 2831 | let mut bf = BitField::from_bin_str("0101 1100 1010 0110 0101 1001 1111 0000"); [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: variable does not need to be mutable [INFO] [stdout] --> src/bit_field.rs:2839:13 [INFO] [stdout] | [INFO] [stdout] 2839 | let mut bf = BitField::from_bin_str("0101 1100 1010 0110 0101 1001 1011 0"); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin_regex/parse_helpers.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut input_iter = escape_slice(&input[start..]); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin_regex/mod.rs:1485:39 [INFO] [stdout] | [INFO] [stdout] 1485 | fn check_state_flags(input: &T, flags: &Vec, offset: BitIndex) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bit_index.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 149 | impl ParseBitIndexError { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 150 | fn new(kind: BitIndexErrorKind) -> ParseBitIndexError { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidCharacter` is never constructed [INFO] [stdout] --> src/semb/mod.rs:466:5 [INFO] [stdout] | [INFO] [stdout] 463 | enum ParseSembErrorKind { [INFO] [stdout] | ------------------ variant in this enum [INFO] [stdout] ... [INFO] [stdout] 466 | InvalidCharacter(usize) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseSembErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `offset_from` is never used [INFO] [stdout] --> src/semb/common.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) trait ByteSlice { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 12 | fn offset_from(&self, other: &Self) -> isize; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Float32` is never constructed [INFO] [stdout] --> src/bin_regex/mod.rs:476:8 [INFO] [stdout] | [INFO] [stdout] 476 | struct Float32(f32); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `canonical_form` is never used [INFO] [stdout] --> src/bin_regex/mod.rs:478:8 [INFO] [stdout] | [INFO] [stdout] 477 | impl Float32 { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 478 | fn canonical_form(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RangeParseProgress` is never used [INFO] [stdout] --> src/bin_regex/mod.rs:709:6 [INFO] [stdout] | [INFO] [stdout] 709 | enum RangeParseProgress { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_int_char_class` is never used [INFO] [stdout] --> src/bin_regex/mod.rs:715:4 [INFO] [stdout] | [INFO] [stdout] 715 | fn parse_int_char_class(input: &Vec, nbi... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `escape_str` is never used [INFO] [stdout] --> src/bin_regex/parse_helpers.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn escape_str(input: &str) -> EscapeIter { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin_regex/mod.rs:1627:16 [INFO] [stdout] | [INFO] [stdout] 1627 | pub fn get(&self, i: usize) -> 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1627 | pub fn get(&self, i: usize) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin_regex/mod.rs:1641:17 [INFO] [stdout] | [INFO] [stdout] 1641 | pub fn name(&self, name: &str) -> 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] 1641 | pub fn name(&self, name: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/bin_regex/mod.rs:1874:29 [INFO] [stdout] | [INFO] [stdout] 1874 | pub fn captures<'a, T>(&'a self, input: &'a T) -> Option> [INFO] [stdout] | ^^ ^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 1874 | pub fn captures<'a, T>(&'a self, input: &'a T) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bin_regex/parse_helpers.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn escape_str(input: &str) -> EscapeIter { [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] 7 | pub fn escape_str(input: &str) -> EscapeIter> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.34s [INFO] running `Command { std: "docker" "inspect" "5c45489a57c37708414b549d33a801cb6772bf55d07737df99fc2a2a0cdc4fb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c45489a57c37708414b549d33a801cb6772bf55d07737df99fc2a2a0cdc4fb4", kill_on_drop: false }` [INFO] [stdout] 5c45489a57c37708414b549d33a801cb6772bf55d07737df99fc2a2a0cdc4fb4