[INFO] cloning repository https://github.com/kea-run/buildpack-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kea-run/buildpack-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkea-run%2Fbuildpack-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkea-run%2Fbuildpack-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c1481bd8cdfe354c881aa3310a5f215a3ed9a3e [INFO] checking kea-run/buildpack-rust against master#40daf23eeb711dadf140b2536e67e3ff4c999196 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkea-run%2Fbuildpack-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kea-run/buildpack-rust on toolchain 40daf23eeb711dadf140b2536e67e3ff4c999196 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kea-run/buildpack-rust [INFO] finished tweaking git repo https://github.com/kea-run/buildpack-rust [INFO] tweaked toml for git repo https://github.com/kea-run/buildpack-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kea-run/buildpack-rust 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" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ureq-proto v0.4.1 [INFO] [stderr] Downloaded cargo_toml v0.22.1 [INFO] [stderr] Downloaded libcnb-proc-macros v0.29.0 [INFO] [stderr] Downloaded libcnb-common v0.29.0 [INFO] [stderr] Downloaded libcnb-data v0.29.0 [INFO] [stderr] Downloaded libcnb v0.29.0 [INFO] [stderr] Downloaded ureq v3.0.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a74f694204c8418ef55c70715a7ed66f046965e74ca33723f081900258658c60 [INFO] running `Command { std: "docker" "start" "-a" "a74f694204c8418ef55c70715a7ed66f046965e74ca33723f081900258658c60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a74f694204c8418ef55c70715a7ed66f046965e74ca33723f081900258658c60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a74f694204c8418ef55c70715a7ed66f046965e74ca33723f081900258658c60", kill_on_drop: false }` [INFO] [stdout] a74f694204c8418ef55c70715a7ed66f046965e74ca33723f081900258658c60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e2dcf4d593b217ed6c3b715768ba45c6b1cf1c953545efc27e502bc7ce5f3da [INFO] running `Command { std: "docker" "start" "-a" "9e2dcf4d593b217ed6c3b715768ba45c6b1cf1c953545efc27e502bc7ce5f3da", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Checking winnow v0.7.10 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking toml_write v0.1.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking uriparse v0.6.4 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking webpki-roots v1.0.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking ureq-proto v0.4.1 [INFO] [stderr] Checking fancy-regex v0.14.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking rustls-webpki v0.103.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Checking ureq v3.0.11 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.9 [INFO] [stderr] Checking serde_with v3.12.0 [INFO] [stderr] Checking toml_edit v0.22.26 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling cargo_metadata v0.19.2 [INFO] [stderr] Checking toml v0.8.22 [INFO] [stderr] Checking libcnb-common v0.29.0 [INFO] [stderr] Checking cargo_toml v0.22.1 [INFO] [stderr] Compiling libcnb-proc-macros v0.29.0 [INFO] [stderr] Checking libcnb-data v0.29.0 [INFO] [stderr] Checking libcnb v0.29.0 [INFO] [stderr] Checking buildpack-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `WorkingDirectory` [INFO] [stdout] --> src/main.rs:8:59 [INFO] [stdout] | [INFO] [stdout] 8 | use libcnb::data::launch::{LaunchBuilder, ProcessBuilder, WorkingDirectory}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WorkingDirectory` [INFO] [stdout] --> src/main.rs:8:59 [INFO] [stdout] | [INFO] [stdout] 8 | use libcnb::data::launch::{LaunchBuilder, ProcessBuilder, WorkingDirectory}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DepsCacheMetadata` is never used [INFO] [stdout] --> src/layers/cargo.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub type DepsCacheMetadata = CargoDeps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CacheMissCause` is never used [INFO] [stdout] --> src/layers/cargo.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum CacheMissCause { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CacheMissCause` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_dir` is never used [INFO] [stdout] --> src/layers/runtime.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn copy_dir(src_dir: &Path, dest: &Path) -> Result<(), libcnb::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CargoDeps` is never used [INFO] [stdout] --> src/metatada.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type CargoDeps = cargo_toml::DepsSet; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DepsCacheMetadata` is never used [INFO] [stdout] --> src/layers/cargo.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub type DepsCacheMetadata = CargoDeps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CacheMissCause` is never used [INFO] [stdout] --> src/layers/cargo.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum CacheMissCause { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CacheMissCause` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_dir` is never used [INFO] [stdout] --> src/layers/runtime.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn copy_dir(src_dir: &Path, dest: &Path) -> Result<(), libcnb::Error> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `CargoDeps` is never used [INFO] [stdout] --> src/metatada.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type CargoDeps = cargo_toml::DepsSet; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.11s [INFO] running `Command { std: "docker" "inspect" "9e2dcf4d593b217ed6c3b715768ba45c6b1cf1c953545efc27e502bc7ce5f3da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e2dcf4d593b217ed6c3b715768ba45c6b1cf1c953545efc27e502bc7ce5f3da", kill_on_drop: false }` [INFO] [stdout] 9e2dcf4d593b217ed6c3b715768ba45c6b1cf1c953545efc27e502bc7ce5f3da