[INFO] crate ontio-codegen 0.1.0 is already in cache
[INFO] checking ontio-codegen-0.1.0 against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] extracting crate ontio-codegen 0.1.0 into /workspace/builds/worker-4/source
[INFO] validating manifest of crates.io crate ontio-codegen 0.1.0 on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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-4/source/Cargo.toml
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 87eca0df4eb815ff4781f89cadb7a795822549e28900276257da1b5e300ac3a6
[INFO] running `"docker" "start" "-a" "87eca0df4eb815ff4781f89cadb7a795822549e28900276257da1b5e300ac3a6"`
[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" "87eca0df4eb815ff4781f89cadb7a795822549e28900276257da1b5e300ac3a6"`
[INFO] running `"docker" "rm" "-f" "87eca0df4eb815ff4781f89cadb7a795822549e28900276257da1b5e300ac3a6"`
[INFO] [stdout] 87eca0df4eb815ff4781f89cadb7a795822549e28900276257da1b5e300ac3a6
