[INFO] fetching crate candy-rs 0.1.0...
[INFO] testing candy-rs-0.1.0 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate candy-rs 0.1.0 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate candy-rs 0.1.0 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-3-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 123 packages to latest compatible versions
[INFO] [stderr]       Adding arrayvec v0.5.2 (latest: v0.7.4)
[INFO] [stderr]       Adding candid v0.8.4 (latest: v0.10.8)
[INFO] [stderr]       Adding candid_derive v0.5.0 (latest: v0.6.6)
[INFO] [stderr]       Adding fixedbitset v0.4.2 (latest: v0.5.7)
[INFO] [stderr]       Adding generic-array v0.14.7 (latest: v1.0.0)
[INFO] [stderr]       Adding ic-cdk v0.7.4 (latest: v0.14.0)
[INFO] [stderr]       Adding ic-cdk-macros v0.6.10 (latest: v0.14.0)
[INFO] [stderr]       Adding ic0 v0.18.11 (latest: v0.23.0)
[INFO] [stderr]       Adding itertools v0.10.5 (latest: v0.13.0)
[INFO] [stderr]       Adding lalrpop v0.19.12 (latest: v0.20.2)
[INFO] [stderr]       Adding lalrpop-util v0.19.12 (latest: v0.20.2)
[INFO] [stderr]       Adding logos v0.12.1 (latest: v0.14.0)
[INFO] [stderr]       Adding logos-derive v0.12.1 (latest: v0.14.0)
[INFO] [stderr]       Adding num_enum v0.5.11 (latest: v0.7.2)
[INFO] [stderr]       Adding num_enum_derive v0.5.11 (latest: v0.7.2)
[INFO] [stderr]       Adding phf_shared v0.10.0 (latest: v0.11.2)
[INFO] [stderr]       Adding pretty v0.10.0 (latest: v0.12.3)
[INFO] [stderr]       Adding proc-macro-crate v1.3.1 (latest: v3.1.0)
[INFO] [stderr]       Adding regex-syntax v0.6.29 (latest: v0.8.3)
[INFO] [stderr]       Adding serde_tokenstream v0.1.7 (latest: v0.2.0)
[INFO] [stderr]       Adding siphasher v0.3.11 (latest: v1.0.1)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] [stderr]       Adding toml_edit v0.19.15 (latest: v0.22.13)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding winnow v0.5.40 (latest: v0.6.8)
[INFO] [stderr]       Adding yansi v0.5.1 (latest: v1.0.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b9320e114c24c8532e034fbae1cf8e544069af5857697ee18fdfec0b69411486
[INFO] running `Command { std: "docker" "start" "-a" "b9320e114c24c8532e034fbae1cf8e544069af5857697ee18fdfec0b69411486", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b9320e114c24c8532e034fbae1cf8e544069af5857697ee18fdfec0b69411486", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9320e114c24c8532e034fbae1cf8e544069af5857697ee18fdfec0b69411486", kill_on_drop: false }`
[INFO] [stdout] b9320e114c24c8532e034fbae1cf8e544069af5857697ee18fdfec0b69411486
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0a69a70412604d8cb82feebbea59c3403d2c99351f9b67569a97ae3489ec880f
[INFO] running `Command { std: "docker" "start" "-a" "0a69a70412604d8cb82feebbea59c3403d2c99351f9b67569a97ae3489ec880f", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling either v1.12.0
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling toml_datetime v0.6.6
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling ena v0.14.3
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling beef v0.5.2
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling is-terminal v0.4.12
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling pretty v0.10.0
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]    Compiling string_cache v0.8.7
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling data-encoding v2.6.0
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling lalrpop-util v0.19.12
[INFO] [stderr]    Compiling ic0 v0.18.11
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling lalrpop v0.19.12
[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 serde v1.0.202
[INFO] [stderr]    Compiling num_enum v0.5.11
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]    Compiling logos v0.12.1
[INFO] [stderr]    Compiling serde_bytes v0.11.14
[INFO] [stderr]    Compiling num-bigint v0.4.5
[INFO] [stderr]    Compiling serde_tokenstream v0.1.7
[INFO] [stderr]    Compiling serde_json v1.0.117
[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 30.81s
[INFO] running `Command { std: "docker" "inspect" "0a69a70412604d8cb82feebbea59c3403d2c99351f9b67569a97ae3489ec880f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a69a70412604d8cb82feebbea59c3403d2c99351f9b67569a97ae3489ec880f", kill_on_drop: false }`
[INFO] [stdout] 0a69a70412604d8cb82feebbea59c3403d2c99351f9b67569a97ae3489ec880f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 683156c778039f39764e410c5ce7648185a5515a00d4ff6f61cf61c5b95ba9f7
[INFO] running `Command { std: "docker" "start" "-a" "683156c778039f39764e410c5ce7648185a5515a00d4ff6f61cf61c5b95ba9f7", kill_on_drop: false }`
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling yansi v0.5.1
[INFO] [stderr]    Compiling lalrpop v0.19.12
[INFO] [stderr]    Compiling pretty_assertions v1.4.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 `test` profile [unoptimized + debuginfo] target(s) in 18.43s
[INFO] running `Command { std: "docker" "inspect" "683156c778039f39764e410c5ce7648185a5515a00d4ff6f61cf61c5b95ba9f7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "683156c778039f39764e410c5ce7648185a5515a00d4ff6f61cf61c5b95ba9f7", kill_on_drop: false }`
[INFO] [stdout] 683156c778039f39764e410c5ce7648185a5515a00d4ff6f61cf61c5b95ba9f7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 7570640f37f90e6b14f81b16cea09e0ae93dfcd49cbadb331abfc78b14052792
[INFO] running `Command { std: "docker" "start" "-a" "7570640f37f90e6b14f81b16cea09e0ae93dfcd49cbadb331abfc78b14052792", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/candy_rs-f3e3c47c078d3495)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests candy_rs
[INFO] [stdout] 
[INFO] [stdout] running 21 tests
[INFO] [stdout] test src/value.rs - value::CandyShared::to_blob (line 357) ... FAILED
[INFO] [stdout] test src/value.rs - value::CandyShared::to_int (line 188) ... FAILED
[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_float (line 282) ... FAILED
[INFO] [stdout] test src/value.rs - value::CandyShared::to_nat (line 94) ... FAILED
[INFO] [stdout] test src/value.rs - value::CandyShared::to_json (line 387) ... FAILED
[INFO] [stdout] test src/value.rs - value::CandyShared::to_int64 (line 264) ... FAILED
[INFO] [stdout] test src/value.rs - value::CandyShared::to_int8 (line 206) ... FAILED
[INFO] [stdout] test src/value.rs - value::CandyShared::to_nat16 (line 134) ... FAILED
[INFO] [stdout] test src/value.rs - value::CandyShared::to_nat8 (line 112) ... FAILED
[INFO] [stdout] test src/value.rs - value::CandyShared::to_int16 (line 224) ... FAILED
[INFO] [stdout] test src/value.rs - value::CandyShared::to_nat32 (line 152) ... FAILED
[INFO] [stdout] test src/value.rs - value::CandyShared::to_nat64 (line 170) ... FAILED
[INFO] [stdout] test src/value.rs - value::CandyShared::get_value_size (line 475) ... FAILED
[INFO] [stdout] test src/value.rs - value::CandyShared::to_principal (line 334) ... FAILED
[INFO] [stdout] test src/value.rs - value::CandyShared::to_value_array (line 456) ... FAILED
[INFO] [stdout] test src/workspace.rs - workspace::DataZone::get_data_zone_size (line 121) ... FAILED
[INFO] [stdout] test src/value.rs - value::ToCandyValue (line 607) ... FAILED
[INFO] [stdout] test src/value.rs - value::ToBlob (line 667) ... FAILED
[INFO] [stdout] 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_blob (line 357) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:358:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared,ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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 `&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_int (line 188) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:189:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared, ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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_bool (line 313) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:314:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared, ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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 undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:247:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared, ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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_float (line 282) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:283:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared,ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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_nat (line 94) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:95:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared, ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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_json (line 387) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:388:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared,ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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_int64 (line 264) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:265:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared, ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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_int8 (line 206) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:207:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared,ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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_nat16 (line 134) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:135:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared,ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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_nat8 (line 112) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:113:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared, ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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_int16 (line 224) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:225:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared, ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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_nat32 (line 152) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:153:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared,ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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_nat64 (line 170) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:171:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared, ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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::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 undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:476:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::CandyShared;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:477:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use candy::workspace::DataZone;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_candy` found for struct `std::vec::Vec<u8>` 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 `Vec<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 `std::vec::Vec<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 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_principal (line 334) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:335:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared, ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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 `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_value_array (line 456) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:457:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared,ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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/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 undeclared crate or module `candy`
[INFO] [stdout]  --> src/workspace.rs:122:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::CandyShared;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/workspace.rs:123:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use candy::workspace::DataZone;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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 `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::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 undeclared crate or module `candy`
[INFO] [stdout]  --> src/workspace.rs:144:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared, ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/workspace.rs:145:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use candy::workspace::DataZone;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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 0.15s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "7570640f37f90e6b14f81b16cea09e0ae93dfcd49cbadb331abfc78b14052792", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7570640f37f90e6b14f81b16cea09e0ae93dfcd49cbadb331abfc78b14052792", kill_on_drop: false }`
[INFO] [stdout] 7570640f37f90e6b14f81b16cea09e0ae93dfcd49cbadb331abfc78b14052792
[INFO] testing candy-rs-0.1.0 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate candy-rs 0.1.0 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate candy-rs 0.1.0 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-3-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 123 packages to latest compatible versions
[INFO] [stderr]       Adding arrayvec v0.5.2 (latest: v0.7.4)
[INFO] [stderr]       Adding candid v0.8.4 (latest: v0.10.8)
[INFO] [stderr]       Adding candid_derive v0.5.0 (latest: v0.6.6)
[INFO] [stderr]       Adding fixedbitset v0.4.2 (latest: v0.5.7)
[INFO] [stderr]       Adding generic-array v0.14.7 (latest: v1.0.0)
[INFO] [stderr]       Adding ic-cdk v0.7.4 (latest: v0.14.0)
[INFO] [stderr]       Adding ic-cdk-macros v0.6.10 (latest: v0.14.0)
[INFO] [stderr]       Adding ic0 v0.18.11 (latest: v0.23.0)
[INFO] [stderr]       Adding itertools v0.10.5 (latest: v0.13.0)
[INFO] [stderr]       Adding lalrpop v0.19.12 (latest: v0.20.2)
[INFO] [stderr]       Adding lalrpop-util v0.19.12 (latest: v0.20.2)
[INFO] [stderr]       Adding logos v0.12.1 (latest: v0.14.0)
[INFO] [stderr]       Adding logos-derive v0.12.1 (latest: v0.14.0)
[INFO] [stderr]       Adding num_enum v0.5.11 (latest: v0.7.2)
[INFO] [stderr]       Adding num_enum_derive v0.5.11 (latest: v0.7.2)
[INFO] [stderr]       Adding phf_shared v0.10.0 (latest: v0.11.2)
[INFO] [stderr]       Adding pretty v0.10.0 (latest: v0.12.3)
[INFO] [stderr]       Adding proc-macro-crate v1.3.1 (latest: v3.1.0)
[INFO] [stderr]       Adding regex-syntax v0.6.29 (latest: v0.8.3)
[INFO] [stderr]       Adding serde_tokenstream v0.1.7 (latest: v0.2.0)
[INFO] [stderr]       Adding siphasher v0.3.11 (latest: v1.0.1)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.66)
[INFO] [stderr]       Adding toml_edit v0.19.15 (latest: v0.22.13)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0)
[INFO] [stderr]       Adding winnow v0.5.40 (latest: v0.6.8)
[INFO] [stderr]       Adding yansi v0.5.1 (latest: v1.0.1)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7fa96fa8e0c1d6d44c28d9403ae9d6d972909dd714e2505a2ec5a768b218136f
[INFO] running `Command { std: "docker" "start" "-a" "7fa96fa8e0c1d6d44c28d9403ae9d6d972909dd714e2505a2ec5a768b218136f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7fa96fa8e0c1d6d44c28d9403ae9d6d972909dd714e2505a2ec5a768b218136f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7fa96fa8e0c1d6d44c28d9403ae9d6d972909dd714e2505a2ec5a768b218136f", kill_on_drop: false }`
[INFO] [stdout] 7fa96fa8e0c1d6d44c28d9403ae9d6d972909dd714e2505a2ec5a768b218136f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9805ac9d990fefd4b68d5dffc8945043e87d07244715183fd4c20fb71bceb510
[INFO] running `Command { std: "docker" "start" "-a" "9805ac9d990fefd4b68d5dffc8945043e87d07244715183fd4c20fb71bceb510", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling either v1.12.0
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling toml_datetime v0.6.6
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling ena v0.14.3
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling beef v0.5.2
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling is-terminal v0.4.12
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling pretty v0.10.0
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]    Compiling string_cache v0.8.7
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling data-encoding v2.6.0
[INFO] [stderr]    Compiling lalrpop-util v0.19.12
[INFO] [stderr]    Compiling ic0 v0.18.11
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling serde_derive v1.0.202
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling lalrpop v0.19.12
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling logos-derive v0.12.1
[INFO] [stderr]    Compiling num_enum_derive v0.5.11
[INFO] [stderr]    Compiling candid_derive v0.5.0
[INFO] [stderr]    Compiling serde v1.0.202
[INFO] [stderr]    Compiling num_enum v0.5.11
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]    Compiling logos v0.12.1
[INFO] [stderr]    Compiling serde_bytes v0.11.14
[INFO] [stderr]    Compiling num-bigint v0.4.5
[INFO] [stderr]    Compiling serde_tokenstream v0.1.7
[INFO] [stderr]    Compiling serde_json v1.0.117
[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 35.33s
[INFO] running `Command { std: "docker" "inspect" "9805ac9d990fefd4b68d5dffc8945043e87d07244715183fd4c20fb71bceb510", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9805ac9d990fefd4b68d5dffc8945043e87d07244715183fd4c20fb71bceb510", kill_on_drop: false }`
[INFO] [stdout] 9805ac9d990fefd4b68d5dffc8945043e87d07244715183fd4c20fb71bceb510
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 854c605a9d1016bd3447f83355b70a6b5bf433fad7bb18267d1d58bdaf1b92f9
[INFO] running `Command { std: "docker" "start" "-a" "854c605a9d1016bd3447f83355b70a6b5bf433fad7bb18267d1d58bdaf1b92f9", kill_on_drop: false }`
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling yansi v0.5.1
[INFO] [stderr]    Compiling lalrpop v0.19.12
[INFO] [stderr]    Compiling pretty_assertions v1.4.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 `test` profile [unoptimized + debuginfo] target(s) in 43.39s
[INFO] running `Command { std: "docker" "inspect" "854c605a9d1016bd3447f83355b70a6b5bf433fad7bb18267d1d58bdaf1b92f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "854c605a9d1016bd3447f83355b70a6b5bf433fad7bb18267d1d58bdaf1b92f9", kill_on_drop: false }`
[INFO] [stdout] 854c605a9d1016bd3447f83355b70a6b5bf433fad7bb18267d1d58bdaf1b92f9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 3b009b89c6a7f106b9944d98173d1561b6fb200917b3f370c24610bcf16568a5
[INFO] running `Command { std: "docker" "start" "-a" "3b009b89c6a7f106b9944d98173d1561b6fb200917b3f370c24610bcf16568a5", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/candy_rs-f3e3c47c078d3495)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests candy_rs
[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_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::to_bool (line 313) ... FAILED
[INFO] [stdout] test src/value.rs - value::CandyShared::to_int8 (line 206) ... FAILED
[INFO] [stdout] test src/value.rs - value::CandyShared::to_json (line 387) ... FAILED
[INFO] [stdout] test src/value.rs - value::CandyShared::to_int (line 188) ... FAILED
[INFO] [stdout] test src/value.rs - value::CandyShared::to_nat32 (line 152) ... FAILED
[INFO] [stdout] test src/value.rs - value::CandyShared::to_nat64 (line 170) ... FAILED
[INFO] [stdout] test src/value.rs - value::CandyShared::to_int64 (line 264) ... FAILED
[INFO] [stdout] test src/value.rs - value::CandyShared::to_int16 (line 224) ... FAILED
[INFO] [stdout] test src/value.rs - value::CandyShared::to_int32 (line 246) ... FAILED
[INFO] [stdout] test src/value.rs - value::CandyShared::to_nat (line 94) ... FAILED
[INFO] [stdout] test src/value.rs - value::CandyShared::to_nat8 (line 112) ... FAILED
[INFO] [stdout] test src/value.rs - value::CandyShared::get_value_size (line 475) ... FAILED
[INFO] [stdout] test src/value.rs - value::CandyShared::to_principal (line 334) ... 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] test src/value.rs - value::CandyShared::to_value_array (line 456) ... FAILED
[INFO] [stdout] test src/workspace.rs - workspace::DataZone::get_data_zone_size (line 121) ... FAILED
[INFO] [stdout] test src/value.rs - value::ToCandyValue (line 607) ... FAILED
[INFO] [stdout] 
[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 undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:135:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared,ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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_blob (line 357) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:358:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared,ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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 `&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 undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:283:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared,ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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_bool (line 313) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:314:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared, ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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_int8 (line 206) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:207:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared,ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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_json (line 387) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:388:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared,ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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_int (line 188) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:189:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared, ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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_nat32 (line 152) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:153:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared,ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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_nat64 (line 170) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:171:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared, ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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_int64 (line 264) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:265:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared, ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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_int16 (line 224) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:225:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared, ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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_int32 (line 246) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:247:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared, ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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_nat (line 94) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:95:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared, ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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_nat8 (line 112) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:113:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared, ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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::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 undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:476:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::CandyShared;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:477:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use candy::workspace::DataZone;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `to_candy` found for struct `std::vec::Vec<u8>` 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 `Vec<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 `std::vec::Vec<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 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_principal (line 334) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:335:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared, ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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 `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::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 undeclared crate or module `candy`
[INFO] [stdout]  --> src/workspace.rs:144:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared, ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/workspace.rs:145:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use candy::workspace::DataZone;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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::CandyShared::to_value_array (line 456) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/value.rs:457:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::{CandyShared,ToCandyValue};
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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/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 undeclared crate or module `candy`
[INFO] [stdout]  --> src/workspace.rs:122:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use candy::value::CandyShared;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `candy`
[INFO] [stdout]  --> src/workspace.rs:123:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use candy::workspace::DataZone;
[INFO] [stdout]   |     ^^^^^ use of undeclared crate or module `candy`
[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 `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::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] 
[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.72s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "3b009b89c6a7f106b9944d98173d1561b6fb200917b3f370c24610bcf16568a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b009b89c6a7f106b9944d98173d1561b6fb200917b3f370c24610bcf16568a5", kill_on_drop: false }`
[INFO] [stdout] 3b009b89c6a7f106b9944d98173d1561b6fb200917b3f370c24610bcf16568a5
