[INFO] cloning repository https://github.com/milyin/prebindgen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/milyin/prebindgen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmilyin%2Fprebindgen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmilyin%2Fprebindgen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f0b57264e5fa2021aaa9e899b638850befe2f5b [INFO] documenting milyin/prebindgen/0f0b57264e5fa2021aaa9e899b638850befe2f5b against master#8afe9ff1caa97654c31fb8c259dac9fdf67d6302 for pr-151918 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmilyin%2Fprebindgen" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/milyin/prebindgen [INFO] finished tweaking git repo https://github.com/milyin/prebindgen [INFO] tweaked toml for git repo https://github.com/milyin/prebindgen written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/milyin/prebindgen on toolchain 8afe9ff1caa97654c31fb8c259dac9fdf67d6302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8afe9ff1caa97654c31fb8c259dac9fdf67d6302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8afe9ff1caa97654c31fb8c259dac9fdf67d6302" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 87 packages to latest compatible versions [INFO] [stderr] Adding konst v0.3.16 (available: v0.4.3) [INFO] [stderr] Adding toml_edit v0.22.27 (available: v0.24.0+spec-1.1.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8afe9ff1caa97654c31fb8c259dac9fdf67d6302" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded konst_proc_macros v0.3.10 [INFO] [stderr] Downloaded roxygen v1.0.4 [INFO] [stderr] Downloaded konst_kernel v0.3.15 [INFO] [stderr] Downloaded project-root v0.2.2 [INFO] [stderr] Downloaded if_rust_version v1.0.0 [INFO] [stderr] Downloaded cbindgen v0.29.2 [INFO] [stderr] Downloaded konst v0.3.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+8afe9ff1caa97654c31fb8c259dac9fdf67d6302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 654efa35e1c12705466737a26cadf2504f366b00a1be51be12dfd984d49e73e1 [INFO] running `Command { std: "docker" "start" "-a" "654efa35e1c12705466737a26cadf2504f366b00a1be51be12dfd984d49e73e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "654efa35e1c12705466737a26cadf2504f366b00a1be51be12dfd984d49e73e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "654efa35e1c12705466737a26cadf2504f366b00a1be51be12dfd984d49e73e1", kill_on_drop: false }` [INFO] [stdout] 654efa35e1c12705466737a26cadf2504f366b00a1be51be12dfd984d49e73e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+8afe9ff1caa97654c31fb8c259dac9fdf67d6302" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f6d1859ea22ce53ac80f56e9162488a9d4869ad82e84a8fd7c217536ec4c4a2 [INFO] running `Command { std: "docker" "start" "-a" "3f6d1859ea22ce53ac80f56e9162488a9d4869ad82e84a8fd7c217536ec4c4a2", kill_on_drop: false }` [INFO] [stderr] Compiling typewit_proc_macros v1.8.1 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling if_rust_version v1.0.0 [INFO] [stderr] Compiling zerocopy v0.8.39 [INFO] [stderr] Compiling konst_proc_macros v0.3.10 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling project-root v0.2.2 [INFO] [stderr] Compiling zmij v1.0.19 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling toml_writer v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling regex-syntax v0.8.9 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling prebindgen-project-root v0.4.1 (/opt/rustwide/workdir/prebindgen-project-root) [INFO] [stderr] Compiling typewit v1.14.2 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling anyhow v1.0.101 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling prebindgen-proc-macro v0.4.1 (/opt/rustwide/workdir/prebindgen-proc-macro) [INFO] [stderr] Checking serde_spanned v1.0.4 [INFO] [stderr] Checking toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Checking konst_kernel v0.3.15 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling const_panic v0.2.15 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Compiling konst v0.3.16 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking toml v0.9.11+spec-1.1.0 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling clap_lex v0.7.7 [INFO] [stderr] Compiling clap_builder v4.5.57 [INFO] [stderr] Compiling cbindgen v0.29.2 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling rand_core v0.9.5 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling tempfile v3.24.0 [INFO] [stderr] Compiling clap v4.5.57 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling roxygen v1.0.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking prebindgen v0.4.1 (/opt/rustwide/workdir/prebindgen) [INFO] [stderr] Documenting prebindgen v0.4.1 (/opt/rustwide/workdir/prebindgen) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> prebindgen/src/api/source.rs:121:54 [INFO] [stdout] | [INFO] [stdout] 121 | let group_items = records.iter().map(|r| (r.parse())).collect::>(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - let group_items = records.iter().map(|r| (r.parse())).collect::>(); [INFO] [stdout] 121 + let group_items = records.iter().map(|r| r.parse() ).collect::>(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> prebindgen/src/api/source.rs:121:54 [INFO] [stdout] | [INFO] [stdout] 121 | let group_items = records.iter().map(|r| (r.parse())).collect::>(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - let group_items = records.iter().map(|r| (r.parse())).collect::>(); [INFO] [stdout] 121 + let group_items = records.iter().map(|r| r.parse() ).collect::>(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> prebindgen/src/api/source.rs:121:54 [INFO] [stdout] | [INFO] [stdout] 121 | let group_items = records.iter().map(|r| (r.parse())).collect::>(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - let group_items = records.iter().map(|r| (r.parse())).collect::>(); [INFO] [stdout] 121 + let group_items = records.iter().map(|r| r.parse() ).collect::>(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> prebindgen/src/api/source.rs:121:54 [INFO] [stdout] | [INFO] [stdout] 121 | let group_items = records.iter().map(|r| (r.parse())).collect::>(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 121 - let group_items = records.iter().map(|r| (r.parse())).collect::>(); [INFO] [stdout] 121 + let group_items = records.iter().map(|r| r.parse() ).collect::>(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Documenting prebindgen-proc-macro v0.4.1 (/opt/rustwide/workdir/prebindgen-proc-macro) [INFO] [stdout] warning: unresolved link to `prebindgen` [INFO] [stdout] --> prebindgen/src/api/batching/ffi_converter.rs:245:30 [INFO] [stdout] | [INFO] [stdout] 245 | /// Second stage: copy #[prebindgen] marked types and functions to the destination file [INFO] [stdout] | ^^^^^^^^^^ no item named `prebindgen` in scope [INFO] [stdout] | [INFO] [stdout] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stdout] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unclosed HTML tag `String` [INFO] [stdout] --> prebindgen/src/api/source.rs:376:96 [INFO] [stdout] | [INFO] [stdout] 376 | /// Read enabled features list from FEATURES_FILE and normalize into a sorted, deduplicated Vec [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(rustdoc::invalid_html_tags)]` on by default [INFO] [stdout] help: try marking as source code [INFO] [stdout] | [INFO] [stdout] 376 | /// Read enabled features list from FEATURES_FILE and normalize into a sorted, deduplicated `Vec` [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Documenting prebindgen-project-root v0.4.1 (/opt/rustwide/workdir/prebindgen-project-root) [INFO] [stderr] Compiling example-ffi v0.4.1 (/opt/rustwide/workdir/examples/example-ffi) [INFO] [stderr] warning: example-ffi@0.4.1: [examples/example-ffi/build.rs:9] project's Cargo.lock is /opt/rustwide/workdir/Cargo.lock [INFO] [stderr] Documenting example-ffi v0.4.1 (/opt/rustwide/workdir/examples/example-ffi) [INFO] [stderr] Compiling example-cbindgen v0.4.1 (/opt/rustwide/workdir/examples/example-cbindgen) [INFO] [stderr] warning: example-cbindgen@0.4.1: Generated bindings at: /opt/rustwide/target/debug/build/example-cbindgen-dae9345c12d01895/out/example_ffi.rs [INFO] [stderr] warning: example-cbindgen@0.4.1: Generated C headers at: /opt/rustwide/target/debug/build/example-cbindgen-dae9345c12d01895/out/example_ffi.h [INFO] [stderr] Documenting example-cbindgen v0.4.1 (/opt/rustwide/workdir/examples/example-cbindgen) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.16s [INFO] [stderr] Generated /opt/rustwide/target/doc/example_cbindgen/index.html and 5 other files [INFO] running `Command { std: "docker" "inspect" "3f6d1859ea22ce53ac80f56e9162488a9d4869ad82e84a8fd7c217536ec4c4a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f6d1859ea22ce53ac80f56e9162488a9d4869ad82e84a8fd7c217536ec4c4a2", kill_on_drop: false }` [INFO] [stdout] 3f6d1859ea22ce53ac80f56e9162488a9d4869ad82e84a8fd7c217536ec4c4a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "RUSTC_BOOTSTRAP=1" "-e" "DOCS_RS=1" "-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:29356a839a4d14451438f794ce8414e707d72405f44418718d724d22562fe786" "/opt/rustwide/cargo-home/bin/cargo" "+8afe9ff1caa97654c31fb8c259dac9fdf67d6302" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--document-private-items\"]" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 530a6b6abd39a79a17678ba18f614d9d33506147d9d3e51ccdef782b9ae77a34 [INFO] running `Command { std: "docker" "start" "-a" "530a6b6abd39a79a17678ba18f614d9d33506147d9d3e51ccdef782b9ae77a34", kill_on_drop: false }` [INFO] [stderr] error: manifest path `/opt/rustwide/workdir/Cargo.toml` is a virtual manifest, but this command requires running against an actual package in this workspace [INFO] running `Command { std: "docker" "inspect" "530a6b6abd39a79a17678ba18f614d9d33506147d9d3e51ccdef782b9ae77a34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "530a6b6abd39a79a17678ba18f614d9d33506147d9d3e51ccdef782b9ae77a34", kill_on_drop: false }` [INFO] [stdout] 530a6b6abd39a79a17678ba18f614d9d33506147d9d3e51ccdef782b9ae77a34