[INFO] cloning repository https://github.com/willemneal/tenk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/willemneal/tenk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwillemneal%2Ftenk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwillemneal%2Ftenk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4299af55b259af6d4319ef4abdfd7d49c0b339fe [INFO] testing willemneal/tenk against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwillemneal%2Ftenk" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/willemneal/tenk on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/willemneal/tenk [INFO] finished tweaking git repo https://github.com/willemneal/tenk [INFO] tweaked toml for git repo https://github.com/willemneal/tenk written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/willemneal/tenk already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/ahalabs/near-sdk-rs` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded near-crypto v0.10.0 [INFO] [stderr] Downloaded easy-ext v0.2.9 [INFO] [stderr] Downloaded c2-chacha v0.3.3 [INFO] [stderr] Downloaded near-rpc-error-macro v0.10.0 [INFO] [stderr] Downloaded near-vm-errors v0.10.0 [INFO] [stderr] Downloaded near-account-id v0.10.0 [INFO] [stderr] Downloaded near-rpc-error-core v0.10.0 [INFO] [stderr] Downloaded witgen_macro_helper v0.11.0 [INFO] [stderr] Downloaded near-primitives-core v0.10.0 [INFO] [stderr] Downloaded near-primitives v0.10.0 [INFO] [stderr] Downloaded near-vm-logic v0.10.0 [INFO] [stderr] Downloaded near-units v0.2.0 [INFO] [stderr] Downloaded witgen_macro v0.11.0 [INFO] [stderr] Downloaded witgen v0.11.0 [INFO] [stderr] Downloaded near-units-core v0.2.0 [INFO] [stderr] Downloaded near-units-macro v0.2.0 [INFO] [stderr] Downloaded ripemd160 v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8b094e8a42e0bfca2fd71267e033e1911e89d5322e179a4cf017b07ea592088b [INFO] running `Command { std: "docker" "start" "-a" "8b094e8a42e0bfca2fd71267e033e1911e89d5322e179a4cf017b07ea592088b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b094e8a42e0bfca2fd71267e033e1911e89d5322e179a4cf017b07ea592088b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b094e8a42e0bfca2fd71267e033e1911e89d5322e179a4cf017b07ea592088b", kill_on_drop: false }` [INFO] [stdout] 8b094e8a42e0bfca2fd71267e033e1911e89d5322e179a4cf017b07ea592088b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e021ed65f6242c6c2d8371190774b6cd4fa2575eae4533e11da31ea4aaed8962 [INFO] running `Command { std: "docker" "start" "-a" "e021ed65f6242c6c2d8371190774b6cd4fa2575eae4533e11da31ea4aaed8962", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling semver v1.0.7 [INFO] [stderr] Compiling byte-slice-cast v1.2.1 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling reed-solomon-erasure v4.0.2 [INFO] [stderr] Compiling validator_types v0.12.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling easy-ext v0.2.9 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling near-sys v0.1.0 (https://github.com/ahalabs/near-sdk-rs?tag=v4.0.0-3#16e7d112) [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling parity-secp256k1 v0.7.0 [INFO] [stderr] Compiling ed25519 v1.4.1 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling uint v0.9.3 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling c2-chacha v0.3.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling ripemd160 v0.9.1 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling num-format v0.4.0 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling near-units-core v0.2.0 [INFO] [stderr] Compiling borsh-derive-internal v0.9.3 [INFO] [stderr] Compiling borsh-schema-derive-internal v0.9.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling darling_core v0.13.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Compiling near-units-macro v0.2.0 [INFO] [stderr] Compiling darling_macro v0.13.1 [INFO] [stderr] Compiling near-units v0.2.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling darling v0.13.1 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling serde_with_macros v1.5.1 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling camino v1.0.7 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling near-rpc-error-core v0.10.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_with v1.12.0 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling validator v0.12.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling near-rpc-error-macro v0.10.0 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling witgen_macro_helper v0.11.0 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling witgen_macro v0.11.0 [INFO] [stderr] Compiling near-sdk-macros v4.0.0-pre.7 (https://github.com/ahalabs/near-sdk-rs?tag=v4.0.0-3#16e7d112) [INFO] [stderr] Compiling near-account-id v0.10.0 [INFO] [stderr] Compiling near-vm-errors v0.10.0 [INFO] [stderr] Compiling near-primitives-core v0.10.0 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling witgen v0.11.0 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling primitive-types v0.10.1 [INFO] [stderr] Compiling near-crypto v0.10.0 [INFO] [stderr] Compiling near-primitives v0.10.0 [INFO] [stderr] Compiling near-vm-logic v0.10.0 [INFO] [stderr] Compiling near-sdk v4.0.0-pre.7 (https://github.com/ahalabs/near-sdk-rs?tag=v4.0.0-3#16e7d112) [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk/src/json_types/integers.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | #[crate::witgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: cannot fetch cargo metadata: CargoMetadata { stderr: " Updating crates.io index\nwarning: spurious network error (2 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)\nwarning: spurious network error (1 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)\nerror: failed to get `base64` as a dependency of package `near-sdk v4.0.0-pre.7 (/opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk)`\n\nCaused by:\n failed to load source for dependency `base64`\n\nCaused by:\n Unable to update registry `crates-io`\n\nCaused by:\n failed to fetch `https://github.com/rust-lang/crates.io-index`\n\nCaused by:\n network failure seems to have happened\n if a proxy or similar is necessary `net.git-fetch-with-cli` may help here\n https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli\n\nCaused by:\n failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)\n" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk/src/json_types/vector.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | #[crate::witgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: cannot fetch cargo metadata: CargoMetadata { stderr: " Updating crates.io index\nwarning: spurious network error (2 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)\nwarning: spurious network error (1 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)\nerror: failed to get `base64` as a dependency of package `near-sdk v4.0.0-pre.7 (/opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk)`\n\nCaused by:\n failed to load source for dependency `base64`\n\nCaused by:\n Unable to update registry `crates-io`\n\nCaused by:\n failed to fetch `https://github.com/rust-lang/crates.io-index`\n\nCaused by:\n network failure seems to have happened\n if a proxy or similar is necessary `net.git-fetch-with-cli` may help here\n https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli\n\nCaused by:\n failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)\n" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk/src/types/public_key.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | #[crate::witgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: cannot fetch cargo metadata: CargoMetadata { stderr: " Updating crates.io index\nwarning: spurious network error (2 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)\nwarning: spurious network error (1 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)\nerror: failed to get `base64` as a dependency of package `near-sdk v4.0.0-pre.7 (/opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk)`\n\nCaused by:\n failed to load source for dependency `base64`\n\nCaused by:\n Unable to update registry `crates-io`\n\nCaused by:\n failed to fetch `https://github.com/rust-lang/crates.io-index`\n\nCaused by:\n network failure seems to have happened\n if a proxy or similar is necessary `net.git-fetch-with-cli` may help here\n https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli\n\nCaused by:\n failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)\n" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk/src/types/primitives.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[crate::witgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: cannot fetch cargo metadata: CargoMetadata { stderr: " Updating crates.io index\nwarning: spurious network error (2 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)\nwarning: spurious network error (1 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)\nerror: failed to get `base64` as a dependency of package `near-sdk v4.0.0-pre.7 (/opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk)`\n\nCaused by:\n failed to load source for dependency `base64`\n\nCaused by:\n Unable to update registry `crates-io`\n\nCaused by:\n failed to fetch `https://github.com/rust-lang/crates.io-index`\n\nCaused by:\n network failure seems to have happened\n if a proxy or similar is necessary `net.git-fetch-with-cli` may help here\n https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli\n\nCaused by:\n failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)\n" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk/src/types/primitives.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | #[crate::witgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: cannot fetch cargo metadata: CargoMetadata { stderr: " Updating crates.io index\nwarning: spurious network error (2 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)\nwarning: spurious network error (1 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)\nerror: failed to get `base64` as a dependency of package `near-sdk v4.0.0-pre.7 (/opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk)`\n\nCaused by:\n failed to load source for dependency `base64`\n\nCaused by:\n Unable to update registry `crates-io`\n\nCaused by:\n failed to fetch `https://github.com/rust-lang/crates.io-index`\n\nCaused by:\n network failure seems to have happened\n if a proxy or similar is necessary `net.git-fetch-with-cli` may help here\n https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli\n\nCaused by:\n failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)\n" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk/src/types/account_id.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[crate::witgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: cannot fetch cargo metadata: CargoMetadata { stderr: " Updating crates.io index\nwarning: spurious network error (2 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)\nwarning: spurious network error (1 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)\nerror: failed to get `base64` as a dependency of package `near-sdk v4.0.0-pre.7 (/opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk)`\n\nCaused by:\n failed to load source for dependency `base64`\n\nCaused by:\n Unable to update registry `crates-io`\n\nCaused by:\n failed to fetch `https://github.com/rust-lang/crates.io-index`\n\nCaused by:\n network failure seems to have happened\n if a proxy or similar is necessary `net.git-fetch-with-cli` may help here\n https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli\n\nCaused by:\n failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)\n" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk/src/types/gas.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | #[crate::witgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: cannot fetch cargo metadata: CargoMetadata { stderr: " Updating crates.io index\nwarning: spurious network error (2 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)\nwarning: spurious network error (1 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)\nerror: failed to get `base64` as a dependency of package `near-sdk v4.0.0-pre.7 (/opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk)`\n\nCaused by:\n failed to load source for dependency `base64`\n\nCaused by:\n Unable to update registry `crates-io`\n\nCaused by:\n failed to fetch `https://github.com/rust-lang/crates.io-index`\n\nCaused by:\n network failure seems to have happened\n if a proxy or similar is necessary `net.git-fetch-with-cli` may help here\n https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli\n\nCaused by:\n failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)\n" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk/src/types/mod.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[crate::witgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: cannot fetch cargo metadata: CargoMetadata { stderr: " Updating crates.io index\nwarning: spurious network error (2 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)\nwarning: spurious network error (1 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)\nerror: failed to get `base64` as a dependency of package `near-sdk v4.0.0-pre.7 (/opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk)`\n\nCaused by:\n failed to load source for dependency `base64`\n\nCaused by:\n Unable to update registry `crates-io`\n\nCaused by:\n failed to fetch `https://github.com/rust-lang/crates.io-index`\n\nCaused by:\n network failure seems to have happened\n if a proxy or similar is necessary `net.git-fetch-with-cli` may help here\n https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli\n\nCaused by:\n failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)\n" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk/src/types/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[crate::witgen] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: cannot fetch cargo metadata: CargoMetadata { stderr: " Updating crates.io index\nwarning: spurious network error (2 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)\nwarning: spurious network error (1 tries remaining): failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)\nerror: failed to get `base64` as a dependency of package `near-sdk v4.0.0-pre.7 (/opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk)`\n\nCaused by:\n failed to load source for dependency `base64`\n\nCaused by:\n Unable to update registry `crates-io`\n\nCaused by:\n failed to fetch `https://github.com/rust-lang/crates.io-index`\n\nCaused by:\n network failure seems to have happened\n if a proxy or similar is necessary `net.git-fetch-with-cli` may help here\n https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli\n\nCaused by:\n failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)\n" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::types::Balance`, `crate::types::StorageUsage` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk/src/environment/env.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 13 | AccountId, Balance, BlockHeight, Gas, PromiseIndex, PromiseResult, PublicKey, StorageUsage, [INFO] [stdout] | ^^^^^^^ no `Balance` in `types` ^^^^^^^^^^^^ no `StorageUsage` in `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::types::Balance` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk/src/environment/mock/external.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | types::{Balance, Gas}, [INFO] [stdout] | ^^^^^^^ no `Balance` in `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::types::Balance` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk/src/environment/mock/mocked_blockchain.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::types::{Balance, PromiseResult}; [INFO] [stdout] | ^^^^^^^ no `Balance` in `types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Balance` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk/src/environment/mock/receipt.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{AccountId, Balance, Gas, PublicKey}; [INFO] [stdout] | ^^^^^^^ no `Balance` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::Balance` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk/src/promise.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::{AccountId, Balance, Gas, PromiseIndex, PublicKey}; [INFO] [stdout] | ^^^^^^^ no `Balance` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `crate::Balance`, `crate::StorageUsage` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk/src/test_utils/context.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Balance, BlockHeight, EpochHeight, Gas, PromiseResult, PublicKey, StorageUsage, VMContext, [INFO] [stdout] | ^^^^^^^ no `Balance` in the root ^^^^^^^^^^^^ no `StorageUsage` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balance` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk/src/types/mod.rs:28:22 [INFO] [stdout] | [INFO] [stdout] 28 | pub const ONE_YOCTO: Balance = 1; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use near_primitives_core::types::Balance; [INFO] [stdout] | [INFO] [stdout] 2 | use near_vm_logic::types::Balance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Balance` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk/src/types/mod.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | pub const ONE_NEAR: Balance = 1_000_000_000_000_000_000_000_000; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use near_primitives_core::types::Balance; [INFO] [stdout] | [INFO] [stdout] 2 | use near_vm_logic::types::Balance; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk/src/environment/mock/mocked_blockchain.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | Default::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk/src/test_utils/mod.rs:80:62 [INFO] [stdout] | [INFO] [stdout] 80 | $crate::testing_env!($context, $config, $fee_config, Default::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk/src/test_utils/test_env.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | testing_env!(VMContextBuilder::new().build(), vm_config) [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] = note: this error originates in the macro `$crate::testing_env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk/src/test_utils/mod.rs:80:62 [INFO] [stdout] | [INFO] [stdout] 80 | $crate::testing_env!($context, $config, $fee_config, Default::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk/src/test_utils/test_env.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | testing_env!(VMContextBuilder::new().build()); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] = note: this error originates in the macro `$crate::testing_env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk/src/test_utils/mod.rs:80:62 [INFO] [stdout] | [INFO] [stdout] 80 | $crate::testing_env!($context, $config, $fee_config, Default::default()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk/src/test_utils/test_env.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | crate::testing_env!(VMContextBuilder::new().build(), VMConfig::free()) [INFO] [stdout] | ---------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] = note: this error originates in the macro `$crate::testing_env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk/src/test_utils/context.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | Default::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/near-sdk-rs-2acc8d06e3cd565c/16e7d11/near-sdk/src/environment/mock/external.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Default, Clone)] [INFO] [stdout] | ------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 18 | pub validators: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Default` [INFO] [stdout] = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 23 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `near-sdk` due to 24 previous errors [INFO] running `Command { std: "docker" "inspect" "e021ed65f6242c6c2d8371190774b6cd4fa2575eae4533e11da31ea4aaed8962", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e021ed65f6242c6c2d8371190774b6cd4fa2575eae4533e11da31ea4aaed8962", kill_on_drop: false }` [INFO] [stdout] e021ed65f6242c6c2d8371190774b6cd4fa2575eae4533e11da31ea4aaed8962