[INFO] fetching crate ocpp-client 0.1.16... [INFO] testing ocpp-client-0.1.16 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate ocpp-client 0.1.16 into /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ocpp-client 0.1.16 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 568ca4486a24fa95ef76fd0ac2ad293dcb3a9f398f9624f760fbf535e00c3de5 [INFO] running `Command { std: "docker" "start" "-a" "568ca4486a24fa95ef76fd0ac2ad293dcb3a9f398f9624f760fbf535e00c3de5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "568ca4486a24fa95ef76fd0ac2ad293dcb3a9f398f9624f760fbf535e00c3de5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "568ca4486a24fa95ef76fd0ac2ad293dcb3a9f398f9624f760fbf535e00c3de5", kill_on_drop: false }` [INFO] [stdout] 568ca4486a24fa95ef76fd0ac2ad293dcb3a9f398f9624f760fbf535e00c3de5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89587c76539d6cdfb7bd97760b10d4b3008152e2c9bfe6f355a1ab3a48d303cb [INFO] running `Command { std: "docker" "start" "-a" "89587c76539d6cdfb7bd97760b10d4b3008152e2c9bfe6f355a1ab3a48d303cb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling aws-lc-rs v1.11.1 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustls v0.23.19 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling webpki-roots v0.26.7 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling cc v1.2.2 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cmake v0.1.52 [INFO] [stderr] Compiling aws-lc-sys v0.23.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 serde_derive v1.0.215 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling validator_derive v0.19.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling validator v0.19.0 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling rust-ocpp v2.0.0 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling tungstenite v0.24.0 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 09s [INFO] running `Command { std: "docker" "inspect" "89587c76539d6cdfb7bd97760b10d4b3008152e2c9bfe6f355a1ab3a48d303cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89587c76539d6cdfb7bd97760b10d4b3008152e2c9bfe6f355a1ab3a48d303cb", kill_on_drop: false }` [INFO] [stdout] 89587c76539d6cdfb7bd97760b10d4b3008152e2c9bfe6f355a1ab3a48d303cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd1bcefa17690968b41b6cd9ad45505ebbe61c492d88a3edf1e27d8ffe7e618a [INFO] running `Command { std: "docker" "start" "-a" "cd1bcefa17690968b41b6cd9ad45505ebbe61c492d88a3edf1e27d8ffe7e618a", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling tokio-tungstenite v0.24.0 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "cd1bcefa17690968b41b6cd9ad45505ebbe61c492d88a3edf1e27d8ffe7e618a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd1bcefa17690968b41b6cd9ad45505ebbe61c492d88a3edf1e27d8ffe7e618a", kill_on_drop: false }` [INFO] [stdout] cd1bcefa17690968b41b6cd9ad45505ebbe61c492d88a3edf1e27d8ffe7e618a