Created
November 18, 2019 17:48
-
-
Save drewstone/0d4a88f2e817dc11126af794879c4d1a to your computer and use it in GitHub Desktop.
This file contains 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
Compiling sr-sandbox v2.0.0 (https://github.com/paritytech/substrate.git#73f4c118) | |
error[E0603]: function `memory_teardown` is private | |
--> /home/jnaviask/.cargo/git/checkouts/substrate-7e08433d4c370a21/73f4c11/primitives/sr-sandbox/src/../without_std.rs:53:12 | |
| | |
53 | sandbox::memory_teardown(self.memory_idx); | |
| ^^^^^^^^^^^^^^^ | |
error[E0603]: function `memory_new` is private | |
--> /home/jnaviask/.cargo/git/checkouts/substrate-7e08433d4c370a21/73f4c11/primitives/sr-sandbox/src/../without_std.rs:72:18 | |
| | |
72 | match sandbox::memory_new(initial, maximum) { | |
| ^^^^^^^^^^ | |
error[E0603]: function `memory_get` is private | |
--> /home/jnaviask/.cargo/git/checkouts/substrate-7e08433d4c370a21/73f4c11/primitives/sr-sandbox/src/../without_std.rs:81:25 | |
| | |
81 | let result = sandbox::memory_get( | |
| ^^^^^^^^^^ | |
error[E0603]: function `memory_set` is private | |
--> /home/jnaviask/.cargo/git/checkouts/substrate-7e08433d4c370a21/73f4c11/primitives/sr-sandbox/src/../without_std.rs:95:25 | |
| | |
95 | let result = sandbox::memory_set( | |
| ^^^^^^^^^^ | |
error[E0603]: function `instantiate` is private | |
--> /home/jnaviask/.cargo/git/checkouts/substrate-7e08433d4c370a21/73f4c11/primitives/sr-sandbox/src/../without_std.rs:222:25 | |
| | |
222 | let result = sandbox::instantiate( | |
| ^^^^^^^^^^^ | |
error[E0603]: function `invoke` is private | |
--> /home/jnaviask/.cargo/git/checkouts/substrate-7e08433d4c370a21/73f4c11/primitives/sr-sandbox/src/../without_std.rs:253:25 | |
| | |
253 | let result = sandbox::invoke( | |
| ^^^^^^ | |
error[E0603]: function `instance_teardown` is private | |
--> /home/jnaviask/.cargo/git/checkouts/substrate-7e08433d4c370a21/73f4c11/primitives/sr-sandbox/src/../without_std.rs:276:12 | |
| | |
276 | sandbox::instance_teardown(self.instance_idx); | |
| ^^^^^^^^^^^^^^^^^ | |
error[E0061]: this function takes 2 parameters but 1 parameter was supplied | |
--> /home/jnaviask/.cargo/git/checkouts/substrate-7e08433d4c370a21/73f4c11/primitives/sr-sandbox/src/../without_std.rs:53:3 | |
| | |
53 | sandbox::memory_teardown(self.memory_idx); | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters | |
error[E0061]: this function takes 3 parameters but 2 parameters were supplied | |
--> /home/jnaviask/.cargo/git/checkouts/substrate-7e08433d4c370a21/73f4c11/primitives/sr-sandbox/src/../without_std.rs:72:9 | |
| | |
72 | match sandbox::memory_new(initial, maximum) { | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters | |
error[E0061]: this function takes 5 parameters but 4 parameters were supplied | |
--> /home/jnaviask/.cargo/git/checkouts/substrate-7e08433d4c370a21/73f4c11/primitives/sr-sandbox/src/../without_std.rs:81:16 | |
| | |
81 | let result = sandbox::memory_get( | |
| ______________________^ | |
82 | | self.handle.memory_idx, | |
83 | | offset, | |
84 | | buf.as_mut_ptr(), | |
85 | | buf.len() as u32, | |
86 | | ); | |
| |_________^ expected 5 parameters | |
error[E0061]: this function takes 5 parameters but 4 parameters were supplied | |
--> /home/jnaviask/.cargo/git/checkouts/substrate-7e08433d4c370a21/73f4c11/primitives/sr-sandbox/src/../without_std.rs:95:16 | |
| | |
95 | let result = sandbox::memory_set( | |
| ______________________^ | |
96 | | self.handle.memory_idx, | |
97 | | offset, | |
98 | | val.as_ptr() as _ , | |
99 | | val.len() as u32, | |
100 | | ); | |
| |_________^ expected 5 parameters | |
error[E0061]: this function takes 5 parameters but 4 parameters were supplied | |
--> /home/jnaviask/.cargo/git/checkouts/substrate-7e08433d4c370a21/73f4c11/primitives/sr-sandbox/src/../without_std.rs:222:16 | |
| | |
222 | let result = sandbox::instantiate( | |
| ______________________^ | |
223 | | dispatch_thunk as u32, | |
224 | | code, | |
225 | | &serialized_env_def, | |
226 | | state as *const T as _, | |
227 | | ); | |
| |_________^ expected 5 parameters | |
error[E0061]: this function takes 7 parameters but 6 parameters were supplied | |
--> /home/jnaviask/.cargo/git/checkouts/substrate-7e08433d4c370a21/73f4c11/primitives/sr-sandbox/src/../without_std.rs:253:16 | |
| | |
253 | let result = sandbox::invoke( | |
| ______________________^ | |
254 | | self.instance_idx, | |
255 | | name, | |
256 | | &serialized_args, | |
... | | |
259 | | state as *const T as _, | |
260 | | ); | |
| |_________^ expected 7 parameters | |
error[E0061]: this function takes 2 parameters but 1 parameter was supplied | |
--> /home/jnaviask/.cargo/git/checkouts/substrate-7e08433d4c370a21/73f4c11/primitives/sr-sandbox/src/../without_std.rs:276:3 | |
| | |
276 | sandbox::instance_teardown(self.instance_idx); | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 2 parameters | |
error: aborting due to 14 previous errors | |
Some errors have detailed explanations: E0061, E0603. | |
For more information about an error, try `rustc --explain E0061`. | |
error: could not compile `sr-sandbox`. | |
warning: build failed, waiting for other jobs to finish... | |
error: build failed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment