[INFO] cloning repository https://github.com/alekitto/lopdf-php [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alekitto/lopdf-php" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falekitto%2Flopdf-php", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falekitto%2Flopdf-php'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0389f63cd469047bd18a66d5da89a8594544c0cd [INFO] building alekitto/lopdf-php against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falekitto%2Flopdf-php" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/alekitto/lopdf-php [INFO] finished tweaking git repo https://github.com/alekitto/lopdf-php [INFO] tweaked toml for git repo https://github.com/alekitto/lopdf-php written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alekitto/lopdf-php on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alekitto/lopdf-php 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/alekitto/ext-php-rs.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jiff-tzdb-platform v0.1.3 [INFO] [stderr] Downloaded zopfli v0.8.2 [INFO] [stderr] Downloaded ecb v0.1.2 [INFO] [stderr] Downloaded webpki-root-certs v0.26.11 [INFO] [stderr] Downloaded nom_locate v5.0.0 [INFO] [stderr] Downloaded bzip2 v0.5.2 [INFO] [stderr] Downloaded libz-rs-sys v0.5.0 [INFO] [stderr] Downloaded jiff-tzdb v0.1.4 [INFO] [stderr] Downloaded ureq-proto v0.4.1 [INFO] [stderr] Downloaded ureq v3.0.11 [INFO] [stderr] Downloaded zip v3.0.0 [INFO] [stderr] Downloaded webpki-root-certs v1.0.0 [INFO] [stderr] Downloaded zlib-rs v0.5.0 [INFO] [stderr] Downloaded lopdf v0.36.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b99a4a37509c90b02f1ff532465665d51a363cf249c37d71beaeaabda5343a7a [INFO] running `Command { std: "docker" "start" "-a" "b99a4a37509c90b02f1ff532465665d51a363cf249c37d71beaeaabda5343a7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b99a4a37509c90b02f1ff532465665d51a363cf249c37d71beaeaabda5343a7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b99a4a37509c90b02f1ff532465665d51a363cf249c37d71beaeaabda5343a7a", kill_on_drop: false }` [INFO] [stdout] b99a4a37509c90b02f1ff532465665d51a363cf249c37d71beaeaabda5343a7a [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af0fc1949c59cfef5af70540ff10f096e5ca75d13b277d536d3578207997854e [INFO] running `Command { std: "docker" "start" "-a" "af0fc1949c59cfef5af70540ff10f096e5ca75d13b277d536d3578207997854e", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling libloading v0.8.7 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling bindgen v0.68.1 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ecb v0.1.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling ext-php-rs-derive v0.10.2 (https://github.com/alekitto/ext-php-rs.git#e585c575) [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling jiff v0.2.14 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling nom_locate v5.0.0 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling lopdf v0.36.0 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling skeptic v0.13.7 [INFO] [stderr] Compiling ext-php-rs v0.13.1 (https://github.com/alekitto/ext-php-rs.git#e585c575) [INFO] [stderr] Compiling php_lopdf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:50:51 [INFO] [stdout] | [INFO] [stdout] 50 | pub extern "C" fn ext_php_rs_describe_module() -> ::ext_php_rs::describe::Description { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "af0fc1949c59cfef5af70540ff10f096e5ca75d13b277d536d3578207997854e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af0fc1949c59cfef5af70540ff10f096e5ca75d13b277d536d3578207997854e", kill_on_drop: false }` [INFO] [stdout] af0fc1949c59cfef5af70540ff10f096e5ca75d13b277d536d3578207997854e [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 671f1dc0f1191c2b22720ce6434545f20b1985c746c3ed7e2c9dff38fe1e0e96 [INFO] running `Command { std: "docker" "start" "-a" "671f1dc0f1191c2b22720ce6434545f20b1985c746c3ed7e2c9dff38fe1e0e96", kill_on_drop: false }` [INFO] [stderr] Compiling php_lopdf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:50:51 [INFO] [stdout] | [INFO] [stdout] 50 | pub extern "C" fn ext_php_rs_describe_module() -> ::ext_php_rs::describe::Description { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.76s [INFO] running `Command { std: "docker" "inspect" "671f1dc0f1191c2b22720ce6434545f20b1985c746c3ed7e2c9dff38fe1e0e96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "671f1dc0f1191c2b22720ce6434545f20b1985c746c3ed7e2c9dff38fe1e0e96", kill_on_drop: false }` [INFO] [stdout] 671f1dc0f1191c2b22720ce6434545f20b1985c746c3ed7e2c9dff38fe1e0e96