[INFO] cloning repository https://github.com/thedevleon/bgt60tr13c-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thedevleon/bgt60tr13c-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthedevleon%2Fbgt60tr13c-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthedevleon%2Fbgt60tr13c-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1042a4c123734ecd32288294c56b7a196f61f6c9 [INFO] testing thedevleon/bgt60tr13c-rs against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthedevleon%2Fbgt60tr13c-rs" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/thedevleon/bgt60tr13c-rs [INFO] finished tweaking git repo https://github.com/thedevleon/bgt60tr13c-rs [INFO] tweaked toml for git repo https://github.com/thedevleon/bgt60tr13c-rs written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/thedevleon/bgt60tr13c-rs on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/thedevleon/bgt60tr13c-rs 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d280269fd87cbbed8d4f22b28e913803c3ec3f634974c7efdcd08f17ea9d407 [INFO] running `Command { std: "docker" "start" "-a" "3d280269fd87cbbed8d4f22b28e913803c3ec3f634974c7efdcd08f17ea9d407", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d280269fd87cbbed8d4f22b28e913803c3ec3f634974c7efdcd08f17ea9d407", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d280269fd87cbbed8d4f22b28e913803c3ec3f634974c7efdcd08f17ea9d407", kill_on_drop: false }` [INFO] [stdout] 3d280269fd87cbbed8d4f22b28e913803c3ec3f634974c7efdcd08f17ea9d407 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d73e811f632b3e24e0b4d8aedf5536856052400cae0ef01d304ed9151cf52db7 [INFO] running `Command { std: "docker" "start" "-a" "d73e811f632b3e24e0b4d8aedf5536856052400cae0ef01d304ed9151cf52db7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling embedded-hal-async v1.0.0 [INFO] [stderr] Compiling embedded-hal v1.0.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling bitfield-struct v0.10.1 [INFO] [stderr] Compiling bgt60trxx v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.03s [INFO] running `Command { std: "docker" "inspect" "d73e811f632b3e24e0b4d8aedf5536856052400cae0ef01d304ed9151cf52db7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d73e811f632b3e24e0b4d8aedf5536856052400cae0ef01d304ed9151cf52db7", kill_on_drop: false }` [INFO] [stdout] d73e811f632b3e24e0b4d8aedf5536856052400cae0ef01d304ed9151cf52db7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a5589447b151e3a12c5f7f2c94cb690140cc32d952e44bdaaa8e2c469df999c [INFO] running `Command { std: "docker" "start" "-a" "3a5589447b151e3a12c5f7f2c94cb690140cc32d952e44bdaaa8e2c469df999c", kill_on_drop: false }` [INFO] [stderr] Compiling bgt60trxx v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "3a5589447b151e3a12c5f7f2c94cb690140cc32d952e44bdaaa8e2c469df999c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a5589447b151e3a12c5f7f2c94cb690140cc32d952e44bdaaa8e2c469df999c", kill_on_drop: false }` [INFO] [stdout] 3a5589447b151e3a12c5f7f2c94cb690140cc32d952e44bdaaa8e2c469df999c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f69c25fe09c19350fa087c807f7dbb9421ff3a5387d647c0e3f09f1279660e9f [INFO] running `Command { std: "docker" "start" "-a" "f69c25fe09c19350fa087c807f7dbb9421ff3a5387d647c0e3f09f1279660e9f", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/bgt60trxx-2f756e7d60cbda45) [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 bgt60trxx [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/../README.md - (line 27) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/../README.md - (line 27) stdout ---- [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/../README.md:57:1 [INFO] [stdout] | [INFO] [stdout] 33 | info!("Radar frame generation started!"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/../README.md:54:1 [INFO] [stdout] | [INFO] [stdout] 30 | info!("Radar configured!"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/../README.md:51:1 [INFO] [stdout] | [INFO] [stdout] 27 | info!("Configuring radar with: {}", config); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `info` in this scope [INFO] [stdout] --> src/../README.md:48:1 [INFO] [stdout] | [INFO] [stdout] 24 | info!("Radar initialized!"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `spi_device` in this scope [INFO] [stdout] --> src/../README.md:47:49 [INFO] [stdout] | [INFO] [stdout] 23 | let mut radar = Radar::new(Variant::BGT60TR13C, spi_device, rst, irq, delay).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `rst` in this scope [INFO] [stdout] --> src/../README.md:47:61 [INFO] [stdout] | [INFO] [stdout] 23 | let mut radar = Radar::new(Variant::BGT60TR13C, spi_device, rst, irq, delay).await.unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `irq` in this scope [INFO] [stdout] --> src/../README.md:47:66 [INFO] [stdout] | [INFO] [stdout] 23 | let mut radar = Radar::new(Variant::BGT60TR13C, spi_device, rst, irq, delay).await.unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `delay` in this scope [INFO] [stdout] --> src/../README.md:47:71 [INFO] [stdout] | [INFO] [stdout] 23 | let mut radar = Radar::new(Variant::BGT60TR13C, spi_device, rst, irq, delay).await.unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `buffer` in this scope [INFO] [stdout] --> src/../README.md:60:40 [INFO] [stdout] | [INFO] [stdout] 36 | let frames = radar.get_frames(&mut buffer, &mut output).await.unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `output` in this scope [INFO] [stdout] --> src/../README.md:60:53 [INFO] [stdout] | [INFO] [stdout] 36 | let frames = radar.get_frames(&mut buffer, &mut output).await.unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:47:78 [INFO] [stdout] | [INFO] [stdout] 20 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_27_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 23 | let mut radar = Radar::new(Variant::BGT60TR13C, spi_device, rst, irq, delay).await.unwrap(); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:53:25 [INFO] [stdout] | [INFO] [stdout] 20 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_27_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 29 | radar.configure(config).await.unwrap(); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:56:15 [INFO] [stdout] | [INFO] [stdout] 20 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_27_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 32 | radar.start().await.unwrap(); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:60:61 [INFO] [stdout] | [INFO] [stdout] 20 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_27_0() { [INFO] [stdout] | ---------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 36 | let frames = radar.get_frames(&mut buffer, &mut output).await.unwrap(); [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/../README.md - (line 27) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.19s; merged doctests compilation took 0.10s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "f69c25fe09c19350fa087c807f7dbb9421ff3a5387d647c0e3f09f1279660e9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f69c25fe09c19350fa087c807f7dbb9421ff3a5387d647c0e3f09f1279660e9f", kill_on_drop: false }` [INFO] [stdout] f69c25fe09c19350fa087c807f7dbb9421ff3a5387d647c0e3f09f1279660e9f