Advertisement
Guest User

Untitled

a guest
Jun 8th, 2021
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.09 KB | None | 0 0
  1. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  2. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/wallet.rs:227:49
  3. |
  4. 227 | self.update_("add_controller").with_arg(principal).build()
  5. | ^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  6.  
  7. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  8. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/wallet.rs:235:23
  9. |
  10. 235 | .with_arg(principal)
  11. | ^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  12.  
  13. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  14. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/wallet.rs:251:44
  15. |
  16. 251 | self.update_("authorize").with_arg(custodian).build()
  17. | ^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  18.  
  19. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  20. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/wallet.rs:259:46
  21. |
  22. 259 | self.update_("deauthorize").with_arg(custodian).build()
  23. | ^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  24.  
  25. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  26. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/wallet.rs:382:49
  27. |
  28. 382 | self.update_("remove_address").with_arg(principal).build()
  29. | ^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  30.  
  31. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  32. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/management_canister.rs:105:18
  33. |
  34. 105 | #[derive(CandidType)]
  35. | ^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  36. |
  37. = note: required by `ty`
  38. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  39.  
  40. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  41. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/management_canister.rs:105:18
  42. |
  43. 105 | #[derive(CandidType)]
  44. | ^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  45. |
  46. = note: required by `candid::types::Compound::serialize_element`
  47. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  48.  
  49. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  50. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/management_canister.rs:132:18
  51. |
  52. 132 | #[derive(CandidType)]
  53. | ^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  54. |
  55. = note: required by `ty`
  56. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  57.  
  58. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  59. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/management_canister.rs:132:18
  60. |
  61. 132 | #[derive(CandidType)]
  62. | ^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  63. |
  64. = note: required by `candid::types::Compound::serialize_element`
  65. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  66.  
  67. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  68. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/management_canister.rs:150:18
  69. |
  70. 150 | #[derive(CandidType)]
  71. | ^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  72. |
  73. = note: required by `ty`
  74. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  75.  
  76. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  77. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/management_canister.rs:150:18
  78. |
  79. 150 | #[derive(CandidType)]
  80. | ^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  81. |
  82. = note: required by `candid::types::Compound::serialize_element`
  83. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  84.  
  85. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  86. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/management_canister.rs:172:18
  87. |
  88. 172 | #[derive(CandidType)]
  89. | ^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  90. |
  91. = note: required by `ty`
  92. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  93.  
  94. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  95. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/management_canister.rs:172:18
  96. |
  97. 172 | #[derive(CandidType)]
  98. | ^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  99. |
  100. = note: required by `candid::types::Compound::serialize_element`
  101. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  102.  
  103. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  104. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/management_canister.rs:201:18
  105. |
  106. 201 | #[derive(CandidType)]
  107. | ^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  108. |
  109. = note: required by `ty`
  110. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  111.  
  112. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  113. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/management_canister.rs:201:18
  114. |
  115. 201 | #[derive(CandidType)]
  116. | ^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  117. |
  118. = note: required by `candid::types::Compound::serialize_element`
  119. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  120.  
  121. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  122. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/management_canister.rs:219:18
  123. |
  124. 219 | #[derive(CandidType)]
  125. | ^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  126. |
  127. = note: required by `ty`
  128. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  129.  
  130. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  131. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/management_canister.rs:219:18
  132. |
  133. 219 | #[derive(CandidType)]
  134. | ^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  135. |
  136. = note: required by `candid::types::Compound::serialize_element`
  137. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  138.  
  139. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  140. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/management_canister.rs:243:18
  141. |
  142. 243 | #[derive(CandidType)]
  143. | ^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  144. |
  145. = note: required by `ty`
  146. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  147.  
  148. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  149. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/management_canister.rs:243:18
  150. |
  151. 243 | #[derive(CandidType)]
  152. | ^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  153. |
  154. = note: required by `candid::types::Compound::serialize_element`
  155. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  156.  
  157. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  158. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/management_canister/builders.rs:18:10
  159. |
  160. 18 | #[derive(CandidType, Deserialize)]
  161. | ^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  162. |
  163. = note: required because of the requirements on the impl of `CandidType` for `std::option::Option<ic_types::Principal>`
  164. = note: required by `ty`
  165. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  166.  
  167. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  168. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/management_canister/builders.rs:18:10
  169. |
  170. 18 | #[derive(CandidType, Deserialize)]
  171. | ^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  172. |
  173. = note: required because of the requirements on the impl of `CandidType` for `std::option::Option<ic_types::Principal>`
  174. = note: required by `candid::types::Compound::serialize_element`
  175. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  176.  
  177. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  178. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/management_canister/builders.rs:271:10
  179. |
  180. 271 | #[derive(candid::CandidType, Deserialize)]
  181. | ^^^^^^^^^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  182. |
  183. = note: required by `ty`
  184. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  185.  
  186. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  187. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/management_canister/builders.rs:271:10
  188. |
  189. 271 | #[derive(candid::CandidType, Deserialize)]
  190. | ^^^^^^^^^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  191. |
  192. = note: required by `candid::types::Compound::serialize_element`
  193. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  194.  
  195. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  196. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/management_canister/builders.rs:513:18
  197. |
  198. 513 | #[derive(candid::CandidType)]
  199. | ^^^^^^^^^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  200. |
  201. = note: required by `ty`
  202. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  203.  
  204. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  205. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/management_canister/builders.rs:513:18
  206. |
  207. 513 | #[derive(candid::CandidType)]
  208. | ^^^^^^^^^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  209. |
  210. = note: required by `candid::types::Compound::serialize_element`
  211. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  212.  
  213. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  214. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/wallet.rs:51:18
  215. |
  216. 51 | #[derive(CandidType, Deserialize)]
  217. | ^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  218. |
  219. = note: required by `ty`
  220. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  221.  
  222. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  223. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/wallet.rs:51:18
  224. |
  225. 51 | #[derive(CandidType, Deserialize)]
  226. | ^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  227. |
  228. = note: required by `candid::types::Compound::serialize_element`
  229. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  230.  
  231. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  232. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/wallet.rs:109:10
  233. |
  234. 109 | #[derive(CandidType, Debug, Deserialize)]
  235. | ^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  236. |
  237. = note: required by `ty`
  238. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  239.  
  240. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  241. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/wallet.rs:117:9
  242. |
  243. 117 | from: Principal,
  244. | ^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  245. |
  246. = note: required by `candid::types::Compound::serialize_element`
  247.  
  248. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  249. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/wallet.rs:129:9
  250. |
  251. 129 | canister: Principal,
  252. | ^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  253. |
  254. = note: required by `candid::types::Compound::serialize_element`
  255.  
  256. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  257. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/wallet.rs:133:9
  258. |
  259. 133 | canister: Principal,
  260. | ^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  261. |
  262. = note: required by `candid::types::Compound::serialize_element`
  263.  
  264. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  265. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/wallet.rs:112:9
  266. |
  267. 112 | to: Principal,
  268. | ^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  269. |
  270. = note: required by `candid::types::Compound::serialize_element`
  271.  
  272. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  273. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/wallet.rs:126:9
  274. |
  275. 126 | id: Principal,
  276. | ^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  277. |
  278. = note: required by `candid::types::Compound::serialize_element`
  279.  
  280. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  281. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/wallet.rs:121:9
  282. |
  283. 121 | id: Principal,
  284. | ^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  285. |
  286. = note: required by `candid::types::Compound::serialize_element`
  287.  
  288. Checking ic-ic00-types v0.8.0 (https://github.com/dfinity/ic?rev=779549eccfcf61ac702dfc2ee6d76ffdc2db1f7f#779549ec)
  289. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  290. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/wallet.rs:160:10
  291. |
  292. 160 | #[derive(CandidType, Debug, Deserialize)]
  293. | ^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  294. |
  295. = note: required by `ty`
  296. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  297.  
  298. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  299. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/wallet.rs:160:10
  300. |
  301. 160 | #[derive(CandidType, Debug, Deserialize)]
  302. | ^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  303. |
  304. = note: required by `candid::types::Compound::serialize_element`
  305. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  306.  
  307. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  308. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/wallet.rs:173:10
  309. |
  310. 173 | #[derive(CandidType, Deserialize)]
  311. | ^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  312. |
  313. = note: required by `ty`
  314. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  315.  
  316. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  317. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/wallet.rs:173:10
  318. |
  319. 173 | #[derive(CandidType, Deserialize)]
  320. | ^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  321. |
  322. = note: required by `candid::types::Compound::serialize_element`
  323. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  324.  
  325. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  326. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/wallet.rs:275:18
  327. |
  328. 275 | #[derive(CandidType)]
  329. | ^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  330. |
  331. = note: required by `ty`
  332. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  333.  
  334. error[E0277]: the trait bound `ic_types::Principal: CandidType` is not satisfied
  335. --> /Users/moritz/.cargo/git/checkouts/agent-rs-6af15f3bfa206490/65e10c3/ic-utils/src/interfaces/wallet.rs:275:18
  336. |
  337. 275 | #[derive(CandidType)]
  338. | ^^^^^^^^^^ the trait `CandidType` is not implemented for `ic_types::Principal`
  339. |
  340. = note: required by `candid::types::Compound::serialize_element`
  341. = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
  342.  
  343. error: aborting due to 40 previous errors
  344.  
  345. For more information about this error, try `rustc --explain E0277`.
  346. error: could not compile `ic-utils`
  347.  
  348. To learn more, run the command again with --verbose.
  349. warning: build failed, waiting for other jobs to finish...
  350. error: build failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement