[INFO] fetching crate cip 0.1.0... [INFO] checking cip-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate cip 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate cip 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cip 0.1.0 [INFO] tweaked toml for crates.io crate cip 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cip 0.1.0 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] crate crates.io crate cip 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded deadqueue v0.2.4 [INFO] [stderr] Downloaded thread-id v3.3.0 [INFO] [stderr] Downloaded simple-logging v2.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] f8356d678bcb6a2ebc1eb9894d32a2eefe405e371fdd762bd6181f313a3c03c1 [INFO] running `Command { std: "docker" "start" "-a" "f8356d678bcb6a2ebc1eb9894d32a2eefe405e371fdd762bd6181f313a3c03c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8356d678bcb6a2ebc1eb9894d32a2eefe405e371fdd762bd6181f313a3c03c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8356d678bcb6a2ebc1eb9894d32a2eefe405e371fdd762bd6181f313a3c03c1", kill_on_drop: false }` [INFO] [stdout] f8356d678bcb6a2ebc1eb9894d32a2eefe405e371fdd762bd6181f313a3c03c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 6568fcef47e72e5771c7c5b2b5868b7d5c78e1eb45aeed300bd8108e02bd9ca6 [INFO] running `Command { std: "docker" "start" "-a" "6568fcef47e72e5771c7c5b2b5868b7d5c78e1eb45aeed300bd8108e02bd9ca6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling cc v1.1.28 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking rustls-pki-types v1.9.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking unicode-bidi v0.3.17 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling rustls v0.23.14 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking clap_builder v4.5.19 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking ipnet v2.10.1 [INFO] [stderr] Checking simple-logging v2.0.2 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking webpki-roots v0.26.6 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking rust-ini v0.20.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking clap v4.5.19 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking futures-rustls v0.26.0 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking deadqueue v0.2.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking cip v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/cip.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | let data = match self.enip { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/cip.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | let data = match self.enip { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/objects/connection_manager.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | fn deserialize(input: &[u8]) -> nom::IResult<&[u8], Self> where Self: Sized { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/objects/connection_manager.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | fn deserialize(input: &[u8]) -> nom::IResult<&[u8], Self> where Self: Sized { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/cip.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | result = result | 0b00010000; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/objects/connection_manager.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | fn deserialize(input: &[u8]) -> nom::IResult<&[u8], Self> where Self: Sized { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/objects/connection_manager.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | fn deserialize(input: &[u8]) -> nom::IResult<&[u8], Self> where Self: Sized { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/cip.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | result = result | 0b00010000; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> tests/enip.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::lib::std::result::Result::Err` [INFO] [stdout] --> tests/enip.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use nom::lib::std::result::Result::Err; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> tests/enip.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | let input: [u8] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `[u8]`, found `[u8; 12]` [INFO] [stdout] | | [INFO] [stdout] | expected due to this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `[u8]` cannot be known at compilation time [INFO] [stdout] --> tests/enip.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let input: [u8] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; [INFO] [stdout] | ^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `[u8]` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 18 | let input: &[u8] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cip` (test "enip") due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "6568fcef47e72e5771c7c5b2b5868b7d5c78e1eb45aeed300bd8108e02bd9ca6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6568fcef47e72e5771c7c5b2b5868b7d5c78e1eb45aeed300bd8108e02bd9ca6", kill_on_drop: false }` [INFO] [stdout] 6568fcef47e72e5771c7c5b2b5868b7d5c78e1eb45aeed300bd8108e02bd9ca6