[INFO] cloning repository https://github.com/matthew-hagemann/dht22_reader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matthew-hagemann/dht22_reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthew-hagemann%2Fdht22_reader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthew-hagemann%2Fdht22_reader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fe53b48243d20e012f7cd37b9ef86e57c829a4be [INFO] checking matthew-hagemann/dht22_reader against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatthew-hagemann%2Fdht22_reader" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/matthew-hagemann/dht22_reader [INFO] finished tweaking git repo https://github.com/matthew-hagemann/dht22_reader [INFO] tweaked toml for git repo https://github.com/matthew-hagemann/dht22_reader written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/matthew-hagemann/dht22_reader on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/matthew-hagemann/dht22_reader 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65cd1ed3cdfacc8f86b191402f6d4873f07dea2b5612d11c2553e898a05abc81 [INFO] running `Command { std: "docker" "start" "-a" "65cd1ed3cdfacc8f86b191402f6d4873f07dea2b5612d11c2553e898a05abc81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65cd1ed3cdfacc8f86b191402f6d4873f07dea2b5612d11c2553e898a05abc81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65cd1ed3cdfacc8f86b191402f6d4873f07dea2b5612d11c2553e898a05abc81", kill_on_drop: false }` [INFO] [stdout] 65cd1ed3cdfacc8f86b191402f6d4873f07dea2b5612d11c2553e898a05abc81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 553d49c3f46bf9888d1ace9d7bd198657e6fa4682366c77dbd3e610831698f90 [INFO] running `Command { std: "docker" "start" "-a" "553d49c3f46bf9888d1ace9d7bd198657e6fa4682366c77dbd3e610831698f90", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.17 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling libc v0.2.170 [INFO] [stderr] Compiling prettyplease v0.2.29 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bindgen v0.72.0 [INFO] [stderr] Compiling either v1.14.0 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling thiserror v2.0.15 [INFO] [stderr] Compiling simple_test_case v1.3.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking quote v1.0.38 [INFO] [stderr] Checking syn v2.0.98 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking cexpr v0.6.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling thiserror-impl v2.0.15 [INFO] [stderr] Compiling dht22_reader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> build.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> build.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gpiod.rs:130:47 [INFO] [stdout] | [INFO] [stdout] 130 | let result = unsafe { gpiod_chip_open(ptr) }; [INFO] [stdout] | --------------- ^^^ expected `*const i8`, found `*const u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const i8` [INFO] [stdout] found raw pointer `*const u8` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/bindings/bindings.rs:234:12 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn gpiod_chip_open(path: *const ::std::os::raw::c_char) -> *mut gpiod_chip; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ---- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/gpiod.rs:130:47 [INFO] [stdout] | [INFO] [stdout] 130 | let result = unsafe { gpiod_chip_open(ptr) }; [INFO] [stdout] | --------------- ^^^ expected `*const i8`, found `*const u8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const i8` [INFO] [stdout] found raw pointer `*const u8` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/bindings/bindings.rs:234:12 [INFO] [stdout] | [INFO] [stdout] 234 | pub fn gpiod_chip_open(path: *const ::std::os::raw::c_char) -> *mut gpiod_chip; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ---- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | let chip = match gpiod.chip(path_ptr) { [INFO] [stdout] | ---- ^^^^^^^^ expected `*const u8`, found `*const i8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const u8` [INFO] [stdout] found raw pointer `*const i8` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/gpiod.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn chip(&self, ptr: *const u8) -> Result<*mut gpiod_chip, GpiodError>; [INFO] [stdout] | ^^^^ --- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | let chip = match gpiod.chip(path_ptr) { [INFO] [stdout] | ---- ^^^^^^^^ expected `*const u8`, found `*const i8` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected raw pointer `*const u8` [INFO] [stdout] found raw pointer `*const i8` [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/gpiod.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 61 | fn chip(&self, ptr: *const u8) -> Result<*mut gpiod_chip, GpiodError>; [INFO] [stdout] | ^^^^ --- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dht22_reader` (bin "dht22_reader") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dht22_reader` (bin "dht22_reader" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "553d49c3f46bf9888d1ace9d7bd198657e6fa4682366c77dbd3e610831698f90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "553d49c3f46bf9888d1ace9d7bd198657e6fa4682366c77dbd3e610831698f90", kill_on_drop: false }` [INFO] [stdout] 553d49c3f46bf9888d1ace9d7bd198657e6fa4682366c77dbd3e610831698f90