[INFO] fetching crate protolens 0.2.3... [INFO] checking protolens-0.2.3 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate protolens 0.2.3 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate protolens 0.2.3 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate protolens 0.2.3 [INFO] tweaked toml for crates.io crate protolens 0.2.3 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate protolens 0.2.3 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 protolens 0.2.3 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] c67a8e3021dfe9fe936c64ede3109c2e9084dcceeb24eff1260c4fa4ad681c18 [INFO] running `Command { std: "docker" "start" "-a" "c67a8e3021dfe9fe936c64ede3109c2e9084dcceeb24eff1260c4fa4ad681c18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c67a8e3021dfe9fe936c64ede3109c2e9084dcceeb24eff1260c4fa4ad681c18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c67a8e3021dfe9fe936c64ede3109c2e9084dcceeb24eff1260c4fa4ad681c18", kill_on_drop: false }` [INFO] [stdout] c67a8e3021dfe9fe936c64ede3109c2e9084dcceeb24eff1260c4fa4ad681c18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 7336e3e91dcbed535048a4171b3dd4bfcb9443398b060fabc3b4a4448792ad14 [INFO] running `Command { std: "docker" "start" "-a" "7336e3e91dcbed535048a4171b3dd4bfcb9443398b060fabc3b4a4448792ad14", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling libloading v0.8.7 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking imapprotolens v0.16.6 [INFO] [stderr] Checking etherparse v0.13.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling pcap v2.2.0 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tmohash v0.1.0 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Checking nix v0.30.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking protolens v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking ctrlc v3.4.7 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/dnsudp.rs:557:20 [INFO] [stdout] | [INFO] [stdout] 557 | fn a_parser(rdata: &[u8]) -> 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] 557 | fn a_parser(rdata: &[u8]) -> Result, ()> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/dnsudp.rs:566:23 [INFO] [stdout] | [INFO] [stdout] 566 | fn aaaa_parser(rdata: &[u8]) -> 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] 566 | fn aaaa_parser(rdata: &[u8]) -> Result, ()> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/src/main.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | let mut cap = Capture::init(&args[1]).unwrap(); [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] --> examples/src/capture.rs:276:75 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn init>(path: P) -> Result { [INFO] [stdout] | ___________________________________________________________________________^ [INFO] [stdout] 277 | | let capture = Capture { [INFO] [stdout] 278 | | cap: PcapCap::from_file(path).unwrap(), [INFO] [stdout] 279 | | pkt_num: 0, [INFO] [stdout] 280 | | }; [INFO] [stdout] 281 | | Ok(capture) [INFO] [stdout] 282 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/src/capture.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | Ok(capture) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/src/flow.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get(&self, pkt: &CapPacket) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden 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] 45 | pub fn get(&self, pkt: &CapPacket) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/src/flow.rs:50:20 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn get_mut(&self, pkt: &CapPacket) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 50 | pub fn get_mut(&self, pkt: &CapPacket) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/src/flow.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 60 | ) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 60 | ) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/src/flow.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | fn get_node(&self, pkt: &CapPacket, now: u128) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^ the same lifetime is hidden 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] 84 | fn get_node(&self, pkt: &CapPacket, now: u128) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> examples/src/flow.rs:94:21 [INFO] [stdout] | [INFO] [stdout] 94 | fn get_mut_node(&self, pkt: &CapPacket, now: u128) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^ the same lifetime is hidden 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] 94 | fn get_mut_node(&self, pkt: &CapPacket, now: u128) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `protolens` (example "protolens_example") due to 3 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/parser/dnstcp.rs:149:23 [INFO] [stdout] | [INFO] [stdout] 149 | let mut cap = Capture::init(file_path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/dnsudp.rs:557:20 [INFO] [stdout] | [INFO] [stdout] 557 | fn a_parser(rdata: &[u8]) -> 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] 557 | fn a_parser(rdata: &[u8]) -> Result, ()> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/dnsudp.rs:566:23 [INFO] [stdout] | [INFO] [stdout] 566 | fn aaaa_parser(rdata: &[u8]) -> 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] 566 | fn aaaa_parser(rdata: &[u8]) -> Result, ()> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/parser/dnsudp.rs:2158:23 [INFO] [stdout] | [INFO] [stdout] 2158 | let mut cap = Capture::init(file_path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/parser/ftpcmd.rs:633:23 [INFO] [stdout] | [INFO] [stdout] 633 | let mut cap = Capture::init(file_path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/parser/ftpdata.rs:130:23 [INFO] [stdout] | [INFO] [stdout] 130 | let mut cap = Capture::init(file_path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/parser/http.rs:807:23 [INFO] [stdout] | [INFO] [stdout] 807 | let mut cap = Capture::init(file_path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/parser/http.rs:967:23 [INFO] [stdout] | [INFO] [stdout] 967 | let mut cap = Capture::init(file_path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/parser/imap.rs:696:23 [INFO] [stdout] | [INFO] [stdout] 696 | let mut cap = Capture::init(file_path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/parser/imap.rs:1036:23 [INFO] [stdout] | [INFO] [stdout] 1036 | let mut cap = Capture::init(file_path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/parser/imap.rs:1363:23 [INFO] [stdout] | [INFO] [stdout] 1363 | let mut cap = Capture::init(file_path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/parser/ordpacket.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 118 | let mut cap = Capture::init(file_path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/parser/pop3.rs:563:23 [INFO] [stdout] | [INFO] [stdout] 563 | let mut cap = Capture::init(file_path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/parser/sip.rs:246:23 [INFO] [stdout] | [INFO] [stdout] 246 | let mut cap = Capture::init(file_path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/parser/smb.rs:430:23 [INFO] [stdout] | [INFO] [stdout] 430 | let mut cap = Capture::init(file_path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/parser/smtp.rs:1514:23 [INFO] [stdout] | [INFO] [stdout] 1514 | let mut cap = Capture::init(file_path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/parser/smtp.rs:1776:23 [INFO] [stdout] | [INFO] [stdout] 1776 | let mut cap = Capture::init(file_path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/parser/tls.rs:462:23 [INFO] [stdout] | [INFO] [stdout] 462 | let mut cap = Capture::init(file_path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/parser/tls.rs:695:23 [INFO] [stdout] | [INFO] [stdout] 695 | let mut cap = Capture::init(file_path).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/test_utils.rs:504:82 [INFO] [stdout] | [INFO] [stdout] 504 | pub(crate) fn init>(path: P) -> Result { [INFO] [stdout] | __________________________________________________________________________________^ [INFO] [stdout] 505 | | let cap = PcapCap::from_file(path).unwrap(); [INFO] [stdout] 506 | | let datalink = cap.get_datalink(); [INFO] [stdout] ... | [INFO] [stdout] 513 | | Ok(capture) [INFO] [stdout] 514 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/test_utils.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | Ok(capture) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `protolens` (lib test) due to 19 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7336e3e91dcbed535048a4171b3dd4bfcb9443398b060fabc3b4a4448792ad14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7336e3e91dcbed535048a4171b3dd4bfcb9443398b060fabc3b4a4448792ad14", kill_on_drop: false }` [INFO] [stdout] 7336e3e91dcbed535048a4171b3dd4bfcb9443398b060fabc3b4a4448792ad14