[INFO] fetching crate nnsdao_sdk_basic 0.1.2...
[INFO] testing nnsdao_sdk_basic-0.1.2 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate nnsdao_sdk_basic 0.1.2 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate nnsdao_sdk_basic 0.1.2 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate nnsdao_sdk_basic 0.1.2
[INFO] finished tweaking crates.io crate nnsdao_sdk_basic 0.1.2
[INFO] tweaked toml for crates.io crate nnsdao_sdk_basic 0.1.2 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" "+nightly-2024-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 120 packages to latest compatible versions
[INFO] [stderr]       Adding candid v0.7.18 (available: v0.10.10)
[INFO] [stderr]       Adding ic-cdk v0.5.7 (available: v0.16.0)
[INFO] [stderr]       Adding ic-cdk-macros v0.5.7 (available: v0.16.0)
[INFO] [stderr]       Adding ic-types v0.4.2 (available: v0.7.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a0dcaba1b0360fbf0bef70d4bcacf4203ed586b63663103aba78e7a206ae97d9
[INFO] running `Command { std: "docker" "start" "-a" "a0dcaba1b0360fbf0bef70d4bcacf4203ed586b63663103aba78e7a206ae97d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a0dcaba1b0360fbf0bef70d4bcacf4203ed586b63663103aba78e7a206ae97d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a0dcaba1b0360fbf0bef70d4bcacf4203ed586b63663103aba78e7a206ae97d9", kill_on_drop: false }`
[INFO] [stdout] a0dcaba1b0360fbf0bef70d4bcacf4203ed586b63663103aba78e7a206ae97d9
[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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 64ac18ffca4d30ce88c43deb43a69bc70e08ab0501edc144d0676aaea8d6f3af
[INFO] running `Command { std: "docker" "start" "-a" "64ac18ffca4d30ce88c43deb43a69bc70e08ab0501edc144d0676aaea8d6f3af", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.15.0
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling libc v0.2.161
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling syn v2.0.86
[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 num-traits v0.2.19
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling ena v0.14.3
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling beef v0.5.2
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling lalrpop-util v0.19.12
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling is-terminal v0.4.13
[INFO] [stderr]    Compiling pretty v0.10.0
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling string_cache v0.8.7
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling serde_derive v1.0.214
[INFO] [stderr]    Compiling thiserror-impl v1.0.66
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling thiserror v1.0.66
[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.4.5
[INFO] [stderr]    Compiling lalrpop v0.19.12
[INFO] [stderr]    Compiling num_enum v0.5.11
[INFO] [stderr]    Compiling logos v0.12.1
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]    Compiling serde v1.0.214
[INFO] [stderr]    Compiling serde_bytes v0.11.15
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling serde_tokenstream v0.1.7
[INFO] [stderr]    Compiling ic-types v0.5.0
[INFO] [stderr]    Compiling ic-types v0.4.2
[INFO] [stderr]    Compiling candid v0.7.18
[INFO] [stderr]    Compiling ic-cdk v0.5.7
[INFO] [stderr]    Compiling ic-cdk-macros v0.5.7
[INFO] [stderr]    Compiling nnsdao_sdk_basic v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.83s
[INFO] running `Command { std: "docker" "inspect" "64ac18ffca4d30ce88c43deb43a69bc70e08ab0501edc144d0676aaea8d6f3af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "64ac18ffca4d30ce88c43deb43a69bc70e08ab0501edc144d0676aaea8d6f3af", kill_on_drop: false }`
[INFO] [stdout] 64ac18ffca4d30ce88c43deb43a69bc70e08ab0501edc144d0676aaea8d6f3af
[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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 303c181164b81e341ccc3bf9e233bf04bd77aec770ffc712db2bc6caa68ab588
[INFO] running `Command { std: "docker" "start" "-a" "303c181164b81e341ccc3bf9e233bf04bd77aec770ffc712db2bc6caa68ab588", kill_on_drop: false }`
[INFO] [stderr]    Compiling nnsdao_sdk_basic v0.1.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.63s
[INFO] running `Command { std: "docker" "inspect" "303c181164b81e341ccc3bf9e233bf04bd77aec770ffc712db2bc6caa68ab588", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "303c181164b81e341ccc3bf9e233bf04bd77aec770ffc712db2bc6caa68ab588", kill_on_drop: false }`
[INFO] [stdout] 303c181164b81e341ccc3bf9e233bf04bd77aec770ffc712db2bc6caa68ab588
[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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 9554d6d54d6b6fe8f5cc36df265495463cb8fef049bc07cff4b82035e80a7d81
[INFO] running `Command { std: "docker" "start" "-a" "9554d6d54d6b6fe8f5cc36df265495463cb8fef049bc07cff4b82035e80a7d81", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nnsdao_sdk_basic-972492d894d07ebe)
[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 nnsdao_sdk_basic
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - (line 4) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 4) stdout ----
[INFO] [stdout] error: cannot find attribute `async_trait` in this scope
[INFO] [stdout]  --> src/lib.rs:7:3
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[async_trait]
[INFO] [stdout]   |   ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `async_trait` is in scope, but it is a crate, not an attribute
[INFO] [stdout] help: consider importing this attribute macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use async_trait::async_trait;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `CandidType` in this scope
[INFO] [stdout]  --> src/lib.rs:5:33
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Clone, Debug, Default, CandidType, Deserialize)]
[INFO] [stdout]   |                                 ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this derive macro
[INFO] [stdout]   |
[INFO] [stdout] 2 + use candid::CandidType;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope
[INFO] [stdout]  --> src/lib.rs:5:45
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Clone, Debug, Default, CandidType, Deserialize)]
[INFO] [stdout]   |                                             ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these derive macros
[INFO] [stdout]   |
[INFO] [stdout] 2 + use candid::Deserialize;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use serde::Deserialize;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use serde_derive::Deserialize;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `DaoCustomFn` in this scope
[INFO] [stdout]  --> src/lib.rs:8:6
[INFO] [stdout]   |
[INFO] [stdout] 6 | impl DaoCustomFn for CustomFn {
[INFO] [stdout]   |      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]   |
[INFO] [stdout] 2 + use nnsdao_sdk_basic::DaoCustomFn;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Principal` in this scope
[INFO] [stdout]  --> src/lib.rs:9:37
[INFO] [stdout]   |
[INFO] [stdout] 7 |  async fn is_member(&self, _member: Principal) -> Result<bool, String> {
[INFO] [stdout]   |                                     ^^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]   |
[INFO] [stdout] 2 + use candid::Principal;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use ic_cdk::export::Principal;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use ic_types::Principal;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DaoBasic`
[INFO] [stdout]   --> src/lib.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 14 | let dao_basic = DaoBasic::new(CustomFn::default());
[INFO] [stdout]    |                 ^^^^^^^^ use of undeclared type `DaoBasic`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use nnsdao_sdk_basic::DaoBasic;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 4)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "9554d6d54d6b6fe8f5cc36df265495463cb8fef049bc07cff4b82035e80a7d81", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9554d6d54d6b6fe8f5cc36df265495463cb8fef049bc07cff4b82035e80a7d81", kill_on_drop: false }`
[INFO] [stdout] 9554d6d54d6b6fe8f5cc36df265495463cb8fef049bc07cff4b82035e80a7d81
