[INFO] cloning repository https://github.com/seantking/cosmwasm-test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/seantking/cosmwasm-test" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseantking%2Fcosmwasm-test", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseantking%2Fcosmwasm-test'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4511b6a30226975286cab3385909e8c691216d5f [INFO] building seantking/cosmwasm-test against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fseantking%2Fcosmwasm-test" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/seantking/cosmwasm-test [INFO] finished tweaking git repo https://github.com/seantking/cosmwasm-test [INFO] tweaked toml for git repo https://github.com/seantking/cosmwasm-test written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/seantking/cosmwasm-test 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/seantking/cosmwasm-test 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 03dda01bec2bf9bde030c2e04299b03b32d6227c9150849be0d9a08e7a241472 [INFO] running `Command { std: "docker" "start" "-a" "03dda01bec2bf9bde030c2e04299b03b32d6227c9150849be0d9a08e7a241472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03dda01bec2bf9bde030c2e04299b03b32d6227c9150849be0d9a08e7a241472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03dda01bec2bf9bde030c2e04299b03b32d6227c9150849be0d9a08e7a241472", kill_on_drop: false }` [INFO] [stdout] 03dda01bec2bf9bde030c2e04299b03b32d6227c9150849be0d9a08e7a241472 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] b079c000e2ad40f32099fde0fce5638e3648b122e0795ef4a61e6ecf065a5d5d [INFO] running `Command { std: "docker" "start" "-a" "b079c000e2ad40f32099fde0fce5638e3648b122e0795ef4a61e6ecf065a5d5d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling snafu-derive v0.6.8 [INFO] [stderr] Compiling snafu v0.6.8 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling serde-json-wasm v0.2.1 [INFO] [stderr] Compiling cosmwasm-std v0.10.1 [INFO] [stderr] Compiling cosmwasm-storage v0.10.1 [INFO] [stderr] Compiling ipfs_contract v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HumanAddr`, `StdError`, and `from_slice` [INFO] [stdout] --> src/contract.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | from_slice, to_binary, Api, Binary, Env, Extern, HandleResponse, HumanAddr, InitResponse, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 3 | Querier, StdError, StdResult, Storage, [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 import: `CONFIG_KEY` [INFO] [stdout] --> src/contract.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::state::{config, config_read, State, CONFIG_KEY}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Entry`, `OccupiedEntry`, and `VacantEntry` [INFO] [stdout] --> src/contract.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::hash_map::{Entry, OccupiedEntry, VacantEntry}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/contract.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut initial_registry: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/state.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | 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] 19 | 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:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | 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] 23 | pub fn config_read(storage: &S) -> ReadonlySingleton<'_, S, State> { [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" "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/{libcosmwasm_storage-c8a51c7e65db7432,libcosmwasm_std-5a9f4a75dd86ccef,libserde_json_wasm-166ad308e7e0d6cb,libbase64-ce6ccaeb2e2de164,libsnafu-890779b04d7e41c9,libdoc_comment-4073296405666411,libschemars-d0ebd44cd8ec70b4,libserde_json-dc2bd5ef6b51fb5b,libryu-1081a85990212fc6,libitoa-aee37f8cc4299a8e,libserde-40162d0b71bd2020}.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/ipfs_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/libcosmwasm_std-5a9f4a75dd86ccef.rlib(cosmwasm_std-5a9f4a75dd86ccef.cosmwasm_std.b10473f24cf314cc-cgu.4.rcgu.o): undefined symbol: db_write [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-5a9f4a75dd86ccef.rlib(cosmwasm_std-5a9f4a75dd86ccef.cosmwasm_std.b10473f24cf314cc-cgu.4.rcgu.o): undefined symbol: canonicalize_address [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-5a9f4a75dd86ccef.rlib(cosmwasm_std-5a9f4a75dd86ccef.cosmwasm_std.b10473f24cf314cc-cgu.4.rcgu.o): undefined symbol: db_read [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ipfs_contract` (lib) due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b079c000e2ad40f32099fde0fce5638e3648b122e0795ef4a61e6ecf065a5d5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b079c000e2ad40f32099fde0fce5638e3648b122e0795ef4a61e6ecf065a5d5d", kill_on_drop: false }` [INFO] [stdout] b079c000e2ad40f32099fde0fce5638e3648b122e0795ef4a61e6ecf065a5d5d