[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] testing kea-run/buildpack-rust against try#0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkea-run%2Fbuildpack-rust" "/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/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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kea-run/buildpack-rust on toolchain 0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libcnb-common v0.29.0 [INFO] [stderr] Downloaded cargo_toml v0.22.1 [INFO] [stderr] Downloaded libcnb-proc-macros v0.29.0 [INFO] [stderr] Downloaded libcnb v0.29.0 [INFO] [stderr] Downloaded ureq-proto v0.4.1 [INFO] [stderr] Downloaded libcnb-data v0.29.0 [INFO] [stderr] Downloaded ureq v3.0.11 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3080a6cfae14493c5124f052111ed86e9c5d0cc10719268a714c465950df9437 [INFO] running `Command { std: "docker" "start" "-a" "3080a6cfae14493c5124f052111ed86e9c5d0cc10719268a714c465950df9437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3080a6cfae14493c5124f052111ed86e9c5d0cc10719268a714c465950df9437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3080a6cfae14493c5124f052111ed86e9c5d0cc10719268a714c465950df9437", kill_on_drop: false }` [INFO] [stdout] 3080a6cfae14493c5124f052111ed86e9c5d0cc10719268a714c465950df9437 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f2ae8e8838a194327ad8269d22464f5ab4a65bbba79ea57ad83bd3a69d53c63 [INFO] running `Command { std: "docker" "start" "-a" "4f2ae8e8838a194327ad8269d22464f5ab4a65bbba79ea57ad83bd3a69d53c63", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling winnow v0.7.10 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling toml_write v0.1.1 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling uriparse v0.6.4 [INFO] [stderr] Compiling webpki-roots v1.0.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling ureq-proto v0.4.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [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] Compiling fancy-regex v0.14.0 [INFO] [stderr] Compiling 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] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling ureq v3.0.11 [INFO] [stderr] Compiling toml_edit v0.22.26 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling cargo_metadata v0.19.2 [INFO] [stderr] Compiling toml v0.8.22 [INFO] [stderr] Compiling libcnb-common v0.29.0 [INFO] [stderr] Compiling cargo_toml v0.22.1 [INFO] [stderr] Compiling libcnb-proc-macros v0.29.0 [INFO] [stderr] Compiling libcnb-data v0.29.0 [INFO] [stderr] Compiling libcnb v0.29.0 [INFO] [stderr] Compiling 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: 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] [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 32.88s [INFO] running `Command { std: "docker" "inspect" "4f2ae8e8838a194327ad8269d22464f5ab4a65bbba79ea57ad83bd3a69d53c63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f2ae8e8838a194327ad8269d22464f5ab4a65bbba79ea57ad83bd3a69d53c63", kill_on_drop: false }` [INFO] [stdout] 4f2ae8e8838a194327ad8269d22464f5ab4a65bbba79ea57ad83bd3a69d53c63 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e8a1da831f726a933b1f5254d0b935488cd1bf803b6f50d469c563514fa0abe [INFO] running `Command { std: "docker" "start" "-a" "9e8a1da831f726a933b1f5254d0b935488cd1bf803b6f50d469c563514fa0abe", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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] [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 `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] running `Command { std: "docker" "inspect" "9e8a1da831f726a933b1f5254d0b935488cd1bf803b6f50d469c563514fa0abe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e8a1da831f726a933b1f5254d0b935488cd1bf803b6f50d469c563514fa0abe", kill_on_drop: false }` [INFO] [stdout] 9e8a1da831f726a933b1f5254d0b935488cd1bf803b6f50d469c563514fa0abe [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+0936b3db0ae648ba2d5b60eb08cf4faf2ddab0c6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b16f55152640ff88745b760bbe7285e800e921b652e5fbd228cd87ab035362ba [INFO] running `Command { std: "docker" "start" "-a" "b16f55152640ff88745b760bbe7285e800e921b652e5fbd228cd87ab035362ba", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `WorkingDirectory` [INFO] [stderr] --> src/main.rs:8:59 [INFO] [stderr] | [INFO] [stderr] 8 | use libcnb::data::launch::{LaunchBuilder, ProcessBuilder, WorkingDirectory}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type alias `DepsCacheMetadata` is never used [INFO] [stderr] --> src/layers/cargo.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | pub type DepsCacheMetadata = CargoDeps; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: enum `CacheMissCause` is never used [INFO] [stderr] --> src/layers/cargo.rs:21:10 [INFO] [stderr] | [INFO] [stderr] 21 | pub enum CacheMissCause { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `copy_dir` is never used [INFO] [stderr] --> src/layers/runtime.rs:55:4 [INFO] [stderr] | [INFO] [stderr] 55 | fn copy_dir(src_dir: &Path, dest: &Path) -> Result<(), libcnb::Error> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `CargoDeps` is never used [INFO] [stderr] --> src/metatada.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | pub type CargoDeps = cargo_toml::DepsSet; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `buildpack-rust` (bin "buildpack-rust" test) generated 5 warnings (run `cargo fix --bin "buildpack-rust" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/buildpack_rust-e36b8a96a43ac354) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b16f55152640ff88745b760bbe7285e800e921b652e5fbd228cd87ab035362ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b16f55152640ff88745b760bbe7285e800e921b652e5fbd228cd87ab035362ba", kill_on_drop: false }` [INFO] [stdout] b16f55152640ff88745b760bbe7285e800e921b652e5fbd228cd87ab035362ba