[INFO] cloning repository https://github.com/jcrist1/rustnlp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jcrist1/rustnlp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcrist1%2Frustnlp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcrist1%2Frustnlp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0602c521e682b2074c0ece1344fcdd40ab1fbd5e [INFO] building jcrist1/rustnlp against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcrist1%2Frustnlp" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jcrist1/rustnlp [INFO] finished tweaking git repo https://github.com/jcrist1/rustnlp [INFO] tweaked toml for git repo https://github.com/jcrist1/rustnlp written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jcrist1/rustnlp on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jcrist1/rustnlp 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `rustnlp` library target) [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a21513a0fb71f5663ed7d8a73f43d0531acfc958f4b6e1157aea41eeda2a6ca [INFO] running `Command { std: "docker" "start" "-a" "3a21513a0fb71f5663ed7d8a73f43d0531acfc958f4b6e1157aea41eeda2a6ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a21513a0fb71f5663ed7d8a73f43d0531acfc958f4b6e1157aea41eeda2a6ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a21513a0fb71f5663ed7d8a73f43d0531acfc958f4b6e1157aea41eeda2a6ca", kill_on_drop: false }` [INFO] [stdout] 3a21513a0fb71f5663ed7d8a73f43d0531acfc958f4b6e1157aea41eeda2a6ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 16eb8779485ab509a0477fdb48f3621fa0aadde837b3926cffe20d4738387600 [INFO] running `Command { std: "docker" "start" "-a" "16eb8779485ab509a0477fdb48f3621fa0aadde837b3926cffe20d4738387600", kill_on_drop: false }` [INFO] [stderr] warning: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `rustnlp` library target) [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling strck v0.1.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling unicode-normalization-alignments v0.1.12 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling strck_ident v0.1.2 [INFO] [stderr] Compiling diplomat-runtime v0.8.1 (https://github.com/rust-diplomat/diplomat?rev=588f6ffe413bfca367bbb2a749a5965d40a3d5b3#588f6ffe) [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling whichlang v0.1.0 [INFO] [stderr] Compiling macro_rules_attribute v0.2.0 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling rayon-cond v0.3.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling fancy-regex v0.13.0 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling monostate-impl v0.1.13 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling derive_builder_core v0.20.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling derive_builder_macro v0.20.1 [INFO] [stderr] Compiling derive_builder v0.20.1 [INFO] [stderr] Compiling diplomat_core v0.8.0 (https://github.com/rust-diplomat/diplomat?rev=588f6ffe413bfca367bbb2a749a5965d40a3d5b3#588f6ffe) [INFO] [stderr] Compiling monostate v0.1.13 [INFO] [stderr] Compiling spm_precompiled v0.1.4 [INFO] [stderr] Compiling rust-stemmers v1.2.0 [INFO] [stderr] Compiling tokenizers v0.20.0 [INFO] [stderr] Compiling diplomat v0.8.0 (https://github.com/rust-diplomat/diplomat?rev=588f6ffe413bfca367bbb2a749a5965d40a3d5b3#588f6ffe) [INFO] [stderr] Compiling rustnlp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Model` [INFO] [stdout] --> src/lib.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use tokenizers::{Encoding, Model, Tokenizer}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Strr(str); [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/lib.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | struct Strings(Vec); [INFO] [stdout] | ------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `offsets` and `offsets_8` are never read [INFO] [stdout] --> src/lib.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct EncodeResult { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 136 | // Token boundaries as utf code points [INFO] [stdout] 137 | offsets: Vec<(usize, usize)>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | offsets_8: Vec<(usize, usize)>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "BoxErr_destroy" "--export" "BoxErr_get" "--export" "EncodeResult_destroy" "--export" "EncodeResult_get" "--export" "EncodeResult_get_by_idx" "--export" "EncodeResult_is_empty" "--export" "EncodeResult_len" "--export" "EncodeResult_pair_seq" "--export" "PairSeq_destroy" "--export" "PairSeq_get_slice" "--export" "Stem_create" "--export" "Stem_destroy" "--export" "Stem_stem" "--export" "Strings_destroy" "--export" "Strr_destroy" "--export" "TokRes_destroy" "--export" "TokRes_get" "--export" "TokRes_get_by_idx" "--export" "TokRes_is_empty" "--export" "TokRes_len" "--export" "Tok_create" "--export" "Tok_destroy" "--export" "Tok_tokenize" "--export" "Tok_tokenize_as_offsets" "--export" "diplomat_alloc" "--export" "diplomat_buffer_write_create" "--export" "diplomat_buffer_write_destroy" "--export" "diplomat_buffer_write_get_bytes" "--export" "diplomat_buffer_write_len" "--export" "diplomat_free" "--export" "diplomat_init" "--export" "diplomat_is_str" "--export" "diplomat_simple_write" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "<6 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{librust_stemmers-9acf9535c3490f89,libtokenizers-0c76f41eafab05d0,libesaxx_rs-66070c401821d583,libthiserror-b8434beebf26901f,libregex-6f68453be96ba5a5,libunicode_normalization_alignments-e7a757e4bb99e1ba,libsmallvec-dd22fcde2487057b,libspm_precompiled-0d816f84f40c84e7,libbase64-de1e4dcf0aa853ba,libunicode_segmentation-08ec9bc63f99fb37,libnom-8820aef74acb375d,libunicode_categories-5c31f94db31ad54e,librand-34459a41a47966ab,librand_chacha-f3d957c88a525cbf,libppv_lite86-c89278fe826a7945,libzerocopy-d3fb7d0f19855316,libbyteorder-724208724ef3bd1b,librand_core-ff95f3f927c9ebf4,libgetrandom-85d4f9076c2e1f1a,libwasi-b9c6bfbff0bef49f,libcfg_if-50b02a9e3502ecf2,libserde_json-1d704984d5439871,libitoa-323c19d08fbe6984,libryu-f1913757cc38f137,libitertools-5638e70921c42554,libmonostate-a19b1fe0e1b9d1db,libmacro_rules_attribute-965beca5f6cb486d,librayon_cond-729a35ea402c81fb,libitertools-f9d4dccdb30a4630,librayon-858ce33a6d89e7de,librayon_core-4fcf884eb5949c9e,libcrossbeam_deque-2988d69c5b62aa8f,libcrossbeam_epoch-410b95cf7d35ddf3,libcrossbeam_utils-035f5f10b2b695d9,libeither-95155757ee7e939e,libserde-156cc8a0e9c8f284,libfancy_regex-a256c4d250cf112f,libbit_set-fae435a8d6165d1f,libbit_vec-646a760757a3d876,libregex_automata-8f6d58f701981933,libaho_corasick-bbaf02c3f3c104f0,libmemchr-fce70e7b22dffad4,libregex_syntax-b44ef8663a4740f2,libderive_builder-9cbf7ddcc3337c0f,liblazy_static-6cae036cc417a885,liblog-b98f2dc96346a89c,libdiplomat_runtime-ff0e7a7ebcccacba}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/rustnlp.wasm" "--gc-sections" "--no-entry" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libdiplomat_runtime-ff0e7a7ebcccacba.rlib(diplomat_runtime-ff0e7a7ebcccacba.diplomat_runtime.77fe98796ee3a25c-cgu.0.rcgu.o): undefined symbol: diplomat_throw_error_js [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustnlp` (lib) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "16eb8779485ab509a0477fdb48f3621fa0aadde837b3926cffe20d4738387600", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16eb8779485ab509a0477fdb48f3621fa0aadde837b3926cffe20d4738387600", kill_on_drop: false }` [INFO] [stdout] 16eb8779485ab509a0477fdb48f3621fa0aadde837b3926cffe20d4738387600