[INFO] cloning repository https://github.com/segfo/libtoolbox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/segfo/libtoolbox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsegfo%2Flibtoolbox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsegfo%2Flibtoolbox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db46a59c718bac7deb23889f21c27594d4a2e621 [INFO] checking segfo/libtoolbox against master#d2eadb7a94ef8c9deb5137695df33cd1fc5aee92 for pr-137268 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsegfo%2Flibtoolbox" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/segfo/libtoolbox on toolchain d2eadb7a94ef8c9deb5137695df33cd1fc5aee92 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/segfo/libtoolbox [INFO] finished tweaking git repo https://github.com/segfo/libtoolbox [INFO] tweaked toml for git repo https://github.com/segfo/libtoolbox written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/segfo/libtoolbox 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" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac7d1503814416adb97fce07ab2092740c56bdf82d958d3c54c8ff6cf76f2675 [INFO] running `Command { std: "docker" "start" "-a" "ac7d1503814416adb97fce07ab2092740c56bdf82d958d3c54c8ff6cf76f2675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac7d1503814416adb97fce07ab2092740c56bdf82d958d3c54c8ff6cf76f2675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac7d1503814416adb97fce07ab2092740c56bdf82d958d3c54c8ff6cf76f2675", kill_on_drop: false }` [INFO] [stdout] ac7d1503814416adb97fce07ab2092740c56bdf82d958d3c54c8ff6cf76f2675 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b173014885f1c31c0fe5fc127c5a331d571def191055845a7b66d9d6e2c7019 [INFO] running `Command { std: "docker" "start" "-a" "4b173014885f1c31c0fe5fc127c5a331d571def191055845a7b66d9d6e2c7019", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking toolbox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/json_parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/json_parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alphanumeric1`, `alt`, `combinator::opt`, `digit0`, `digit1`, `none_of`, `permutation`, `separated_pair`, `streaming::take_until`, `tag`, `take_till`, `take_while`, and `terminated` [INFO] [stdout] --> src/unicode/utf16_sequence_collector.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | branch::{alt, permutation}, [INFO] [stdout] | ^^^ ^^^^^^^^^^^ [INFO] [stdout] 3 | bytes::{ [INFO] [stdout] 4 | complete::{tag, take_till, take_while}, [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 5 | streaming::take_until, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | }, [INFO] [stdout] 7 | character::complete::{alphanumeric1, digit0, digit1, none_of}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] 8 | combinator::opt, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | number::complete::{be_u16, be_u32, be_u64, be_u8}, [INFO] [stdout] 10 | sequence::{separated_pair, terminated}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/json_parser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/json_parser.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `alphanumeric1`, `alt`, `combinator::opt`, `digit0`, `digit1`, `none_of`, `permutation`, `separated_pair`, `streaming::take_until`, `tag`, `take_till`, `take_while`, and `terminated` [INFO] [stdout] --> src/unicode/utf16_sequence_collector.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | branch::{alt, permutation}, [INFO] [stdout] | ^^^ ^^^^^^^^^^^ [INFO] [stdout] 3 | bytes::{ [INFO] [stdout] 4 | complete::{tag, take_till, take_while}, [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 5 | streaming::take_until, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | }, [INFO] [stdout] 7 | character::complete::{alphanumeric1, digit0, digit1, none_of}, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] 8 | combinator::opt, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | number::complete::{be_u16, be_u32, be_u64, be_u8}, [INFO] [stdout] 10 | sequence::{separated_pair, terminated}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::number::complete::le_u32` [INFO] [stdout] --> src/unicode/utf16_sequence_collector.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | use nom::number::complete::le_u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte` [INFO] [stdout] --> src/unicode/utf16_sequence_collector.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let byte = byte_array[offset]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_byte` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/unicode/utf16_sequence_collector.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let i = offset; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `validate_encoding` [INFO] [stdout] --> src/unicode/utf16_sequence_collector.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let validate_encoding = |seq: &[u8]| -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_validate_encoding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte` [INFO] [stdout] --> src/unicode/utf32_collector.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn collect_utf32_sequences(byte: &Vec) -> SequenceData { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Data` is never used [INFO] [stdout] --> src/unicode/utf16_sequence_collector.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_big_endian` is never used [INFO] [stdout] --> src/unicode/utf16_sequence_collector.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn parse_big_endian(raw: &[u8]) -> IResult<&[u8], Data> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Utf16SequenceInfo` is never constructed [INFO] [stdout] --> src/unicode/utf16_sequence_collector.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Utf16SequenceInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_len_valid`, `set_error`, and `get_error` are never used [INFO] [stdout] --> src/unicode/utf16_sequence_collector.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl Utf16SequenceInfo { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 64 | fn new(len: usize, valid: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn get_len_valid(&self) -> (usize, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn set_error(&mut self, error: UnicodeParseError) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn get_error(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `utf16_validate` is never used [INFO] [stdout] --> src/unicode/utf16_sequence_collector.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn utf16_validate(byte_array: &Vec, offset: usize) -> Utf16SequenceInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte` [INFO] [stdout] --> src/unicode/utf16_sequence_collector.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let byte = byte_array[offset]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_byte` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/unicode/utf16_sequence_collector.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let i = offset; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `validate_encoding` [INFO] [stdout] --> src/unicode/utf16_sequence_collector.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let validate_encoding = |seq: &[u8]| -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_validate_encoding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte` [INFO] [stdout] --> src/unicode/utf32_collector.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn collect_utf32_sequences(byte: &Vec) -> SequenceData { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_byte` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/unicode/utf16_sequence_collector.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | U64(u64), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Data` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - U64(u64), [INFO] [stdout] 16 + U64(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/unicode/utf16_sequence_collector.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | U32(u32), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Data` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 - U32(u32), [INFO] [stdout] 17 + U32(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/unicode/utf16_sequence_collector.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | U16(u16), [INFO] [stdout] | --- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Data` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 - U16(u16), [INFO] [stdout] 18 + U16(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/unicode/utf16_sequence_collector.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | U8(u8), [INFO] [stdout] | -- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Data` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 - U8(u8), [INFO] [stdout] 19 + U8(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Utf16SequenceInfo` is never constructed [INFO] [stdout] --> src/unicode/utf16_sequence_collector.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct Utf16SequenceInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_len_valid`, `set_error`, and `get_error` are never used [INFO] [stdout] --> src/unicode/utf16_sequence_collector.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 63 | impl Utf16SequenceInfo { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 64 | fn new(len: usize, valid: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn get_len_valid(&self) -> (usize, bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn set_error(&mut self, error: UnicodeParseError) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn get_error(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `utf16_validate` is never used [INFO] [stdout] --> src/unicode/utf16_sequence_collector.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn utf16_validate(byte_array: &Vec, offset: usize) -> Utf16SequenceInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.25s [INFO] running `Command { std: "docker" "inspect" "4b173014885f1c31c0fe5fc127c5a331d571def191055845a7b66d9d6e2c7019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b173014885f1c31c0fe5fc127c5a331d571def191055845a7b66d9d6e2c7019", kill_on_drop: false }` [INFO] [stdout] 4b173014885f1c31c0fe5fc127c5a331d571def191055845a7b66d9d6e2c7019