[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 master#cf79d034aa3d8f396d407aafce6f1ccd818e710e 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-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/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-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/andergisomon/hc-sr04-gpio-cdev on toolchain cf79d034aa3d8f396d407aafce6f1ccd818e710e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "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" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded gpio-cdev v0.6.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8204d12452f635d9a4365cbf19203154ff63d9d29a2d89e9a630bdf59b71ce34
[INFO] running `Command { std: "docker" "start" "-a" "8204d12452f635d9a4365cbf19203154ff63d9d29a2d89e9a630bdf59b71ce34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8204d12452f635d9a4365cbf19203154ff63d9d29a2d89e9a630bdf59b71ce34", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8204d12452f635d9a4365cbf19203154ff63d9d29a2d89e9a630bdf59b71ce34", kill_on_drop: false }`
[INFO] [stdout] 8204d12452f635d9a4365cbf19203154ff63d9d29a2d89e9a630bdf59b71ce34
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+cf79d034aa3d8f396d407aafce6f1ccd818e710e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 03351681b2c7b78f48f74e749f5b1cce11a3977da8ffa32a4bc508d0611c9f60
[INFO] running `Command { std: "docker" "start" "-a" "03351681b2c7b78f48f74e749f5b1cce11a3977da8ffa32a4bc508d0611c9f60", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]     Checking bitflags v2.9.4
[INFO] [stderr]     Checking cfg-if v1.0.3
[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" "03351681b2c7b78f48f74e749f5b1cce11a3977da8ffa32a4bc508d0611c9f60", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "03351681b2c7b78f48f74e749f5b1cce11a3977da8ffa32a4bc508d0611c9f60", kill_on_drop: false }`
[INFO] [stdout] 03351681b2c7b78f48f74e749f5b1cce11a3977da8ffa32a4bc508d0611c9f60
