[INFO] cloning repository https://github.com/andergisomon/hc-sr04-gpio-cdev
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andergisomon/hc-sr04-gpio-cdev" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandergisomon%2Fhc-sr04-gpio-cdev", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandergisomon%2Fhc-sr04-gpio-cdev'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ba9f048a01e469709a2aa28baeb7f5405298eb99
[INFO] checking andergisomon/hc-sr04-gpio-cdev against try#50f413885985a8b0a0b6ca0766a0aedd45304953 for pr-155657-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandergisomon%2Fhc-sr04-gpio-cdev" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/andergisomon/hc-sr04-gpio-cdev
[INFO] removed 0 missing examples
[INFO] finished tweaking git repo https://github.com/andergisomon/hc-sr04-gpio-cdev
[INFO] tweaked toml for git repo https://github.com/andergisomon/hc-sr04-gpio-cdev written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/andergisomon/hc-sr04-gpio-cdev on toolchain 50f413885985a8b0a0b6ca0766a0aedd45304953
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/andergisomon/hc-sr04-gpio-cdev 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" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 000e96e74f1f9d334b992236bc84b759c6400e1228244b9361399e161682e72f
[INFO] running `Command { std: "docker" "start" "-a" "000e96e74f1f9d334b992236bc84b759c6400e1228244b9361399e161682e72f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "000e96e74f1f9d334b992236bc84b759c6400e1228244b9361399e161682e72f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "000e96e74f1f9d334b992236bc84b759c6400e1228244b9361399e161682e72f", kill_on_drop: false }`
[INFO] [stdout] 000e96e74f1f9d334b992236bc84b759c6400e1228244b9361399e161682e72f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+50f413885985a8b0a0b6ca0766a0aedd45304953" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5923ac38a7db58da824020c49340814b01960bbdb2f324292b0177737fe237de
[INFO] running `Command { std: "docker" "start" "-a" "5923ac38a7db58da824020c49340814b01960bbdb2f324292b0177737fe237de", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]     Checking cfg-if v1.0.3
[INFO] [stderr]     Checking bitflags v2.9.4
[INFO] [stderr]     Checking nix v0.27.1
[INFO] [stderr]     Checking gpio-cdev v0.6.0
[INFO] [stderr]     Checking hcsr04-gpio-cdev v0.1.4 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `hcsr04`
[INFO] [stdout]  --> usage_example/example.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use hcsr04::*;
[INFO] [stdout]   |     ^^^^^^ use of unresolved module or unlinked crate `hcsr04`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `hcsr04`, use `cargo add hcsr04` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> usage_example/example.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | /     loop {
[INFO] [stdout] 11 | |         let distance = hcsr04.dist_cm(None)?;
[INFO] [stdout] 12 | |         println!("Distance: {:05.2}cm", distance.to_val());
[INFO] [stdout] 13 | |         sleep(Duration::from_secs_f32(0.2));
[INFO] [stdout] 14 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 15 |       Ok(())
[INFO] [stdout]    |       ^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hcsr04-gpio-cdev` (example "hcsr04_xmpl") due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "5923ac38a7db58da824020c49340814b01960bbdb2f324292b0177737fe237de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5923ac38a7db58da824020c49340814b01960bbdb2f324292b0177737fe237de", kill_on_drop: false }`
[INFO] [stdout] 5923ac38a7db58da824020c49340814b01960bbdb2f324292b0177737fe237de
