[INFO] cloning repository https://github.com/RainerZ/xcp-lite [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RainerZ/xcp-lite" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRainerZ%2Fxcp-lite", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRainerZ%2Fxcp-lite'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 71fafc4c7303581e618476fe2d2914b569e4df0b [INFO] checking RainerZ/xcp-lite/71fafc4c7303581e618476fe2d2914b569e4df0b against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRainerZ%2Fxcp-lite" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RainerZ/xcp-lite on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RainerZ/xcp-lite [INFO] finished tweaking git repo https://github.com/RainerZ/xcp-lite [INFO] tweaked toml for git repo https://github.com/RainerZ/xcp-lite written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 155 packages to latest compatible versions [INFO] [stderr] Adding a2lfile v1.5.0 (latest: v2.1.0) [INFO] [stderr] Adding a2lmacros v1.3.0 (latest: v2.1.0) [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding bindgen v0.69.4 (latest: v0.70.1) [INFO] [stderr] Adding build-info-build v0.0.36 (latest: v0.0.38) [INFO] [stderr] Adding build-info-common v0.0.36 (latest: v0.0.38) [INFO] [stderr] Adding convert_case v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding derive_more v0.99.18 (latest: v1.0.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding git2 v0.18.3 (latest: v0.19.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding itertools v0.12.1 (latest: v0.13.0) [INFO] [stderr] Adding libgit2-sys v0.16.2+1.7.2 (latest: v0.17.0+1.8.1) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (latest: v2.0.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding which v4.4.2 (latest: v6.0.3) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding yansi v0.5.1 (latest: v1.0.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded impls v1.0.3 [INFO] [stderr] Downloaded a2lfile v1.5.0 [INFO] [stderr] Downloaded build-info-common v0.0.36 [INFO] [stderr] Downloaded a2lmacros v1.3.0 [INFO] [stderr] Downloaded build-info-build v0.0.36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6377bc2e677f067fd3a1161f453898fb12e4a6bf5e7b1e2e14d5b0ec8e4b4b86 [INFO] running `Command { std: "docker" "start" "-a" "6377bc2e677f067fd3a1161f453898fb12e4a6bf5e7b1e2e14d5b0ec8e4b4b86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6377bc2e677f067fd3a1161f453898fb12e4a6bf5e7b1e2e14d5b0ec8e4b4b86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6377bc2e677f067fd3a1161f453898fb12e4a6bf5e7b1e2e14d5b0ec8e4b4b86", kill_on_drop: false }` [INFO] [stdout] 6377bc2e677f067fd3a1161f453898fb12e4a6bf5e7b1e2e14d5b0ec8e4b4b86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27a6ab873721998905fc91340f9b5e14ec9d69aece1d41f091b9ff5d1cc2f315 [INFO] running `Command { std: "docker" "start" "-a" "27a6ab873721998905fc91340f9b5e14ec9d69aece1d41f091b9ff5d1cc2f315", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling libgit2-sys v0.16.2+1.7.2 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling pretty_assertions v1.4.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Compiling impls v1.0.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling a2lmacros v1.3.0 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.1 [INFO] [stderr] Compiling xcp_type_description_derive v0.1.0 (/opt/rustwide/workdir/xcp_type_description_derive) [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Compiling derive_builder_macro v0.20.1 [INFO] [stderr] Checking cdr v0.2.4 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking a2lfile v1.5.0 [INFO] [stderr] Compiling build-info-common v0.0.36 [INFO] [stderr] Checking derive_builder v0.20.1 [INFO] [stderr] Checking xcp_client v0.1.0 (/opt/rustwide/workdir/xcp_client) [INFO] [stderr] Compiling git2 v0.18.3 [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> xcp_client/src/a2l/a2l_reader.rs:237:20 [INFO] [stdout] | [INFO] [stdout] 237 | for mod_par in &a2l_file.project.module[0].mod_par { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 237 | while let Some(mod_par) = &a2l_file.project.module[0].mod_par { [INFO] [stdout] | ~~~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 237 | if let Some(mod_par) = &a2l_file.project.module[0].mod_par { [INFO] [stdout] | ~~~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling build-info-build v0.0.36 [INFO] [stderr] Compiling xcp v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: xcp@0.3.0: In file included from /usr/include/string.h:535, [INFO] [stderr] warning: xcp@0.3.0: from xcplib/src/main.h:49, [INFO] [stderr] warning: xcp@0.3.0: from xcplib/xcpAppl.c:13: [INFO] [stderr] warning: xcp@0.3.0: In function 'strncpy', [INFO] [stderr] warning: xcp@0.3.0: inlined from 'ApplXcpGetId' at xcplib/xcpAppl.c:472:13: [INFO] [stderr] warning: xcp@0.3.0: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-truncation] [INFO] [stderr] warning: xcp@0.3.0: 95 | return __builtin___strncpy_chk (__dest, __src, __len, [INFO] [stderr] warning: xcp@0.3.0: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: xcp@0.3.0: 96 | __glibc_objsize (__dest)); [INFO] [stderr] warning: xcp@0.3.0: | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: xcp@0.3.0: xcplib/xcpAppl.c: In function 'ApplXcpGetId': [INFO] [stderr] warning: xcp@0.3.0: xcplib/xcpAppl.c:469:25: note: length computed here [INFO] [stderr] warning: xcp@0.3.0: 469 | len = (uint32_t)strlen(gXcpA2lName); [INFO] [stderr] warning: xcp@0.3.0: | ^~~~~~~~~~~~~~~~~~~ [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 7m 33s [INFO] running `Command { std: "docker" "inspect" "27a6ab873721998905fc91340f9b5e14ec9d69aece1d41f091b9ff5d1cc2f315", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27a6ab873721998905fc91340f9b5e14ec9d69aece1d41f091b9ff5d1cc2f315", kill_on_drop: false }` [INFO] [stdout] 27a6ab873721998905fc91340f9b5e14ec9d69aece1d41f091b9ff5d1cc2f315