[INFO] fetching crate candy-rs 0.1.0... [INFO] testing candy-rs-0.1.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] extracting crate candy-rs 0.1.0 into /workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate candy-rs 0.1.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 124 packages to latest compatible versions [INFO] [stderr] Adding candid v0.8.4 (available: v0.10.18) [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded logos v0.12.1 [INFO] [stderr] Downloaded lalrpop-util v0.19.12 [INFO] [stderr] Downloaded candid_derive v0.5.0 [INFO] [stderr] Downloaded ic-cdk-macros v0.6.10 [INFO] [stderr] Downloaded pretty v0.10.0 [INFO] [stderr] Downloaded logos-derive v0.12.1 [INFO] [stderr] Downloaded ic-cdk v0.7.4 [INFO] [stderr] Downloaded candid v0.8.4 [INFO] [stderr] Downloaded lalrpop v0.19.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f529403d5e799e6d1943a83c57f1527b1e0c728637994f12efa93ce8cf1e9c3f [INFO] running `Command { std: "docker" "start" "-a" "f529403d5e799e6d1943a83c57f1527b1e0c728637994f12efa93ce8cf1e9c3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f529403d5e799e6d1943a83c57f1527b1e0c728637994f12efa93ce8cf1e9c3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f529403d5e799e6d1943a83c57f1527b1e0c728637994f12efa93ce8cf1e9c3f", kill_on_drop: false }` [INFO] [stdout] f529403d5e799e6d1943a83c57f1527b1e0c728637994f12efa93ce8cf1e9c3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a2cacf5d23fd4318e3e4fbc27e4ea960053569859641d64e53f7cba2a9cc141 [INFO] running `Command { std: "docker" "start" "-a" "7a2cacf5d23fd4318e3e4fbc27e4ea960053569859641d64e53f7cba2a9cc141", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling indexmap v2.11.1 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ic0 v0.18.11 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling candid_derive v0.5.0 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling binread v2.2.0 [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 54.45s [INFO] running `Command { std: "docker" "inspect" "7a2cacf5d23fd4318e3e4fbc27e4ea960053569859641d64e53f7cba2a9cc141", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a2cacf5d23fd4318e3e4fbc27e4ea960053569859641d64e53f7cba2a9cc141", kill_on_drop: false }` [INFO] [stdout] 7a2cacf5d23fd4318e3e4fbc27e4ea960053569859641d64e53f7cba2a9cc141 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce689be6ee868e7a2730d77781ec72a53b34ff40c8776764f976452a15f08063 [INFO] running `Command { std: "docker" "start" "-a" "ce689be6ee868e7a2730d77781ec72a53b34ff40c8776764f976452a15f08063", kill_on_drop: false }` [INFO] [stderr] Compiling lalrpop v0.19.12 [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 33.94s [INFO] running `Command { std: "docker" "inspect" "ce689be6ee868e7a2730d77781ec72a53b34ff40c8776764f976452a15f08063", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce689be6ee868e7a2730d77781ec72a53b34ff40c8776764f976452a15f08063", kill_on_drop: false }` [INFO] [stdout] ce689be6ee868e7a2730d77781ec72a53b34ff40c8776764f976452a15f08063 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1ee694c0e2392d5c4d2d9e532a1b53c1cb33d7050d6497575df2af12e37e89f0 [INFO] running `Command { std: "docker" "start" "-a" "1ee694c0e2392d5c4d2d9e532a1b53c1cb33d7050d6497575df2af12e37e89f0", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/candy_rs-1c01aa7e410d6763) [INFO] [stderr] Doc-tests candy_rs [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] [stdout] [INFO] [stdout] running 21 tests [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_nat (line 94) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_int (line 188) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_nat8 (line 112) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_float (line 282) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_value_array (line 456) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::get_value_size (line 475) ... 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_int16 (line 224) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_int8 (line 206) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_int32 (line 246) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_principal (line 334) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_nat32 (line 152) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_bool (line 313) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_blob (line 357) ... FAILED [INFO] [stdout] test src/value.rs - value::ToCandyValue (line 607) ... FAILED [INFO] [stdout] test src/workspace.rs - workspace::DataZone::get_data_zone_size (line 121) ... FAILED [INFO] [stdout] test src/workspace.rs - workspace::DataZone::to_bytes_buffer (line 143) ... 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_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] 3 | 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] 5 | 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] 3 | 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] 5 | 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_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] 3 | 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] 5 | 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_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] 3 | 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] 5 | 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] 3 | 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] 5 | 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] 9 | 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_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] 3 | 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] 5 | 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_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] 3 | 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] 5 | 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] 5 | 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] 8 | 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] 8 | 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/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] 5 | 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] 6 | 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] 3 | 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] 4 | 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] 10 | 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] 2 + 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_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] 3 | 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] 5 | 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] 3 | 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] 5 | 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_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] 3 | 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] 5 | 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] 9 | 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_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] 3 | 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] 5 | 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_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] 3 | 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] 5 | 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_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] 3 | 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] 7 | 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/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] 3 | 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] 5 | 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_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] 3 | 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] 5 | 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_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] 3 | 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] 5 | 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::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] 3 | 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] 6 | 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] 2 + 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/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] 5 | 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] 6 | 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] 3 | 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] 4 | 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] 11 | 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] 2 + 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] 12 | 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] 2 + 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/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] 5 | 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] 3 | 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] 4 | 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] 7 | 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] 2 + 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::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] 3 | 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] 5 | 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] 2 + 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 0.83s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "1ee694c0e2392d5c4d2d9e532a1b53c1cb33d7050d6497575df2af12e37e89f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ee694c0e2392d5c4d2d9e532a1b53c1cb33d7050d6497575df2af12e37e89f0", kill_on_drop: false }` [INFO] [stdout] 1ee694c0e2392d5c4d2d9e532a1b53c1cb33d7050d6497575df2af12e37e89f0