[INFO] cloning repository https://github.com/debanjanbasu/platypus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/debanjanbasu/platypus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdebanjanbasu%2Fplatypus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdebanjanbasu%2Fplatypus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 956e535ede9dba46dada3c34ea1a2f2a4d308939 [INFO] checking debanjanbasu/platypus/956e535ede9dba46dada3c34ea1a2f2a4d308939 against master#0e517d38ad0e72f93c734b14fabd4bb9b7441de6 for pr-140557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdebanjanbasu%2Fplatypus" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/debanjanbasu/platypus on toolchain 0e517d38ad0e72f93c734b14fabd4bb9b7441de6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/debanjanbasu/platypus [INFO] finished tweaking git repo https://github.com/debanjanbasu/platypus [INFO] tweaked toml for git repo https://github.com/debanjanbasu/platypus written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/debanjanbasu/platypus 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" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded swift-bridge-build v0.1.57 [INFO] [stderr] Downloaded swift-bridge-macro v0.1.57 [INFO] [stderr] Downloaded swift-bridge-ir v0.1.57 [INFO] [stderr] Downloaded swift-bridge v0.1.57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a178550acad47cdc406f1576476ef7151ba94511c29f0cf51ce5b6eaf7e1db55 [INFO] running `Command { std: "docker" "start" "-a" "a178550acad47cdc406f1576476ef7151ba94511c29f0cf51ce5b6eaf7e1db55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a178550acad47cdc406f1576476ef7151ba94511c29f0cf51ce5b6eaf7e1db55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a178550acad47cdc406f1576476ef7151ba94511c29f0cf51ce5b6eaf7e1db55", kill_on_drop: false }` [INFO] [stdout] a178550acad47cdc406f1576476ef7151ba94511c29f0cf51ce5b6eaf7e1db55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0e517d38ad0e72f93c734b14fabd4bb9b7441de6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f33cb2d9452dd882ad8c5fc3054e95b8b57e37c0605c4f62fa6b4a951515f8e [INFO] running `Command { std: "docker" "start" "-a" "1f33cb2d9452dd882ad8c5fc3054e95b8b57e37c0605c4f62fa6b4a951515f8e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling swift-bridge-ir v0.1.57 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling swift-bridge-build v0.1.57 [INFO] [stderr] Compiling swift-bridge-macro v0.1.57 [INFO] [stderr] Checking swift-bridge v0.1.57 [INFO] [stderr] Compiling biometric v0.1.0 (/opt/rustwide/workdir/biometric) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> biometric/build.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | if !Path::new(&swift_lib_path).exists() { [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> biometric/build.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 98 | / if !Path::new(&swift_lib_path).exists() { [INFO] [stdout] 99 | | Err(BuildError::SwiftLibraryNotFoundInLinux) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Result<_, BuildError>` [INFO] [stdout] 100 | | } [INFO] [stdout] | |_________- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<_, BuildError>` [INFO] [stdout] note: return type inferred to be `()` here [INFO] [stdout] --> biometric/build.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | .write_all_concatenated(swift_bridge_out_dir()?, "rust-calls-swift"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `biometric` (build script) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "1f33cb2d9452dd882ad8c5fc3054e95b8b57e37c0605c4f62fa6b4a951515f8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f33cb2d9452dd882ad8c5fc3054e95b8b57e37c0605c4f62fa6b4a951515f8e", kill_on_drop: false }` [INFO] [stdout] 1f33cb2d9452dd882ad8c5fc3054e95b8b57e37c0605c4f62fa6b4a951515f8e