[INFO] fetching crate candy-rs 0.1.0... [INFO] testing candy-rs-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate candy-rs 0.1.0 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate candy-rs 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 133 packages to latest compatible versions [INFO] [stderr] Adding candid v0.8.4 (available: v0.10.17) [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_tokenstream v0.1.7 [INFO] [stderr] Downloaded ic-cdk-macros v0.6.10 [INFO] [stderr] Downloaded ic0 v0.18.11 [INFO] [stderr] Downloaded lalrpop-util v0.19.12 [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 logos v0.12.1 [INFO] [stderr] Downloaded candid v0.8.4 [INFO] [stderr] Downloaded pretty v0.10.0 [INFO] [stderr] Downloaded lalrpop v0.19.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2b09be8af3cba408f0b83846808395cd9a98abb02fe1ae4cff2113204bc2a7a [INFO] running `Command { std: "docker" "start" "-a" "f2b09be8af3cba408f0b83846808395cd9a98abb02fe1ae4cff2113204bc2a7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2b09be8af3cba408f0b83846808395cd9a98abb02fe1ae4cff2113204bc2a7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2b09be8af3cba408f0b83846808395cd9a98abb02fe1ae4cff2113204bc2a7a", kill_on_drop: false }` [INFO] [stdout] f2b09be8af3cba408f0b83846808395cd9a98abb02fe1ae4cff2113204bc2a7a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 687b6dadc2f5b2b4b5e4aab2a6e51fe029c9ed7dc0c581a7fc76d3837344ab9d [INFO] running `Command { std: "docker" "start" "-a" "687b6dadc2f5b2b4b5e4aab2a6e51fe029c9ed7dc0c581a7fc76d3837344ab9d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [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 rustversion v1.0.22 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling ic0 v0.18.11 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [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 num_enum_derive v0.5.11 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling num_enum v0.5.11 [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 28s [INFO] running `Command { std: "docker" "inspect" "687b6dadc2f5b2b4b5e4aab2a6e51fe029c9ed7dc0c581a7fc76d3837344ab9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "687b6dadc2f5b2b4b5e4aab2a6e51fe029c9ed7dc0c581a7fc76d3837344ab9d", kill_on_drop: false }` [INFO] [stdout] 687b6dadc2f5b2b4b5e4aab2a6e51fe029c9ed7dc0c581a7fc76d3837344ab9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 848c6128b71895ccda94f7bf85309bbb42469d9237b62303c10c2976a928f92a [INFO] running `Command { std: "docker" "start" "-a" "848c6128b71895ccda94f7bf85309bbb42469d9237b62303c10c2976a928f92a", 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 41.15s [INFO] running `Command { std: "docker" "inspect" "848c6128b71895ccda94f7bf85309bbb42469d9237b62303c10c2976a928f92a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "848c6128b71895ccda94f7bf85309bbb42469d9237b62303c10c2976a928f92a", kill_on_drop: false }` [INFO] [stdout] 848c6128b71895ccda94f7bf85309bbb42469d9237b62303c10c2976a928f92a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d979e6b485c10016538f2386ff140092d8d0bbf654cca5237a962afd576334a1 [INFO] running `Command { std: "docker" "start" "-a" "d979e6b485c10016538f2386ff140092d8d0bbf654cca5237a962afd576334a1", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/candy_rs-afda810a740c84d5) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests candy_rs [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_bool (line 313) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_int32 (line 246) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_int64 (line 264) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_blob (line 357) ... 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_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_nat64 (line 170) ... 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/value.rs - value::CandyShared::to_int16 (line 224) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_nat16 (line 134) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_json (line 387) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_nat (line 94) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_int8 (line 206) ... FAILED [INFO] [stdout] test src/workspace.rs - workspace::DataZone::get_data_zone_size (line 121) ... FAILED [INFO] [stdout] test src/value.rs - value::CandyShared::to_value_array (line 456) ... 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] test src/workspace.rs - workspace::DataZone::to_bytes_buffer (line 143) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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_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_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_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::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::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_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_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_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_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_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_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_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_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_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/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/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::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/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] ---- 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] [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.06s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d979e6b485c10016538f2386ff140092d8d0bbf654cca5237a962afd576334a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d979e6b485c10016538f2386ff140092d8d0bbf654cca5237a962afd576334a1", kill_on_drop: false }` [INFO] [stdout] d979e6b485c10016538f2386ff140092d8d0bbf654cca5237a962afd576334a1