diff --git a/substrate/ci/script.sh b/substrate/ci/script.sh
index cc74d269d0bd2b4d5165e9c1f5b7bd549dcc1e95..0ab5f34fb2551aa379525325de5b5065dc03dbe3 100755
--- a/substrate/ci/script.sh
+++ b/substrate/ci/script.sh
@@ -20,7 +20,7 @@ case $TARGET in
 		sudo apt-get -y update
 		sudo apt-get install -y cmake pkg-config libssl-dev
 
-		cargo test --all --locked
+		cargo test --all --release --locked
 		;;
 
 	"wasm")
diff --git a/substrate/core/client/src/blockchain.rs b/substrate/core/client/src/blockchain.rs
index 36bf3455a6d7a4be0dfdcf46c2982ae7578b61e5..ff2fa812592744ac838901f23f4bee1d0ea91ff7 100644
--- a/substrate/core/client/src/blockchain.rs
+++ b/substrate/core/client/src/blockchain.rs
@@ -121,7 +121,7 @@ pub struct RouteEntry<Block: BlockT> {
 /// The ancestry sets will include the given blocks, and thus the tree-route is
 /// never empty.
 ///
-/// ```ignore
+/// ```text
 /// Tree route from R1 to E2. Retracted is [R1, R2, R3], Common is C, enacted [E1, E2]
 ///   <- R3 <- R2 <- R1
 ///  /
@@ -129,7 +129,7 @@ pub struct RouteEntry<Block: BlockT> {
 ///  \-> E1 -> E2
 /// ```
 ///
-/// ```ignore
+/// ```text
 /// Tree route from C to E2. Retracted empty. Common is C, enacted [E1, E2]
 /// C -> E1 -> E2
 /// ```
diff --git a/substrate/core/executor/src/wasm_utils.rs b/substrate/core/executor/src/wasm_utils.rs
index 42f9c3312d2ffc2cb0ad2b798901d4d78fadb584..99af25cb164d1ef0fd9e44a20d4c647d78b53230 100644
--- a/substrate/core/executor/src/wasm_utils.rs
+++ b/substrate/core/executor/src/wasm_utils.rs
@@ -107,7 +107,7 @@ macro_rules! unmarshall_args {
 
 /// Since we can't specify the type of closure directly at binding site:
 ///
-/// ```rust,ignore
+/// ```nocompile
 /// let f: FnOnce() -> Result<<u32 as ConvertibleToWasm>::NativeType, _> = || { /* ... */ };
 /// ```
 ///
diff --git a/substrate/srml/contract/src/vm/env_def/macros.rs b/substrate/srml/contract/src/vm/env_def/macros.rs
index d76b4fbd99c70f159ac7227138b3763a13dff294..16ba669dafa5c3d97d8a40f6304b09fb6a36632f 100644
--- a/substrate/srml/contract/src/vm/env_def/macros.rs
+++ b/substrate/srml/contract/src/vm/env_def/macros.rs
@@ -68,7 +68,7 @@ macro_rules! unmarshall_then_body {
 
 /// Since we can't specify the type of closure directly at binding site:
 ///
-/// ```rust,ignore
+/// ```nocompile
 /// let f: FnOnce() -> Result<<u32 as ConvertibleToWasm>::NativeType, _> = || { /* ... */ };
 /// ```
 ///