[INFO] cloning repository https://github.com/bendk/uniffi-bindgen-kotlin [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bendk/uniffi-bindgen-kotlin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbendk%2Funiffi-bindgen-kotlin", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbendk%2Funiffi-bindgen-kotlin'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bbe63ff1b2427c4ac90f7dcc24ce6e95c007e5e8 [INFO] testing bendk/uniffi-bindgen-kotlin against beta-2025-02-18 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbendk%2Funiffi-bindgen-kotlin" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bendk/uniffi-bindgen-kotlin on toolchain beta-2025-02-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bendk/uniffi-bindgen-kotlin [INFO] finished tweaking git repo https://github.com/bendk/uniffi-bindgen-kotlin [INFO] tweaked toml for git repo https://github.com/bendk/uniffi-bindgen-kotlin written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bendk/uniffi-bindgen-kotlin 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" "+beta-2025-02-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 67400109f414965ef0509d1e433fc594352e77202c11b78878eb1e4a2f618844 [INFO] running `Command { std: "docker" "start" "-a" "67400109f414965ef0509d1e433fc594352e77202c11b78878eb1e4a2f618844", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "67400109f414965ef0509d1e433fc594352e77202c11b78878eb1e4a2f618844", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67400109f414965ef0509d1e433fc594352e77202c11b78878eb1e4a2f618844", kill_on_drop: false }` [INFO] [stdout] 67400109f414965ef0509d1e433fc594352e77202c11b78878eb1e4a2f618844 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f00e782c6c3f26772815e4ad420cfe376c8308e6f71b889b1c4bce9d438d34a0 [INFO] running `Command { std: "docker" "start" "-a" "f00e782c6c3f26772815e4ad420cfe376c8308e6f71b889b1c4bce9d438d34a0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.88 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling askama_escape v0.10.3 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling camino v1.0.7 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling weedle v0.12.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling cargo_metadata v0.13.1 [INFO] [stderr] Compiling askama_shared v0.12.2 [INFO] [stderr] Compiling askama_derive v0.11.2 [INFO] [stderr] Compiling askama v0.11.1 [INFO] [stderr] Compiling uniffi_bindgen v0.17.0 (https://github.com/bendk/uniffi-rs.git?branch=external-kotlin#2ba63f36) [INFO] [stderr] Compiling uniffi-bindgen-kotlin v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/gen_kotlin/mod.rs:322:18 [INFO] [stdout] | [INFO] [stdout] 322 | unsafe { ORACLE.as_ref().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "f00e782c6c3f26772815e4ad420cfe376c8308e6f71b889b1c4bce9d438d34a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f00e782c6c3f26772815e4ad420cfe376c8308e6f71b889b1c4bce9d438d34a0", kill_on_drop: false }` [INFO] [stdout] f00e782c6c3f26772815e4ad420cfe376c8308e6f71b889b1c4bce9d438d34a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-02-18" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa868cc3b727073c3ecb106cec5e8e73ad2a05df96b2140426296d8613ee7a67 [INFO] running `Command { std: "docker" "start" "-a" "fa868cc3b727073c3ecb106cec5e8e73ad2a05df96b2140426296d8613ee7a67", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.88 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling camino v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling cargo_metadata v0.13.1 [INFO] [stderr] Compiling askama_shared v0.12.2 [INFO] [stderr] Compiling uniffi_testing v0.1.0 (https://github.com/bendk/uniffi-rs.git?branch=external-kotlin#2ba63f36) [INFO] [stderr] Compiling askama_derive v0.11.2 [INFO] [stderr] Compiling askama v0.11.1 [INFO] [stderr] Compiling uniffi_bindgen v0.17.0 (https://github.com/bendk/uniffi-rs.git?branch=external-kotlin#2ba63f36) [INFO] [stderr] Compiling uniffi_build v0.17.0 (https://github.com/bendk/uniffi-rs.git?branch=external-kotlin#2ba63f36) [INFO] [stderr] Compiling uniffi v0.17.0 (https://github.com/bendk/uniffi-rs.git?branch=external-kotlin#2ba63f36) [INFO] [stderr] Compiling uniffi-bindgen-kotlin v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling uniffi_macros v0.17.0 (https://github.com/bendk/uniffi-rs.git?branch=external-kotlin#2ba63f36) [INFO] [stderr] Compiling uniffi-example-custom-types v0.17.0 (https://github.com/bendk/uniffi-rs.git?branch=external-kotlin#2ba63f36) [INFO] [stderr] Compiling uniffi-fixture-ext-types-lib-one v0.17.0 (https://github.com/bendk/uniffi-rs.git?branch=external-kotlin#2ba63f36) [INFO] [stderr] Compiling uniffi-fixture-ext-types-guid v0.17.0 (https://github.com/bendk/uniffi-rs.git?branch=external-kotlin#2ba63f36) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/gen_kotlin/mod.rs:322:18 [INFO] [stdout] | [INFO] [stdout] 322 | unsafe { ORACLE.as_ref().unwrap() } [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling uniffi-example-sprites v0.17.0 (https://github.com/bendk/uniffi-rs.git?branch=external-kotlin#2ba63f36) [INFO] [stderr] Compiling uniffi-example-rondpoint v0.17.0 (https://github.com/bendk/uniffi-rs.git?branch=external-kotlin#2ba63f36) [INFO] [stderr] Compiling uniffi-fixture-callbacks v0.17.0 (https://github.com/bendk/uniffi-rs.git?branch=external-kotlin#2ba63f36) [INFO] [stderr] Compiling uniffi-example-todolist v0.17.0 (https://github.com/bendk/uniffi-rs.git?branch=external-kotlin#2ba63f36) [INFO] [stderr] Compiling uniffi-fixture-coverall v0.17.0 (https://github.com/bendk/uniffi-rs.git?branch=external-kotlin#2ba63f36) [INFO] [stderr] Compiling uniffi-example-arithmetic v0.17.0 (https://github.com/bendk/uniffi-rs.git?branch=external-kotlin#2ba63f36) [INFO] [stderr] Compiling uniffi-fixture-ext-types v0.17.0 (https://github.com/bendk/uniffi-rs.git?branch=external-kotlin#2ba63f36) [INFO] [stderr] Compiling uniffi-example-geometry v0.17.0 (https://github.com/bendk/uniffi-rs.git?branch=external-kotlin#2ba63f36) [INFO] [stderr] Compiling uniffi-fixture-time v0.17.0 (https://github.com/bendk/uniffi-rs.git?branch=external-kotlin#2ba63f36) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--version-script=/tmp/rustcyNLeld/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcyNLeld/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libuniffi-8cfcea0b9ca2b6c2.rlib,libuniffi_bindgen-f33be44c77979d88.rlib,libclap-0ce473f67b13efae.rlib,libtextwrap-e395b15b17e8ae97.rlib,libunicode_width-63532bdea7ef68cc.rlib,libbitflags-dde12b0d7d495b50.rlib,libweedle-2193b0c396521fe7.rlib,libnom-c89a8b3edabebf6c.rlib,libheck-15283f705e8c9aa0.rlib,libunicode_segmentation-430a21c4383dc97c.rlib,libaskama-2fbf3e1d3d134a20.rlib,libaskama_shared-7a17ed8f35acb4e7.rlib,libtoml-152f20d061757896.rlib,libmime_guess-69518e25574ffaf4.rlib,libunicase-0a5560e076218c84.rlib,libsyn-99f00bc5bd91ce4c.rlib,libnom-7f8336876b6c35fb.rlib,libmemchr-d77f606ccdbf2fac.rlib,libmime-df56754a5ea019bb.rlib,libquote-caf134e63b28f10d.rlib,libaskama_escape-48d0a031c76537ca.rlib,libproc_macro2-23502f7685f32d59.rlib,libunicode_xid-26fdf5ec24e09cfa.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libproc_macro-*}.rlib" "/opt/rustwide/target/debug/deps/{libstatic_assertions-f0217ecdd817a834.rlib,liblog-120a19c0c1ab0517.rlib,libcfg_if-3e7fc4e38d4a72b5.rlib,liblazy_static-af860367908b8176.rlib,libcargo_metadata-b5bbb2ff861d143e.rlib,libserde_json-956d70c7324e4174.rlib,libryu-60f963e30936d324.rlib,libitoa-af75672c211b96e4.rlib,libcargo_platform-fc6cd0b1308d5b05.rlib,libsemver-35985587db62486b.rlib,libsemver_parser-f5a2d88465e89c30.rlib,libpest-48f3c84f7a7d28a7.rlib,libucd_trie-153530095e0bab10.rlib,libcamino-2619cdddff801d0a.rlib,libserde-2637cd409fff868d.rlib,libbytes-3aba2b4fd6e71b66.rlib,libanyhow-23a94dd3b5924895.rlib,liburl-5f60cd85e0d90d2e.rlib,libidna-ca54875848358f9c.rlib,libunicode_normalization-d32e7330504e22f7.rlib,libtinyvec-2a6c6b24abbe13cd.rlib,libtinyvec_macros-36ab4f0266eef07c.rlib,libunicode_bidi-6929fad116314dee.rlib,libform_urlencoded-43181f2d36d09639.rlib,libpercent_encoding-3e08c199980e8244.rlib,libmatches-80dbaef09a125478.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,liballoc-*,librustc_std_workspace_core-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libcustom_types-1c7912e6e7b238cd.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `uniffi-example-custom-types` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "fa868cc3b727073c3ecb106cec5e8e73ad2a05df96b2140426296d8613ee7a67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa868cc3b727073c3ecb106cec5e8e73ad2a05df96b2140426296d8613ee7a67", kill_on_drop: false }` [INFO] [stdout] fa868cc3b727073c3ecb106cec5e8e73ad2a05df96b2140426296d8613ee7a67