[INFO] cloning repository https://github.com/not-matthias/cpp-interop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/not-matthias/cpp-interop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnot-matthias%2Fcpp-interop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnot-matthias%2Fcpp-interop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0c5dc5b6740801dd24fb81729ad7f9a1415010f7 [INFO] checking not-matthias/cpp-interop against try#afeffcd090fe6cee35c99f8b5539d74aa443fe34 for pr-140956 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnot-matthias%2Fcpp-interop" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/not-matthias/cpp-interop [INFO] finished tweaking git repo https://github.com/not-matthias/cpp-interop [INFO] tweaked toml for git repo https://github.com/not-matthias/cpp-interop written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/not-matthias/cpp-interop on toolchain afeffcd090fe6cee35c99f8b5539d74aa443fe34 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+afeffcd090fe6cee35c99f8b5539d74aa443fe34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/not-matthias/cpp-interop 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" "+afeffcd090fe6cee35c99f8b5539d74aa443fe34" "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 cxxbridge-macro v1.0.136 [INFO] [stderr] Downloaded autocxx-build v0.27.1 [INFO] [stderr] Downloaded autocxx-macro v0.27.1 [INFO] [stderr] Downloaded autocxx-parser v0.27.1 [INFO] [stderr] Downloaded cxxbridge-flags v1.0.136 [INFO] [stderr] Downloaded autocxx v0.27.1 [INFO] [stderr] Downloaded moveit v0.6.0 [INFO] [stderr] Downloaded cxx-gen v0.7.136 [INFO] [stderr] Downloaded cxxbridge-cmd v1.0.136 [INFO] [stderr] Downloaded serde-generate v0.28.0 [INFO] [stderr] Downloaded autocxx-engine v0.27.1 [INFO] [stderr] Downloaded cxx-build v1.0.136 [INFO] [stderr] Downloaded cxx v1.0.136 [INFO] [stderr] Downloaded autocxx-bindgen v0.71.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+afeffcd090fe6cee35c99f8b5539d74aa443fe34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75ce1963a4bc830ed0a3fe105be8a7e00ed7c365e8035b76bd67cb13f2abb29b [INFO] running `Command { std: "docker" "start" "-a" "75ce1963a4bc830ed0a3fe105be8a7e00ed7c365e8035b76bd67cb13f2abb29b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75ce1963a4bc830ed0a3fe105be8a7e00ed7c365e8035b76bd67cb13f2abb29b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75ce1963a4bc830ed0a3fe105be8a7e00ed7c365e8035b76bd67cb13f2abb29b", kill_on_drop: false }` [INFO] [stdout] 75ce1963a4bc830ed0a3fe105be8a7e00ed7c365e8035b76bd67cb13f2abb29b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+afeffcd090fe6cee35c99f8b5539d74aa443fe34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98d4d584f124f6a3f08ad1ab9aa40471dd69d03e366aadf158bb96901f2f7708 [INFO] running `Command { std: "docker" "start" "-a" "98d4d584f124f6a3f08ad1ab9aa40471dd69d03e366aadf158bb96901f2f7708", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling cc v1.2.9 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling prettyplease v0.2.29 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking erased-discriminant v1.0.0 [INFO] [stderr] Compiling bitflags v2.7.0 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Checking textwrap v0.13.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling rustc-hash v2.1.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling cxxbridge-flags v1.0.136 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling scratch v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling autocxx-bindgen v0.71.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking foldhash v0.1.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling autocxx v0.27.1 [INFO] [stderr] Checking c-ffi v0.1.0 (/opt/rustwide/workdir/skeleton/c-ffi) [INFO] [stderr] Checking autocpp-ffi v0.1.0 (/opt/rustwide/workdir/skeleton/autocxx-ffi) [INFO] [stdout] warning: function `nts` is never used [INFO] [stdout] --> skeleton/autocxx-ffi/src/main.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn nts(array: &[u8]) -> [i8; N] { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking cpp-ffi v0.1.0 (/opt/rustwide/workdir/skeleton/cxx-ffi) [INFO] [stdout] warning: function `nts` is never used [INFO] [stdout] --> skeleton/c-ffi/src/main.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn nts(array: &[u8]) -> [i8; N] { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nts` is never used [INFO] [stdout] --> skeleton/autocxx-ffi/src/main.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn nts(array: &[u8]) -> [i8; N] { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nts` is never used [INFO] [stdout] --> skeleton/c-ffi/src/main.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn nts(array: &[u8]) -> [i8; N] { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling link-cplusplus v1.0.9 [INFO] [stderr] Compiling cxx v1.0.136 [INFO] [stderr] Compiling manual-ffi v0.1.0 (/opt/rustwide/workdir/code/1_manual_ffi) [INFO] [stdout] warning: function `link_manually` is never used [INFO] [stdout] --> code/1_manual_ffi/build.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn link_manually() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Compiling include_dir_impl v0.6.2 [INFO] [stderr] Compiling aquamarine v0.1.12 [INFO] [stderr] Checking include_dir v0.6.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling cxx-build v1.0.136 [INFO] [stderr] Compiling cxx-gen v0.7.136 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling cxxbridge-macro v1.0.136 [INFO] [stderr] Compiling miette-derive v5.10.0 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling miette v5.10.0 [INFO] [stderr] Compiling cxx-example v0.1.0 (/opt/rustwide/workdir/code/3_bidirectional/cxx-example) [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_macros v0.10.0 [INFO] [stderr] Checking moveit v0.6.0 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Compiling bindgen-example v0.1.0 (/opt/rustwide/workdir/code/2_automatic_ffi) [INFO] [stderr] Checking serde-reflection v0.5.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde-generate v0.28.0 [INFO] [stderr] Compiling autocxx-parser v0.27.1 [INFO] [stderr] Checking ipc-example v0.1.0 (/opt/rustwide/workdir/code/4_ipc/rust) [INFO] [stderr] Checking rust v0.1.0 (/opt/rustwide/workdir/skeleton/ipc/rust) [INFO] [stdout] error[E0432]: unresolved imports `rust::Action`, `rust::ActionResponse`, `rust::Genre`, `rust::Movie` [INFO] [stdout] --> skeleton/ipc/rust/src/bin/bindings.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use rust::{Action, ActionResponse, Genre, Movie}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^ no `Movie` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `Genre` in the root [INFO] [stdout] | | no `ActionResponse` in the root [INFO] [stdout] | no `Action` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rust::Action`, `rust::ActionResponse`, `rust::Genre`, `rust::Movie` [INFO] [stdout] --> skeleton/ipc/rust/src/bin/client.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use rust::{Action, ActionResponse, Genre, Movie}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^ no `Movie` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `Genre` in the root [INFO] [stdout] | | no `ActionResponse` in the root [INFO] [stdout] | no `Action` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> skeleton/ipc/rust/src/bin/client.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | io::{Read, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> skeleton/ipc/rust/src/bin/client.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | bincode::deserialize(&buf[..n]).ok() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust` (bin "client") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust` (bin "bindings") due to 1 previous error [INFO] [stdout] error[E0432]: unresolved imports `rust::Action`, `rust::ActionResponse`, `rust::Genre`, `rust::Movie` [INFO] [stdout] --> skeleton/ipc/rust/src/bin/bindings.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use rust::{Action, ActionResponse, Genre, Movie}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^ no `Movie` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `Genre` in the root [INFO] [stdout] | | no `ActionResponse` in the root [INFO] [stdout] | no `Action` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `rust::Action`, `rust::ActionResponse`, `rust::Genre`, `rust::Movie` [INFO] [stdout] --> skeleton/ipc/rust/src/bin/client.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use rust::{Action, ActionResponse, Genre, Movie}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^ no `Movie` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `Genre` in the root [INFO] [stdout] | | no `ActionResponse` in the root [INFO] [stdout] | no `Action` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> skeleton/ipc/rust/src/bin/client.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | io::{Read, Write}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `bincode` [INFO] [stdout] --> skeleton/ipc/rust/src/bin/client.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | bincode::deserialize(&buf[..n]).ok() [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `bincode` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bincode`, use `cargo add bincode` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust` (bin "client" test) due to 2 previous errors; 1 warning emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust` (bin "bindings" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "98d4d584f124f6a3f08ad1ab9aa40471dd69d03e366aadf158bb96901f2f7708", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98d4d584f124f6a3f08ad1ab9aa40471dd69d03e366aadf158bb96901f2f7708", kill_on_drop: false }` [INFO] [stdout] 98d4d584f124f6a3f08ad1ab9aa40471dd69d03e366aadf158bb96901f2f7708