[INFO] fetching crate max31856 0.0.1...
[INFO] testing max31856-0.0.1 against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] extracting crate max31856 0.0.1 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate max31856 0.0.1
[INFO] finished tweaking crates.io crate max31856 0.0.1
[INFO] tweaked toml for crates.io crate max31856 0.0.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate max31856 0.0.1 on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate max31856 0.0.1 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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ba085c122d1bac7956ebeff5bb222a73a06cb84b72461e3a42c5da3decdad3f8
[INFO] running `Command { std: "docker" "start" "-a" "ba085c122d1bac7956ebeff5bb222a73a06cb84b72461e3a42c5da3decdad3f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ba085c122d1bac7956ebeff5bb222a73a06cb84b72461e3a42c5da3decdad3f8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ba085c122d1bac7956ebeff5bb222a73a06cb84b72461e3a42c5da3decdad3f8", kill_on_drop: false }`
[INFO] [stdout] ba085c122d1bac7956ebeff5bb222a73a06cb84b72461e3a42c5da3decdad3f8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 855997f96b7cae4f01dfd6bdf1a3e5916212ada3e90e56ba8858e65bb209f656
[INFO] running `Command { std: "docker" "start" "-a" "855997f96b7cae4f01dfd6bdf1a3e5916212ada3e90e56ba8858e65bb209f656", kill_on_drop: false }`
[INFO] [stderr]    Compiling nb v1.0.0
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling nb v0.1.3
[INFO] [stderr]    Compiling embedded-hal v0.2.4
[INFO] [stderr]    Compiling max31856 v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.44s
[INFO] running `Command { std: "docker" "inspect" "855997f96b7cae4f01dfd6bdf1a3e5916212ada3e90e56ba8858e65bb209f656", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "855997f96b7cae4f01dfd6bdf1a3e5916212ada3e90e56ba8858e65bb209f656", kill_on_drop: false }`
[INFO] [stdout] 855997f96b7cae4f01dfd6bdf1a3e5916212ada3e90e56ba8858e65bb209f656
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e4df7a7ddf01833a70dd48fcc35f6380bd3f5cb756586dd4f1c3b61473cf3b22
[INFO] running `Command { std: "docker" "start" "-a" "e4df7a7ddf01833a70dd48fcc35f6380bd3f5cb756586dd4f1c3b61473cf3b22", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.81
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling embedded-hal-mock v0.7.2
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling cast v0.2.3
[INFO] [stderr]    Compiling ioctl-rs v0.1.6
[INFO] [stderr]    Compiling termios v0.2.2
[INFO] [stderr]    Compiling serial-core v0.4.0
[INFO] [stderr]    Compiling serial-unix v0.4.0
[INFO] [stderr]    Compiling sysfs_gpio v0.5.4
[INFO] [stderr]    Compiling spidev v0.4.0
[INFO] [stderr]    Compiling i2cdev v0.4.4
[INFO] [stderr]    Compiling linux-embedded-hal v0.3.0
[INFO] [stderr]    Compiling max31856 v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 5.70s
[INFO] running `Command { std: "docker" "inspect" "e4df7a7ddf01833a70dd48fcc35f6380bd3f5cb756586dd4f1c3b61473cf3b22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e4df7a7ddf01833a70dd48fcc35f6380bd3f5cb756586dd4f1c3b61473cf3b22", kill_on_drop: false }`
[INFO] [stdout] e4df7a7ddf01833a70dd48fcc35f6380bd3f5cb756586dd4f1c3b61473cf3b22
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c54ad3311f49706e51bb063ed20e38cdd3b2b3c2e789dd253a06029b243a4397
[INFO] running `Command { std: "docker" "start" "-a" "c54ad3311f49706e51bb063ed20e38cdd3b2b3c2e789dd253a06029b243a4397", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/max31856-bc6953103169bb24)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test internal::can_extract_max31856_c0_c1 ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/integration.rs (/opt/rustwide/target/debug/deps/integration-de301c68ce53e100)
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test can_create_max31856_options ... ok
[INFO] [stdout] test can_read_temperature_normally_off ... ok
[INFO] [stdout] test can_send_configuration ... ok
[INFO] [stdout] test can_read_negative_temperature_normally_off ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests max31856
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - (line 28) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 28) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `extern`
[INFO] [stdout]   --> src/lib.rs:28:22
[INFO] [stdout]    |
[INFO] [stdout] 28 | extern crate max31856
[INFO] [stdout]    |                      ^ help: add `;` here
[INFO] [stdout] 29 | extern crate linux_embedded_hal
[INFO] [stdout]    | ------ unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found keyword `fn`
[INFO] [stdout]   --> src/lib.rs:29:32
[INFO] [stdout]    |
[INFO] [stdout] 29 | extern crate linux_embedded_hal
[INFO] [stdout]    |                                ^ help: add `;` here
[INFO] [stdout] 30 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_28_0() {
[INFO] [stdout]    | -- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: format argument must be a string literal
[INFO] [stdout]   --> src/lib.rs:38:10
[INFO] [stdout]    |
[INFO] [stdout] 38 | println!(sensor.temperature().unwrap());
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a string literal to format with
[INFO] [stdout]    |
[INFO] [stdout] 38 | println!("{}", sensor.temperature().unwrap());
[INFO] [stdout]    |          +++++
[INFO] [stdout] 
[INFO] [stdout] error: format argument must be a string literal
[INFO] [stdout]   --> src/lib.rs:41:10
[INFO] [stdout]    |
[INFO] [stdout] 41 | println!(sensor.temperature().unwrap());
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might be missing a string literal to format with
[INFO] [stdout]    |
[INFO] [stdout] 41 | println!("{}", sensor.temperature().unwrap());
[INFO] [stdout]    |          +++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Spidev` in this scope
[INFO] [stdout]   --> src/lib.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 | let spi = Spidev::open("/dev/spidev0.0").unwrap();
[INFO] [stdout]    |           ^^^^^^ use of undeclared type `Spidev`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 28 + use linux_embedded_hal::Spidev;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pin` in this scope
[INFO] [stdout]   --> src/lib.rs:32:10
[INFO] [stdout]    |
[INFO] [stdout] 32 | let cs = Pin::new(25);
[INFO] [stdout]    |          ^^^ use of undeclared type `Pin`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 28 + use std::pin::Pin;
[INFO] [stdout]    |
[INFO] [stdout] 28 + use linux_embedded_hal::Pin;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Pin` in this scope
[INFO] [stdout]   --> src/lib.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 | let fault = Pin::new(23); //Fault pin is unused
[INFO] [stdout]    |             ^^^ use of undeclared type `Pin`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 28 + use std::pin::Pin;
[INFO] [stdout]    |
[INFO] [stdout] 28 + use linux_embedded_hal::Pin;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Max31856` in this scope
[INFO] [stdout]   --> src/lib.rs:34:18
[INFO] [stdout]    |
[INFO] [stdout] 34 | let mut sensor = Max31856::new(spi, cs, fault);
[INFO] [stdout]    |                  ^^^^^^^^ use of undeclared type `Max31856`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 28 + use max31856::Max31856;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 28)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "c54ad3311f49706e51bb063ed20e38cdd3b2b3c2e789dd253a06029b243a4397", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c54ad3311f49706e51bb063ed20e38cdd3b2b3c2e789dd253a06029b243a4397", kill_on_drop: false }`
[INFO] [stdout] c54ad3311f49706e51bb063ed20e38cdd3b2b3c2e789dd253a06029b243a4397
