[INFO] cloning repository https://github.com/scrtlabs/dNetflix [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/scrtlabs/dNetflix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscrtlabs%2FdNetflix", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscrtlabs%2FdNetflix'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45d8065b9d5b4ed485d7fb0838cae346dfc09f39 [INFO] building scrtlabs/dNetflix against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscrtlabs%2FdNetflix" "/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/rust-toolchain [INFO] started tweaking git repo https://github.com/scrtlabs/dNetflix [INFO] finished tweaking git repo https://github.com/scrtlabs/dNetflix [INFO] tweaked toml for git repo https://github.com/scrtlabs/dNetflix written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/scrtlabs/dNetflix 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/scrtlabs/dNetflix 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: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-0-tc2/source/access-manager/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-0-tc2/source/access-manager/packages/snip721/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-0-tc2/source/Cargo.toml [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] 12f863d1f9f257f7559b5b0e1414a57870d4a8a73a5603e4b1a3bed1848a0fb1 [INFO] running `Command { std: "docker" "start" "-a" "12f863d1f9f257f7559b5b0e1414a57870d4a8a73a5603e4b1a3bed1848a0fb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "12f863d1f9f257f7559b5b0e1414a57870d4a8a73a5603e4b1a3bed1848a0fb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12f863d1f9f257f7559b5b0e1414a57870d4a8a73a5603e4b1a3bed1848a0fb1", kill_on_drop: false }` [INFO] [stdout] 12f863d1f9f257f7559b5b0e1414a57870d4a8a73a5603e4b1a3bed1848a0fb1 [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] 03035bfa22ef6a5d03d8de702a501111a349ce174ed0752feddb25c656d00234 [INFO] running `Command { std: "docker" "start" "-a" "03035bfa22ef6a5d03d8de702a501111a349ce174ed0752feddb25c656d00234", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/access-manager/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/access-manager/packages/snip721/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling schemars v0.7.6 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling schemars v0.8.10 [INFO] [stderr] Compiling dyn-clone v1.0.9 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling forward_ref v1.0.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling wasi v0.9.0+wasi-snapshot-preview1 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling bech32 v0.8.1 [INFO] [stderr] Compiling uint v0.9.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling primitive-types v0.9.1 [INFO] [stderr] Compiling primitive-types v0.11.1 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling ripemd160 v0.9.1 [INFO] [stderr] Compiling serde_derive_internals v0.26.0 [INFO] [stderr] Compiling serde_derive_internals v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.34 [INFO] [stderr] Compiling schemars_derive v0.7.6 [INFO] [stderr] Compiling schemars_derive v0.8.10 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling cosmwasm-derive v1.0.0 (https://github.com/scrtlabs/cosmwasm?branch=secret#f7e2b1db) [INFO] [stderr] Compiling remain v0.2.4 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling snafu v0.6.10 [INFO] [stderr] Compiling thiserror v1.0.34 [INFO] [stderr] Compiling serde-json-wasm v0.2.3 [INFO] [stderr] Compiling serde-json-wasm v0.4.1 [INFO] [stderr] Compiling bincode2 v2.0.1 [INFO] [stderr] Compiling secret-cosmwasm-std v0.10.1 [INFO] [stderr] Compiling cosmwasm-std v1.0.0 (https://github.com/scrtlabs/cosmwasm?branch=secret#f7e2b1db) [INFO] [stderr] Compiling secret-cosmwasm-storage v0.10.0 [INFO] [stderr] Compiling secret-toolkit-serialization v0.3.0 [INFO] [stderr] Compiling secret-toolkit-crypto v0.3.0 [INFO] [stderr] Compiling secret-toolkit-permit v0.3.1 [INFO] [stderr] Compiling secret-toolkit-storage v0.3.0 [INFO] [stderr] Compiling secret-toolkit-utils v0.3.1 [INFO] [stderr] Compiling cosmwasm-storage v1.0.0 (https://github.com/scrtlabs/cosmwasm?branch=secret#f7e2b1db) [INFO] [stderr] Compiling secret-toolkit-serialization v0.3.0 (https://github.com/scrtlabs/secret-toolkit?branch=cosmwasm-v1.0#0d0531c8) [INFO] [stderr] Compiling secret-toolkit-utils v0.3.1 (https://github.com/scrtlabs/secret-toolkit?branch=cosmwasm-v1.0#0d0531c8) [INFO] [stderr] Compiling secret-toolkit-storage v0.5.0 (https://github.com/scrtlabs/secret-toolkit?branch=cosmwasm-v1.0#0d0531c8) [INFO] [stderr] Compiling secret-toolkit v0.3.0 [INFO] [stderr] Compiling snip721-reference-impl v0.1.0 (/opt/rustwide/workdir/access-manager/packages/snip721) [INFO] [stderr] Compiling secret-toolkit-snip20 v0.3.0 (https://github.com/scrtlabs/secret-toolkit?branch=cosmwasm-v1.0#0d0531c8) [INFO] [stderr] Compiling secret-toolkit-snip721 v0.3.0 (https://github.com/scrtlabs/secret-toolkit?branch=cosmwasm-v1.0#0d0531c8) [INFO] [stderr] Compiling secret-toolkit v0.5.0 (https://github.com/scrtlabs/secret-toolkit?branch=cosmwasm-v1.0#0d0531c8) [INFO] [stderr] Compiling access-manager v0.0.1 (/opt/rustwide/workdir/access-manager) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> access-manager/src/reply.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ReplyId` [INFO] [stdout] 7 | pub enum ReplyId { [INFO] [stdout] | ------- `ReplyId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> access-manager/src/reply.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(FromPrimitive, ToPrimitive)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ReplyId` [INFO] [stdout] 7 | pub enum ReplyId { [INFO] [stdout] | ------- `ReplyId` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [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" "execute" "--export" "instantiate" "--export" "query" "--export" "reply" "--export" "allocate" "--export" "deallocate" "--export" "interface_version_8" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "<17 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libsnip721_reference_impl-f9679763b5542755,libsecret_toolkit-ff997bd070bdbadd,libsecret_toolkit_storage-1abcfec8e4bb4ac1,libsecret_toolkit_snip721-bce6729b697cff26,libsecret_toolkit_snip20-9a4926d1c2b2393a,libsecret_toolkit_utils-df2e187589aa7973,libcosmwasm_storage-ed06a7d841cc6428,libsecret_toolkit_serialization-ba2b4fff7a6d0294,libbincode2-250b9745ee557171,libprimitive_types-08c8adbc663905c7,libfixed_hash-bc23a9b231754e01,libnum_traits-87d9806b9939f031,libcosmwasm_std-18292c892aae1180,libserde_json_wasm-15c8ffb03650fefa,libbase64-4ed240cdd589693c,libuint-807a0dbb28062f5f,libcrunchy-59509cf7265afd1d,libstatic_assertions-5a320074c6765347,libhex-85aa986ef279af61,libbyteorder-539f01e04f3323fc,libforward_ref-6287b004023aa316,libthiserror-495e5fe4b9761f5d,libschemars-a309f2552242d1b0,libdyn_clone-24b67f5e8228f36d,libserde_json-cbe43ed73fbe7943,libryu-b7e3d2ecacbd461c,libitoa-cb51663a6b7298b8,libserde-5bbb8fabcbf8396d}.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/access_manager.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-18292c892aae1180.rlib(cosmwasm_std-18292c892aae1180.cosmwasm_std.7b787d3ec12f928d-cgu.05.rcgu.o): undefined symbol: ed25519_sign [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-18292c892aae1180.rlib(cosmwasm_std-18292c892aae1180.cosmwasm_std.7b787d3ec12f928d-cgu.05.rcgu.o): undefined symbol: addr_humanize [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-18292c892aae1180.rlib(cosmwasm_std-18292c892aae1180.cosmwasm_std.7b787d3ec12f928d-cgu.05.rcgu.o): undefined symbol: addr_validate [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-18292c892aae1180.rlib(cosmwasm_std-18292c892aae1180.cosmwasm_std.7b787d3ec12f928d-cgu.05.rcgu.o): undefined symbol: ed25519_verify [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-18292c892aae1180.rlib(cosmwasm_std-18292c892aae1180.cosmwasm_std.7b787d3ec12f928d-cgu.05.rcgu.o): undefined symbol: secp256k1_sign [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-18292c892aae1180.rlib(cosmwasm_std-18292c892aae1180.cosmwasm_std.7b787d3ec12f928d-cgu.05.rcgu.o): undefined symbol: secp256k1_verify [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-18292c892aae1180.rlib(cosmwasm_std-18292c892aae1180.cosmwasm_std.7b787d3ec12f928d-cgu.05.rcgu.o): undefined symbol: addr_canonicalize [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-18292c892aae1180.rlib(cosmwasm_std-18292c892aae1180.cosmwasm_std.7b787d3ec12f928d-cgu.05.rcgu.o): undefined symbol: ed25519_batch_verify [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-18292c892aae1180.rlib(cosmwasm_std-18292c892aae1180.cosmwasm_std.7b787d3ec12f928d-cgu.05.rcgu.o): undefined symbol: secp256k1_recover_pubkey [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-18292c892aae1180.rlib(cosmwasm_std-18292c892aae1180.cosmwasm_std.7b787d3ec12f928d-cgu.05.rcgu.o): undefined symbol: debug [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-18292c892aae1180.rlib(cosmwasm_std-18292c892aae1180.cosmwasm_std.7b787d3ec12f928d-cgu.05.rcgu.o): undefined symbol: query_chain [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-18292c892aae1180.rlib(cosmwasm_std-18292c892aae1180.cosmwasm_std.7b787d3ec12f928d-cgu.05.rcgu.o): undefined symbol: db_read [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-18292c892aae1180.rlib(cosmwasm_std-18292c892aae1180.cosmwasm_std.7b787d3ec12f928d-cgu.05.rcgu.o): undefined symbol: db_write [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libcosmwasm_std-18292c892aae1180.rlib(cosmwasm_std-18292c892aae1180.cosmwasm_std.7b787d3ec12f928d-cgu.05.rcgu.o): undefined symbol: db_remove [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `access-manager` (lib) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "03035bfa22ef6a5d03d8de702a501111a349ce174ed0752feddb25c656d00234", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03035bfa22ef6a5d03d8de702a501111a349ce174ed0752feddb25c656d00234", kill_on_drop: false }` [INFO] [stdout] 03035bfa22ef6a5d03d8de702a501111a349ce174ed0752feddb25c656d00234