[INFO] fetching crate ocpp-client 0.1.16... [INFO] checking ocpp-client-0.1.16 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate ocpp-client 0.1.16 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate ocpp-client 0.1.16 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ocpp-client 0.1.16 [INFO] tweaked toml for crates.io crate ocpp-client 0.1.16 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ocpp-client 0.1.16 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 ocpp-client 0.1.16 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 validator_derive v0.19.0 [INFO] [stderr] Downloaded validator v0.19.0 [INFO] [stderr] Downloaded borsh-derive v1.5.3 [INFO] [stderr] Downloaded rust-ocpp v2.0.0 [INFO] [stderr] Downloaded borsh v1.5.3 [INFO] [stderr] Downloaded aws-lc-rs v1.11.1 [INFO] [stderr] Downloaded aws-lc-sys v0.23.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] b51067d559611acae08dd29cc7ab11904b2c04d3887e1c64a525c8317f783745 [INFO] running `Command { std: "docker" "start" "-a" "b51067d559611acae08dd29cc7ab11904b2c04d3887e1c64a525c8317f783745", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b51067d559611acae08dd29cc7ab11904b2c04d3887e1c64a525c8317f783745", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b51067d559611acae08dd29cc7ab11904b2c04d3887e1c64a525c8317f783745", kill_on_drop: false }` [INFO] [stdout] b51067d559611acae08dd29cc7ab11904b2c04d3887e1c64a525c8317f783745 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] aabc8c0c953c5b50480d8da72e8fd5e2554cabb5d5ba561cee7799958b922655 [INFO] running `Command { std: "docker" "start" "-a" "aabc8c0c953c5b50480d8da72e8fd5e2554cabb5d5ba561cee7799958b922655", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling aws-lc-rs v1.11.1 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking rustls-pki-types v1.10.0 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling rustls v0.23.19 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking cpufeatures v0.2.16 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Checking webpki-roots v0.26.7 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling cc v1.2.2 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling cmake v0.1.52 [INFO] [stderr] Compiling aws-lc-sys v0.23.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling validator_derive v0.19.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking validator v0.19.0 [INFO] [stderr] Checking rust-ocpp v2.0.0 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Checking ocpp-client v0.1.16 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `broadcast` [INFO] [stdout] --> src/ocpp_1_6/ocpp_1_6_client.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | use tokio::sync::{Mutex, oneshot, broadcast, mpsc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::timeout` [INFO] [stdout] --> src/ocpp_2_0_1/ocpp_2_0_1_client.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | use tokio::time::timeout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `broadcast` [INFO] [stdout] --> src/ocpp_1_6/ocpp_1_6_client.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | use tokio::sync::{Mutex, oneshot, broadcast, mpsc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::timeout` [INFO] [stdout] --> src/ocpp_2_0_1/ocpp_2_0_1_client.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | use tokio::time::timeout; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timeout` is never read [INFO] [stdout] --> src/ocpp_2_0_1/ocpp_2_0_1_client.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct OCPP2_0_1Client { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 94 | timeout: Duration [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OCPP2_0_1Client` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timeout` is never read [INFO] [stdout] --> src/ocpp_2_0_1/ocpp_2_0_1_client.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct OCPP2_0_1Client { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 94 | timeout: Duration [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OCPP2_0_1Client` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> examples/connect.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | let client = connect_1_6("wss://ocpp.flowion.app/easee/EH123123").await?; [INFO] [stdout] | ^^^^^^^^^^^----------------------------------------- argument #2 of type `Option>` is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/connect.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn connect_1_6(address: &str, options: Option>) -> Result> */).await?; [INFO] [stdout] | ++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ocpp-client` (example "connect") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "aabc8c0c953c5b50480d8da72e8fd5e2554cabb5d5ba561cee7799958b922655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aabc8c0c953c5b50480d8da72e8fd5e2554cabb5d5ba561cee7799958b922655", kill_on_drop: false }` [INFO] [stdout] aabc8c0c953c5b50480d8da72e8fd5e2554cabb5d5ba561cee7799958b922655