[INFO] crate max31855 0.1.0 is already in cache [INFO] testing max31855-0.1.0 against 1.44.0 for beta-1.45-1 [INFO] extracting crate max31855 0.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate max31855 0.1.0 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate max31855 0.1.0 [INFO] finished tweaking crates.io crate max31855 0.1.0 [INFO] tweaked toml for crates.io crate max31855 0.1.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 09c0632bf1c6c4bce10c516e095b12855dfa28013302600855e65f1691ff7e98 [INFO] running `"docker" "start" "-a" "09c0632bf1c6c4bce10c516e095b12855dfa28013302600855e65f1691ff7e98"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling bit_field v0.10.0 [INFO] [stderr] Compiling max31855 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `"docker" "inspect" "09c0632bf1c6c4bce10c516e095b12855dfa28013302600855e65f1691ff7e98"` [INFO] running `"docker" "rm" "-f" "09c0632bf1c6c4bce10c516e095b12855dfa28013302600855e65f1691ff7e98"` [INFO] [stdout] 09c0632bf1c6c4bce10c516e095b12855dfa28013302600855e65f1691ff7e98 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4b1d37f0c74d4707c0ae73c28647a50df87e264cca0245c03e1312a079325797 [INFO] running `"docker" "start" "-a" "4b1d37f0c74d4707c0ae73c28647a50df87e264cca0245c03e1312a079325797"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling max31855 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `"docker" "inspect" "4b1d37f0c74d4707c0ae73c28647a50df87e264cca0245c03e1312a079325797"` [INFO] running `"docker" "rm" "-f" "4b1d37f0c74d4707c0ae73c28647a50df87e264cca0245c03e1312a079325797"` [INFO] [stdout] 4b1d37f0c74d4707c0ae73c28647a50df87e264cca0245c03e1312a079325797 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen"` [INFO] [stdout] 868255d341f50b0fbf350a919338c73ac4073bd4862f116f21c84716266131f6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "868255d341f50b0fbf350a919338c73ac4073bd4862f116f21c84716266131f6"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/max31855-a8b30ddd5585d275 [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests max31855 [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 14) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 14) stdout ---- [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found `mode` [INFO] [stdout] --> src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 11 | (sck_pin, miso_pin, mosi_pin) [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] | help: missing `,` [INFO] [stdout] 12 | mode, [INFO] [stdout] | ^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/lib.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 27 | Err(e) => info!("Err: {:?}", e), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/lib.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 26 | Ok(v) => info!("Ok: {:?}", v), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/lib.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 21 | Err(e) => info!("Err: {:?}", e), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/lib.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 20 | Ok(v) => info!("Ok: {:?}", v), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Polarity` [INFO] [stdout] --> src/lib.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 5 | polarity: Polarity::IdleLow, [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `Polarity` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Phase` [INFO] [stdout] --> src/lib.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 6 | phase: Phase::CaptureOnFirstTransition [INFO] [stdout] | ^^^^^ use of undeclared type or module `Phase` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Spi` [INFO] [stdout] --> src/lib.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 9 | let mut spi = Spi::spi2( [INFO] [stdout] | ^^^ use of undeclared type or module `Spi` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Unit` [INFO] [stdout] --> src/lib.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 19 | match spi.read_all(&mut cs_pin, Unit::Celsius) { [INFO] [stdout] | ^^^^ use of undeclared type or module `Unit` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Unit` [INFO] [stdout] --> src/lib.rs:37:46 [INFO] [stdout] | [INFO] [stdout] 25 | match spi.read_thermocouple(&mut cs_pin, Unit::Celsius) { [INFO] [stdout] | ^^^^ use of undeclared type or module `Unit` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Hertz` in this scope [INFO] [stdout] --> src/lib.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 3 | let freq: Hertz = 4.mhz().into(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Mode` in this scope [INFO] [stdout] --> src/lib.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 4 | let mode = Mode { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use embedded_hal::spi::Mode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `device` in this scope [INFO] [stdout] --> src/lib.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 10 | device.SPI2, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `sck_pin` in this scope [INFO] [stdout] --> src/lib.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 11 | (sck_pin, miso_pin, mosi_pin) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `miso_pin` in this scope [INFO] [stdout] --> src/lib.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 11 | (sck_pin, miso_pin, mosi_pin) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mosi_pin` in this scope [INFO] [stdout] --> src/lib.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 11 | (sck_pin, miso_pin, mosi_pin) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `clocks` in this scope [INFO] [stdout] --> src/lib.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 14 | clocks, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rcc` in this scope [INFO] [stdout] --> src/lib.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 15 | &mut rcc.apb1 [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `cs_pin` in this scope [INFO] [stdout] --> src/lib.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 19 | match spi.read_all(&mut cs_pin, Unit::Celsius) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `cs_pin` in this scope [INFO] [stdout] --> src/lib.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 25 | match spi.read_thermocouple(&mut cs_pin, Unit::Celsius) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mhz` found for type `{integer}` in the current scope [INFO] [stdout] --> src/lib.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 3 | let freq: Hertz = 4.mhz().into(); [INFO] [stdout] | ^^^ method not found in `{integer}` [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 14) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "868255d341f50b0fbf350a919338c73ac4073bd4862f116f21c84716266131f6"` [INFO] running `"docker" "rm" "-f" "868255d341f50b0fbf350a919338c73ac4073bd4862f116f21c84716266131f6"` [INFO] [stdout] 868255d341f50b0fbf350a919338c73ac4073bd4862f116f21c84716266131f6