[INFO] fetching crate j2534 0.3.1... [INFO] testing j2534-0.3.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate j2534 0.3.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate j2534 0.3.1 [INFO] finished tweaking crates.io crate j2534 0.3.1 [INFO] tweaked toml for crates.io crate j2534 0.3.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate j2534 0.3.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate j2534 0.3.1 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror v1.0.22 [INFO] [stderr] Downloaded thiserror-impl v1.0.22 [INFO] [stderr] Downloaded winreg v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 434328d0527590324a1584b6c592657455946b28dc0ad9548b1373222a2aff80 [INFO] running `Command { std: "docker" "start" "-a" "434328d0527590324a1584b6c592657455946b28dc0ad9548b1373222a2aff80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "434328d0527590324a1584b6c592657455946b28dc0ad9548b1373222a2aff80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "434328d0527590324a1584b6c592657455946b28dc0ad9548b1373222a2aff80", kill_on_drop: false }` [INFO] [stdout] 434328d0527590324a1584b6c592657455946b28dc0ad9548b1373222a2aff80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1efe8bace7a289dbf11f607c48055c171720c7dc60337b7b6825954ef8b9d01c [INFO] running `Command { std: "docker" "start" "-a" "1efe8bace7a289dbf11f607c48055c171720c7dc60337b7b6825954ef8b9d01c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.51 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling libloading v0.6.5 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling j2534 v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SCI_A_ENGINE` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:597:5 [INFO] [stdout] | [INFO] [stdout] 597 | SCI_A_ENGINE = 7, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SciAEngine` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SCI_A_TRANS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:598:5 [INFO] [stdout] | [INFO] [stdout] 598 | SCI_A_TRANS = 8, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SciATrans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SCI_B_ENGINE` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:599:5 [INFO] [stdout] | [INFO] [stdout] 599 | SCI_B_ENGINE = 9, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SciBEngine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SCI_B_TRANS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:600:5 [INFO] [stdout] | [INFO] [stdout] 600 | SCI_B_TRANS = 10, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SciBTrans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `GET_CONFIG` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:686:5 [INFO] [stdout] | [INFO] [stdout] 686 | GET_CONFIG = 0x01, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `GetConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SET_CONFIG` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:687:5 [INFO] [stdout] | [INFO] [stdout] 687 | SET_CONFIG = 0x02, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `SetConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `READ_VBATT` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:688:5 [INFO] [stdout] | [INFO] [stdout] 688 | READ_VBATT = 0x03, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ReadVbatt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FIVE_BAUD_INIT` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:689:5 [INFO] [stdout] | [INFO] [stdout] 689 | FIVE_BAUD_INIT = 0x04, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FiveBaudInit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FAST_INIT` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:690:5 [INFO] [stdout] | [INFO] [stdout] 690 | FAST_INIT = 0x05, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `FastInit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CLEAR_TX_BUFFER` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:692:5 [INFO] [stdout] | [INFO] [stdout] 692 | CLEAR_TX_BUFFER = 0x07, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ClearTxBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CLEAR_RX_BUFFER` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:693:5 [INFO] [stdout] | [INFO] [stdout] 693 | CLEAR_RX_BUFFER = 0x08, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ClearRxBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CLEAR_PERIODIC_MSGS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:694:5 [INFO] [stdout] | [INFO] [stdout] 694 | CLEAR_PERIODIC_MSGS = 0x09, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ClearPeriodicMsgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CLEAR_MSG_FILTERS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:695:5 [INFO] [stdout] | [INFO] [stdout] 695 | CLEAR_MSG_FILTERS = 0x0A, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ClearMsgFilters` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CLEAR_FUNCT_MSG_LOOKUP_TABLE` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:696:5 [INFO] [stdout] | [INFO] [stdout] 696 | CLEAR_FUNCT_MSG_LOOKUP_TABLE = 0x0B, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ClearFunctMsgLookupTable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ADD_TO_FUNCT_MSG_LOOKUP_TABLE` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:697:5 [INFO] [stdout] | [INFO] [stdout] 697 | ADD_TO_FUNCT_MSG_LOOKUP_TABLE = 0x0C, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AddToFunctMsgLookupTable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DELETE_FROM_FUNCT_MSG_LOOKUP_TABLE` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:698:5 [INFO] [stdout] | [INFO] [stdout] 698 | DELETE_FROM_FUNCT_MSG_LOOKUP_TABLE = 0x0D, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DeleteFromFunctMsgLookupTable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `READ_PROG_VOLTAGE` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:699:5 [INFO] [stdout] | [INFO] [stdout] 699 | READ_PROG_VOLTAGE = 0x0E, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ReadProgVoltage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SW_CAN_HS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:701:5 [INFO] [stdout] | [INFO] [stdout] 701 | SW_CAN_HS = 0x8000, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `SwCanHs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SW_CAN_NS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:702:5 [INFO] [stdout] | [INFO] [stdout] 702 | SW_CAN_NS = 0x8001, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `SwCanNs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SET_POLL_RESPONSE` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:703:5 [INFO] [stdout] | [INFO] [stdout] 703 | SET_POLL_RESPONSE = 0x8002, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SetPollResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BECOME_MASTER` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:704:5 [INFO] [stdout] | [INFO] [stdout] 704 | BECOME_MASTER = 0x8003, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BecomeMaster` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DATA_RATE` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:710:5 [INFO] [stdout] | [INFO] [stdout] 710 | DATA_RATE = 0x01, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `DataRate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NODE_ADDRESS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:712:5 [INFO] [stdout] | [INFO] [stdout] 712 | NODE_ADDRESS = 0x04, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NodeAddress` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NETWORK_LINE` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:713:5 [INFO] [stdout] | [INFO] [stdout] 713 | NETWORK_LINE = 0x05, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NetworkLine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `P1_MIN` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:714:5 [INFO] [stdout] | [INFO] [stdout] 714 | P1_MIN = 0x06, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `P1Min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `P1_MAX` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:715:5 [INFO] [stdout] | [INFO] [stdout] 715 | P1_MAX = 0x07, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `P1Max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `P2_MIN` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:716:5 [INFO] [stdout] | [INFO] [stdout] 716 | P2_MIN = 0x08, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `P2Min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `P2_MAX` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:717:5 [INFO] [stdout] | [INFO] [stdout] 717 | P2_MAX = 0x09, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `P2Max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `P3_MIN` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:718:5 [INFO] [stdout] | [INFO] [stdout] 718 | P3_MIN = 0x0A, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `P3Min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `P3_MAX` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:719:5 [INFO] [stdout] | [INFO] [stdout] 719 | P3_MAX = 0x0B, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `P3Max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `P4_MIN` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:720:5 [INFO] [stdout] | [INFO] [stdout] 720 | P4_MIN = 0x0C, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `P4Min` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `P4_MAX` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:721:5 [INFO] [stdout] | [INFO] [stdout] 721 | P4_MAX = 0x0D, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `P4Max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BIT_SAMPLE_POINT` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:732:5 [INFO] [stdout] | [INFO] [stdout] 732 | BIT_SAMPLE_POINT = 0x17, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BitSamplePoint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SYNC_JUMP_WIDTH` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:733:5 [INFO] [stdout] | [INFO] [stdout] 733 | SYNC_JUMP_WIDTH = 0x18, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SyncJumpWidth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `T1_MAX` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:735:5 [INFO] [stdout] | [INFO] [stdout] 735 | T1_MAX = 0x1A, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `T1Max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `T2_MAX` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:736:5 [INFO] [stdout] | [INFO] [stdout] 736 | T2_MAX = 0x1B, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `T2Max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `T4_MAX` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:738:5 [INFO] [stdout] | [INFO] [stdout] 738 | T4_MAX = 0x1C, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `T4Max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `T5_MAX` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:739:5 [INFO] [stdout] | [INFO] [stdout] 739 | T5_MAX = 0x1D, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `T5Max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ISO15765_BS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:740:5 [INFO] [stdout] | [INFO] [stdout] 740 | ISO15765_BS = 0x1E, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Iso15765Bs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ISO15765_STMIN` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:741:5 [INFO] [stdout] | [INFO] [stdout] 741 | ISO15765_STMIN = 0x1F, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Iso15765Stmin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `DATA_BITS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:742:5 [INFO] [stdout] | [INFO] [stdout] 742 | DATA_BITS = 0x20, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `DataBits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FIVE_BAUD_MOD` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:743:5 [INFO] [stdout] | [INFO] [stdout] 743 | FIVE_BAUD_MOD = 0x21, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FiveBaudMod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BS_TX` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:744:5 [INFO] [stdout] | [INFO] [stdout] 744 | BS_TX = 0x22, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `BsTx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `STMIN_TX` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:745:5 [INFO] [stdout] | [INFO] [stdout] 745 | STMIN_TX = 0x23, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `StminTx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `T3_MAX` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:746:5 [INFO] [stdout] | [INFO] [stdout] 746 | T3_MAX = 0x24, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `T3Max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ISO15765_WFT_MAX` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:747:5 [INFO] [stdout] | [INFO] [stdout] 747 | ISO15765_WFT_MAX = 0x25, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Iso15765WftMax` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CAN_MIXED_FORMAT` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:749:5 [INFO] [stdout] | [INFO] [stdout] 749 | CAN_MIXED_FORMAT = 0x8000, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CanMixedFormat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `J1962_PINS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:751:5 [INFO] [stdout] | [INFO] [stdout] 751 | J1962_PINS = 0x8001, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `J1962Pins` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SW_CAN_HS_DATA_RATE` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:753:5 [INFO] [stdout] | [INFO] [stdout] 753 | SW_CAN_HS_DATA_RATE = 0x8010, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SwCanHsDataRate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SW_CAN_SPEEDCHANGE_ENABLE` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:754:5 [INFO] [stdout] | [INFO] [stdout] 754 | SW_CAN_SPEEDCHANGE_ENABLE = 0x8011, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SwCanSpeedchangeEnable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SW_CAN_RES_SWITCH` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:755:5 [INFO] [stdout] | [INFO] [stdout] 755 | SW_CAN_RES_SWITCH = 0x8012, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SwCanResSwitch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ACTIVE_CHANNELS` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:756:5 [INFO] [stdout] | [INFO] [stdout] 756 | ACTIVE_CHANNELS = 0x8020, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ActiveChannels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SAMPLE_RATE` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:757:5 [INFO] [stdout] | [INFO] [stdout] 757 | SAMPLE_RATE = 0x8021, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SampleRate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SAMPLES_PER_READING` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:758:5 [INFO] [stdout] | [INFO] [stdout] 758 | SAMPLES_PER_READING = 0x8022, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SamplesPerReading` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `READINGS_PER_MSG` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:759:5 [INFO] [stdout] | [INFO] [stdout] 759 | READINGS_PER_MSG = 0x8023, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ReadingsPerMsg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AVERAGING_METHOD` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:760:5 [INFO] [stdout] | [INFO] [stdout] 760 | AVERAGING_METHOD = 0x8024, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AveragingMethod` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SAMPLE_RESOLUTION` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:761:5 [INFO] [stdout] | [INFO] [stdout] 761 | SAMPLE_RESOLUTION = 0x8025, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SampleResolution` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INPUT_RANGE_LOW` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:762:5 [INFO] [stdout] | [INFO] [stdout] 762 | INPUT_RANGE_LOW = 0x8026, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InputRangeLow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INPUT_RANGE_HIGH` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:763:5 [INFO] [stdout] | [INFO] [stdout] 763 | INPUT_RANGE_HIGH = 0x8027, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InputRangeHigh` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target [INFO] [stdout] --> src/lib.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | unsafe extern "stdcall" fn(name: *const libc::c_void, device_id: *mut u32) -> i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #130260 [INFO] [stdout] = note: `#[warn(unsupported_fn_ptr_calling_conventions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target [INFO] [stdout] --> src/lib.rs:149:24 [INFO] [stdout] | [INFO] [stdout] 149 | type PassThruCloseFn = unsafe extern "stdcall" fn(device_id: u32) -> i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #130260 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target [INFO] [stdout] --> src/lib.rs:150:26 [INFO] [stdout] | [INFO] [stdout] 150 | type PassThruConnectFn = unsafe extern "stdcall" fn( [INFO] [stdout] | __________________________^ [INFO] [stdout] 151 | | device_id: u32, [INFO] [stdout] 152 | | protocol_id: u32, [INFO] [stdout] 153 | | flags: u32, [INFO] [stdout] 154 | | baudrate: u32, [INFO] [stdout] 155 | | channel_id: *mut u32, [INFO] [stdout] 156 | | ) -> i32; [INFO] [stdout] | |________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #130260 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target [INFO] [stdout] --> src/lib.rs:157:29 [INFO] [stdout] | [INFO] [stdout] 157 | type PassThruDisconnectFn = unsafe extern "stdcall" fn(channel_id: u32) -> i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #130260 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target [INFO] [stdout] --> src/lib.rs:188:30 [INFO] [stdout] | [INFO] [stdout] 188 | type PassThruReadVersionFn = unsafe extern "stdcall" fn( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 189 | | device_id: u32, [INFO] [stdout] 190 | | firmware_version: *mut libc::c_char, [INFO] [stdout] 191 | | dll_version: *mut libc::c_char, [INFO] [stdout] 192 | | api_version: *mut libc::c_char, [INFO] [stdout] 193 | | ) -> i32; [INFO] [stdout] | |________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #130260 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target [INFO] [stdout] --> src/lib.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 195 | unsafe extern "stdcall" fn(error_description: *mut libc::c_char) -> i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #130260 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target [INFO] [stdout] --> src/lib.rs:158:27 [INFO] [stdout] | [INFO] [stdout] 158 | type PassThruReadMsgsFn = unsafe extern "stdcall" fn( [INFO] [stdout] | ___________________________^ [INFO] [stdout] 159 | | channel_id: u32, [INFO] [stdout] 160 | | msgs: *mut PassThruMsg, [INFO] [stdout] 161 | | num_msgs: *mut u32, [INFO] [stdout] 162 | | timeout: u32, [INFO] [stdout] 163 | | ) -> i32; [INFO] [stdout] | |________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #130260 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target [INFO] [stdout] --> src/lib.rs:177:33 [INFO] [stdout] | [INFO] [stdout] 177 | type PassThruStartMsgFilterFn = unsafe extern "stdcall" fn( [INFO] [stdout] | _________________________________^ [INFO] [stdout] 178 | | channel_id: u32, [INFO] [stdout] 179 | | filter_type: u32, [INFO] [stdout] 180 | | msg_mask: *const PassThruMsg, [INFO] [stdout] ... | [INFO] [stdout] 183 | | filter_id: *mut u32, [INFO] [stdout] 184 | | ) -> i32; [INFO] [stdout] | |________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #130260 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target [INFO] [stdout] --> src/lib.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | type PassThruStopMsgFilterFn = unsafe extern "stdcall" fn(channel_id: u32, filter_id: u32) -> i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #130260 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target [INFO] [stdout] --> src/lib.rs:164:28 [INFO] [stdout] | [INFO] [stdout] 164 | type PassThruWriteMsgsFn = unsafe extern "stdcall" fn( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 165 | | channel_id: u32, [INFO] [stdout] 166 | | msgs: *mut PassThruMsg, [INFO] [stdout] 167 | | num_msgs: *mut u32, [INFO] [stdout] 168 | | timeout: u32, [INFO] [stdout] 169 | | ) -> i32; [INFO] [stdout] | |________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #130260 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target [INFO] [stdout] --> src/lib.rs:170:35 [INFO] [stdout] | [INFO] [stdout] 170 | type PassThruStartPeriodicMsgFn = unsafe extern "stdcall" fn( [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 171 | | channel_id: u32, [INFO] [stdout] 172 | | msg: *const PassThruMsg, [INFO] [stdout] 173 | | msg_id: *mut u32, [INFO] [stdout] 174 | | time_interval: u32, [INFO] [stdout] 175 | | ) -> i32; [INFO] [stdout] | |________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #130260 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target [INFO] [stdout] --> src/lib.rs:176:34 [INFO] [stdout] | [INFO] [stdout] 176 | type PassThruStopPeriodicMsgFn = unsafe extern "stdcall" fn(channel_id: u32, msg_id: u32) -> i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #130260 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target [INFO] [stdout] --> src/lib.rs:187:5 [INFO] [stdout] | [INFO] [stdout] 187 | unsafe extern "stdcall" fn(device_id: u32, pin_number: u32, voltage: u32) -> i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #130260 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the calling convention "stdcall" is not supported on this target [INFO] [stdout] --> src/lib.rs:196:24 [INFO] [stdout] | [INFO] [stdout] 196 | type PassThruIoctlFn = unsafe extern "stdcall" fn( [INFO] [stdout] | ________________________^ [INFO] [stdout] 197 | | handle_id: u32, [INFO] [stdout] 198 | | ioctl_id: u32, [INFO] [stdout] 199 | | input: *mut libc::c_void, [INFO] [stdout] 200 | | output: *mut libc::c_void, [INFO] [stdout] 201 | | ) -> i32; [INFO] [stdout] | |________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #130260 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/lib.rs:377:39 [INFO] [stdout] | [INFO] [stdout] 377 | .field("protocol_id", &self.protocol_id) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/lib.rs:378:37 [INFO] [stdout] | [INFO] [stdout] 378 | .field("rx_status", &self.rx_status) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/lib.rs:379:36 [INFO] [stdout] | [INFO] [stdout] 379 | .field("tx_flags", &self.tx_flags) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/lib.rs:380:37 [INFO] [stdout] | [INFO] [stdout] 380 | .field("timestamp", &self.timestamp) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/lib.rs:381:44 [INFO] [stdout] | [INFO] [stdout] 381 | .field("extra_data_index", &self.extra_data_index) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/lib.rs:375:9 [INFO] [stdout] | [INFO] [stdout] 375 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0793`. [INFO] [stdout] [INFO] [stderr] error: could not compile `j2534` (lib) due to 5 previous errors; 89 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1efe8bace7a289dbf11f607c48055c171720c7dc60337b7b6825954ef8b9d01c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1efe8bace7a289dbf11f607c48055c171720c7dc60337b7b6825954ef8b9d01c", kill_on_drop: false }` [INFO] [stdout] 1efe8bace7a289dbf11f607c48055c171720c7dc60337b7b6825954ef8b9d01c