[INFO] fetching crate daqhats-rs 0.1.0...
[INFO] testing daqhats-rs-0.1.0 against master#2fd6efc32704647e64d3d646d21c4c68eae100e4 for pr-149852-1
[INFO] extracting crate daqhats-rs 0.1.0 into /workspace/builds/worker-6-tc1/source
[INFO] started tweaking crates.io crate daqhats-rs 0.1.0
[INFO] finished tweaking crates.io crate daqhats-rs 0.1.0
[INFO] tweaked toml for crates.io crate daqhats-rs 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate daqhats-rs 0.1.0 on toolchain 2fd6efc32704647e64d3d646d21c4c68eae100e4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate daqhats-rs 0.1.0 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" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded glob v0.3.2
[INFO] [stderr]   Downloaded clang-sys v1.8.1
[INFO] [stderr]   Downloaded libloading v0.8.8
[INFO] [stderr]   Downloaded itertools v0.13.0
[INFO] [stderr]   Downloaded bindgen v0.72.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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 280fa08f3eaa55e71f928659c44f95b50b0176dee84395e60f1478ea7357e4d8
[INFO] running `Command { std: "docker" "start" "-a" "280fa08f3eaa55e71f928659c44f95b50b0176dee84395e60f1478ea7357e4d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "280fa08f3eaa55e71f928659c44f95b50b0176dee84395e60f1478ea7357e4d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "280fa08f3eaa55e71f928659c44f95b50b0176dee84395e60f1478ea7357e4d8", kill_on_drop: false }`
[INFO] [stdout] 280fa08f3eaa55e71f928659c44f95b50b0176dee84395e60f1478ea7357e4d8
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fe876c8810f3e29bd3914ca20967837504928066f257c0b832761bae1c398ab0
[INFO] running `Command { std: "docker" "start" "-a" "fe876c8810f3e29bd3914ca20967837504928066f257c0b832761bae1c398ab0", kill_on_drop: false }`
[INFO] [stderr]    Compiling glob v0.3.2
[INFO] [stderr]    Compiling prettyplease v0.2.35
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling bindgen v0.72.0
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling rustc-hash v2.1.1
[INFO] [stderr]    Compiling libloading v0.8.8
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling daqhats-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.23s
[INFO] running `Command { std: "docker" "inspect" "fe876c8810f3e29bd3914ca20967837504928066f257c0b832761bae1c398ab0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe876c8810f3e29bd3914ca20967837504928066f257c0b832761bae1c398ab0", kill_on_drop: false }`
[INFO] [stdout] fe876c8810f3e29bd3914ca20967837504928066f257c0b832761bae1c398ab0
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b75ee82a6202c28375a4c60cdc04dd1ad488196cadfed9092e9b3f1538e707c0
[INFO] running `Command { std: "docker" "start" "-a" "b75ee82a6202c28375a4c60cdc04dd1ad488196cadfed9092e9b3f1538e707c0", kill_on_drop: false }`
[INFO] [stderr]    Compiling daqhats-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s
[INFO] running `Command { std: "docker" "inspect" "b75ee82a6202c28375a4c60cdc04dd1ad488196cadfed9092e9b3f1538e707c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b75ee82a6202c28375a4c60cdc04dd1ad488196cadfed9092e9b3f1538e707c0", kill_on_drop: false }`
[INFO] [stdout] b75ee82a6202c28375a4c60cdc04dd1ad488196cadfed9092e9b3f1538e707c0
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+2fd6efc32704647e64d3d646d21c4c68eae100e4" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 75394756e9d3bf252e9801b2f18626d007e4679bbc78221495a0c266e6cd6f59
[INFO] running `Command { std: "docker" "start" "-a" "75394756e9d3bf252e9801b2f18626d007e4679bbc78221495a0c266e6cd6f59", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/daqhats_rs-09d2aeff89e2b418)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test tests::test_check_result ... ok
[INFO] [stdout] test tests::test_constants ... ok
[INFO] [stdout] test tests::test_error_message ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests daqhats_rs
[INFO] [stdout] 
[INFO] [stdout] running 12 tests
[INFO] [stdout] test src/lib.rs - (line 21) - compile ... ok
[INFO] [stdout] test /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - mcc128_calibration_coefficient_read (line 8) ... FAILED
[INFO] [stdout] test /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - mcc118_calibration_coefficient_write (line 13) ... FAILED
[INFO] [stdout] test /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - mcc118_calibration_coefficient_read (line 7) ... FAILED
[INFO] [stdout] test /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - mcc172_calibration_coefficient_read (line 7) ... FAILED
[INFO] [stdout] test /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - mcc152_dio_output_write_port (line 14) ... FAILED
[INFO] [stdout] test /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - hat_interrupt_callback_enable (line 8) ... FAILED
[INFO] [stdout] test /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - mcc172_calibration_coefficient_write (line 13) ... FAILED
[INFO] [stdout] test /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - mcc134_calibration_coefficient_read (line 7) ... FAILED
[INFO] [stdout] test /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - mcc128_calibration_coefficient_write (line 13) ... FAILED
[INFO] [stdout] test /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - hat_list (line 15) ... FAILED
[INFO] [stdout] test /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - mcc134_calibration_coefficient_write (line 12) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - mcc128_calibration_coefficient_read (line 8) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `calibrated_ADC_code` in this scope
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]   |
[INFO] [stdout] 9 | let calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]   | +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `raw_ADC_code` in this scope
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:9:24
[INFO] [stdout]   |
[INFO] [stdout] 9 | calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]   |                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `slope` in this scope
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:9:39
[INFO] [stdout]   |
[INFO] [stdout] 9 | calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]   |                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `offset` in this scope
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:9:48
[INFO] [stdout]   |
[INFO] [stdout] 9 | calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]   |                                                ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 8 + use std::intrinsics::offset;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - mcc118_calibration_coefficient_write (line 13) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `calibrated_ADC_code` in this scope
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 14 | let calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]    | +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `raw_ADC_code` in this scope
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:14:24
[INFO] [stdout]    |
[INFO] [stdout] 14 | calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]    |                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `slope` in this scope
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:14:39
[INFO] [stdout]    |
[INFO] [stdout] 14 | calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]    |                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `offset` in this scope
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:14:48
[INFO] [stdout]    |
[INFO] [stdout] 14 | calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]    |                                                ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 13 + use std::intrinsics::offset;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - mcc118_calibration_coefficient_read (line 7) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `calibrated_ADC_code` in this scope
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]   |
[INFO] [stdout] 8 | let calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]   | +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `raw_ADC_code` in this scope
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]   |                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `slope` in this scope
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:8:39
[INFO] [stdout]   |
[INFO] [stdout] 8 | calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]   |                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `offset` in this scope
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:8:48
[INFO] [stdout]   |
[INFO] [stdout] 8 | calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]   |                                                ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 7 + use std::intrinsics::offset;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - mcc172_calibration_coefficient_read (line 7) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `calibrated_ADC_code` in this scope
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | calibrated_ADC_code = (raw_ADC_code - offset) * slope
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]   |
[INFO] [stdout] 8 | let calibrated_ADC_code = (raw_ADC_code - offset) * slope
[INFO] [stdout]   | +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `raw_ADC_code` in this scope
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | calibrated_ADC_code = (raw_ADC_code - offset) * slope
[INFO] [stdout]   |                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `offset` in this scope
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:8:39
[INFO] [stdout]   |
[INFO] [stdout] 8 | calibrated_ADC_code = (raw_ADC_code - offset) * slope
[INFO] [stdout]   |                                       ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 7 + use std::intrinsics::offset;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `slope` in this scope
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:8:49
[INFO] [stdout]   |
[INFO] [stdout] 8 | calibrated_ADC_code = (raw_ADC_code - offset) * slope
[INFO] [stdout]   |                                                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - mcc152_dio_output_write_port (line 14) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `address` in this scope
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:15:25
[INFO] [stdout]    |
[INFO] [stdout] 15 | mcc152_dio_output_write(address, 0xF0);
[INFO] [stdout]    |                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `mcc152_dio_output_write` in this scope
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:15:1
[INFO] [stdout]    |
[INFO] [stdout] 15 | mcc152_dio_output_write(address, 0xF0);
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - hat_interrupt_callback_enable (line 8) stdout ----
[INFO] [stdout] error: expected one of `!` or `::`, found `function`
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 | void function(void* user_data)
[INFO] [stdout]   |      ^^^^^^^^ expected one of `!` or `::`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - mcc172_calibration_coefficient_write (line 13) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `calibrated_ADC_code` in this scope
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | calibrated_ADC_code = (raw_ADC_code - offset) * slope
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 14 | let calibrated_ADC_code = (raw_ADC_code - offset) * slope
[INFO] [stdout]    | +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `raw_ADC_code` in this scope
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:14:24
[INFO] [stdout]    |
[INFO] [stdout] 14 | calibrated_ADC_code = (raw_ADC_code - offset) * slope
[INFO] [stdout]    |                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `offset` in this scope
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:14:39
[INFO] [stdout]    |
[INFO] [stdout] 14 | calibrated_ADC_code = (raw_ADC_code - offset) * slope
[INFO] [stdout]    |                                       ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 13 + use std::intrinsics::offset;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `slope` in this scope
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:14:49
[INFO] [stdout]    |
[INFO] [stdout] 14 | calibrated_ADC_code = (raw_ADC_code - offset) * slope
[INFO] [stdout]    |                                                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - mcc134_calibration_coefficient_read (line 7) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `calibrated_ADC_code` in this scope
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]   |
[INFO] [stdout] 8 | let calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]   | +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `raw_ADC_code` in this scope
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 | calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]   |                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `slope` in this scope
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:8:39
[INFO] [stdout]   |
[INFO] [stdout] 8 | calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]   |                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `offset` in this scope
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:8:48
[INFO] [stdout]   |
[INFO] [stdout] 8 | calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]   |                                                ^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]   |
[INFO] [stdout] 7 + use std::intrinsics::offset;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - mcc128_calibration_coefficient_write (line 13) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `calibrated_ADC_code` in this scope
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 14 | let calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]    | +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `raw_ADC_code` in this scope
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:14:24
[INFO] [stdout]    |
[INFO] [stdout] 14 | calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]    |                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `slope` in this scope
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:14:39
[INFO] [stdout]    |
[INFO] [stdout] 14 | calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]    |                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `offset` in this scope
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:14:48
[INFO] [stdout]    |
[INFO] [stdout] 14 | calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]    |                                                ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 13 + use std::intrinsics::offset;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - hat_list (line 15) stdout ----
[INFO] [stdout] error: expected `where`, `{`, `(`, or `;` after struct name, found `*`
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:18:19
[INFO] [stdout]    |
[INFO] [stdout] 18 |     struct HatInfo* list = (struct HatInfo*)malloc(count *
[INFO] [stdout]    |                   ^ expected `where`, `{`, `(`, or `;` after struct name
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `count` in this scope
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | if (count > 0)
[INFO] [stdout]    |     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - mcc134_calibration_coefficient_write (line 12) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `calibrated_ADC_code` in this scope
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to introduce a new binding
[INFO] [stdout]    |
[INFO] [stdout] 13 | let calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]    | +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `raw_ADC_code` in this scope
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:13:24
[INFO] [stdout]    |
[INFO] [stdout] 13 | calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]    |                        ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `slope` in this scope
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:13:39
[INFO] [stdout]    |
[INFO] [stdout] 13 | calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]    |                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `offset` in this scope
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs:13:48
[INFO] [stdout]    |
[INFO] [stdout] 13 | calibrated_ADC_code = (raw_ADC_code * slope) + offset
[INFO] [stdout]    |                                                ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 12 + use std::intrinsics::offset;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - hat_interrupt_callback_enable (line 8)
[INFO] [stdout]     /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - hat_list (line 15)
[INFO] [stdout]     /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - mcc118_calibration_coefficient_read (line 7)
[INFO] [stdout]     /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - mcc118_calibration_coefficient_write (line 13)
[INFO] [stdout]     /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - mcc128_calibration_coefficient_read (line 8)
[INFO] [stdout]     /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - mcc128_calibration_coefficient_write (line 13)
[INFO] [stdout]     /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - mcc134_calibration_coefficient_read (line 7)
[INFO] [stdout]     /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - mcc134_calibration_coefficient_write (line 12)
[INFO] [stdout]     /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - mcc152_dio_output_write_port (line 14)
[INFO] [stdout]     /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - mcc172_calibration_coefficient_read (line 7)
[INFO] [stdout]     /opt/rustwide/target/debug/build/daqhats-rs-37633f2b94104074/out/bindings.rs - mcc172_calibration_coefficient_write (line 13)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 1 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "75394756e9d3bf252e9801b2f18626d007e4679bbc78221495a0c266e6cd6f59", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75394756e9d3bf252e9801b2f18626d007e4679bbc78221495a0c266e6cd6f59", kill_on_drop: false }`
[INFO] [stdout] 75394756e9d3bf252e9801b2f18626d007e4679bbc78221495a0c266e6cd6f59
