[INFO] cloning repository https://github.com/neocoaster/secret-neotokens-main-contract [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/neocoaster/secret-neotokens-main-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneocoaster%2Fsecret-neotokens-main-contract", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneocoaster%2Fsecret-neotokens-main-contract'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 06313aab8611f2621da9864c4e85bef73b14007c [INFO] building neocoaster/secret-neotokens-main-contract against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fneocoaster%2Fsecret-neotokens-main-contract" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/neocoaster/secret-neotokens-main-contract [INFO] finished tweaking git repo https://github.com/neocoaster/secret-neotokens-main-contract [INFO] tweaked toml for git repo https://github.com/neocoaster/secret-neotokens-main-contract written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/neocoaster/secret-neotokens-main-contract 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/neocoaster/secret-neotokens-main-contract 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] 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] 57814740dadf10991da028f48fde50613846dbe608e6283c0e168857804668b8 [INFO] running `Command { std: "docker" "start" "-a" "57814740dadf10991da028f48fde50613846dbe608e6283c0e168857804668b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57814740dadf10991da028f48fde50613846dbe608e6283c0e168857804668b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57814740dadf10991da028f48fde50613846dbe608e6283c0e168857804668b8", kill_on_drop: false }` [INFO] [stdout] 57814740dadf10991da028f48fde50613846dbe608e6283c0e168857804668b8 [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] 854d81f4dec52892f1acd1ac42a4318acd42d2521b649eef72f8b6009c83f65e [INFO] running `Command { std: "docker" "start" "-a" "854d81f4dec52892f1acd1ac42a4318acd42d2521b649eef72f8b6009c83f65e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling snafu v0.6.10 [INFO] [stderr] Compiling serde-json-wasm v0.2.3 [INFO] [stderr] Compiling bincode2 v2.0.1 [INFO] [stderr] Compiling secret-cosmwasm-std v0.10.1 [INFO] [stderr] Compiling secret-toolkit-utils v0.2.0 [INFO] [stderr] Compiling secret-cosmwasm-storage v0.10.0 [INFO] [stderr] Compiling secret-toolkit-serialization v0.2.0 [INFO] [stderr] Compiling secret-toolkit-snip721 v0.2.0 [INFO] [stderr] Compiling secret-toolkit-snip20 v0.2.0 [INFO] [stderr] Compiling secret-toolkit-storage v0.2.0 [INFO] [stderr] Compiling secret-toolkit v0.2.0 [INFO] [stderr] Compiling neotokens-main-contract v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state.rs:21:36 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn config(storage: &mut S) -> Singleton { [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 21 | pub fn config(storage: &mut S) -> Singleton<'_, S, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn config_read(storage: &S) -> ReadonlySingleton { [INFO] [stdout] | ^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 25 | pub fn config_read(storage: &S) -> ReadonlySingleton<'_, S, State> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state.rs:29:51 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn credits_history_storage(store: &mut S) -> Bucket { [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 29 | pub fn credits_history_storage(store: &mut S) -> Bucket<'_, S, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state.rs:33:56 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn credits_history_storage_read(store: &S) -> ReadonlyBucket { [INFO] [stdout] | ^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | pub fn credits_history_storage_read(store: &S) -> ReadonlyBucket<'_, S, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `neotokens-main-contract` (lib) due to 1 previous error; 4 warnings emitted [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "handle" "--export" "init" "--export" "query" "--export" "allocate" "--export" "cosmwasm_vm_version_3" "--export" "deallocate" "-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/{libsecret_cosmwasm_storage-3791e727564d618c,libsecret_toolkit-2acad9d8dedb55d1,libsecret_toolkit_storage-cee8a7feb6789394,libsecret_toolkit_snip721-4ab10b5e753745da,libsecret_toolkit_snip20-8ab9fc6429073fc2,libsecret_toolkit_utils-2f2ea30140d527b5,libsecret_toolkit_serialization-9c70dae3d68179e7,libbincode2-9be889d94db1e2ec,libbyteorder-f00db367bf6f80f8,libsecret_cosmwasm_std-11b7bd9f117bf860,libserde_json_wasm-e3ad7cdad3752d26,libbase64-ce6ccaeb2e2de164,libsnafu-74b9117cb06bd4b1,libdoc_comment-4073296405666411,libschemars-3a2b2ecdbb283987,libserde_json-29f40767fca7ac61,libryu-532612ec2f9fcdf5,libitoa-e6d4309df0be0b3b,libserde-efb398fb8a40b570}.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/neotokens_main_contract.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/libsecret_cosmwasm_std-11b7bd9f117bf860.rlib(secret_cosmwasm_std-11b7bd9f117bf860.secret_cosmwasm_std.b5b64828e18af38b-cgu.2.rcgu.o): undefined symbol: db_write [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecret_cosmwasm_std-11b7bd9f117bf860.rlib(secret_cosmwasm_std-11b7bd9f117bf860.secret_cosmwasm_std.b5b64828e18af38b-cgu.2.rcgu.o): undefined symbol: canonicalize_address [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecret_cosmwasm_std-11b7bd9f117bf860.rlib(secret_cosmwasm_std-11b7bd9f117bf860.secret_cosmwasm_std.b5b64828e18af38b-cgu.2.rcgu.o): undefined symbol: query_chain [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libsecret_cosmwasm_std-11b7bd9f117bf860.rlib(secret_cosmwasm_std-11b7bd9f117bf860.secret_cosmwasm_std.b5b64828e18af38b-cgu.2.rcgu.o): undefined symbol: db_read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "854d81f4dec52892f1acd1ac42a4318acd42d2521b649eef72f8b6009c83f65e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "854d81f4dec52892f1acd1ac42a4318acd42d2521b649eef72f8b6009c83f65e", kill_on_drop: false }` [INFO] [stdout] 854d81f4dec52892f1acd1ac42a4318acd42d2521b649eef72f8b6009c83f65e