[INFO] fetching crate ic-cdk-macros 0.5.0... [INFO] testing ic-cdk-macros-0.5.0 against try#1b74e096b9bfb06f84a3007193dcd2f059cbdf6a for pr-96025 [INFO] extracting crate ic-cdk-macros 0.5.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate ic-cdk-macros 0.5.0 on toolchain 1b74e096b9bfb06f84a3007193dcd2f059cbdf6a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ic-cdk-macros 0.5.0 [INFO] finished tweaking crates.io crate ic-cdk-macros 0.5.0 [INFO] tweaked toml for crates.io crate ic-cdk-macros 0.5.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8bcc710bccb8ac6fbda3630efce90d1ff34bfb37248158167d7667ea99584dec [INFO] running `Command { std: "docker" "start" "-a" "8bcc710bccb8ac6fbda3630efce90d1ff34bfb37248158167d7667ea99584dec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8bcc710bccb8ac6fbda3630efce90d1ff34bfb37248158167d7667ea99584dec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bcc710bccb8ac6fbda3630efce90d1ff34bfb37248158167d7667ea99584dec", kill_on_drop: false }` [INFO] [stdout] 8bcc710bccb8ac6fbda3630efce90d1ff34bfb37248158167d7667ea99584dec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47873932ca937ce23ab37ed906d77c1c78acbd736a8db7e5465fc30b3326b83f [INFO] running `Command { std: "docker" "start" "-a" "47873932ca937ce23ab37ed906d77c1c78acbd736a8db7e5465fc30b3326b83f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling string_cache v0.8.4 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling lalrpop-util v0.19.7 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling lalrpop v0.19.7 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Compiling candid_derive v0.4.5 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling logos v0.12.0 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling serde_tokenstream v0.1.3 [INFO] [stderr] Compiling ic-types v0.3.0 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling num_enum_derive v0.5.7 [INFO] [stderr] Compiling candid v0.7.14 [INFO] [stderr] Compiling num_enum v0.5.7 [INFO] [stderr] Compiling ic-cdk v0.5.0 [INFO] [stderr] Compiling ic-cdk-macros v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "47873932ca937ce23ab37ed906d77c1c78acbd736a8db7e5465fc30b3326b83f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47873932ca937ce23ab37ed906d77c1c78acbd736a8db7e5465fc30b3326b83f", kill_on_drop: false }` [INFO] [stdout] 47873932ca937ce23ab37ed906d77c1c78acbd736a8db7e5465fc30b3326b83f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3a86abcf23b3db5c5ceb4623c1660cb602265d77b7e7abe40c5a89daa1aa9bc [INFO] running `Command { std: "docker" "start" "-a" "c3a86abcf23b3db5c5ceb4623c1660cb602265d77b7e7abe40c5a89daa1aa9bc", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling trybuild v1.0.60 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling ic-cdk-macros v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.11s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/ic_cdk_macros-b3c526d9d97abac9) [INFO] running `Command { std: "docker" "inspect" "c3a86abcf23b3db5c5ceb4623c1660cb602265d77b7e7abe40c5a89daa1aa9bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3a86abcf23b3db5c5ceb4623c1660cb602265d77b7e7abe40c5a89daa1aa9bc", kill_on_drop: false }` [INFO] [stdout] c3a86abcf23b3db5c5ceb4623c1660cb602265d77b7e7abe40c5a89daa1aa9bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1b74e096b9bfb06f84a3007193dcd2f059cbdf6a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 66316c95da1808ba66227049bad21a5b514b02b8a9e5cf008fc7b3a96cac701d [INFO] running `Command { std: "docker" "start" "-a" "66316c95da1808ba66227049bad21a5b514b02b8a9e5cf008fc7b3a96cac701d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ic_cdk_macros-b3c526d9d97abac9) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test export::test::ic_query_empty ... ok [INFO] [stdout] test export::test::ic_query_one_arg ... ok [INFO] [stdout] test export::test::ic_query_two_args ... ok [INFO] [stdout] test export::test::ic_query_export_name ... ok [INFO] [stdout] test export::test::ic_query_two_args_return_value ... ok [INFO] [stdout] test export::test::ic_query_return_one_value ... ok [INFO] [stderr] Doc-tests ic-cdk-macros [INFO] [stdout] test export::test::ic_query_return_tuple ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 21 tests [INFO] [stdout] test src/lib.rs - import (line 429) ... ignored [INFO] [stdout] test src/lib.rs - import (line 437) ... ignored [INFO] [stdout] test src/lib.rs - update (line 149) ... ok [INFO] [stdout] test src/lib.rs - query (line 113) ... ok [INFO] [stdout] test src/lib.rs - inspect_message (line 388) ... ok [INFO] [stdout] test src/lib.rs - post_upgrade (line 320) ... ok [INFO] [stdout] test src/lib.rs - query (line 73) ... ok [INFO] [stdout] test src/lib.rs - pre_upgrade (line 280) ... ok [INFO] [stdout] test src/lib.rs - heartbeat (line 348) ... ok [INFO] [stdout] test src/lib.rs - inspect_message (line 400) ... ok [INFO] [stdout] test src/lib.rs - update (line 138) ... ok [INFO] [stdout] test src/lib.rs - heartbeat (line 360) ... ok [INFO] [stdout] test src/lib.rs - pre_upgrade (line 268) ... ok [INFO] [stdout] test src/lib.rs - init (line 219) ... ok [INFO] [stdout] test src/lib.rs - update (line 161) ... ok [INFO] [stdout] test src/lib.rs - init (line 234) ... FAILED [INFO] [stdout] test src/lib.rs - query (line 84) ... ok [INFO] [stdout] test src/lib.rs - update (line 178) ... ok [INFO] [stdout] test src/lib.rs - init (line 207) ... ok [INFO] [stdout] test src/lib.rs - post_upgrade (line 308) ... ok [INFO] [stdout] test src/lib.rs - query (line 96) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - init (line 234) stdout ---- [INFO] [stdout] error: cannot find derive macro `CandidType` in this scope [INFO] [stdout] --> src/lib.rs:237:24 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone, Debug, 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:237:36 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Clone, Debug, 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] [INFO] [stdout] error[E0277]: the trait bound `InitArg: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/lib.rs:243:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn init_function(arg: InitArg) { [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `InitArg` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a serde_bytes::bytes::Bytes [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 190 others [INFO] [stdout] = note: required because of the requirements on the impl of `for<'a> ArgumentDecoder<'a>` for `(InitArg,)` [INFO] [stdout] note: required by a bound in `arg_data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ic-cdk-0.5.0/src/api/call.rs:485:20 [INFO] [stdout] | [INFO] [stdout] 485 | pub fn arg_data ArgumentDecoder<'a>>() -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data` [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `InitArg: CandidType` is not satisfied [INFO] [stdout] --> src/lib.rs:243:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn init_function(arg: InitArg) { [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `CandidType` is not implemented for `InitArg` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `CandidType`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] (T0, T1, T2, T3, T4, T5) [INFO] [stdout] and 91 others [INFO] [stdout] = note: required because of the requirements on the impl of `for<'a> ArgumentDecoder<'a>` for `(InitArg,)` [INFO] [stdout] note: required by a bound in `arg_data` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ic-cdk-0.5.0/src/api/call.rs:485:20 [INFO] [stdout] | [INFO] [stdout] 485 | pub fn arg_data ArgumentDecoder<'a>>() -> R { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `arg_data` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - init (line 234) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 18 passed; 1 failed; 2 ignored; 0 measured; 0 filtered out; finished in 7.08s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "66316c95da1808ba66227049bad21a5b514b02b8a9e5cf008fc7b3a96cac701d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66316c95da1808ba66227049bad21a5b514b02b8a9e5cf008fc7b3a96cac701d", kill_on_drop: false }` [INFO] [stdout] 66316c95da1808ba66227049bad21a5b514b02b8a9e5cf008fc7b3a96cac701d