[INFO] fetching crate nnsdao_sdk_basic 0.1.2... [INFO] testing nnsdao_sdk_basic-0.1.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate nnsdao_sdk_basic 0.1.2 into /workspace/builds/worker-4-tc2/source [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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate nnsdao_sdk_basic 0.1.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 130 packages to latest compatible versions [INFO] [stderr] Adding candid v0.7.18 (available: v0.10.17) [INFO] [stderr] Adding ic-cdk v0.5.7 (available: v0.18.7) [INFO] [stderr] Adding ic-cdk-macros v0.5.7 (available: v0.18.7) [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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] edb1099c35f232b50527525a141fb9ad54adc07bafc29215ca6f8a1a3e4f6834 [INFO] running `Command { std: "docker" "start" "-a" "edb1099c35f232b50527525a141fb9ad54adc07bafc29215ca6f8a1a3e4f6834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edb1099c35f232b50527525a141fb9ad54adc07bafc29215ca6f8a1a3e4f6834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edb1099c35f232b50527525a141fb9ad54adc07bafc29215ca6f8a1a3e4f6834", kill_on_drop: false }` [INFO] [stdout] edb1099c35f232b50527525a141fb9ad54adc07bafc29215ca6f8a1a3e4f6834 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15740258b488af5ddaff6ff244d346aa32ad50e0477fa11f0a5079b168321898 [INFO] running `Command { std: "docker" "start" "-a" "15740258b488af5ddaff6ff244d346aa32ad50e0477fa11f0a5079b168321898", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [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 bit-set v0.5.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling candid_derive v0.4.5 [INFO] [stderr] Compiling serde v1.0.219 [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_bytes v0.11.17 [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 49.79s [INFO] running `Command { std: "docker" "inspect" "15740258b488af5ddaff6ff244d346aa32ad50e0477fa11f0a5079b168321898", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15740258b488af5ddaff6ff244d346aa32ad50e0477fa11f0a5079b168321898", kill_on_drop: false }` [INFO] [stdout] 15740258b488af5ddaff6ff244d346aa32ad50e0477fa11f0a5079b168321898 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7beec5b98549e5c883026a7f481819c68aae33f6540ca5e7c631ead8876719f [INFO] running `Command { std: "docker" "start" "-a" "f7beec5b98549e5c883026a7f481819c68aae33f6540ca5e7c631ead8876719f", 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.72s [INFO] running `Command { std: "docker" "inspect" "f7beec5b98549e5c883026a7f481819c68aae33f6540ca5e7c631ead8876719f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7beec5b98549e5c883026a7f481819c68aae33f6540ca5e7c631ead8876719f", kill_on_drop: false }` [INFO] [stdout] f7beec5b98549e5c883026a7f481819c68aae33f6540ca5e7c631ead8876719f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b80b4cfc5922f95324bd8b1af6fae8de8a37ed13d53af7a8bd5b4fc09ed05796 [INFO] running `Command { std: "docker" "start" "-a" "b80b4cfc5922f95324bd8b1af6fae8de8a37ed13d53af7a8bd5b4fc09ed05796", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nnsdao_sdk_basic-1be2e268deeb7e9b) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests nnsdao_sdk_basic [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 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 { [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.16s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b80b4cfc5922f95324bd8b1af6fae8de8a37ed13d53af7a8bd5b4fc09ed05796", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b80b4cfc5922f95324bd8b1af6fae8de8a37ed13d53af7a8bd5b4fc09ed05796", kill_on_drop: false }` [INFO] [stdout] b80b4cfc5922f95324bd8b1af6fae8de8a37ed13d53af7a8bd5b4fc09ed05796