[INFO] updating cached repository https://github.com/swfsql/contract-interface [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9c1c5659fa0f2194c726a382a3c1a2ecf14df8e [INFO] testing swfsql/contract-interface against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswfsql%2Fcontract-interface" "/workspace/builds/worker-48/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-48/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/swfsql/contract-interface on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/swfsql/contract-interface [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/swfsql/contract-interface [INFO] tweaked toml for git repo https://github.com/swfsql/contract-interface written to /workspace/builds/worker-48/source/Cargo.toml [INFO] crate git repo https://github.com/swfsql/contract-interface already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a944fd8b954b190c7b1ea9f92856725ff2d6d2f47d1ed79b818a18c9eb6cc1d [INFO] running `Command { std: "docker" "start" "-a" "4a944fd8b954b190c7b1ea9f92856725ff2d6d2f47d1ed79b818a18c9eb6cc1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a944fd8b954b190c7b1ea9f92856725ff2d6d2f47d1ed79b818a18c9eb6cc1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a944fd8b954b190c7b1ea9f92856725ff2d6d2f47d1ed79b818a18c9eb6cc1d", kill_on_drop: false }` [INFO] [stdout] 4a944fd8b954b190c7b1ea9f92856725ff2d6d2f47d1ed79b818a18c9eb6cc1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3414098ee6a2db3fae984608490c65a67c686e6af1bf93fc4b368665e0fb4fcf [INFO] running `Command { std: "docker" "start" "-a" "3414098ee6a2db3fae984608490c65a67c686e6af1bf93fc4b368665e0fb4fcf", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling near-sys v0.1.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling near-runtime-utils v4.0.0-pre.1 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling near-sdk-macros v4.0.0-pre.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling near-rpc-error-core v0.1.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling near-rpc-error-macro v0.1.0 [INFO] [stderr] Compiling borsh-derive v0.8.2 [INFO] [stderr] Compiling borsh v0.8.2 [INFO] [stderr] Compiling near-primitives-core v0.4.0 [INFO] [stderr] Compiling near-vm-errors v4.0.0-pre.1 [INFO] [stderr] Compiling near-vm-logic v4.0.0-pre.1 [INFO] [stderr] Compiling near-sdk v4.0.0-pre.2 [INFO] [stderr] Compiling near-contract-standards v4.0.0-pre.2 [INFO] [stderr] Compiling contract-interface-types v0.0.1 (/opt/rustwide/workdir/contract-interface-types) [INFO] [stderr] Compiling contract-interface-macros v0.0.1 (/opt/rustwide/workdir/contract-interface-macros) [INFO] [stdout] warning: field is never read: `serve` [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | serve: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `RawAttrs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, FromMeta)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `request` [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | request: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RawAttrs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, FromMeta)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `args_attr` [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/trait_item_method_info.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | args_attr: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Attrs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/trait_item_method_info.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `return_attr` [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/trait_item_method_info.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | return_attr: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Attrs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/trait_item_method_info.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling contract-interface v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 47s [INFO] running `Command { std: "docker" "inspect" "3414098ee6a2db3fae984608490c65a67c686e6af1bf93fc4b368665e0fb4fcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3414098ee6a2db3fae984608490c65a67c686e6af1bf93fc4b368665e0fb4fcf", kill_on_drop: false }` [INFO] [stdout] 3414098ee6a2db3fae984608490c65a67c686e6af1bf93fc4b368665e0fb4fcf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8017b2ba9d34d9928a6a272e3c0f7a8cbcc260a01b81367ed69b48e99d0af9bc [INFO] running `Command { std: "docker" "start" "-a" "8017b2ba9d34d9928a6a272e3c0f7a8cbcc260a01b81367ed69b48e99d0af9bc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling contract-standards v0.1.0 (/opt/rustwide/workdir/contract-standards) [INFO] [stdout] warning: field is never read: `serve` [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | serve: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `RawAttrs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, FromMeta)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `request` [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | request: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RawAttrs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/item_trait_info.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(Debug, FromMeta)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `args_attr` [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/trait_item_method_info.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | args_attr: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Attrs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/trait_item_method_info.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `return_attr` [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/trait_item_method_info.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | return_attr: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Attrs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> contract-interface-macros/src/core_impl/info_extractor/trait_item_method_info.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling contract-interface v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: symbol `ft_balance_of` is already defined [INFO] [stdout] --> examples/dummy/example_03/api.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | / cs::extern_impl_fungible_token!( [INFO] [stdout] 14 | | stored_type = super::Struct3, [INFO] [stdout] 15 | | state_access = state.token, [INFO] [stdout] 16 | | impl_mod = cs::ft::core_impl::impl_fungible_token [INFO] [stdout] 17 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `cs::extern_impl_fungible_token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `contract-interface` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "8017b2ba9d34d9928a6a272e3c0f7a8cbcc260a01b81367ed69b48e99d0af9bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8017b2ba9d34d9928a6a272e3c0f7a8cbcc260a01b81367ed69b48e99d0af9bc", kill_on_drop: false }` [INFO] [stdout] 8017b2ba9d34d9928a6a272e3c0f7a8cbcc260a01b81367ed69b48e99d0af9bc