[INFO] cloning repository https://github.com/flexiblepower/s2-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/flexiblepower/s2-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflexiblepower%2Fs2-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflexiblepower%2Fs2-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f4bdead36e8e6c03b1d474437c088132183c8d7 [INFO] testing flexiblepower/s2-rust against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fflexiblepower%2Fs2-rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/flexiblepower/s2-rust [INFO] finished tweaking git repo https://github.com/flexiblepower/s2-rust [INFO] tweaked toml for git repo https://github.com/flexiblepower/s2-rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/flexiblepower/s2-rust 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 git repo https://github.com/flexiblepower/s2-rust 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] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dyn-clone v1.0.20 [INFO] [stderr] Downloaded typify-macro v0.4.3 [INFO] [stderr] Downloaded darling_macro v0.21.3 [INFO] [stderr] Downloaded tokio-tungstenite v0.28.0 [INFO] [stderr] Downloaded darling v0.21.3 [INFO] [stderr] Downloaded darling_core v0.21.3 [INFO] [stderr] Downloaded bon-macros v3.8.0 [INFO] [stderr] Downloaded tungstenite v0.28.0 [INFO] [stderr] Downloaded bon v3.8.0 [INFO] [stderr] Downloaded rustls-webpki v0.103.7 [INFO] [stderr] Downloaded typify v0.4.3 [INFO] [stderr] Downloaded regress v0.10.4 [INFO] [stderr] Downloaded typify-impl v0.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42b57838bb629b8a383fb1dee6a3cbc6ce7228ea9f6cab11945f6ce3899cc4f7 [INFO] running `Command { std: "docker" "start" "-a" "42b57838bb629b8a383fb1dee6a3cbc6ce7228ea9f6cab11945f6ce3899cc4f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42b57838bb629b8a383fb1dee6a3cbc6ce7228ea9f6cab11945f6ce3899cc4f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42b57838bb629b8a383fb1dee6a3cbc6ce7228ea9f6cab11945f6ce3899cc4f7", kill_on_drop: false }` [INFO] [stdout] 42b57838bb629b8a383fb1dee6a3cbc6ce7228ea9f6cab11945f6ce3899cc4f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5280e535bbf1ba5e905c9e56e41ac971e20c8727f259019dd1b5de495e34f063 [INFO] running `Command { std: "docker" "start" "-a" "5280e535bbf1ba5e905c9e56e41ac971e20c8727f259019dd1b5de495e34f063", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling rustls-webpki v0.103.7 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling regress v0.10.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tungstenite v0.28.0 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling bon-macros v3.8.0 [INFO] [stderr] Compiling serde_tokenstream v0.2.2 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling tokio-tungstenite v0.28.0 [INFO] [stderr] Compiling typify-impl v0.4.3 [INFO] [stderr] Compiling bon v3.8.0 [INFO] [stderr] Compiling typify-macro v0.4.3 [INFO] [stderr] Compiling typify v0.4.3 [INFO] [stderr] Compiling s2energy v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.57s [INFO] running `Command { std: "docker" "inspect" "5280e535bbf1ba5e905c9e56e41ac971e20c8727f259019dd1b5de495e34f063", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5280e535bbf1ba5e905c9e56e41ac971e20c8727f259019dd1b5de495e34f063", kill_on_drop: false }` [INFO] [stdout] 5280e535bbf1ba5e905c9e56e41ac971e20c8727f259019dd1b5de495e34f063 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 308ef281974bd13fe2feda5108151ccb94a0c47691b2d6f4c14b24851f023cfe [INFO] running `Command { std: "docker" "start" "-a" "308ef281974bd13fe2feda5108151ccb94a0c47691b2d6f4c14b24851f023cfe", kill_on_drop: false }` [INFO] [stderr] Compiling rustls v0.23.32 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling indenter v0.3.4 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling tungstenite v0.28.0 [INFO] [stderr] Compiling tokio-tungstenite v0.28.0 [INFO] [stderr] Compiling s2energy v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.80s [INFO] running `Command { std: "docker" "inspect" "308ef281974bd13fe2feda5108151ccb94a0c47691b2d6f4c14b24851f023cfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "308ef281974bd13fe2feda5108151ccb94a0c47691b2d6f4c14b24851f023cfe", kill_on_drop: false }` [INFO] [stdout] 308ef281974bd13fe2feda5108151ccb94a0c47691b2d6f4c14b24851f023cfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e1e4cc73ceb1cfe92d7a5384cad4ab0e964b129b8d99bc81958eb4006702a193 [INFO] running `Command { std: "docker" "start" "-a" "e1e4cc73ceb1cfe92d7a5384cad4ab0e964b129b8d99bc81958eb4006702a193", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/s2energy-9ca992d80a44f542) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test::actuator_status_json ... ok [INFO] [stdout] test test::s2_schema_version_doesnt_panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests s2energy [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/websockets_json.rs - websockets_json (line 14) - compile ... ok [INFO] [stdout] test src/websockets_json.rs - websockets_json (line 60) - compile ... ok [INFO] [stdout] test src/websockets_json.rs - websockets_json::UnconfirmedMessage (line 368) - compile ... ok [INFO] [stdout] test src/websockets_json.rs - websockets_json (line 26) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 49) ... ok [INFO] [stdout] test src/lib.rs - (line 62) ... ok [INFO] [stdout] test src/lib.rs - (line 24) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/websockets_json.rs - websockets_json (line 26) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/websockets_json.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 23 | .name("Battery Model Q") [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | | [INFO] [stdout] | | expected `String`, found `&str` [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/s2energy-bdfe2061d0bec66e/out/generated.rs:2591:13 [INFO] [stdout] | [INFO] [stdout] 2591 | pub name: ::std::option::Option<::std::string::String>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/websockets_json.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 24 | .manufacturer("Battery Manufacturing BV") [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | | [INFO] [stdout] | | expected `String`, found `&str` [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/s2energy-bdfe2061d0bec66e/out/generated.rs:2582:13 [INFO] [stdout] | [INFO] [stdout] 2582 | pub manufacturer: ::std::option::Option<::std::string::String>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/websockets_json.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 25 | .model("BatteryQ_v3") [INFO] [stdout] | ----- ^^^^^^^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | | [INFO] [stdout] | | expected `String`, found `&str` [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/s2energy-bdfe2061d0bec66e/out/generated.rs:2588:13 [INFO] [stdout] | [INFO] [stdout] 2588 | pub model: ::std::option::Option<::std::string::String>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/websockets_json.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 26 | .serial_number("A1-01234-56789") [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | | [INFO] [stdout] | | expected `String`, found `&str` [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/s2energy-bdfe2061d0bec66e/out/generated.rs:2602:13 [INFO] [stdout] | [INFO] [stdout] 2602 | pub serial_number: ::std::option::Option<::std::string::String>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/websockets_json.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 27 | .firmware_version("0.2.0") [INFO] [stdout] | ---------------- ^^^^^^^- help: try using a conversion method: `.to_string()` [INFO] [stdout] | | | [INFO] [stdout] | | expected `String`, found `&str` [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/target/x86_64-unknown-linux-musl/debug/build/s2energy-bdfe2061d0bec66e/out/generated.rs:2577:13 [INFO] [stdout] | [INFO] [stdout] 2577 | pub firmware_version: ::std::option::Option<::std::string::String>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/websockets_json.rs - websockets_json (line 26) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 6 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.40s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e1e4cc73ceb1cfe92d7a5384cad4ab0e964b129b8d99bc81958eb4006702a193", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1e4cc73ceb1cfe92d7a5384cad4ab0e964b129b8d99bc81958eb4006702a193", kill_on_drop: false }` [INFO] [stdout] e1e4cc73ceb1cfe92d7a5384cad4ab0e964b129b8d99bc81958eb4006702a193