[INFO] fetching crate dnp3 1.6.0... [INFO] testing dnp3-1.6.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate dnp3 1.6.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate dnp3 1.6.0 [INFO] finished tweaking crates.io crate dnp3 1.6.0 [INFO] tweaked toml for crates.io crate dnp3 1.6.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate dnp3 1.6.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate dnp3 1.6.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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba4ffc804f789fe0942cbdf3f52ab23f9724f0462d2db40071bc5bbf940cc941 [INFO] running `Command { std: "docker" "start" "-a" "ba4ffc804f789fe0942cbdf3f52ab23f9724f0462d2db40071bc5bbf940cc941", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba4ffc804f789fe0942cbdf3f52ab23f9724f0462d2db40071bc5bbf940cc941", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba4ffc804f789fe0942cbdf3f52ab23f9724f0462d2db40071bc5bbf940cc941", kill_on_drop: false }` [INFO] [stdout] ba4ffc804f789fe0942cbdf3f52ab23f9724f0462d2db40071bc5bbf940cc941 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57aeeff3f636ffd5d1e439cb5d7482492ccb3ad3d40ee253074f2f3781729203 [INFO] running `Command { std: "docker" "start" "-a" "57aeeff3f636ffd5d1e439cb5d7482492ccb3ad3d40ee253074f2f3781729203", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling cc v1.0.100 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling rustls v0.23.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling rx509 v0.2.1 [INFO] [stderr] Compiling scursor v0.2.0 [INFO] [stderr] Compiling xxhash-rust v0.8.10 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling scrypt v0.11.0 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling pkcs5 v0.7.1 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling rustls-webpki v0.102.4 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling unescaper v0.1.4 [INFO] [stderr] Compiling serialport v4.3.0 [INFO] [stderr] Compiling mio-serial v5.0.5 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling sfio-rustls-config v0.3.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling tokio-serial v5.4.3 [INFO] [stderr] Compiling dnp3 v1.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unnecessary parentheses around closure body [INFO] [stdout] --> src/master/handler.rs:179:22 [INFO] [stdout] | [INFO] [stdout] 179 | .map(|_| (AssociationHandle::new(address, self.clone()))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `-D unused-parens` implied by `-D unused` [INFO] [stdout] = help: to override `-D unused` add `#[allow(unused_parens)]` [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 179 - .map(|_| (AssociationHandle::new(address, self.clone()))) [INFO] [stdout] 179 + .map(|_| AssociationHandle::new(address, self.clone())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around closure body [INFO] [stdout] --> src/master/handler.rs:214:22 [INFO] [stdout] | [INFO] [stdout] 214 | .map(|_| (AssociationHandle::new(address, self.clone()))) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 214 - .map(|_| (AssociationHandle::new(address, self.clone()))) [INFO] [stdout] 214 + .map(|_| AssociationHandle::new(address, self.clone())) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/app/attr.rs:1008:24 [INFO] [stdout] | [INFO] [stdout] 1008 | pub(crate) fn view(&self) -> AttrValue { [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] 1008 | pub(crate) fn view(&self) -> AttrValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/app/attr.rs:1338:24 [INFO] [stdout] | [INFO] [stdout] 1338 | pub(crate) fn view(&self) -> Attribute { [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] 1338 | pub(crate) fn view(&self) -> Attribute<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/app/parse/parser.rs:374:25 [INFO] [stdout] | [INFO] [stdout] 374 | pub(crate) fn count(&self) -> Option<&CountVariation> { [INFO] [stdout] | ^^^^^ --------------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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] 374 | pub(crate) fn count(&self) -> Option<&CountVariation<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/link/format.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) fn to_link_display(&self, level: LinkDecodeLevel) -> LinkDisplay { [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] 42 | pub(crate) fn to_link_display(&self, level: LinkDecodeLevel) -> LinkDisplay<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/outstation/database/details/event/list.rs:124:24 [INFO] [stdout] | [INFO] [stdout] 124 | pub(crate) fn iter(&self) -> ListIterator { [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] 124 | pub(crate) fn iter(&self) -> ListIterator<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transport/real/assembler.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) fn peek(&self) -> 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] 49 | pub(crate) fn peek(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transport/real/assembler.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | pub(crate) fn pop(&mut self) -> 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] 62 | pub(crate) fn pop(&mut self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transport/real/reader.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | pub(crate) fn pop(&mut self) -> 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] 65 | pub(crate) fn pop(&mut self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transport/real/reader.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | pub(crate) fn peek(&self) -> 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] 73 | pub(crate) fn peek(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transport/reader.rs:42:23 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) fn get(&mut self) -> 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] 42 | pub(crate) fn get(&mut self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transport/reader.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | pub(crate) fn pop_response(&mut self) -> 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] 119 | pub(crate) fn pop_response(&mut self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transport/reader.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 153 | fn peek_request(&mut self) -> 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] 153 | fn peek_request(&mut self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/transport/reader.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 172 | peek: bool, [INFO] [stdout] 173 | ) -> 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] 173 | ) -> Option, (HeaderParseError, FragmentAddr)>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/util/buffer.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) fn write_cursor(&mut self) -> WriteCursor { [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] 14 | pub(crate) fn write_cursor(&mut self) -> WriteCursor<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dnp3` (lib) due to 2 previous errors; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "57aeeff3f636ffd5d1e439cb5d7482492ccb3ad3d40ee253074f2f3781729203", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57aeeff3f636ffd5d1e439cb5d7482492ccb3ad3d40ee253074f2f3781729203", kill_on_drop: false }` [INFO] [stdout] 57aeeff3f636ffd5d1e439cb5d7482492ccb3ad3d40ee253074f2f3781729203