[INFO] crate ontio-codegen 0.1.0 is already in cache [INFO] checking ontio-codegen-0.1.0 against try#d7b51666469c792a8a3f40849607739bae1e705e for pr-71665 [INFO] extracting crate ontio-codegen 0.1.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate ontio-codegen 0.1.0 on toolchain d7b51666469c792a8a3f40849607739bae1e705e [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate ontio-codegen 0.1.0 [INFO] finished tweaking crates.io crate ontio-codegen 0.1.0 [INFO] tweaked toml for crates.io crate ontio-codegen 0.1.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 9b08f8e78e1a20a263ceb8e7f67013c89ea5655328e05718080ed462b617519b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "9b08f8e78e1a20a263ceb8e7f67013c89ea5655328e05718080ed462b617519b"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Checking quote v1.0.4 [INFO] [stderr] Checking syn v1.0.19 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking sha2 v0.8.1 [INFO] [stderr] Checking num v0.2.1 [INFO] [stderr] Checking ontio-codegen v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ontio_std` [INFO] [stderr] --> src/lib.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | use ontio_std::prelude::*; [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ontio_std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ontio_std` [INFO] [stderr] --> src/lib.rs:89:13 [INFO] [stderr] | [INFO] [stderr] 89 | use ontio_std::types::{Address, U128}; [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ontio_std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ontio_std` [INFO] [stderr] --> src/lib.rs:64:7 [INFO] [stderr] | [INFO] [stderr] 64 | #[ontio_std::macros::contract] [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ontio_std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ontio_std` [INFO] [stderr] --> src/lib.rs:85:32 [INFO] [stderr] | [INFO] [stderr] 85 | const _ADDR: Address = ontio_std::macros::base58!("AFmseVrdL9f9oyCzZefL9tG6UbvhPbdYzM"); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ontio_std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ontio_std` [INFO] [stderr] --> src/lib.rs:90:11 [INFO] [stderr] | [INFO] [stderr] 90 | #[ontio_std::macros::event] [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ontio_std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ontio_std` [INFO] [stderr] --> src/lib.rs:93:11 [INFO] [stderr] | [INFO] [stderr] 93 | #[ontio_std::macros::event] [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ontio_std` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `ontio_std` [INFO] [stderr] --> src/lib.rs:96:11 [INFO] [stderr] | [INFO] [stderr] 96 | #[ontio_std::macros::event(name=transfer_test)] [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `ontio_std` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `event` in this scope [INFO] [stderr] --> src/lib.rs:75:11 [INFO] [stderr] | [INFO] [stderr] 75 | #[event] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `event` in this scope [INFO] [stderr] --> src/lib.rs:77:11 [INFO] [stderr] | [INFO] [stderr] 77 | #[event] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `event` in this scope [INFO] [stderr] --> src/lib.rs:79:11 [INFO] [stderr] | [INFO] [stderr] 79 | #[event] [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Address` in this scope [INFO] [stderr] --> src/lib.rs:66:39 [INFO] [stderr] | [INFO] [stderr] 66 | fn mut_self(&mut self, owner: Address) -> bool; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Address` in this scope [INFO] [stderr] --> src/lib.rs:68:41 [INFO] [stderr] | [INFO] [stderr] 68 | fn multi_param(&mut self, from: Address, to: Address, amount: U128) -> bool; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Address` in this scope [INFO] [stderr] --> src/lib.rs:68:54 [INFO] [stderr] | [INFO] [stderr] 68 | fn multi_param(&mut self, from: Address, to: Address, amount: U128) -> bool; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `U128` in this scope [INFO] [stderr] --> src/lib.rs:68:71 [INFO] [stderr] | [INFO] [stderr] 68 | fn multi_param(&mut self, from: Address, to: Address, amount: U128) -> bool; [INFO] [stderr] | ^^^^ help: a builtin type with a similar name exists (notice the capitalization): `u128` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Address` in this scope [INFO] [stderr] --> src/lib.rs:69:41 [INFO] [stderr] | [INFO] [stderr] 69 | fn ref_param(&mut self, owner: &Address) -> bool; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Address` in this scope [INFO] [stderr] --> src/lib.rs:70:44 [INFO] [stderr] | [INFO] [stderr] 70 | fn slice_param(&mut self, addrs: &[Address]) -> bool; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Address` in this scope [INFO] [stderr] --> src/lib.rs:71:45 [INFO] [stderr] | [INFO] [stderr] 71 | fn mut_param(&mut self, owner: &mut Address) -> bool; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Address` in this scope [INFO] [stderr] --> src/lib.rs:72:52 [INFO] [stderr] | [INFO] [stderr] 72 | fn mut_slice_param(&mut self, owner: &mut [Address]) -> bool; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Address` in this scope [INFO] [stderr] --> src/lib.rs:76:31 [INFO] [stderr] | [INFO] [stderr] 76 | fn Event(&self, from: Address, to: Address, amount: U128) {} [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Address` in this scope [INFO] [stderr] --> src/lib.rs:76:44 [INFO] [stderr] | [INFO] [stderr] 76 | fn Event(&self, from: Address, to: Address, amount: U128) {} [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `U128` in this scope [INFO] [stderr] --> src/lib.rs:76:61 [INFO] [stderr] | [INFO] [stderr] 76 | fn Event(&self, from: Address, to: Address, amount: U128) {} [INFO] [stderr] | ^^^^ help: a builtin type with a similar name exists (notice the capitalization): `u128` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Address` in this scope [INFO] [stderr] --> src/lib.rs:78:35 [INFO] [stderr] | [INFO] [stderr] 78 | fn RefParam(&self, from: &Address, to: Address, amount: U128) {} [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Address` in this scope [INFO] [stderr] --> src/lib.rs:78:48 [INFO] [stderr] | [INFO] [stderr] 78 | fn RefParam(&self, from: &Address, to: Address, amount: U128) {} [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `U128` in this scope [INFO] [stderr] --> src/lib.rs:78:65 [INFO] [stderr] | [INFO] [stderr] 78 | fn RefParam(&self, from: &Address, to: Address, amount: U128) {} [INFO] [stderr] | ^^^^ help: a builtin type with a similar name exists (notice the capitalization): `u128` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Address` in this scope [INFO] [stderr] --> src/lib.rs:80:38 [INFO] [stderr] | [INFO] [stderr] 80 | fn SliceParam(&self, from: &[Address]) {} [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Address` in this scope [INFO] [stderr] --> src/lib.rs:85:22 [INFO] [stderr] | [INFO] [stderr] 85 | const _ADDR: Address = ontio_std::macros::base58!("AFmseVrdL9f9oyCzZefL9tG6UbvhPbdYzM"); [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Address` in this scope [INFO] [stderr] --> src/lib.rs:91:28 [INFO] [stderr] | [INFO] [stderr] 91 | fn transfer(from: &Address, to: &Address, amount: U128) {} [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Address` in this scope [INFO] [stderr] --> src/lib.rs:91:42 [INFO] [stderr] | [INFO] [stderr] 91 | fn transfer(from: &Address, to: &Address, amount: U128) {} [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `U128` in this scope [INFO] [stderr] --> src/lib.rs:91:59 [INFO] [stderr] | [INFO] [stderr] 91 | fn transfer(from: &Address, to: &Address, amount: U128) {} [INFO] [stderr] | ^^^^ help: a builtin type with a similar name exists (notice the capitalization): `u128` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Address` in this scope [INFO] [stderr] --> src/lib.rs:94:33 [INFO] [stderr] | [INFO] [stderr] 94 | fn transfer_name(from: &Address) {} [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Address` in this scope [INFO] [stderr] --> src/lib.rs:97:34 [INFO] [stderr] | [INFO] [stderr] 97 | fn transfer_name2(from: &Address) {} [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 31 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `ontio-codegen`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "9b08f8e78e1a20a263ceb8e7f67013c89ea5655328e05718080ed462b617519b"` [INFO] running `"docker" "rm" "-f" "9b08f8e78e1a20a263ceb8e7f67013c89ea5655328e05718080ed462b617519b"` [INFO] [stdout] 9b08f8e78e1a20a263ceb8e7f67013c89ea5655328e05718080ed462b617519b