chrisdutz commented on PR #2010: URL: https://github.com/apache/plc4x/pull/2010#issuecomment-2698598142
With those two changes, my build is currently producing this output: ``` [INFO] --------------------< org.apache.plc4x:plc4x-rust >--------------------- [INFO] Building PLC4Rust 0.13.0-SNAPSHOT [INFO] from pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- clean:3.4.0:clean (default-clean) @ plc4x-rust --- [INFO] Deleting /Users/christoferdutz/Projects/Apache/PLC4X/plc4x/plc4x-rust/target [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-maven-version) @ plc4x-rust --- [INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-java-version) @ plc4x-rust --- [INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireJavaVersion passed [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-minimum-maven-version) @ plc4x-rust --- [INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-java-compatability) @ plc4x-rust --- [INFO] Rule 0: org.codehaus.mojo.extraenforcer.dependencies.EnforceBytecodeVersion passed [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-version-convergence) @ plc4x-rust --- [INFO] Rule 0: org.apache.maven.enforcer.rules.dependency.DependencyConvergence passed [INFO] [INFO] --- enforcer:3.5.0:enforce (enforce-ban-duplicate-classes) @ plc4x-rust --- [INFO] Rule 0: org.codehaus.mojo.extraenforcer.dependencies.BanDuplicateClasses passed [INFO] [INFO] --- remote-resources:3.3.0:process (process-resource-bundles) @ plc4x-rust --- [INFO] Preparing remote bundle org.apache.apache.resources:apache-jar-resource-bundle:1.7 [INFO] Copying 3 resources from 1 bundle. [INFO] [INFO] --- rust:1.2.0:build (rust-build-id) @ plc4x-rust --- [INFO] Working directory: /Users/christoferdutz/Projects/Apache/PLC4X/plc4x/plc4x-rust [INFO] Running: cargo build --target-dir /Users/christoferdutz/Projects/Apache/PLC4X/plc4x/plc4x-rust/target/rust-maven-plugin/plc4x-rust [INFO] Compiling proc-macro2 v1.0.93 [INFO] Compiling unicode-ident v1.0.16 [INFO] Compiling libc v0.2.169 [INFO] Compiling autocfg v1.4.0 [INFO] Compiling parking_lot_core v0.9.10 [INFO] Compiling smallvec v1.14.0 [INFO] Compiling scopeguard v1.2.0 [INFO] Compiling cfg-if v1.0.0 [INFO] Compiling once_cell v1.20.3 [INFO] Compiling pin-project-lite v0.2.16 [INFO] Compiling thiserror v1.0.69 [INFO] Compiling minimal-lexical v0.2.1 [INFO] Compiling bytes v1.10.0 [INFO] Compiling memchr v2.7.4 [INFO] Compiling tracing-core v0.1.33 [INFO] Compiling lock_api v0.4.12 [INFO] Compiling nom v7.1.3 [INFO] Compiling quote v1.0.38 [INFO] Compiling syn v2.0.98 [INFO] Compiling signal-hook-registry v1.4.2 [INFO] Compiling socket2 v0.5.8 [INFO] Compiling mio v1.0.3 [INFO] Compiling parking_lot v0.12.3 [INFO] Compiling thiserror-impl v1.0.69 [INFO] Compiling tracing-attributes v0.1.28 [INFO] Compiling tokio-macros v2.5.0 [INFO] Compiling tokio v1.43.0 [INFO] Compiling tracing v0.1.41 [INFO] Compiling plc4x-rust v0.1.0 (/Users/christoferdutz/Projects/Apache/PLC4X/plc4x/plc4x-rust) [INFO] warning: unused import: `bytes::BytesMut` [INFO] --> src/s7.rs:6:5 [INFO] | [INFO] 6 | use bytes::BytesMut; [INFO] | ^^^^^^^^^^^^^^^ [INFO] | [INFO] = note: `#[warn(unused_imports)]` on by default [INFO] [INFO] warning: fields `protocol_id`, `reserved`, `pdu_reference`, `parameter_length`, and `data_length` are never read [INFO] --> src/s7.rs:19:5 [INFO] | [INFO] 18 | pub struct S7Header { [INFO] | -------- fields in this struct [INFO] 19 | protocol_id: u8, [INFO] | ^^^^^^^^^^^ [INFO] 20 | message_type: MessageType, [INFO] 21 | reserved: u16, [INFO] | ^^^^^^^^ [INFO] 22 | pdu_reference: u16, [INFO] | ^^^^^^^^^^^^^ [INFO] 23 | parameter_length: u16, [INFO] | ^^^^^^^^^^^^^^^^ [INFO] 24 | data_length: u16, [INFO] | ^^^^^^^^^^^ [INFO] | [INFO] = note: `S7Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] = note: `#[warn(dead_code)]` on by default [INFO] [INFO] warning: `plc4x-rust` (lib) generated 2 warnings (run `cargo fix --lib -p plc4x-rust` to apply 1 suggestion) [INFO] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.31s [INFO] [INFO] --- apache-rat:0.16.1:check (license-check) @ plc4x-rust --- [INFO] Rat check: Summary over all files. Unapproved: 9, unknown: 9, generated: 1, approved: 2 licenses. [WARNING] Files with unapproved licenses: Cargo.toml CONTRIBUTING.md README.md fuzz/Cargo.toml fuzz/fuzz_targets/header_parser.rs src/types.rs src/error.rs src/lib.rs src/s7.rs [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8.343 s [INFO] Finished at: 2025-03-04T19:47:18+01:00 [INFO] ------------------------------------------------------------------------ ``` The failure is related to missing Apache headers in the files listed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@plc4x.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org