[INFO] cloning repository https://github.com/mpiraux/monsoon-hvpm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mpiraux/monsoon-hvpm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmpiraux%2Fmonsoon-hvpm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmpiraux%2Fmonsoon-hvpm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 363ee0e8866cca338b35868ef679eaf66bec7a3a [INFO] testing mpiraux/monsoon-hvpm against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmpiraux%2Fmonsoon-hvpm" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mpiraux/monsoon-hvpm on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mpiraux/monsoon-hvpm [INFO] finished tweaking git repo https://github.com/mpiraux/monsoon-hvpm [INFO] tweaked toml for git repo https://github.com/mpiraux/monsoon-hvpm written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mpiraux/monsoon-hvpm 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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08f3af7553b7cb92468a96fe5aee4515c1552fcb44ef953f9fbff6a8bc93b205 [INFO] running `Command { std: "docker" "start" "-a" "08f3af7553b7cb92468a96fe5aee4515c1552fcb44ef953f9fbff6a8bc93b205", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08f3af7553b7cb92468a96fe5aee4515c1552fcb44ef953f9fbff6a8bc93b205", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08f3af7553b7cb92468a96fe5aee4515c1552fcb44ef953f9fbff6a8bc93b205", kill_on_drop: false }` [INFO] [stdout] 08f3af7553b7cb92468a96fe5aee4515c1552fcb44ef953f9fbff6a8bc93b205 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9198b7454041ad6d366eed04e6e80f43841d11677141f736764b36634ca9f66d [INFO] running `Command { std: "docker" "start" "-a" "9198b7454041ad6d366eed04e6e80f43841d11677141f736764b36634ca9f66d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling anstyle v1.0.6 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rusb v0.9.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling strsim v0.11.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling anstream v0.6.13 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling libusb1-sys v0.6.4 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling env_filter v0.1.0 [INFO] [stderr] Compiling ctrlc v3.4.4 [INFO] [stderr] Compiling env_logger v0.11.3 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling test-log-macros v0.2.15 [INFO] [stderr] Compiling test-log v0.2.15 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling monsoon-hvpm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `SetVoltageChannel`, `SetRunCurrentLimit`, `GetSerialNumber`, `GetStartStatus`, and `Stop` are never constructed [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 32 | enum EepromOpCode { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 41 | SetVoltageChannel = 0x23, // Sets voltage channel: Value 00 = Main & USB voltage measurements. Value 01 = Main & Aux voltage measurem... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | SetRunCurrentLimit = 0x44, // Sets runtime current limit HV Amps = 15.625*(1.0-powerupCurrentLimit/65535) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | SetMainVoltage = 0x41, // Voltage = value * 1048576 [INFO] [stdout] 48 | GetSerialNumber = 0x42, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | GetStartStatus = 0xc4, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | Stop = 0xff, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EepromOpCode` 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: variant `RequestResetToBootloader` is never constructed [INFO] [stdout] --> src/lib.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 59 | enum UsbControlCodes { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 65 | RequestResetToBootloader = 0xff, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UsbControlCodes` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unused` is never read [INFO] [stdout] --> src/lib.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 177 | struct HardwareSample { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 180 | unused: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HardwareSample` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `power_up_current_limit`, `runtime_current_limit`, `power_up_time`, and `temperature_limit` are never read [INFO] [stdout] --> src/lib.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 269 | struct Status { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 275 | power_up_current_limit: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 276 | runtime_current_limit: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 277 | power_up_time: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 278 | temperature_limit: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.69s [INFO] running `Command { std: "docker" "inspect" "9198b7454041ad6d366eed04e6e80f43841d11677141f736764b36634ca9f66d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9198b7454041ad6d366eed04e6e80f43841d11677141f736764b36634ca9f66d", kill_on_drop: false }` [INFO] [stdout] 9198b7454041ad6d366eed04e6e80f43841d11677141f736764b36634ca9f66d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bcbf8fed34a1381f4ff7cdbeb6664f7ae2b5dbf4fb2d17069334ba3cb2f7103 [INFO] running `Command { std: "docker" "start" "-a" "3bcbf8fed34a1381f4ff7cdbeb6664f7ae2b5dbf4fb2d17069334ba3cb2f7103", kill_on_drop: false }` [INFO] [stdout] warning: variants `SetVoltageChannel`, `SetRunCurrentLimit`, `GetSerialNumber`, `GetStartStatus`, and `Stop` are never constructed [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 32 | enum EepromOpCode { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 41 | SetVoltageChannel = 0x23, // Sets voltage channel: Value 00 = Main & USB voltage measurements. Value 01 = Main & Aux voltage measurem... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | SetRunCurrentLimit = 0x44, // Sets runtime current limit HV Amps = 15.625*(1.0-powerupCurrentLimit/65535) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | SetMainVoltage = 0x41, // Voltage = value * 1048576 [INFO] [stdout] 48 | GetSerialNumber = 0x42, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | GetStartStatus = 0xc4, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | Stop = 0xff, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EepromOpCode` 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: variant `RequestResetToBootloader` is never constructed [INFO] [stdout] --> src/lib.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 59 | enum UsbControlCodes { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 65 | RequestResetToBootloader = 0xff, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UsbControlCodes` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unused` is never read [INFO] [stdout] --> src/lib.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 177 | struct HardwareSample { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 180 | unused: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HardwareSample` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `power_up_current_limit`, `runtime_current_limit`, `power_up_time`, and `temperature_limit` are never read [INFO] [stdout] --> src/lib.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 269 | struct Status { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 275 | power_up_current_limit: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 276 | runtime_current_limit: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 277 | power_up_time: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 278 | temperature_limit: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling monsoon-hvpm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `SetVoltageChannel`, `SetRunCurrentLimit`, `GetSerialNumber`, `GetStartStatus`, and `Stop` are never constructed [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 32 | enum EepromOpCode { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 41 | SetVoltageChannel = 0x23, // Sets voltage channel: Value 00 = Main & USB voltage measurements. Value 01 = Main & Aux voltage measurem... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | SetRunCurrentLimit = 0x44, // Sets runtime current limit HV Amps = 15.625*(1.0-powerupCurrentLimit/65535) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | SetMainVoltage = 0x41, // Voltage = value * 1048576 [INFO] [stdout] 48 | GetSerialNumber = 0x42, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | GetStartStatus = 0xc4, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | Stop = 0xff, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EepromOpCode` 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: variant `RequestResetToBootloader` is never constructed [INFO] [stdout] --> src/lib.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 59 | enum UsbControlCodes { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 65 | RequestResetToBootloader = 0xff, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UsbControlCodes` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `unused` is never read [INFO] [stdout] --> src/lib.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 177 | struct HardwareSample { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 180 | unused: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HardwareSample` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `power_up_current_limit`, `runtime_current_limit`, `power_up_time`, and `temperature_limit` are never read [INFO] [stdout] --> src/lib.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 269 | struct Status { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 275 | power_up_current_limit: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 276 | runtime_current_limit: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 277 | power_up_time: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 278 | temperature_limit: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Status` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "3bcbf8fed34a1381f4ff7cdbeb6664f7ae2b5dbf4fb2d17069334ba3cb2f7103", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bcbf8fed34a1381f4ff7cdbeb6664f7ae2b5dbf4fb2d17069334ba3cb2f7103", kill_on_drop: false }` [INFO] [stdout] 3bcbf8fed34a1381f4ff7cdbeb6664f7ae2b5dbf4fb2d17069334ba3cb2f7103 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f7a06de984b0b9c5c0b0e286c433f2eedd9d0e78901d9a3710113fd5c4e10455 [INFO] running `Command { std: "docker" "start" "-a" "f7a06de984b0b9c5c0b0e286c433f2eedd9d0e78901d9a3710113fd5c4e10455", kill_on_drop: false }` [INFO] [stderr] warning: variants `SetVoltageChannel`, `SetRunCurrentLimit`, `GetSerialNumber`, `GetStartStatus`, and `Stop` are never constructed [INFO] [stderr] --> src/lib.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 32 | enum EepromOpCode { [INFO] [stderr] | ------------ variants in this enum [INFO] [stderr] ... [INFO] [stderr] 41 | SetVoltageChannel = 0x23, // Sets voltage channel: Value 00 = Main & USB voltage measurements. Value 01 = Main & Aux voltage measurem... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | SetRunCurrentLimit = 0x44, // Sets runtime current limit HV Amps = 15.625*(1.0-powerupCurrentLimit/65535) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 47 | SetMainVoltage = 0x41, // Voltage = value * 1048576 [INFO] [stderr] 48 | GetSerialNumber = 0x42, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 52 | GetStartStatus = 0xc4, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 55 | Stop = 0xff, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `EepromOpCode` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `RequestResetToBootloader` is never constructed [INFO] [stderr] --> src/lib.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 59 | enum UsbControlCodes { [INFO] [stderr] | --------------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 65 | RequestResetToBootloader = 0xff, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `UsbControlCodes` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `unused` is never read [INFO] [stderr] --> src/lib.rs:180:5 [INFO] [stderr] | [INFO] [stderr] 177 | struct HardwareSample { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 180 | unused: u8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HardwareSample` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `power_up_current_limit`, `runtime_current_limit`, `power_up_time`, and `temperature_limit` are never read [INFO] [stderr] --> src/lib.rs:275:5 [INFO] [stderr] | [INFO] [stderr] 269 | struct Status { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 275 | power_up_current_limit: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 276 | runtime_current_limit: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 277 | power_up_time: u8, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 278 | temperature_limit: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Status` has a derived impl for the trait `Default`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `monsoon-hvpm` (lib) generated 4 warnings [INFO] [stderr] warning: `monsoon-hvpm` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/monsoon_hvpm-a1c8c69ff826f421) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::sample_averages ... ok [INFO] [stdout] test tests::test_bulk_read ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_bulk_read stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::test_bulk_read' panicked at src/lib.rs:800:38: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: NoDevice [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x589f35e9b302 - std::backtrace_rs::backtrace::libunwind::trace::h2bdbdb423cc746ad [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x589f35e9b302 - std::backtrace_rs::backtrace::trace_unsynchronized::h876081fa48c0856a [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x589f35e9b302 - std::sys::backtrace::_print_fmt::h744638bebbff2806 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x589f35e9b302 - ::fmt::he6e74fa9d0076b5d [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x589f35ebfed3 - core::fmt::rt::Argument::fmt::hf88a3177e76af877 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x589f35ebfed3 - core::fmt::write::h6442196e41589522 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/fmt/mod.rs:1446:25 [INFO] [stdout] 6: 0x589f35e982a3 - std::io::default_write_fmt::h19b804dc75596022 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x589f35e982a3 - std::io::Write::write_fmt::h561df7c669043671 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/io/mod.rs:1914:13 [INFO] [stdout] 8: 0x589f35e9b152 - std::sys::backtrace::BacktraceLock::print::h25e1ce4c29150054 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x589f35e9c88c - std::panicking::default_hook::{{closure}}::h36663bdaae83f2bb [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:300:22 [INFO] [stdout] 10: 0x589f35e9c6e2 - std::panicking::default_hook::hb9d7c40580cf1835 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x589f35bd12a4 - as core::ops::function::Fn>::call::h53bdf3f1ac68020f [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x589f35bd12a4 - test::test_main_with_exit_callback::{{closure}}::h3ae9af1665ff5b7d [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x589f35e9d383 - as core::ops::function::Fn>::call::ha3a705c6ebc0f8fb [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x589f35e9d383 - std::panicking::rust_panic_with_hook::h2d703857e4ba629f [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x589f35e9d03a - std::panicking::begin_panic_handler::{{closure}}::h53dd12a17ad784b1 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x589f35e9b809 - std::sys::backtrace::__rust_end_short_backtrace::hf54a874920d38937 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x589f35e9cccd - __rustc[22d03d94d4da23d0]::rust_begin_unwind [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x589f35ebe630 - core::panicking::panic_fmt::hb74c170c8276d1d6 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x589f35ebea96 - core::result::unwrap_failed::hc1dbbc53e2530a6b [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/result.rs:1732:5 [INFO] [stdout] 20: 0x589f35b90a77 - core::result::Result::unwrap::h7203c67ed55f0ca4 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/result.rs:1137:23 [INFO] [stdout] 21: 0x589f35b90a77 - monsoon_hvpm::tests::test_bulk_read::he98cdd6733ee9740 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:800:26 [INFO] [stdout] 22: 0x589f35b909e7 - monsoon_hvpm::tests::test_bulk_read::{{closure}}::h863baa09f08ba90e [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:799:24 [INFO] [stdout] 23: 0x589f35b948b6 - core::ops::function::FnOnce::call_once::h0fac7beddda800d7 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x589f35bd6a9b - core::ops::function::FnOnce::call_once::h0c81d2c7e362685a [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x589f35bd6a9b - test::__rust_begin_short_backtrace::hc62049913de4b9c6 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:648:18 [INFO] [stdout] 26: 0x589f35bd5cb2 - test::run_test_in_process::{{closure}}::h906d61461feea06d [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:671:60 [INFO] [stdout] 27: 0x589f35bd5cb2 - as core::ops::function::FnOnce<()>>::call_once::h962d8c24a3ec06f1 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x589f35bd5cb2 - std::panicking::try::do_call::h88e304055018b07f [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:589:40 [INFO] [stdout] 29: 0x589f35bd5cb2 - std::panicking::try::h34046f0780b49f58 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:552:19 [INFO] [stdout] 30: 0x589f35bd5cb2 - std::panic::catch_unwind::h7d7ad4d133a51a76 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x589f35bd5cb2 - test::run_test_in_process::h0871d7f888d1f41c [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:671:27 [INFO] [stdout] 32: 0x589f35bd5cb2 - test::run_test::{{closure}}::h696f8114d8bae20e [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:592:43 [INFO] [stdout] 33: 0x589f35b990a4 - test::run_test::{{closure}}::h632082d0bd36bde1 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/test/src/lib.rs:622:41 [INFO] [stdout] 34: 0x589f35b990a4 - std::sys::backtrace::__rust_begin_short_backtrace::hf4db03c672d46ea2 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 35: 0x589f35b9cb7a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h571ce7b4ea6fba0e [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x589f35b9cb7a - as core::ops::function::FnOnce<()>>::call_once::h79478c2f2b0b4ed6 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x589f35b9cb7a - std::panicking::try::do_call::hdfb524d8b1c5ea5d [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:589:40 [INFO] [stdout] 38: 0x589f35b9cb7a - std::panicking::try::hb57ee69084fa6c6a [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panicking.rs:552:19 [INFO] [stdout] 39: 0x589f35b9cb7a - std::panic::catch_unwind::h1fcc7dadd90dd47c [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x589f35b9cb7a - std::thread::Builder::spawn_unchecked_::{{closure}}::h7201710e36d47c29 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x589f35b9cb7a - core::ops::function::FnOnce::call_once{{vtable.shim}}::ha75b12b48ae5b3d2 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x589f35e9ec2b - as core::ops::function::FnOnce>::call_once::h02517bb8c2b8e279 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 43: 0x589f35e9ec2b - as core::ops::function::FnOnce>::call_once::h760bb73d54d4c118 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x589f35e9ec2b - std::sys::pal::unix::thread::Thread::new::thread_start::h91ff250566269b77 [INFO] [stdout] at /rustc/17092ad00ed8fe1e7f81a7e38238ff70779034b1/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 45: 0x76758a0fcaa4 - [INFO] [stdout] 46: 0x76758a189a34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_bulk_read [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "f7a06de984b0b9c5c0b0e286c433f2eedd9d0e78901d9a3710113fd5c4e10455", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7a06de984b0b9c5c0b0e286c433f2eedd9d0e78901d9a3710113fd5c4e10455", kill_on_drop: false }` [INFO] [stdout] f7a06de984b0b9c5c0b0e286c433f2eedd9d0e78901d9a3710113fd5c4e10455