[INFO] crate max31855 0.1.0 is already in cache [INFO] testing max31855-0.1.0 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate max31855 0.1.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate max31855 0.1.0 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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-14/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stdout] 10c442b969283909251ad03241b8371b266def3584dfa43cffcf7066cd72a4ca [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" "10c442b969283909251ad03241b8371b266def3584dfa43cffcf7066cd72a4ca"` [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.86s [INFO] running `"docker" "inspect" "10c442b969283909251ad03241b8371b266def3584dfa43cffcf7066cd72a4ca"` [INFO] running `"docker" "rm" "-f" "10c442b969283909251ad03241b8371b266def3584dfa43cffcf7066cd72a4ca"` [INFO] [stdout] 10c442b969283909251ad03241b8371b266def3584dfa43cffcf7066cd72a4ca [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stdout] bc9dca532f47ef9cee63f3fe7352e1737dcd48b7aa4e5f7def08c322b1ae6731 [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" "bc9dca532f47ef9cee63f3fe7352e1737dcd48b7aa4e5f7def08c322b1ae6731"` [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.70s [INFO] running `"docker" "inspect" "bc9dca532f47ef9cee63f3fe7352e1737dcd48b7aa4e5f7def08c322b1ae6731"` [INFO] running `"docker" "rm" "-f" "bc9dca532f47ef9cee63f3fe7352e1737dcd48b7aa4e5f7def08c322b1ae6731"` [INFO] [stdout] bc9dca532f47ef9cee63f3fe7352e1737dcd48b7aa4e5f7def08c322b1ae6731 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+beta-2020-06-03" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1dd5c1acdb598e99de3f55afd6e28363d7eaf7d27f15ed9a721eaade62581bd4 [INFO] running `"docker" "start" "-a" "1dd5c1acdb598e99de3f55afd6e28363d7eaf7d27f15ed9a721eaade62581bd4"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/max31855-4479535f80b30103 [INFO] [stderr] Doc-tests max31855 [INFO] [stdout] [INFO] [stdout] running 0 tests [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: consider importing this struct [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" "1dd5c1acdb598e99de3f55afd6e28363d7eaf7d27f15ed9a721eaade62581bd4"` [INFO] running `"docker" "rm" "-f" "1dd5c1acdb598e99de3f55afd6e28363d7eaf7d27f15ed9a721eaade62581bd4"` [INFO] [stdout] 1dd5c1acdb598e99de3f55afd6e28363d7eaf7d27f15ed9a721eaade62581bd4