[INFO] cloning 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" "clone" "--bare" "https://github.com/swfsql/contract-interface" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswfsql%2Fcontract-interface", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswfsql%2Fcontract-interface'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9c1c5659fa0f2194c726a382a3c1a2ecf14df8e [INFO] testing swfsql/contract-interface against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fswfsql%2Fcontract-interface" "/workspace/builds/worker-60/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-60/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/swfsql/contract-interface on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-60/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" "+1.59.0" "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-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9dd07bbd5a99633a4de9b21f01ac9546077d098d96c7d020e9dc7256087496a7 [INFO] running `Command { std: "docker" "start" "-a" "9dd07bbd5a99633a4de9b21f01ac9546077d098d96c7d020e9dc7256087496a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9dd07bbd5a99633a4de9b21f01ac9546077d098d96c7d020e9dc7256087496a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9dd07bbd5a99633a4de9b21f01ac9546077d098d96c7d020e9dc7256087496a7", kill_on_drop: false }` [INFO] [stdout] 9dd07bbd5a99633a4de9b21f01ac9546077d098d96c7d020e9dc7256087496a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9816562ea47a0ae90967bc58ea4d9e9c98161d1818307c0f47eb410ad137fec9 [INFO] running `Command { std: "docker" "start" "-a" "9816562ea47a0ae90967bc58ea4d9e9c98161d1818307c0f47eb410ad137fec9", 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 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 itoa v0.4.8 [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 convert_case v0.4.0 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling near-sys v0.1.0 [INFO] [stderr] Compiling near-runtime-utils v4.0.0-pre.1 [INFO] [stderr] Compiling generic-array v0.14.4 [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 quote v1.0.10 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.8 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling borsh-derive-internal v0.8.2 [INFO] [stderr] Compiling borsh-schema-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 darling v0.12.4 [INFO] [stderr] Compiling thiserror v1.0.30 [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-vm-errors v4.0.0-pre.1 [INFO] [stderr] Compiling near-primitives-core v0.4.0 [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] [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] [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] [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] [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 2m 37s [INFO] running `Command { std: "docker" "inspect" "9816562ea47a0ae90967bc58ea4d9e9c98161d1818307c0f47eb410ad137fec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9816562ea47a0ae90967bc58ea4d9e9c98161d1818307c0f47eb410ad137fec9", kill_on_drop: false }` [INFO] [stdout] 9816562ea47a0ae90967bc58ea4d9e9c98161d1818307c0f47eb410ad137fec9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-60/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28b5b9e8327cdda6e5064bd54b2731f9cc233be2f8831a0aba818f638ce4a019 [INFO] running `Command { std: "docker" "start" "-a" "28b5b9e8327cdda6e5064bd54b2731f9cc233be2f8831a0aba818f638ce4a019", 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] [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] [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] [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] [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "28b5b9e8327cdda6e5064bd54b2731f9cc233be2f8831a0aba818f638ce4a019", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28b5b9e8327cdda6e5064bd54b2731f9cc233be2f8831a0aba818f638ce4a019", kill_on_drop: false }` [INFO] [stdout] 28b5b9e8327cdda6e5064bd54b2731f9cc233be2f8831a0aba818f638ce4a019