[INFO] cloning repository https://github.com/dotcypress/st7032i [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dotcypress/st7032i" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdotcypress%2Fst7032i", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdotcypress%2Fst7032i'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2eaf63af371652660b98c12bfb1702b303ef9cf7 [INFO] testing dotcypress/st7032i against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdotcypress%2Fst7032i" "/workspace/builds/worker-58/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-58/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dotcypress/st7032i on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dotcypress/st7032i [INFO] finished tweaking git repo https://github.com/dotcypress/st7032i [INFO] tweaked toml for git repo https://github.com/dotcypress/st7032i written to /workspace/builds/worker-58/source/Cargo.toml [INFO] crate git repo https://github.com/dotcypress/st7032i already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebcde9a8990de98cb65d34dc236bb47a5b6d0e1a5005c0efccd27c6d3c9f455e [INFO] running `Command { std: "docker" "start" "-a" "ebcde9a8990de98cb65d34dc236bb47a5b6d0e1a5005c0efccd27c6d3c9f455e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebcde9a8990de98cb65d34dc236bb47a5b6d0e1a5005c0efccd27c6d3c9f455e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebcde9a8990de98cb65d34dc236bb47a5b6d0e1a5005c0efccd27c6d3c9f455e", kill_on_drop: false }` [INFO] [stdout] ebcde9a8990de98cb65d34dc236bb47a5b6d0e1a5005c0efccd27c6d3c9f455e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59f5a459f6ea190fd851d94dd497992608b9926f3a723344e4a220d029dcefd9 [INFO] running `Command { std: "docker" "start" "-a" "59f5a459f6ea190fd851d94dd497992608b9926f3a723344e4a220d029dcefd9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling nb v0.1.2 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling embedded-hal v0.2.3 [INFO] [stderr] Compiling st7032i v0.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.68s [INFO] running `Command { std: "docker" "inspect" "59f5a459f6ea190fd851d94dd497992608b9926f3a723344e4a220d029dcefd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59f5a459f6ea190fd851d94dd497992608b9926f3a723344e4a220d029dcefd9", kill_on_drop: false }` [INFO] [stdout] 59f5a459f6ea190fd851d94dd497992608b9926f3a723344e4a220d029dcefd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca021c8e56e1702209610407f072b64d9ace039af7c53702d46e45fe1c839863 [INFO] running `Command { std: "docker" "start" "-a" "ca021c8e56e1702209610407f072b64d9ace039af7c53702d46e45fe1c839863", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling bitflags v0.3.3 [INFO] [stderr] Compiling cast v0.2.2 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Compiling spidev v0.3.0 [INFO] [stderr] Compiling i2cdev v0.4.2 [INFO] [stderr] Compiling sysfs_gpio v0.5.4 [INFO] [stderr] Compiling linux-embedded-hal v0.2.2 [INFO] [stderr] Compiling st7032i v0.0.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.33s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/st7032i-c0362d2cd1f077c8) [INFO] running `Command { std: "docker" "inspect" "ca021c8e56e1702209610407f072b64d9ace039af7c53702d46e45fe1c839863", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca021c8e56e1702209610407f072b64d9ace039af7c53702d46e45fe1c839863", kill_on_drop: false }` [INFO] [stdout] ca021c8e56e1702209610407f072b64d9ace039af7c53702d46e45fe1c839863 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 26d13cf8513fbede535f1204adda465ce235aa41675d4d69e87918ec84bc17ff [INFO] running `Command { std: "docker" "start" "-a" "26d13cf8513fbede535f1204adda465ce235aa41675d4d69e87918ec84bc17ff", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 45.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/st7032i-c0362d2cd1f077c8) [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; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests st7032i [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 23) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 16) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 23) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:29:36 [INFO] [stdout] | [INFO] [stdout] 7 | / fn main() { [INFO] [stdout] 8 | | let dev = I2cdev::new("/dev/i2c-1")?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 9 | | let mut display = ST7032i::new(dev, Delay, 2); [INFO] [stdout] 10 | | display.init()?; [INFO] [stdout] ... | [INFO] [stdout] 13 | | write!(display, "Rust")?; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [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 `FromResidual`) [INFO] [stdout] --> src/lib.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 7 | / fn main() { [INFO] [stdout] 8 | | let dev = I2cdev::new("/dev/i2c-1")?; [INFO] [stdout] 9 | | let mut display = ST7032i::new(dev, Delay, 2); [INFO] [stdout] 10 | | display.init()?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 13 | | write!(display, "Rust")?; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [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 `FromResidual`) [INFO] [stdout] --> src/lib.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 7 | / fn main() { [INFO] [stdout] 8 | | let dev = I2cdev::new("/dev/i2c-1")?; [INFO] [stdout] 9 | | let mut display = ST7032i::new(dev, Delay, 2); [INFO] [stdout] 10 | | display.init()?; [INFO] [stdout] 11 | | write!(display, "Hello")?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 12 | | display.move_cursor(1, 0)?; [INFO] [stdout] 13 | | write!(display, "Rust")?; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [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 `FromResidual`) [INFO] [stdout] --> src/lib.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 7 | / fn main() { [INFO] [stdout] 8 | | let dev = I2cdev::new("/dev/i2c-1")?; [INFO] [stdout] 9 | | let mut display = ST7032i::new(dev, Delay, 2); [INFO] [stdout] 10 | | display.init()?; [INFO] [stdout] 11 | | write!(display, "Hello")?; [INFO] [stdout] 12 | | display.move_cursor(1, 0)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 13 | | write!(display, "Rust")?; [INFO] [stdout] 14 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [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 `FromResidual`) [INFO] [stdout] --> src/lib.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 7 | / fn main() { [INFO] [stdout] 8 | | let dev = I2cdev::new("/dev/i2c-1")?; [INFO] [stdout] 9 | | let mut display = ST7032i::new(dev, Delay, 2); [INFO] [stdout] 10 | | display.init()?; [INFO] [stdout] ... | [INFO] [stdout] 13 | | write!(display, "Rust")?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 14 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 23) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.65s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "26d13cf8513fbede535f1204adda465ce235aa41675d4d69e87918ec84bc17ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26d13cf8513fbede535f1204adda465ce235aa41675d4d69e87918ec84bc17ff", kill_on_drop: false }` [INFO] [stdout] 26d13cf8513fbede535f1204adda465ce235aa41675d4d69e87918ec84bc17ff