[INFO] fetching crate candy-rs 0.1.0... [INFO] testing candy-rs-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate candy-rs 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate candy-rs 0.1.0 [INFO] finished tweaking crates.io crate candy-rs 0.1.0 [INFO] tweaked toml for crates.io crate candy-rs 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate candy-rs 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 115 packages to latest compatible versions [INFO] [stderr] Adding candid v0.8.4 (available: v0.10.20) [INFO] [stderr] Adding ic-cdk v0.7.4 (available: v0.18.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded logos-derive v0.12.1 [INFO] [stderr] Downloaded candid_derive v0.5.0 [INFO] [stderr] Downloaded ic-cdk v0.7.4 [INFO] [stderr] Downloaded lalrpop-util v0.19.12 [INFO] [stderr] Downloaded logos v0.12.1 [INFO] [stderr] Downloaded candid v0.8.4 [INFO] [stderr] Downloaded ic-cdk-macros v0.6.10 [INFO] [stderr] Downloaded lalrpop v0.19.12 [INFO] [stderr] Downloaded pretty v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 395c4ff30169a1436a29e1d5a33a6395891288961c84b6b3dc573cbcb853115b [INFO] running `Command { std: "docker" "start" "-a" "395c4ff30169a1436a29e1d5a33a6395891288961c84b6b3dc573cbcb853115b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "395c4ff30169a1436a29e1d5a33a6395891288961c84b6b3dc573cbcb853115b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "395c4ff30169a1436a29e1d5a33a6395891288961c84b6b3dc573cbcb853115b", kill_on_drop: false }` [INFO] [stdout] 395c4ff30169a1436a29e1d5a33a6395891288961c84b6b3dc573cbcb853115b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc0ecc534559421a421986db586d596ee356511813ca0ec93523f8771d5f3bbe [INFO] running `Command { std: "docker" "start" "-a" "bc0ecc534559421a421986db586d596ee356511813ca0ec93523f8771d5f3bbe", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling ic0 v0.18.11 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling candid_derive v0.5.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling candid v0.8.4 [INFO] [stderr] Compiling ic-cdk-macros v0.6.10 [INFO] [stderr] Compiling ic-cdk v0.7.4 [INFO] [stderr] Compiling candy-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 33s [INFO] running `Command { std: "docker" "inspect" "bc0ecc534559421a421986db586d596ee356511813ca0ec93523f8771d5f3bbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc0ecc534559421a421986db586d596ee356511813ca0ec93523f8771d5f3bbe", kill_on_drop: false }` [INFO] [stdout] bc0ecc534559421a421986db586d596ee356511813ca0ec93523f8771d5f3bbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da240f009b114625732f001ac3e588804ddeb56cc59e261df629a63fea095749 [INFO] running `Command { std: "docker" "start" "-a" "da240f009b114625732f001ac3e588804ddeb56cc59e261df629a63fea095749", kill_on_drop: false }` [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling candid v0.8.4 [INFO] [stderr] Compiling ic-cdk-macros v0.6.10 [INFO] [stderr] Compiling ic-cdk v0.7.4 [INFO] [stderr] Compiling candy-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 45.37s [INFO] running `Command { std: "docker" "inspect" "da240f009b114625732f001ac3e588804ddeb56cc59e261df629a63fea095749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da240f009b114625732f001ac3e588804ddeb56cc59e261df629a63fea095749", kill_on_drop: false }` [INFO] [stdout] da240f009b114625732f001ac3e588804ddeb56cc59e261df629a63fea095749 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 702be9edc127fa76e7c33cac03b82606f019b080cf9bdf9c0e784018e8f08921 [INFO] running `Command { std: "docker" "start" "-a" "702be9edc127fa76e7c33cac03b82606f019b080cf9bdf9c0e784018e8f08921", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/candy_rs-a852256a91c17915) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests candy_rs [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test src/value.rs - value::CandyShared::to_blob (line 357) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_bool (line 313) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_float (line 282) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::get_value_size (line 475) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_int16 (line 224) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_int32 (line 246) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_nat16 (line 134) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_int64 (line 264) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_int8 (line 206) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_json (line 387) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_nat64 (line 170) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_nat8 (line 112) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_int (line 188) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_nat (line 94) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_nat32 (line 152) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_principal (line 334) ... FAILED [INFO] [stdout] test src/workspace.rs - workspace::DataZone::to_bytes_buffer (line 143) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_value_array (line 456) ... FAILED [INFO] [stdout] test src/workspace.rs - workspace::DataZone::get_data_zone_size (line 121) ... FAILED [INFO] [stdout] test src/value.rs - value::ToCandyValue (line 607) ... FAILED [INFO] [stdout] test src/value.rs - value::ToBlob (line 667) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/value.rs - value::CandyShared::to_blob (line 357) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candy` [INFO] [stdout] --> src/value.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 358 | use candy::value::{CandyShared,ToCandyValue}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `candy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candy`, use `cargo add candy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_candy` found for reference `&'static str` in the current scope [INFO] [stdout] --> src/value.rs:360:29 [INFO] [stdout] | [INFO] [stdout] 360 | let value = "Hello, world!".to_candy(); [INFO] [stdout] | ^^^^^^^^ method not found in `&'static str` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value.rs - value::CandyShared::to_bool (line 313) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candy` [INFO] [stdout] --> src/value.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | use candy::value::{CandyShared, ToCandyValue}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `candy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candy`, use `cargo add candy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_candy` found for type `bool` in the current scope [INFO] [stdout] --> src/value.rs:316:18 [INFO] [stdout] | [INFO] [stdout] 316 | let value = true.to_candy(); [INFO] [stdout] | ^^^^^^^^ method not found in `bool` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value.rs - value::CandyShared::to_float (line 282) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candy` [INFO] [stdout] --> src/value.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | use candy::value::{CandyShared,ToCandyValue}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `candy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candy`, use `cargo add candy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_candy` found for type `u128` in the current scope [INFO] [stdout] --> src/value.rs:285:21 [INFO] [stdout] | [INFO] [stdout] 285 | let value = 42_u128.to_candy(); [INFO] [stdout] | ^^^^^^^^ method not found in `u128` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value.rs - value::CandyShared::get_value_size (line 475) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `candy` in the crate root [INFO] [stdout] --> src/value.rs:478:12 [INFO] [stdout] | [INFO] [stdout] 478 | use crate::candy::workspace::DataZoneTrait; [INFO] [stdout] | ^^^^^ could not find `candy` in the crate root [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `candy` in the crate root [INFO] [stdout] --> src/value.rs:479:12 [INFO] [stdout] | [INFO] [stdout] 479 | use crate::candy::value::ToCandyValue; [INFO] [stdout] | ^^^^^ could not find `candy` in the crate root [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candy` [INFO] [stdout] --> src/value.rs:476:5 [INFO] [stdout] | [INFO] [stdout] 476 | use candy::value::CandyShared; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `candy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candy`, use `cargo add candy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candy` [INFO] [stdout] --> src/value.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 477 | use candy::workspace::DataZone; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `candy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candy`, use `cargo add candy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_candy` found for struct `std::vec::Vec` in the current scope [INFO] [stdout] --> src/value.rs:483:45 [INFO] [stdout] | [INFO] [stdout] 483 | let dz : CandyShared = vec![0_u8;3_000_000].to_candy(); [INFO] [stdout] | ^^^^^^^^ method not found in `std::vec::Vec` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/value.rs:617:8 [INFO] [stdout] | [INFO] [stdout] 617 | fn to_candy(self) -> CandyShared; [INFO] [stdout] | -------- the method is available for `std::vec::Vec` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ToCandyValue` which provides `to_candy` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 475 + use candy_rs::value::ToCandyValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value.rs - value::CandyShared::to_int16 (line 224) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candy` [INFO] [stdout] --> src/value.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | use candy::value::{CandyShared, ToCandyValue}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `candy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candy`, use `cargo add candy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_candy` found for type `i128` in the current scope [INFO] [stdout] --> src/value.rs:227:21 [INFO] [stdout] | [INFO] [stdout] 227 | let value = 42_i128.to_candy(); [INFO] [stdout] | ^^^^^^^^ method not found in `i128` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_candy` found for type `i64` in the current scope [INFO] [stdout] --> src/value.rs:231:26 [INFO] [stdout] | [INFO] [stdout] 231 | let value = (-32768_i64).to_candy(); [INFO] [stdout] | ^^^^^^^^ method not found in `i64` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value.rs - value::CandyShared::to_int32 (line 246) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candy` [INFO] [stdout] --> src/value.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 247 | use candy::value::{CandyShared, ToCandyValue}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `candy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candy`, use `cargo add candy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_candy` found for type `i128` in the current scope [INFO] [stdout] --> src/value.rs:249:21 [INFO] [stdout] | [INFO] [stdout] 249 | let value = 42_i128.to_candy(); [INFO] [stdout] | ^^^^^^^^ method not found in `i128` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value.rs - value::CandyShared::to_nat16 (line 134) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candy` [INFO] [stdout] --> src/value.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | use candy::value::{CandyShared,ToCandyValue}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `candy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candy`, use `cargo add candy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_candy` found for type `u16` in the current scope [INFO] [stdout] --> src/value.rs:137:20 [INFO] [stdout] | [INFO] [stdout] 137 | let value = 42_u16.to_candy(); [INFO] [stdout] | ^^^^^^^^ method not found in `u16` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value.rs - value::CandyShared::to_int64 (line 264) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candy` [INFO] [stdout] --> src/value.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | use candy::value::{CandyShared, ToCandyValue}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `candy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candy`, use `cargo add candy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_candy` found for type `i64` in the current scope [INFO] [stdout] --> src/value.rs:267:20 [INFO] [stdout] | [INFO] [stdout] 267 | let value = 42_i64.to_candy(); [INFO] [stdout] | ^^^^^^^^ method not found in `i64` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value.rs - value::CandyShared::to_int8 (line 206) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candy` [INFO] [stdout] --> src/value.rs:207:5 [INFO] [stdout] | [INFO] [stdout] 207 | use candy::value::{CandyShared,ToCandyValue}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `candy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candy`, use `cargo add candy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_candy` found for type `u128` in the current scope [INFO] [stdout] --> src/value.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | let value = 42_u128.to_candy(); [INFO] [stdout] | ^^^^^^^^ method not found in `u128` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value.rs - value::CandyShared::to_json (line 387) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candy` [INFO] [stdout] --> src/value.rs:388:5 [INFO] [stdout] | [INFO] [stdout] 388 | use candy::value::{CandyShared,ToCandyValue}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `candy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candy`, use `cargo add candy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_candy` found for type `u128` in the current scope [INFO] [stdout] --> src/value.rs:390:21 [INFO] [stdout] | [INFO] [stdout] 390 | let value = 42_u128.to_candy(); [INFO] [stdout] | ^^^^^^^^ method not found in `u128` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value.rs - value::CandyShared::to_nat64 (line 170) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candy` [INFO] [stdout] --> src/value.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | use candy::value::{CandyShared, ToCandyValue}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `candy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candy`, use `cargo add candy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_candy` found for type `u128` in the current scope [INFO] [stdout] --> src/value.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | let value = 42_u128.to_candy(); [INFO] [stdout] | ^^^^^^^^ method not found in `u128` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value.rs - value::CandyShared::to_nat8 (line 112) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candy` [INFO] [stdout] --> src/value.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | use candy::value::{CandyShared, ToCandyValue}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `candy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candy`, use `cargo add candy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_candy` found for type `u128` in the current scope [INFO] [stdout] --> src/value.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 115 | let value = 420000_u128.to_candy(); [INFO] [stdout] | ^^^^^^^^ method not found in `u128` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_candy` found for type `u8` in the current scope [INFO] [stdout] --> src/value.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | let value = 42_u8.to_candy(); [INFO] [stdout] | ^^^^^^^^ method not found in `u8` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value.rs - value::CandyShared::to_int (line 188) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candy` [INFO] [stdout] --> src/value.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | use candy::value::{CandyShared, ToCandyValue}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `candy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candy`, use `cargo add candy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_candy` found for type `u128` in the current scope [INFO] [stdout] --> src/value.rs:191:21 [INFO] [stdout] | [INFO] [stdout] 191 | let value = 42_u128.to_candy(); [INFO] [stdout] | ^^^^^^^^ method not found in `u128` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value.rs - value::CandyShared::to_nat (line 94) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candy` [INFO] [stdout] --> src/value.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | use candy::value::{CandyShared, ToCandyValue}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `candy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candy`, use `cargo add candy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_candy` found for type `u128` in the current scope [INFO] [stdout] --> src/value.rs:97:21 [INFO] [stdout] | [INFO] [stdout] 97 | let value = 42_u128.to_candy(); [INFO] [stdout] | ^^^^^^^^ method not found in `u128` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value.rs - value::CandyShared::to_nat32 (line 152) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candy` [INFO] [stdout] --> src/value.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | use candy::value::{CandyShared,ToCandyValue}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `candy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candy`, use `cargo add candy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_candy` found for type `u32` in the current scope [INFO] [stdout] --> src/value.rs:155:20 [INFO] [stdout] | [INFO] [stdout] 155 | let value = 42_u32.to_candy(); [INFO] [stdout] | ^^^^^^^^ method not found in `u32` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value.rs - value::CandyShared::to_principal (line 334) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candy` [INFO] [stdout] --> src/value.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 335 | use candy::value::{CandyShared, ToCandyValue}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `candy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candy`, use `cargo add candy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_candy` found for struct `candid::Principal` in the current scope [INFO] [stdout] --> src/value.rs:339:31 [INFO] [stdout] | [INFO] [stdout] 339 | let value = principal.clone().to_candy(); [INFO] [stdout] | ^^^^^^^^ method not found in `candid::Principal` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/workspace.rs - workspace::DataZone::to_bytes_buffer (line 143) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `candy` in the crate root [INFO] [stdout] --> src/workspace.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | use crate::candy::workspace::DataZoneTrait; [INFO] [stdout] | ^^^^^ could not find `candy` in the crate root [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candy` [INFO] [stdout] --> src/workspace.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | use candy::value::{CandyShared, ToCandyValue}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `candy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candy`, use `cargo add candy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candy` [INFO] [stdout] --> src/workspace.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | use candy::workspace::DataZone; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `candy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candy`, use `cargo add candy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_candy` found for type `u128` in the current scope [INFO] [stdout] --> src/workspace.rs:148:33 [INFO] [stdout] | [INFO] [stdout] 148 | let dz: DataZone = vec![42_u128.to_candy()]; [INFO] [stdout] | ^^^^^^^^ method not found in `u128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/value.rs:617:8 [INFO] [stdout] | [INFO] [stdout] 617 | fn to_candy(self) -> CandyShared; [INFO] [stdout] | -------- the method is available for `u128` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ToCandyValue` which provides `to_candy` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 143 + use candy_rs::value::ToCandyValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value.rs - value::CandyShared::to_value_array (line 456) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candy` [INFO] [stdout] --> src/value.rs:457:5 [INFO] [stdout] | [INFO] [stdout] 457 | use candy::value::{CandyShared,ToCandyValue}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `candy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candy`, use `cargo add candy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_candy` found for type `u128` in the current scope [INFO] [stdout] --> src/value.rs:459:24 [INFO] [stdout] | [INFO] [stdout] 459 | let arr = vec![42_u128.to_candy(), 50_u128.to_candy()]; [INFO] [stdout] | ^^^^^^^^ method not found in `u128` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_candy` found for type `u128` in the current scope [INFO] [stdout] --> src/value.rs:459:44 [INFO] [stdout] | [INFO] [stdout] 459 | let arr = vec![42_u128.to_candy(), 50_u128.to_candy()]; [INFO] [stdout] | ^^^^^^^^ method not found in `u128` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_candy` found for type `u128` in the current scope [INFO] [stdout] --> src/value.rs:462:38 [INFO] [stdout] | [INFO] [stdout] 462 | assert_eq!(result, Some(vec![42_u128.to_candy(), 50_u128.to_candy()])); [INFO] [stdout] | ^^^^^^^^ method not found in `u128` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_candy` found for type `u128` in the current scope [INFO] [stdout] --> src/value.rs:462:58 [INFO] [stdout] | [INFO] [stdout] 462 | assert_eq!(result, Some(vec![42_u128.to_candy(), 50_u128.to_candy()])); [INFO] [stdout] | ^^^^^^^^ method not found in `u128` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/workspace.rs - workspace::DataZone::get_data_zone_size (line 121) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `candy` in the crate root [INFO] [stdout] --> src/workspace.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | use crate::candy::workspace::DataZoneTrait; [INFO] [stdout] | ^^^^^ could not find `candy` in the crate root [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `candy` in the crate root [INFO] [stdout] --> src/workspace.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | use crate::candy::value::ToCandyValue; [INFO] [stdout] | ^^^^^ could not find `candy` in the crate root [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candy` [INFO] [stdout] --> src/workspace.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | use candy::value::CandyShared; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `candy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candy`, use `cargo add candy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `candy` [INFO] [stdout] --> src/workspace.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | use candy::workspace::DataZone; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `candy` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `candy`, use `cargo add candy` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_candy` found for type `u128` in the current scope [INFO] [stdout] --> src/workspace.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | 16_u128.to_candy(), [INFO] [stdout] | ^^^^^^^^ method not found in `u128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/value.rs:617:8 [INFO] [stdout] | [INFO] [stdout] 617 | fn to_candy(self) -> CandyShared; [INFO] [stdout] | -------- the method is available for `u128` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ToCandyValue` which provides `to_candy` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 121 + use candy_rs::value::ToCandyValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_candy` found for struct `candid::Principal` in the current scope [INFO] [stdout] --> src/workspace.rs:131:43 [INFO] [stdout] | [INFO] [stdout] 131 | Principal::from_text("aaaaa-aa").unwrap().to_candy() [INFO] [stdout] | ^^^^^^^^ method not found in `candid::Principal` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/value.rs:617:8 [INFO] [stdout] | [INFO] [stdout] 617 | fn to_candy(self) -> CandyShared; [INFO] [stdout] | -------- the method is available for `candid::Principal` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ToCandyValue` which provides `to_candy` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 121 + use candy_rs::value::ToCandyValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value.rs - value::ToCandyValue (line 607) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `candy` in the crate root [INFO] [stdout] --> src/value.rs:608:12 [INFO] [stdout] | [INFO] [stdout] 608 | use crate::candy::value::{CandyShared, ToCandyValue}; [INFO] [stdout] | ^^^^^ could not find `candy` in the crate root [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_candy` found for type `u8` in the current scope [INFO] [stdout] --> src/value.rs:611:20 [INFO] [stdout] | [INFO] [stdout] 611 | let result = value.to_candy(); [INFO] [stdout] | ^^^^^^^^ method not found in `u8` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/value.rs:617:8 [INFO] [stdout] | [INFO] [stdout] 617 | fn to_candy(self) -> CandyShared; [INFO] [stdout] | -------- the method is available for `u8` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ToCandyValue` which provides `to_candy` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 607 + use candy_rs::value::ToCandyValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/value.rs - value::ToBlob (line 667) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `candy` in the crate root [INFO] [stdout] --> src/value.rs:668:12 [INFO] [stdout] | [INFO] [stdout] 668 | use crate::candy::value::{CandyShared, ToBlob, ToCandyValue}; [INFO] [stdout] | ^^^^^ could not find `candy` in the crate root [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_candy` found for type `u128` in the current scope [INFO] [stdout] --> src/value.rs:670:21 [INFO] [stdout] | [INFO] [stdout] 670 | let value = 42_u128.to_candy(); [INFO] [stdout] | ^^^^^^^^ method not found in `u128` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/value.rs:617:8 [INFO] [stdout] | [INFO] [stdout] 617 | fn to_candy(self) -> CandyShared; [INFO] [stdout] | -------- the method is available for `u128` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ToCandyValue` which provides `to_candy` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 667 + use candy_rs::value::ToCandyValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/value.rs - value::CandyShared::get_value_size (line 475) [INFO] [stdout] src/value.rs - value::CandyShared::to_blob (line 357) [INFO] [stdout] src/value.rs - value::CandyShared::to_bool (line 313) [INFO] [stdout] src/value.rs - value::CandyShared::to_float (line 282) [INFO] [stdout] src/value.rs - value::CandyShared::to_int (line 188) [INFO] [stdout] src/value.rs - value::CandyShared::to_int16 (line 224) [INFO] [stdout] src/value.rs - value::CandyShared::to_int32 (line 246) [INFO] [stdout] src/value.rs - value::CandyShared::to_int64 (line 264) [INFO] [stdout] src/value.rs - value::CandyShared::to_int8 (line 206) [INFO] [stdout] src/value.rs - value::CandyShared::to_json (line 387) [INFO] [stdout] src/value.rs - value::CandyShared::to_nat (line 94) [INFO] [stdout] src/value.rs - value::CandyShared::to_nat16 (line 134) [INFO] [stdout] src/value.rs - value::CandyShared::to_nat32 (line 152) [INFO] [stdout] src/value.rs - value::CandyShared::to_nat64 (line 170) [INFO] [stdout] src/value.rs - value::CandyShared::to_nat8 (line 112) [INFO] [stdout] src/value.rs - value::CandyShared::to_principal (line 334) [INFO] [stdout] src/value.rs - value::CandyShared::to_value_array (line 456) [INFO] [stdout] src/value.rs - value::ToBlob (line 667) [INFO] [stdout] src/value.rs - value::ToCandyValue (line 607) [INFO] [stdout] src/workspace.rs - workspace::DataZone::get_data_zone_size (line 121) [INFO] [stdout] src/workspace.rs - workspace::DataZone::to_bytes_buffer (line 143) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 21 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.08s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "702be9edc127fa76e7c33cac03b82606f019b080cf9bdf9c0e784018e8f08921", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "702be9edc127fa76e7c33cac03b82606f019b080cf9bdf9c0e784018e8f08921", kill_on_drop: false }` [INFO] [stdout] 702be9edc127fa76e7c33cac03b82606f019b080cf9bdf9c0e784018e8f08921