[INFO] fetching crate nnsdao_sdk_basic 0.1.2... [INFO] testing nnsdao_sdk_basic-0.1.2 against 1.64.0 for beta-1.65-1 [INFO] extracting crate nnsdao_sdk_basic 0.1.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate nnsdao_sdk_basic 0.1.2 on toolchain 1.64.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.64.0" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.64.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.64.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic-types v0.4.2 [INFO] [stderr] Downloaded serde_tokenstream v0.1.3 [INFO] [stderr] Downloaded candid_derive v0.4.5 [INFO] [stderr] Downloaded ic-types v0.5.0 [INFO] [stderr] Downloaded ic-cdk v0.5.7 [INFO] [stderr] Downloaded candid v0.7.18 [INFO] [stderr] Downloaded binread_derive v2.1.0 [INFO] [stderr] Downloaded binread v2.2.0 [INFO] [stderr] Downloaded ic-cdk-macros v0.5.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+1.64.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f6918fd33e818644953cecb05b2162cf988def0b843408649663049e5a8caf1 [INFO] running `Command { std: "docker" "start" "-a" "9f6918fd33e818644953cecb05b2162cf988def0b843408649663049e5a8caf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f6918fd33e818644953cecb05b2162cf988def0b843408649663049e5a8caf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f6918fd33e818644953cecb05b2162cf988def0b843408649663049e5a8caf1", kill_on_drop: false }` [INFO] [stdout] 9f6918fd33e818644953cecb05b2162cf988def0b843408649663049e5a8caf1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+1.64.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51e71bf035029124307111da0d9f8194e1674c73b4437524c88bf5e4545da211 [INFO] running `Command { std: "docker" "start" "-a" "51e71bf035029124307111da0d9f8194e1674c73b4437524c88bf5e4545da211", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.101 [INFO] [stderr] Compiling serde_derive v1.0.145 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling cpufeatures v0.2.5 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling rustversion v1.0.9 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling lalrpop-util v0.19.8 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.5 [INFO] [stderr] Compiling sha2 v0.10.6 [INFO] [stderr] Compiling lalrpop v0.19.8 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling candid_derive v0.4.5 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling serde_bytes v0.11.7 [INFO] [stderr] Compiling serde_tokenstream v0.1.3 [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 proc-macro-crate v1.2.1 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Compiling num_enum v0.5.7 [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 [unoptimized + debuginfo] target(s) in 58.66s [INFO] running `Command { std: "docker" "inspect" "51e71bf035029124307111da0d9f8194e1674c73b4437524c88bf5e4545da211", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51e71bf035029124307111da0d9f8194e1674c73b4437524c88bf5e4545da211", kill_on_drop: false }` [INFO] [stdout] 51e71bf035029124307111da0d9f8194e1674c73b4437524c88bf5e4545da211 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+1.64.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0169685a5cf40d7af4abb350c5cb7d2f3fe5a8247958cac4237d9cc10603ae04 [INFO] running `Command { std: "docker" "start" "-a" "0169685a5cf40d7af4abb350c5cb7d2f3fe5a8247958cac4237d9cc10603ae04", kill_on_drop: false }` [INFO] [stderr] Compiling nnsdao_sdk_basic v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 17.73s [INFO] running `Command { std: "docker" "inspect" "0169685a5cf40d7af4abb350c5cb7d2f3fe5a8247958cac4237d9cc10603ae04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0169685a5cf40d7af4abb350c5cb7d2f3fe5a8247958cac4237d9cc10603ae04", kill_on_drop: false }` [INFO] [stdout] 0169685a5cf40d7af4abb350c5cb7d2f3fe5a8247958cac4237d9cc10603ae04 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+1.64.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 01e77e73419e2ed242aee01ea78af7f15eac0a2c6348f43e0b4c7709482f1670 [INFO] running `Command { std: "docker" "start" "-a" "01e77e73419e2ed242aee01ea78af7f15eac0a2c6348f43e0b4c7709482f1670", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nnsdao_sdk_basic-fde72eb79825acfe) [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[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> src/lib.rs:9:2 [INFO] [stdout] | [INFO] [stdout] 7 | async fn is_member(&self, _member: Principal) -> Result { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | __`async` because of this [INFO] [stdout] | | [INFO] [stdout] 8 | | Ok(true) [INFO] [stdout] 9 | | } [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stdout] [INFO] [stdout] error[E0706]: functions in traits cannot be declared `async` [INFO] [stdout] --> src/lib.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 10 | async fn handle_proposal(&self) -> Result<(), String> { [INFO] [stdout] | ^---- [INFO] [stdout] | | [INFO] [stdout] | __`async` because of this [INFO] [stdout] | | [INFO] [stdout] 11 | | Ok(()) [INFO] [stdout] 12 | | } [INFO] [stdout] | |__^ [INFO] [stdout] | [INFO] [stdout] = note: `async` trait functions are not currently supported [INFO] [stdout] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [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: consider importing this attribute macro: [INFO] [stdout] async_trait::async_trait [INFO] [stdout] = note: `async_trait` is in scope, but it is a crate, not an attribute [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] = note: consider importing this derive macro: [INFO] [stdout] candid::CandidType [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] = note: consider importing one of these items: [INFO] [stdout] candid::Deserialize [INFO] [stdout] serde::Deserialize [INFO] [stdout] serde_derive::Deserialize [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 items [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] | ^^^^^^^^ not found in this scope [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 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433, E0706. [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.83s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "01e77e73419e2ed242aee01ea78af7f15eac0a2c6348f43e0b4c7709482f1670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01e77e73419e2ed242aee01ea78af7f15eac0a2c6348f43e0b4c7709482f1670", kill_on_drop: false }` [INFO] [stdout] 01e77e73419e2ed242aee01ea78af7f15eac0a2c6348f43e0b4c7709482f1670