[INFO] cloning repository https://github.com/jltzbrg/rust-smart-contract-template [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jltzbrg/rust-smart-contract-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjltzbrg%2Frust-smart-contract-template"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjltzbrg%2Frust-smart-contract-template'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 248de2784172d39db1fd4bb5c74f02c5b6129c22 [INFO] testing jltzbrg/rust-smart-contract-template against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-3 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjltzbrg%2Frust-smart-contract-template" "/workspace/builds/worker-1-tc1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jltzbrg/rust-smart-contract-template [INFO] finished tweaking git repo https://github.com/jltzbrg/rust-smart-contract-template [INFO] tweaked toml for git repo https://github.com/jltzbrg/rust-smart-contract-template written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jltzbrg/rust-smart-contract-template on toolchain 1.100.0-beta.13 [INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"` [INFO] crate git repo https://github.com/jltzbrg/rust-smart-contract-template already has a lockfile, it will not be regenerated [INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: Cargo.toml: unused manifest key: package.author [INFO] [stderr] warning: `rust-near-smart-contract` (manifest) generated 1 warning [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memory_units v0.4.0 [INFO] [stderr] Downloaded wee_alloc v0.4.5 [INFO] [stderr] Downloaded serde_json v1.0.87 [INFO] [stderr] Downloaded impl-codec v0.5.1 [INFO] [stderr] Downloaded parity-scale-codec-derive v2.3.1 [INFO] [stderr] Downloaded zeroize_derive v1.3.2 [INFO] [stderr] Downloaded uint v0.9.4 [INFO] [stderr] Downloaded parity-scale-codec v2.3.1 [INFO] [stderr] Downloaded keccak v0.1.2 [INFO] [stderr] Downloaded proc-macro-crate v1.2.1 [INFO] [stderr] Downloaded itoa v1.0.4 [INFO] [stderr] Downloaded near-rpc-error-macro v0.13.0 [INFO] [stderr] Downloaded near-rpc-error-core v0.13.0 [INFO] [stderr] Downloaded near-account-id v0.13.0 [INFO] [stderr] Downloaded scratch v1.0.2 [INFO] [stderr] Downloaded near-vm-errors v0.13.0 [INFO] [stderr] Downloaded bytesize v1.1.0 [INFO] [stderr] Downloaded near-sys v0.2.0 [INFO] [stderr] Downloaded link-cplusplus v1.0.7 [INFO] [stderr] Downloaded cxxbridge-flags v1.0.80 [INFO] [stderr] Downloaded smart-default v0.6.0 [INFO] [stderr] Downloaded primitive-types v0.10.1 [INFO] [stderr] Downloaded c2-chacha v0.3.3 [INFO] [stderr] Downloaded near-primitives-core v0.13.0 [INFO] [stderr] Downloaded semver v1.0.14 [INFO] [stderr] Downloaded rustversion v1.0.9 [INFO] [stderr] Downloaded digest v0.10.5 [INFO] [stderr] Downloaded ed25519 v1.5.2 [INFO] [stderr] Downloaded near-sdk-macros v4.0.0 [INFO] [stderr] Downloaded iana-time-zone v0.1.52 [INFO] [stderr] Downloaded serde v1.0.147 [INFO] [stderr] Downloaded reed-solomon-erasure v4.0.2 [INFO] [stderr] Downloaded once_cell v1.15.0 [INFO] [stderr] Downloaded base64 v0.11.0 [INFO] [stderr] Downloaded near-crypto v0.13.0 [INFO] [stderr] Downloaded serde_derive v1.0.147 [INFO] [stderr] Downloaded near-vm-logic v0.13.0 [INFO] [stderr] Downloaded cxxbridge-macro v1.0.80 [INFO] [stderr] Downloaded cxx-build v1.0.80 [INFO] [stderr] Downloaded near-primitives v0.13.0 [INFO] [stderr] Downloaded near-sdk v4.0.0 [INFO] [stderr] Downloaded cxx v1.0.80 [INFO] [stderr] Downloaded parity-secp256k1 v0.7.0 [INFO] [stderr] Downloaded syn v1.0.103 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"` [INFO] [stdout] 1907e191159cda0d8b33d069e86cc530302fc941614e377e6ef4d020aa677992 [INFO] running `"docker" "start" "1907e191159cda0d8b33d069e86cc530302fc941614e377e6ef4d020aa677992"` [INFO] running `"docker" "inspect" "1907e191159cda0d8b33d069e86cc530302fc941614e377e6ef4d020aa677992"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1907e191159cda0d8b33d069e86cc530302fc941614e377e6ef4d020aa677992" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"` [INFO] running `"docker" "inspect" "1907e191159cda0d8b33d069e86cc530302fc941614e377e6ef4d020aa677992"` [INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1907e191159cda0d8b33d069e86cc530302fc941614e377e6ef4d020aa677992" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"` [INFO] [stderr] warning: Cargo.toml: unused manifest key: package.author [INFO] [stderr] warning: `rust-near-smart-contract` (manifest) generated 1 warning [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling serde_derive v1.0.147 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling once_cell v1.15.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling bitvec v0.20.4 [INFO] [stderr] Compiling byte-slice-cast v1.2.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling rustc-hex v2.1.0 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling digest v0.10.5 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling serde_json v1.0.87 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling parity-secp256k1 v0.7.0 [INFO] [stderr] Compiling ed25519 v1.5.2 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling uint v0.9.4 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling crypto-mac v0.8.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling reed-solomon-erasure v4.0.2 [INFO] [stderr] Compiling c2-chacha v0.3.3 [INFO] [stderr] Compiling blake2 v0.9.2 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling iana-time-zone v0.1.52 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling keccak v0.1.2 [INFO] [stderr] Compiling easy-ext v0.2.9 [INFO] [stderr] Compiling bytesize v1.1.0 [INFO] [stderr] Compiling sha3 v0.10.6 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling near-sys 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 thiserror-impl v1.0.37 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling zeroize_derive v1.3.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Compiling near-sdk-macros v4.0.0 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling strum v0.24.1 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling near-rpc-error-core v0.13.0 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling chrono v0.4.22 [INFO] [stderr] Compiling near-rpc-error-macro v0.13.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling proc-macro-crate v1.2.1 [INFO] [stderr] Compiling borsh-derive v0.9.3 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.1 [INFO] [stderr] Compiling borsh v0.9.3 [INFO] [stderr] Compiling parity-scale-codec v2.3.1 [INFO] [stderr] Compiling near-account-id v0.13.0 [INFO] [stderr] Compiling near-vm-errors v0.13.0 [INFO] [stderr] Compiling near-primitives-core v0.13.0 [INFO] [stderr] Compiling impl-codec v0.5.1 [INFO] [stderr] Compiling primitive-types v0.10.1 [INFO] [stderr] Compiling near-crypto v0.13.0 [INFO] [stderr] Compiling near-primitives v0.13.0 [INFO] [stderr] Compiling near-vm-logic v0.13.0 [INFO] [stderr] Compiling near-sdk v4.0.0 [INFO] [stderr] Compiling rust-near-smart-contract v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `(`, `,`, `::`, or `=`, found `BorshDeserialize` [INFO] [stdout] --> src/lib.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Defaultm BorshDeserialize, BorshSerialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected one of `(`, `,`, `::`, or `=` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `tests` [INFO] [stdout] --> src/lib.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | #[cfg(tests)] [INFO] [stdout] | ^^^^^ help: there is a config with a similar name: `test` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tests)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(tests)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BorshDeserialize`, `BorshSerialize`, and `self` [INFO] [stdout] --> src/lib.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use near_sdk::borsh::{self, BorshDeserialize, BorshSerialize}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-near-smart-contract` (lib) due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `"docker" "inspect" "1907e191159cda0d8b33d069e86cc530302fc941614e377e6ef4d020aa677992"` [INFO] running `"docker" "rm" "-f" "1907e191159cda0d8b33d069e86cc530302fc941614e377e6ef4d020aa677992"` [INFO] [stdout] 1907e191159cda0d8b33d069e86cc530302fc941614e377e6ef4d020aa677992