[INFO] cloning repository https://github.com/KeeganBeuthin/TBV-Rust-SDK-2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KeeganBeuthin/TBV-Rust-SDK-2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeeganBeuthin%2FTBV-Rust-SDK-2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeeganBeuthin%2FTBV-Rust-SDK-2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c1306938765934c401bcc1e705b5a25ed63e7a35 [INFO] building KeeganBeuthin/TBV-Rust-SDK-2 against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKeeganBeuthin%2FTBV-Rust-SDK-2" "/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/KeeganBeuthin/TBV-Rust-SDK-2 [INFO] finished tweaking git repo https://github.com/KeeganBeuthin/TBV-Rust-SDK-2 [INFO] tweaked toml for git repo https://github.com/KeeganBeuthin/TBV-Rust-SDK-2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/KeeganBeuthin/TBV-Rust-SDK-2 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/KeeganBeuthin/TBV-Rust-SDK-2 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: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 905ee7909ad92b90f4dfa4f2983909f04c7cbea743e4e7aa99e32b46521958a0 [INFO] running `Command { std: "docker" "start" "-a" "905ee7909ad92b90f4dfa4f2983909f04c7cbea743e4e7aa99e32b46521958a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "905ee7909ad92b90f4dfa4f2983909f04c7cbea743e4e7aa99e32b46521958a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "905ee7909ad92b90f4dfa4f2983909f04c7cbea743e4e7aa99e32b46521958a0", kill_on_drop: false }` [INFO] [stdout] 905ee7909ad92b90f4dfa4f2983909f04c7cbea743e4e7aa99e32b46521958a0 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 60431c7f856be26fbdb2f9d23e3acee26567354ecd388246b4ac2139786f89d3 [INFO] running `Command { std: "docker" "start" "-a" "60431c7f856be26fbdb2f9d23e3acee26567354ecd388246b4ac2139786f89d3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling TBV-Rust-SDK-2 v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `CStr` [INFO] [stdout] --> src/http.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ffi::{CStr, CString}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/transactions.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let amount = unsafe { std::str::from_utf8_unchecked(std::slice::from_raw_parts(amount_ptr, amount_len)) }; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Request` is never constructed [INFO] [stdout] --> src/http.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Request { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Response` is never constructed [INFO] [stdout] --> src/http.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `TBV_Rust_SDK_2` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `tbv_rust_sdk_2` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [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" "alloc" "--export" "custom_dealloc_str" "--export" "dealloc_str" "--export" "execute_credit_leg" "--export" "execute_debit_leg" "--export" "handle_http_request" "--export" "init" "--export" "process_credit_result" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libserde_json-2c7f650835bd260a,libmemchr-fce70e7b22dffad4,libitoa-323c19d08fbe6984,libryu-f1913757cc38f137,libserde-369de8d07f5d2c71}.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/TBV_Rust_SDK_2.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/TBV_Rust_SDK_2.TBV_Rust_SDK_2.ab1a61fe5847e5b1-cgu.0.rcgu.o: undefined symbol: log_message [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `TBV-Rust-SDK-2` (lib) due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "60431c7f856be26fbdb2f9d23e3acee26567354ecd388246b4ac2139786f89d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60431c7f856be26fbdb2f9d23e3acee26567354ecd388246b4ac2139786f89d3", kill_on_drop: false }` [INFO] [stdout] 60431c7f856be26fbdb2f9d23e3acee26567354ecd388246b4ac2139786f89d3