[INFO] fetching crate n-observer-cffi-impl 0.1.0... [INFO] testing n-observer-cffi-impl-0.1.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate n-observer-cffi-impl 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate n-observer-cffi-impl 0.1.0 [INFO] finished tweaking crates.io crate n-observer-cffi-impl 0.1.0 [INFO] tweaked toml for crates.io crate n-observer-cffi-impl 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate n-observer-cffi-impl 0.1.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate n-observer-cffi-impl 0.1.0 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 082af0e194f3bd0535c2e1a38ce729a5e11bb0a0f0f003e903c398f592d9fca2 [INFO] running `Command { std: "docker" "start" "-a" "082af0e194f3bd0535c2e1a38ce729a5e11bb0a0f0f003e903c398f592d9fca2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "082af0e194f3bd0535c2e1a38ce729a5e11bb0a0f0f003e903c398f592d9fca2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "082af0e194f3bd0535c2e1a38ce729a5e11bb0a0f0f003e903c398f592d9fca2", kill_on_drop: false }` [INFO] [stdout] 082af0e194f3bd0535c2e1a38ce729a5e11bb0a0f0f003e903c398f592d9fca2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02f347aa6690ccd347b3c59e1e491a0c83603e6364b23b80b999eb5f911b0588 [INFO] running `Command { std: "docker" "start" "-a" "02f347aa6690ccd347b3c59e1e491a0c83603e6364b23b80b999eb5f911b0588", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.104 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling zmij v1.0.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling num-modular v0.6.1 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling pest v2.8.4 [INFO] [stderr] Compiling num-order v1.2.0 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling pest_meta v2.8.4 [INFO] [stderr] Compiling rs-schema v1.0.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling pest_generator v2.8.4 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling rs-schema-derive-impl v0.1.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling pest_derive v2.8.4 [INFO] [stderr] Compiling rs-schema-derive v0.1.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling handlebars v6.3.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling async-cffi v0.1.1 [INFO] [stderr] Compiling n-observer v0.1.2 [INFO] [stderr] Compiling async-cffi-codegen v0.1.0 [INFO] [stderr] Compiling n-observer-cffi-impl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `generate_py` [INFO] [stdout] --> build.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use async_cffi_codegen::{generate_py, generate_rs}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_py_target_path` is never used [INFO] [stdout] --> build.rs:57:4 [INFO] [stdout] | [INFO] [stdout] 57 | fn get_py_target_path(filename: &str) -> std::path::PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: n-observer-cffi-impl@0.1.0: Using default edition 2024 for rustfmt (CARGO_PKG_EDITION missing: environment variable not found) [INFO] [stderr] warning: n-observer-cffi-impl@0.1.0: Failed to format generated code: rustfmt exited with status exit status: 1: [INFO] [stderr] error: failed to run custom build command for `n-observer-cffi-impl v0.1.0 (/opt/rustwide/workdir)` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/n-observer-cffi-impl-4b518d4044785e95/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:warning=Using default edition 2024 for rustfmt (CARGO_PKG_EDITION missing: environment variable not found) [INFO] [stderr] cargo:warning=Failed to format generated code: rustfmt exited with status exit status: 1: [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] error: 'rustfmt' is not installed for the custom toolchain 'dec9417b8611e34e787a3e4c37686b5131f9e5c5'. [INFO] [stderr] note: this is a custom toolchain, which cannot use `rustup component add` [INFO] [stderr] help: if you built this toolchain from source, and used `rustup toolchain link`, then you may be able to build the component with `x.py` [INFO] [stderr] Error: Custom { kind: Other, error: "failed to create file /opt/rustwide/workdir/src/ior_cffi_traits.rs: Read-only file system (os error 30)" } [INFO] running `Command { std: "docker" "inspect" "02f347aa6690ccd347b3c59e1e491a0c83603e6364b23b80b999eb5f911b0588", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02f347aa6690ccd347b3c59e1e491a0c83603e6364b23b80b999eb5f911b0588", kill_on_drop: false }` [INFO] [stdout] 02f347aa6690ccd347b3c59e1e491a0c83603e6364b23b80b999eb5f911b0588