Created
November 7, 2018 01:11
-
-
Save dunkelhaus/2531740b91a3cea5db8b9f5349156e89 to your computer and use it in GitHub Desktop.
A result of manually pointing my Cargo.toml files in each zome to a local install of hdk-rust - toml files included below.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==================================================================================== | |
BUILDING genome with 'hc package --output dist/app-spec-rust.hcpkg --strip-meta': | |
------------------------------------------------------------------------------------ | |
> [32mcargo[0m [36mbuild --target wasm32-unknown-unknown --release[0m | |
Finished release [optimized] target(s) in 0.16s | |
> [32mcargo[0m [36mbuild --release --target=wasm32-unknown-unknown[0m | |
Finished release [optimized] target(s) in 0.49s | |
[1;32mCreated[0m bundle file at "dist/app-spec-rust.hcpkg" | |
DONE. | |
==================================================================================== | |
BUILDING JS test file with webpack: | |
------------------------------------------------------------------------------------ | |
npm WARN test No description | |
npm WARN test No repository field. | |
npm WARN test No license field. | |
audited 5720 packages in 4.883s | |
found 0 vulnerabilities | |
> @ build /Volumes/TeraDrive/Code/holosqape/test | |
> webpack | |
Hash: [1m6a2dc63e8b4400359f3c[39m[22m | |
Version: webpack [1m4.20.2[39m[22m | |
Time: [1m1285[39m[22mms | |
Built at: 11/06/2018 [1m5:57:54 PM[39m[22m | |
[1mAsset[39m[22m [1mSize[39m[22m [1mChunks[39m[22m [1m[39m[22m [1m[39m[22m[1mChunk Names[39m[22m | |
[1m[32mbundle.js[39m[22m 98.2 KiB [1m0[39m[22m [1m[32m[emitted][39m[22m main | |
Entrypoint [1mmain[39m[22m = [1m[32mbundle.js[39m[22m | |
[7] [1m(webpack)/buildin/global.js[39m[22m 509 bytes {[1m[33m0[39m[22m}[1m[32m [built][39m[22m | |
[25] [1m./test.js[39m[22m 5.02 KiB {[1m[33m0[39m[22m}[1m[32m [built][39m[22m | |
[31] [1mutil (ignored)[39m[22m 15 bytes {[1m[33m0[39m[22m}[1m[32m [built][39m[22m | |
[33] [1mutil (ignored)[39m[22m 15 bytes {[1m[33m0[39m[22m}[1m[32m [built][39m[22m | |
[63] [1m./util.inspect (ignored)[39m[22m 15 bytes {[1m[33m0[39m[22m}[1m[32m [built][39m[22m | |
+ 59 hidden modules | |
[1m[33mWARNING in configuration | |
The 'mode' option has not been set, webpack will fallback to 'production' for this value. Set 'mode' option to 'development' or 'production' to enable defaults for each environment. | |
You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/concepts/mode/[39m[22m | |
DONE. | |
RUNNING tests with hcshell... | |
------------------------------------------------------------------------------------ | |
"rmdir: /var/folders/hv/p9qr2cn56sd61t8dk8q5__xw0000gn/T/�\u0016���כ\n����{\u0011�\t��\u0019&jۧ�0j���9�!: Directory not empty" | |
"mkdir: /var/folders/hv/p9qr2cn56sd61t8dk8q5__xw0000gn/T/�\u0016���כ\n����{\u0011�\t��\u0019&jۧ�0j���9�!: File exists" | |
# call[K | |
not ok [1m[31m1[0m should be equal[K | |
[2A[1G[1m[31m⨯ call[0m[2B[1G --- | |
operator: equal | |
expected: |- | |
'{"sum":"4"}' | |
actual: |- | |
'Error calling zome function: InternalFailure(Dna(CapabilityNotFound("Capability \\\'main\\\' not found in Zome \\\'blog\\\'")))' | |
stack: |- | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
t@test/dist/bundle.js:8 | |
@test/dist/bundle.js:1 | |
h@test/dist/bundle.js:1 | |
... | |
# my_posts_as_committed[K | |
not ok [1m[31m2[0m should be equal[K | |
[2A[1G[1m[31m⨯ my_posts_as_committed[0m[2B[1G --- | |
operator: equal | |
expected: |- | |
'{"post_hashes":["Qme9vatSfYs7MpejUUrheYYUA1B2TYdVBDycuoimtHudMP","QmdJHaznj5rAtMV5nXLK87tdCBoc2NJRtQW4r3w7LZ6HSg"]}' | |
actual: |- | |
'Error calling zome function: InternalFailure(Dna(CapabilityNotFound("Capability \\\'main\\\' not found in Zome \\\'blog\\\'")))' | |
stack: |- | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
t@test/dist/bundle.js:8 | |
@test/dist/bundle.js:1 | |
h@test/dist/bundle.js:1 | |
... | |
# get entry address[K | |
not ok [1m[31m3[0m should be equal[K | |
[2A[1G[1m[31m⨯ get entry address[0m[2B[1G --- | |
operator: equal | |
expected: |- | |
'{"address":"QmdJHaznj5rAtMV5nXLK87tdCBoc2NJRtQW4r3w7LZ6HSg"}' | |
actual: |- | |
'Error calling zome function: InternalFailure(Dna(CapabilityNotFound("Capability \\\'main\\\' not found in Zome \\\'blog\\\'")))' | |
stack: |- | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
t@test/dist/bundle.js:8 | |
@test/dist/bundle.js:1 | |
h@test/dist/bundle.js:1 | |
... | |
# create_post[K | |
not ok [1m[31m4[0m should be equal[K | |
[2A[1G[1m[31m⨯ create_post[0m[2B[1G --- | |
operator: equal | |
expected: |- | |
'{"hash":"QmdJHaznj5rAtMV5nXLK87tdCBoc2NJRtQW4r3w7LZ6HSg"}' | |
actual: |- | |
'Error calling zome function: InternalFailure(Dna(CapabilityNotFound("Capability \\\'main\\\' not found in Zome \\\'blog\\\'")))' | |
stack: |- | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
t@test/dist/bundle.js:8 | |
@test/dist/bundle.js:1 | |
h@test/dist/bundle.js:1 | |
... | |
# post max content size 280 characters[K | |
not ok [1m[31m5[0m should be equal[K | |
[2A[1G[1m[31m⨯ post max content size 280 characters[0m[2B[1G --- | |
operator: equal | |
expected: |- | |
'{"error":{"ValidationFailed":"\\"Content too long\\""}}' | |
actual: |- | |
'Error calling zome function: InternalFailure(Dna(CapabilityNotFound("Capability \\\'main\\\' not found in Zome \\\'blog\\\'")))' | |
stack: |- | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
t@test/dist/bundle.js:8 | |
@test/dist/bundle.js:1 | |
h@test/dist/bundle.js:1 | |
... | |
# posts_by_agent[K | |
not ok [1m[31m6[0m should be equal[K | |
[2A[1G[1m[31m⨯ posts_by_agent[0m[2B[1G --- | |
operator: equal | |
expected: |- | |
'{"post_hashes":[]}' | |
actual: |- | |
'Error calling zome function: InternalFailure(Dna(CapabilityNotFound("Capability \\\'main\\\' not found in Zome \\\'blog\\\'")))' | |
stack: |- | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
t@test/dist/bundle.js:8 | |
@test/dist/bundle.js:1 | |
h@test/dist/bundle.js:1 | |
... | |
# my_posts[K | |
not ok [1m[31m7[0m Did not get post hashes ["QmdJHaznj5rAtMV5nXLK87tdCBoc2NJRtQW4r3w7LZ6HSg","Qme9vatSfYs7MpejUUrheYYUA1B2TYdVBDycuoimtHudMP"] in any ordering[K | |
[2A[1G[1m[31m⨯ my_posts[0m[2B[1G --- | |
operator: ok | |
expected: true | |
actual: false | |
stack: |- | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
t@test/dist/bundle.js:8 | |
@test/dist/bundle.js:1 | |
h@test/dist/bundle.js:1 | |
... | |
# create/get_post rountrip[K | |
not ok [1m[31m8[0m should be equal[K | |
[2A[1G[1m[31m⨯ create/get_post rountrip[0m[2B[1G --- | |
operator: equal | |
expected: |- | |
'{"hash":"QmdJHaznj5rAtMV5nXLK87tdCBoc2NJRtQW4r3w7LZ6HSg"}' | |
actual: |- | |
'Error calling zome function: InternalFailure(Dna(CapabilityNotFound("Capability \\\'main\\\' not found in Zome \\\'blog\\\'")))' | |
stack: |- | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
@test/dist/bundle.js:8 | |
t@test/dist/bundle.js:8 | |
@test/dist/bundle.js:1 | |
Uncaught exception at line 8 : "SyntaxError: JSON.parse: Parse error" | |
"JSON.parse: Parse error" | |
"@test/dist/bundle.js:8\n@test/dist/bundle.js:8\n@test/dist/bundle.js:8\n@test/dist/bundle.js:8\nt@test/dist/bundle.js:8\n@test/dist/bundle.js:1\nh@test/dist/bundle.js:1" | |
h@test/dist/bundle.js:1 | |
... | |
not ok [1m[31m9[0m no plan found | |
[1m[31m⨯ fail 9[0m[K |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "code" | |
version = "0.0.1" | |
authors = ["Holochain Core Dev Team <[email protected]>"] | |
[dependencies] | |
serde = "1.0" | |
serde_json = "1.0" | |
hdk = { path = "/Volumes/TeraDrive/Code/holosqape/holochain-rust/hdk-rust" } | |
# hdk = { git = "https://github.com/holochain/holochain-rust" , branch = "develop" } | |
serde_derive = "1.0" | |
boolinator = "2.4" | |
[lib] | |
path = "src/lib.rs" | |
crate-type = ["cdylib"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "code" | |
version = "0.0.1" | |
authors = ["Holochain Core Dev Team <[email protected]>"] | |
[dependencies] | |
serde = "1.0" | |
serde_json = "1.0" | |
hdk = { path = "/Volumes/TeraDrive/Code/holosqape/holochain-rust/hdk-rust" } | |
# hdk = { git = "https://github.com/holochain/holochain-rust" , branch = "develop" } | |
serde_derive = "1.0" | |
boolinator = "2.4" | |
[lib] | |
path = "src/lib.rs" | |
crate-type = ["cdylib"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment