[INFO] fetching crate adxl355 0.2.3...
[INFO] testing adxl355-0.2.3 against beta-2020-10-09 for beta-1.48-1
[INFO] extracting crate adxl355 0.2.3 into /workspace/builds/worker-4/source
[INFO] validating manifest of crates.io crate adxl355 0.2.3 on toolchain beta-2020-10-09
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-4/source/.cargo/config
[INFO] started tweaking crates.io crate adxl355 0.2.3
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate adxl355 0.2.3
[INFO] tweaked toml for crates.io crate adxl355 0.2.3 written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate crates.io crate adxl355 0.2.3 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-10-09" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded panic-halt v0.2.0
[INFO] [stderr]   Downloaded embedded-hal v0.2.3
[INFO] [stderr]   Downloaded as-slice v0.1.2
[INFO] [stderr]   Downloaded nb v0.1.2
[INFO] [stderr]   Downloaded micromath v1.0.0
[INFO] [stderr]   Downloaded stm32f1xx-hal v0.5.3
[INFO] [stderr]   Downloaded stm32f1 v0.9.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 29caac5efddc74ba832987a02b53ef15c1e54c7e9daad850edecb550fcb48678
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "29caac5efddc74ba832987a02b53ef15c1e54c7e9daad850edecb550fcb48678", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "29caac5efddc74ba832987a02b53ef15c1e54c7e9daad850edecb550fcb48678", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29caac5efddc74ba832987a02b53ef15c1e54c7e9daad850edecb550fcb48678", kill_on_drop: false }`
[INFO] [stdout] 29caac5efddc74ba832987a02b53ef15c1e54c7e9daad850edecb550fcb48678
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 922b3110fa570874848dff7e232571f146be96d988e492360ff7f8819cbd1c86
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "922b3110fa570874848dff7e232571f146be96d988e492360ff7f8819cbd1c86", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]    Compiling nb v0.1.2
[INFO] [stderr]    Compiling adxl355 v0.2.3 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling void v1.0.2
[INFO] [stderr]    Compiling embedded-hal v0.2.3
[INFO] [stderr]    Compiling generic-array v0.13.2
[INFO] [stderr]    Compiling micromath v1.0.0
[INFO] [stderr]    Compiling accelerometer v0.11.0
[INFO] [stderr]     Finished dev [optimized + debuginfo] target(s) in 4.78s
[INFO] running `Command { std: "docker" "inspect" "922b3110fa570874848dff7e232571f146be96d988e492360ff7f8819cbd1c86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "922b3110fa570874848dff7e232571f146be96d988e492360ff7f8819cbd1c86", kill_on_drop: false }`
[INFO] [stdout] 922b3110fa570874848dff7e232571f146be96d988e492360ff7f8819cbd1c86
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 44f0e8c760208b400b00e9d218eb187208ea7419d557434772c1b28dceeb3038
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "44f0e8c760208b400b00e9d218eb187208ea7419d557434772c1b28dceeb3038", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.8
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.14
[INFO] [stderr]    Compiling cortex-m v0.6.2
[INFO] [stderr]    Compiling stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling cortex-m-rt v0.6.12
[INFO] [stderr]    Compiling vcell v0.1.2
[INFO] [stderr]    Compiling stm32f1 v0.9.0
[INFO] [stderr]    Compiling r0 v0.2.2
[INFO] [stderr]    Compiling panic-halt v0.2.0
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling bare-metal v0.2.5
[INFO] [stderr]    Compiling cast v0.2.3
[INFO] [stderr]    Compiling volatile-register v0.2.0
[INFO] [stderr]    Compiling as-slice v0.1.2
[INFO] [stderr]    Compiling adxl355 v0.2.3 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling aligned v0.3.2
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling cortex-m-rt-macros v0.1.8
[INFO] [stderr]    Compiling stm32f1xx-hal v0.5.3
[INFO] [stderr]     Finished test [optimized + debuginfo] target(s) in 1m 00s
[INFO] running `Command { std: "docker" "inspect" "44f0e8c760208b400b00e9d218eb187208ea7419d557434772c1b28dceeb3038", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "44f0e8c760208b400b00e9d218eb187208ea7419d557434772c1b28dceeb3038", kill_on_drop: false }`
[INFO] [stdout] 44f0e8c760208b400b00e9d218eb187208ea7419d557434772c1b28dceeb3038
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-10-09" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] caa5da0acb331862f92e4844b213cef3936573665774ffc6ef40d02e27a64c7e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "caa5da0acb331862f92e4844b213cef3936573665774ffc6ef40d02e27a64c7e", kill_on_drop: false }`
[INFO] [stderr]     Finished test [optimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/adxl355-b3ea688beca65862
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests adxl355
[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] [stderr] error: test failed, to rerun pass '--doc'
[INFO] [stdout] test src/lib.rs - (line 16) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 16) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `spi` in this scope
[INFO] [stdout]  --> src/lib.rs:21:42
[INFO] [stdout]   |
[INFO] [stdout] 8 | let mut accelerometer = Adxl355::default(spi, cs)?;
[INFO] [stdout]   |                                          ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cs` in this scope
[INFO] [stdout]  --> src/lib.rs:21:47
[INFO] [stdout]   |
[INFO] [stdout] 8 | let mut accelerometer = Adxl355::default(spi, cs)?;
[INFO] [stdout]   |                                               ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `spi` in this scope
[INFO] [stdout]   --> src/lib.rs:33:18
[INFO] [stdout]    |
[INFO] [stdout] 20 |     Adxl355::new(spi, cs,
[INFO] [stdout]    |                  ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `cs` in this scope
[INFO] [stdout]   --> src/lib.rs:33:23
[INFO] [stdout]    |
[INFO] [stdout] 20 |     Adxl355::new(spi, cs,
[INFO] [stdout]    |                       ^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: duplicate lang item in crate `panic_halt`: `panic_impl`.
[INFO] [stdout]   |
[INFO] [stdout]   = note: the lang item is first defined in crate `std` (which `rust_out` depends on)
[INFO] [stdout]   = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/beta-2020-10-09-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3532beb752f910d7.so, /opt/rustwide/rustup-home/toolchains/beta-2020-10-09-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-3532beb752f910d7.rlib
[INFO] [stdout]   = note: second definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-93afa18a400b3bf7.rlib
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `Try`)
[INFO] [stdout]   --> src/lib.rs:21:25
[INFO] [stdout]    |
[INFO] [stdout] 4  | / fn main() {
[INFO] [stdout] 5  | | use adxl355::{Adxl355, Config as ADXLConfig, ODR_LPF, Range, Accelerometer};
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | // to create sensor with default configuration:
[INFO] [stdout] 8  | | let mut accelerometer = Adxl355::default(spi, cs)?;
[INFO] [stdout]    | |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |                     .range(Range::_2G))?;
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]    = note: required by `from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `Try`)
[INFO] [stdout]   --> src/lib.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 4  | / fn main() {
[INFO] [stdout] 5  | | use adxl355::{Adxl355, Config as ADXLConfig, ODR_LPF, Range, Accelerometer};
[INFO] [stdout] 6  | |
[INFO] [stdout] 7  | | // to create sensor with default configuration:
[INFO] [stdout] ...  |
[INFO] [stdout] 14 | | let accel = accelerometer.accel_norm()?;
[INFO] [stdout]    | |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |                     .range(Range::_2G))?;
[INFO] [stdout] 24 | | }
[INFO] [stdout]    | |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]    = note: required by `from_error`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `Try`)
[INFO] [stdout]   --> src/lib.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 4  |  / fn main() {
[INFO] [stdout] 5  |  | use adxl355::{Adxl355, Config as ADXLConfig, ODR_LPF, Range, Accelerometer};
[INFO] [stdout] 6  |  |
[INFO] [stdout] 7  |  | // to create sensor with default configuration:
[INFO] [stdout] ...   |
[INFO] [stdout] 20 | /|     Adxl355::new(spi, cs,
[INFO] [stdout] 21 | ||                     ADXLConfig::new()
[INFO] [stdout] 22 | ||                     .odr(ODR_LPF::ODR_31_25_Hz)
[INFO] [stdout] 23 | ||                     .range(Range::_2G))?;
[INFO] [stdout]    | ||________________________________________^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] 24 |  | }
[INFO] [stdout]    |  |_- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Try` is not implemented for `()`
[INFO] [stdout]    = note: required by `from_error`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 16)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "caa5da0acb331862f92e4844b213cef3936573665774ffc6ef40d02e27a64c7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "caa5da0acb331862f92e4844b213cef3936573665774ffc6ef40d02e27a64c7e", kill_on_drop: false }`
[INFO] [stdout] caa5da0acb331862f92e4844b213cef3936573665774ffc6ef40d02e27a64c7e
