[INFO] fetching crate byte-chisel 0.1.0... [INFO] checking byte-chisel-0.1.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate byte-chisel 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate byte-chisel 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate byte-chisel 0.1.0 [INFO] tweaked toml for crates.io crate byte-chisel 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate byte-chisel 0.1.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate byte-chisel 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58f0586275f710b4c2e248f49a37dfc5dd57819b70129bc676463c5dc1449e1c [INFO] running `Command { std: "docker" "start" "-a" "58f0586275f710b4c2e248f49a37dfc5dd57819b70129bc676463c5dc1449e1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58f0586275f710b4c2e248f49a37dfc5dd57819b70129bc676463c5dc1449e1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58f0586275f710b4c2e248f49a37dfc5dd57819b70129bc676463c5dc1449e1c", kill_on_drop: false }` [INFO] [stdout] 58f0586275f710b4c2e248f49a37dfc5dd57819b70129bc676463c5dc1449e1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38ee4a5f7b906d91b912a9a270dbcb7f258c972f30a8d3f66b65ae316ccb87cd [INFO] running `Command { std: "docker" "start" "-a" "38ee4a5f7b906d91b912a9a270dbcb7f258c972f30a8d3f66b65ae316ccb87cd", kill_on_drop: false }` [INFO] [stderr] Checking byte-chisel v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn little_endian(&mut self) -> ChiselLittleEndian { ChiselLittleEndian(self) } [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] 165 | pub fn little_endian(&mut self) -> ChiselLittleEndian<'_, S> { ChiselLittleEndian(self) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn big_endian(&mut self) -> ChiselBigEndian { ChiselBigEndian(self) } [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] 168 | pub fn big_endian(&mut self) -> ChiselBigEndian<'_, S> { ChiselBigEndian(self) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/source.rs:89:101 [INFO] [stdout] | [INFO] [stdout] 89 | fn read_until(&mut self, byte: u8, into: &mut Vec) -> Result { [INFO] [stdout] | ________________________________________________________________________________________________________^ [INFO] [stdout] 90 | | match memchr::memchr(byte, self) { [INFO] [stdout] 91 | | Some(x) => { [INFO] [stdout] 92 | | into.extend_from_slice(&self[0..x]); [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/source.rs:90:3 [INFO] [stdout] | [INFO] [stdout] 90 | / match memchr::memchr(byte, self) { [INFO] [stdout] 91 | | Some(x) => { [INFO] [stdout] 92 | | into.extend_from_slice(&self[0..x]); [INFO] [stdout] 93 | | *self = self.get(x + 1..).unwrap_or(&[]); [INFO] [stdout] ... | [INFO] [stdout] 101 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/source.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | Some(x) => { [INFO] [stdout] | ________________________^ [INFO] [stdout] 92 | | into.extend_from_slice(&self[0..x]); [INFO] [stdout] 93 | | *self = self.get(x + 1..).unwrap_or(&[]); [INFO] [stdout] 94 | | Ok(ReadUntilStopReason::Delimiter) [INFO] [stdout] 95 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/source.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | Ok(ReadUntilStopReason::Delimiter) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/source.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | None => { [INFO] [stdout] | _____________________^ [INFO] [stdout] 97 | | into.extend_from_slice(self); [INFO] [stdout] 98 | | *self = &[]; [INFO] [stdout] 99 | | Ok(ReadUntilStopReason::EndOfInput) [INFO] [stdout] 100 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/source.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | Ok(ReadUntilStopReason::EndOfInput) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `byte-chisel` (lib) due to 6 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn little_endian(&mut self) -> ChiselLittleEndian { ChiselLittleEndian(self) } [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] 165 | pub fn little_endian(&mut self) -> ChiselLittleEndian<'_, S> { ChiselLittleEndian(self) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | pub fn big_endian(&mut self) -> ChiselBigEndian { ChiselBigEndian(self) } [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] 168 | pub fn big_endian(&mut self) -> ChiselBigEndian<'_, S> { ChiselBigEndian(self) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/source.rs:89:101 [INFO] [stdout] | [INFO] [stdout] 89 | fn read_until(&mut self, byte: u8, into: &mut Vec) -> Result { [INFO] [stdout] | ________________________________________________________________________________________________________^ [INFO] [stdout] 90 | | match memchr::memchr(byte, self) { [INFO] [stdout] 91 | | Some(x) => { [INFO] [stdout] 92 | | into.extend_from_slice(&self[0..x]); [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/source.rs:90:3 [INFO] [stdout] | [INFO] [stdout] 90 | / match memchr::memchr(byte, self) { [INFO] [stdout] 91 | | Some(x) => { [INFO] [stdout] 92 | | into.extend_from_slice(&self[0..x]); [INFO] [stdout] 93 | | *self = self.get(x + 1..).unwrap_or(&[]); [INFO] [stdout] ... | [INFO] [stdout] 101 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/source.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 91 | Some(x) => { [INFO] [stdout] | ________________________^ [INFO] [stdout] 92 | | into.extend_from_slice(&self[0..x]); [INFO] [stdout] 93 | | *self = self.get(x + 1..).unwrap_or(&[]); [INFO] [stdout] 94 | | Ok(ReadUntilStopReason::Delimiter) [INFO] [stdout] 95 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/source.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | Ok(ReadUntilStopReason::Delimiter) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/source.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | None => { [INFO] [stdout] | _____________________^ [INFO] [stdout] 97 | | into.extend_from_slice(self); [INFO] [stdout] 98 | | *self = &[]; [INFO] [stdout] 99 | | Ok(ReadUntilStopReason::EndOfInput) [INFO] [stdout] 100 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/source.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | Ok(ReadUntilStopReason::EndOfInput) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `byte-chisel` (lib test) due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "38ee4a5f7b906d91b912a9a270dbcb7f258c972f30a8d3f66b65ae316ccb87cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38ee4a5f7b906d91b912a9a270dbcb7f258c972f30a8d3f66b65ae316ccb87cd", kill_on_drop: false }` [INFO] [stdout] 38ee4a5f7b906d91b912a9a270dbcb7f258c972f30a8d3f66b65ae316ccb87cd