[INFO] cloning repository https://github.com/Luan1981/substrate-buoi-4 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Luan1981/substrate-buoi-4" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuan1981%2Fsubstrate-buoi-4", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuan1981%2Fsubstrate-buoi-4'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d5a5a185bfdfa14c3d6ae992828fcaf1d57cc28 [INFO] testing Luan1981/substrate-buoi-4 against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLuan1981%2Fsubstrate-buoi-4" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Luan1981/substrate-buoi-4 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] started tweaking git repo https://github.com/Luan1981/substrate-buoi-4 [INFO] finished tweaking git repo https://github.com/Luan1981/substrate-buoi-4 [INFO] tweaked toml for git repo https://github.com/Luan1981/substrate-buoi-4 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/Luan1981/substrate-buoi-4 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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scale-info-derive v2.0.0 [INFO] [stderr] Downloaded parity-scale-codec-derive v3.0.0 [INFO] [stderr] Downloaded scale-info v2.0.1 [INFO] [stderr] Downloaded ink_lang_codegen v3.0.0-rc9 [INFO] [stderr] Downloaded parity-scale-codec v3.0.0 [INFO] [stderr] Downloaded ink_eth_compatibility v3.0.0-rc9 [INFO] [stderr] Downloaded funty v2.0.0 [INFO] [stderr] Downloaded array-init v2.0.0 [INFO] [stderr] Downloaded secp256k1 v0.21.3 [INFO] [stderr] Downloaded wyz v0.5.0 [INFO] [stderr] Downloaded bitvec v1.0.0 [INFO] [stderr] Downloaded ink_primitives v3.0.0-rc9 [INFO] [stderr] Downloaded ink_allocator v3.0.0-rc9 [INFO] [stderr] Downloaded ink_metadata v3.0.0-rc9 [INFO] [stderr] Downloaded ink_prelude v3.0.0-rc9 [INFO] [stderr] Downloaded ink_storage_derive v3.0.0-rc9 [INFO] [stderr] Downloaded ink_lang_ir v3.0.0-rc9 [INFO] [stderr] Downloaded ink_lang_macro v3.0.0-rc9 [INFO] [stderr] Downloaded ink_env v3.0.0-rc9 [INFO] [stderr] Downloaded ink_lang v3.0.0-rc9 [INFO] [stderr] Downloaded ink_storage v3.0.0-rc9 [INFO] [stderr] Downloaded radium v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5eeacc6fd75cdbcbaab642b01bac3afe96cb2d8e44facbbd27739bd562b073f7 [INFO] running `Command { std: "docker" "start" "-a" "5eeacc6fd75cdbcbaab642b01bac3afe96cb2d8e44facbbd27739bd562b073f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5eeacc6fd75cdbcbaab642b01bac3afe96cb2d8e44facbbd27739bd562b073f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eeacc6fd75cdbcbaab642b01bac3afe96cb2d8e44facbbd27739bd562b073f7", kill_on_drop: false }` [INFO] [stdout] 5eeacc6fd75cdbcbaab642b01bac3afe96cb2d8e44facbbd27739bd562b073f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fae45fa2b3151271d37034702f4ea9e91d7e897363252e0e21e95d12db3ab26d [INFO] running `Command { std: "docker" "start" "-a" "fae45fa2b3151271d37034702f4ea9e91d7e897363252e0e21e95d12db3ab26d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling byte-slice-cast v1.2.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling array-init v2.0.0 [INFO] [stderr] Compiling ink_prelude v3.0.0-rc9 [INFO] [stderr] Compiling ink_allocator v3.0.0-rc9 [INFO] [stderr] Compiling wyz v0.5.0 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling bitvec v1.0.0 [INFO] [stderr] Compiling secp256k1-sys v0.4.2 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling libsecp256k1-core v0.3.0 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling secp256k1 v0.21.3 [INFO] [stderr] Compiling blake2 v0.10.4 [INFO] [stderr] Compiling sha3 v0.10.1 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling libsecp256k1-gen-genmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1-gen-ecmult v0.3.0 [INFO] [stderr] Compiling libsecp256k1 v0.7.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling ink_lang_ir v3.0.0-rc9 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling ink_storage_derive v3.0.0-rc9 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling parity-scale-codec-derive v3.0.0 [INFO] [stderr] Compiling scale-info-derive v2.0.0 [INFO] [stderr] Compiling parity-scale-codec v3.0.0 [INFO] [stderr] Compiling ink_primitives v3.0.0-rc9 [INFO] [stderr] Compiling ink_lang_codegen v3.0.0-rc9 [INFO] [stderr] Compiling scale-info v2.0.1 [INFO] [stderr] Compiling ink_lang_macro v3.0.0-rc9 [INFO] [stderr] Compiling ink_metadata v3.0.0-rc9 [INFO] [stderr] Compiling ink_env v3.0.0-rc9 [INFO] [stderr] Compiling ink_storage v3.0.0-rc9 [INFO] [stderr] Compiling ink_eth_compatibility v3.0.0-rc9 [INFO] [stderr] Compiling ink_lang v3.0.0-rc9 [INFO] [stderr] Compiling nft v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0624]: associated function `new` is private [INFO] [stdout] --> lib.rs:22:52 [INFO] [stdout] | [INFO] [stdout] 22 | id_to_owner: ink_storage::Mapping::new(), [INFO] [stdout] | ^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ink_storage-3.0.0-rc9/src/lazy/mapping.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | fn new(offset_key: Key) -> Self { [INFO] [stdout] | ------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> lib.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | id_to_owner: ink_storage::Mapping::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ink_storage-3.0.0-rc9/src/lazy/mapping.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | fn new(offset_key: Key) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `new` is private [INFO] [stdout] --> lib.rs:23:61 [INFO] [stdout] | [INFO] [stdout] 23 | owner_to_token_count: ink_storage::Mapping::new(), [INFO] [stdout] | ^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ink_storage-3.0.0-rc9/src/lazy/mapping.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | fn new(offset_key: Key) -> Self { [INFO] [stdout] | ------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> lib.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 23 | owner_to_token_count: ink_storage::Mapping::new(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^-- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ink_storage-3.0.0-rc9/src/lazy/mapping.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | fn new(offset_key: Key) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> lib.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 29 | self.id_to_owner.insert(token_id, receiver); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `ink_env::AccountId` [INFO] [stdout] | help: consider borrowing here: `&receiver` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `ink_env::AccountId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> lib.rs:32:60 [INFO] [stdout] | [INFO] [stdout] 32 | self.owner_to_token_count.insert(receiver, n + 1); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found `u64` [INFO] [stdout] | help: consider borrowing here: `&(n + 1)` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> lib.rs:34:60 [INFO] [stdout] | [INFO] [stdout] 34 | self.owner_to_token_count.insert(receiver, 1); [INFO] [stdout] | ^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found integer [INFO] [stdout] | help: consider borrowing here: `&1` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> lib.rs:57:47 [INFO] [stdout] | [INFO] [stdout] 57 | self.id_to_owner.insert(token_id, to); [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `ink_env::AccountId` [INFO] [stdout] | help: consider borrowing here: `&to` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `ink_env::AccountId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> lib.rs:59:84 [INFO] [stdout] | [INFO] [stdout] 59 | let from_owner_count = *self.owner_to_token_count.get(&from).unwrap_or(&0); [INFO] [stdout] | ^^ expected `u64`, found `&{integer}` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 59 - let from_owner_count = *self.owner_to_token_count.get(&from).unwrap_or(&0); [INFO] [stdout] 59 + let from_owner_count = *self.owner_to_token_count.get(&from).unwrap_or(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `u64` cannot be dereferenced [INFO] [stdout] --> lib.rs:59:36 [INFO] [stdout] | [INFO] [stdout] 59 | let from_owner_count = *self.owner_to_token_count.get(&from).unwrap_or(&0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> lib.rs:60:80 [INFO] [stdout] | [INFO] [stdout] 60 | let to_owner_count = *self.owner_to_token_count.get(&to).unwrap_or(&0); [INFO] [stdout] | ^^ expected `u64`, found `&{integer}` [INFO] [stdout] | [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 60 - let to_owner_count = *self.owner_to_token_count.get(&to).unwrap_or(&0); [INFO] [stdout] 60 + let to_owner_count = *self.owner_to_token_count.get(&to).unwrap_or(0); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `u64` cannot be dereferenced [INFO] [stdout] --> lib.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | let to_owner_count = *self.owner_to_token_count.get(&to).unwrap_or(&0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `u64` cannot be dereferenced [INFO] [stdout] --> lib.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | return *number.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> lib.rs:42:47 [INFO] [stdout] | [INFO] [stdout] 42 | Some(acc) => return if acc != account { [INFO] [stdout] | ^^^^^^^ expected struct `ink_env::AccountId`, found `&ink_env::AccountId` [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 42 | Some(acc) => return if acc != *account { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0614, E0624. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nft` due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "fae45fa2b3151271d37034702f4ea9e91d7e897363252e0e21e95d12db3ab26d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fae45fa2b3151271d37034702f4ea9e91d7e897363252e0e21e95d12db3ab26d", kill_on_drop: false }` [INFO] [stdout] fae45fa2b3151271d37034702f4ea9e91d7e897363252e0e21e95d12db3ab26d