[core] add doc test example to build_create

15 jobs for robin-implement-trait-codegen in 4 minutes and 35 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Check
passed #588809
linux-docker
check-std

00:01:36

passed #588810
linux-docker
check-wasm

00:01:10

 
  Workspace
passed #588811
linux-docker
build-std

00:01:53

passed #588812
linux-docker
build-wasm

00:00:43

failed #588815
linux-docker
clippy-std

00:01:14

failed #588816
linux-docker
clippy-wasm

00:00:50

failed #588814
linux-docker
codecov

00:02:56

failed #588817
linux-docker
fmt

00:00:37

failed #588813
linux-docker
test

00:02:33

 
  Examples
skipped #588820
linux-docker
examples-clippy-std
skipped #588821
linux-docker
examples-clippy-wasm
skipped #588822
linux-docker
examples-contract-build
skipped #588819
linux-docker
examples-fmt
passed #588823
linux-docker
examples-generate-metadata

00:01:05

skipped #588818
linux-docker
examples-test
 
Name Stage Failure
failed
codecov Workspace

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

error: test failed, to rerun pass '-p ink_lang_macro --test compile_tests'
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1
failed
test Workspace

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

error: test failed, to rerun pass '-p ink_lang_macro --test compile_tests'
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1
failed
clippy-std Workspace
error: aborting due to 2 previous errors

error: could not compile `ink_core`.

Caused by:
process didn't exit successfully: `/usr/local/rustup/toolchains/nightly-2020-06-23-x86_64-unknown-linux-gnu/bin/clippy-driver rustc --crate-name ink_core --edition=2018 core/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata -Cembed-bitcode=no -C debuginfo=2 --cfg 'feature="blake2"' --cfg 'feature="criterion"' --cfg 'feature="default"' --cfg 'feature="ink-fuzz-tests"' --cfg 'feature="ink_metadata"' --cfg 'feature="rand"' --cfg 'feature="scale-info"' --cfg 'feature="sha2"' --cfg 'feature="sha3"' --cfg 'feature="std"' -C metadata=e08074c42152c5c8 -C extra-filename=-e08074c42152c5c8 --out-dir /ci-cache/ink/targets/robin-implement-trait-codegen/clippy-std/debug/deps -C incremental=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-std/debug/incremental -L dependency=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-std/debug/deps --extern array_init=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-std/debug/deps/libarray_init-c4bd845e678b7b68.rmeta --extern blake2=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-std/debug/deps/libblake2-15b19f45232fc088.rmeta --extern cfg_if=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-std/debug/deps/libcfg_if-4cb4e0a215a79e72.rmeta --extern criterion=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-std/debug/deps/libcriterion-de4c1995c91c17dc.rmeta --extern derive_more=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-std/debug/deps/libderive_more-7d5b2f3db85f873c.so --extern generic_array=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-std/debug/deps/libgeneric_array-bcedd21d53598661.rmeta --extern ink_alloc=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-std/debug/deps/libink_alloc-51c53eac5bc859a3.rmeta --extern ink_core_derive=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-std/debug/deps/libink_core_derive-8b977ad0b1c4c3f6.so --extern ink_metadata=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-std/debug/deps/libink_metadata-8f101b328d824c90.rmeta --extern ink_prelude=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-std/debug/deps/libink_prelude-93c568824e38618e.rmeta --extern ink_primitives=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-std/debug/deps/libink_primitives-6343829736174ead.rmeta --extern num_traits=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-std/debug/deps/libnum_traits-4982c186081cf5a5.rmeta --extern scale=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-std/debug/deps/libparity_scale_codec-3d949980daeb4417.rmeta --extern paste=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-std/debug/deps/libpaste-52aa95d0063ebd0a.rmeta --extern rand=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-std/debug/deps/librand-58987633d51ecd3b.rmeta --extern scale_info=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-std/debug/deps/libscale_info-61af2ce10d30ef7b.rmeta --extern sha2=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-std/debug/deps/libsha2-69d03b12b30cbeb4.rmeta --extern sha3=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-std/debug/deps/libsha3-01396b183a4c9f75.rmeta` (exit code: 1)
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1
failed
fmt Workspace
             CallParams,
CreateParams,
- utils::ReturnType,
},
EnvTypes,
Result,
Running after_script
Uploading artifacts for failed job
ERROR: Job failed: exit code 1
failed
clippy-wasm Workspace
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity

error: aborting due to 2 previous errors

error: could not compile `ink_core`.

Caused by:
process didn't exit successfully: `/usr/local/rustup/toolchains/nightly-2020-06-23-x86_64-unknown-linux-gnu/bin/clippy-driver rustc --crate-name ink_core --edition=2018 core/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata -Cembed-bitcode=no -C debuginfo=2 -C metadata=7698a6eed97b5c2a -C extra-filename=-7698a6eed97b5c2a --out-dir /ci-cache/ink/targets/robin-implement-trait-codegen/clippy-wasm/wasm32-unknown-unknown/debug/deps --target wasm32-unknown-unknown -C incremental=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-wasm/wasm32-unknown-unknown/debug/incremental -L dependency=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-wasm/wasm32-unknown-unknown/debug/deps -L dependency=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-wasm/debug/deps --extern array_init=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-wasm/wasm32-unknown-unknown/debug/deps/libarray_init-faf29d41f94ef174.rmeta --extern cfg_if=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-wasm/wasm32-unknown-unknown/debug/deps/libcfg_if-184e3c64305e6f34.rmeta --extern derive_more=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-wasm/debug/deps/libderive_more-7d5b2f3db85f873c.so --extern generic_array=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-wasm/wasm32-unknown-unknown/debug/deps/libgeneric_array-65cd86344e61445d.rmeta --extern ink_alloc=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-wasm/wasm32-unknown-unknown/debug/deps/libink_alloc-d22a8750205b9069.rmeta --extern ink_core_derive=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-wasm/debug/deps/libink_core_derive-8b977ad0b1c4c3f6.so --extern ink_prelude=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-wasm/wasm32-unknown-unknown/debug/deps/libink_prelude-abac7d314a887cf0.rmeta --extern ink_primitives=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-wasm/wasm32-unknown-unknown/debug/deps/libink_primitives-9ae802264544a911.rmeta --extern num_traits=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-wasm/wasm32-unknown-unknown/debug/deps/libnum_traits-9845381e45cbda03.rmeta --extern scale=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-wasm/wasm32-unknown-unknown/debug/deps/libparity_scale_codec-55a82d0bd7080273.rmeta --extern paste=/ci-cache/ink/targets/robin-implement-trait-codegen/clippy-wasm/wasm32-unknown-unknown/debug/deps/libpaste-910448f96f013ce7.rmeta` (exit code: 1)
ERROR: Job failed: exit code 1