[INFO] fetching crate iredismodule-macros 0.3.0... [INFO] testing iredismodule-macros-0.3.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate iredismodule-macros 0.3.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate iredismodule-macros 0.3.0 [INFO] finished tweaking crates.io crate iredismodule-macros 0.3.0 [INFO] tweaked toml for crates.io crate iredismodule-macros 0.3.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate iredismodule-macros 0.3.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.104) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f8be2da72dd18d84e5c6d711f7d4686973f4c964f1df328503aae8c33958da5 [INFO] running `Command { std: "docker" "start" "-a" "1f8be2da72dd18d84e5c6d711f7d4686973f4c964f1df328503aae8c33958da5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f8be2da72dd18d84e5c6d711f7d4686973f4c964f1df328503aae8c33958da5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f8be2da72dd18d84e5c6d711f7d4686973f4c964f1df328503aae8c33958da5", kill_on_drop: false }` [INFO] [stdout] 1f8be2da72dd18d84e5c6d711f7d4686973f4c964f1df328503aae8c33958da5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1573ed2b786cf4771af5d680b1f47de830ec9b6f75837d18b80c1dbc7ba810e1 [INFO] running `Command { std: "docker" "start" "-a" "1573ed2b786cf4771af5d680b1f47de830ec9b6f75837d18b80c1dbc7ba810e1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling iredismodule-macros v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.80s [INFO] running `Command { std: "docker" "inspect" "1573ed2b786cf4771af5d680b1f47de830ec9b6f75837d18b80c1dbc7ba810e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1573ed2b786cf4771af5d680b1f47de830ec9b6f75837d18b80c1dbc7ba810e1", kill_on_drop: false }` [INFO] [stdout] 1573ed2b786cf4771af5d680b1f47de830ec9b6f75837d18b80c1dbc7ba810e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bb9ddd03b02b8b222cded6d0ee59d7167ff3f077017c18ae1d0c5578dd966806 [INFO] running `Command { std: "docker" "start" "-a" "bb9ddd03b02b8b222cded6d0ee59d7167ff3f077017c18ae1d0c5578dd966806", kill_on_drop: false }` [INFO] [stderr] Compiling iredismodule-macros v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "bb9ddd03b02b8b222cded6d0ee59d7167ff3f077017c18ae1d0c5578dd966806", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb9ddd03b02b8b222cded6d0ee59d7167ff3f077017c18ae1d0c5578dd966806", kill_on_drop: false }` [INFO] [stdout] bb9ddd03b02b8b222cded6d0ee59d7167ff3f077017c18ae1d0c5578dd966806 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d895912700eac46f9eb5da5057e66a00bdf7e88b5d0066ae02a4719211f18a30 [INFO] running `Command { std: "docker" "start" "-a" "d895912700eac46f9eb5da5057e66a00bdf7e88b5d0066ae02a4719211f18a30", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/iredismodule_macros-9d02cb2f6f74abda) [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 iredismodule_macros [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/lib.rs - rtypedef (line 210) - compile ... FAILED [INFO] [stdout] test src/lib.rs - rwrap (line 279) - compile ... FAILED [INFO] [stdout] test src/lib.rs - rwrap (line 258) - compile ... FAILED [INFO] [stdout] test src/lib.rs - rcmd (line 109) - compile ... FAILED [INFO] [stdout] test src/lib.rs - rcmd (line 12) ... ok [INFO] [stdout] test src/lib.rs - rwrap (line 253) - compile ... FAILED [INFO] [stdout] test src/lib.rs - rtypedef (line 148) - compile ... FAILED [INFO] [stdout] test src/lib.rs - rtypedef (line 197) - compile ... FAILED [INFO] [stdout] test src/lib.rs - rcmd (line 64) - compile ... FAILED [INFO] [stdout] test src/lib.rs - rwrap (line 274) - compile ... FAILED [INFO] [stdout] test src/lib.rs - rcmd (line 73) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - rtypedef (line 210) stdout ---- [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:228:14 [INFO] [stdout] | [INFO] [stdout] 18 | Finally, use `define_macro` to register that data type. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 18 - Finally, use `define_macro` to register that data type. [INFO] [stdout] 18 + Finally, use 'define_macro` to register that data type. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:228:27 [INFO] [stdout] | [INFO] [stdout] 18 | Finally, use `define_macro` to register that data type. [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 18 - Finally, use `define_macro` to register that data type. [INFO] [stdout] 18 + Finally, use `define_macro' to register that data type. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: unknown start of token: ` [INFO] [stdout] --> src/lib.rs:229:1 [INFO] [stdout] | [INFO] [stdout] 19 | ```rust,no_run [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: character appears 2 more times [INFO] [stdout] help: Unicode character '`' (Grave Accent) looks like ''' (Single Quote), but it is not [INFO] [stdout] | [INFO] [stdout] 19 - ```rust,no_run [INFO] [stdout] 19 + '''rust,no_run [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found `,` [INFO] [stdout] --> src/lib.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 18 | Finally, use `define_macro` to register that data type. [INFO] [stdout] | ^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - rwrap (line 279) stdout ---- [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> src/lib.rs:294:66 [INFO] [stdout] | [INFO] [stdout] 15 | fn helloblock_reply(ctx: &mut Context, _: Vec) -> RResult { [INFO] [stdout] | -^ [INFO] [stdout] | | [INFO] [stdout] | unclosed delimiter [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - rwrap (line 258) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `iredismodule` [INFO] [stdout] --> src/lib.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 7 | use iredismodule::FromPtr; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `iredismodule` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `iredismodule`, use `cargo add iredismodule` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `iredismodule` [INFO] [stdout] --> src/lib.rs:260:15 [INFO] [stdout] | [INFO] [stdout] 4 | ctx: *mut iredismodule::raw::RedisModuleCtx, [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `iredismodule` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `iredismodule`, use `cargo add iredismodule` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `iredismodule` [INFO] [stdout] --> src/lib.rs:264:23 [INFO] [stdout] | [INFO] [stdout] 8 | let mut context = iredismodule::context::Context::from_ptr(ctx); [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `iredismodule` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `iredismodule`, use `cargo add iredismodule` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] help: if you import `Context`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 8 - let mut context = iredismodule::context::Context::from_ptr(ctx); [INFO] [stdout] 8 + let mut context = Context::from_ptr(ctx); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:269:30 [INFO] [stdout] | [INFO] [stdout] 13 | fn helloblock_free(ctx: &mut Context, data: Box) {} [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - rcmd (line 109) stdout ---- [INFO] [stdout] error: cannot find macro `define_module` in this scope [INFO] [stdout] --> src/lib.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 3 | define_module! { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - rwrap (line 253) stdout ---- [INFO] [stdout] error: cannot find attribute `rwrap` in this scope [INFO] [stdout] --> src/lib.rs:254:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[rwrap("free")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use iredismodule_macros::rwrap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:255:30 [INFO] [stdout] | [INFO] [stdout] 4 | fn helloblock_free(ctx: &mut Context, data: Box) { } [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - rtypedef (line 148) stdout ---- [INFO] [stdout] error: cannot find attribute `rtypedef` in this scope [INFO] [stdout] --> src/lib.rs:149:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[rtypedef("hellotype", 0)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use iredismodule_macros::rtypedef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `TypeMethod` in this scope [INFO] [stdout] --> src/lib.rs:150:6 [INFO] [stdout] | [INFO] [stdout] 4 | impl TypeMethod for HelloTypeNode { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HelloTypeNode` in this scope [INFO] [stdout] --> src/lib.rs:150:21 [INFO] [stdout] | [INFO] [stdout] 4 | impl TypeMethod for HelloTypeNode { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IO` in this scope [INFO] [stdout] --> src/lib.rs:151:26 [INFO] [stdout] | [INFO] [stdout] 5 | fn rdb_load(io: &mut IO, encver: u32) -> Option> { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IO` in this scope [INFO] [stdout] --> src/lib.rs:163:33 [INFO] [stdout] | [INFO] [stdout] 17 | fn rdb_save(&self, io: &mut IO) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IO` in this scope [INFO] [stdout] --> src/lib.rs:169:51 [INFO] [stdout] | [INFO] [stdout] 23 | fn aof_rewrite>(&self, io: &mut IO, key: T) { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Digest` in this scope [INFO] [stdout] --> src/lib.rs:182:35 [INFO] [stdout] | [INFO] [stdout] 36 | fn digest(&self, digest: &mut Digest) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - rtypedef (line 197) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `iredismodule` [INFO] [stdout] --> src/lib.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 7 | use iredismodule::FromPtr; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `iredismodule` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `iredismodule`, use `cargo add iredismodule` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `iredismodule` [INFO] [stdout] --> src/lib.rs:199:15 [INFO] [stdout] | [INFO] [stdout] 4 | rdb: *mut iredismodule::raw::RedisModuleIO, [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `iredismodule` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `iredismodule`, use `cargo add iredismodule` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `iredismodule` [INFO] [stdout] --> src/lib.rs:203:18 [INFO] [stdout] | [INFO] [stdout] 8 | let mut io = iredismodule::io::IO::from_ptr(rdb); [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `iredismodule` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `iredismodule`, use `cargo add iredismodule` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HelloTypeNode` in this scope [INFO] [stdout] --> src/lib.rs:204:32 [INFO] [stdout] | [INFO] [stdout] 9 | let hto = &*(value as *mut HelloTypeNode); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - rcmd (line 64) stdout ---- [INFO] [stdout] error: cannot find attribute `rcmd` in this scope [INFO] [stdout] --> src/lib.rs:65:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[rcmd("hello.simple", "readonly", 0, 0, 0)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use iredismodule_macros::rcmd; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:66:27 [INFO] [stdout] | [INFO] [stdout] 4 | fn hello_simple(ctx: &mut Context, _args: Vec) -> RResult { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RStr` in this scope [INFO] [stdout] --> src/lib.rs:66:47 [INFO] [stdout] | [INFO] [stdout] 4 | fn hello_simple(ctx: &mut Context, _args: Vec) -> RResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4 | fn hello_simple(ctx: &mut Context, _args: Vec) -> RResult { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RResult` in this scope [INFO] [stdout] --> src/lib.rs:66:57 [INFO] [stdout] | [INFO] [stdout] 4 | fn hello_simple(ctx: &mut Context, _args: Vec) -> RResult { [INFO] [stdout] | ^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:548:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named enum `Result` defined here [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - rwrap (line 274) stdout ---- [INFO] [stdout] error: cannot find attribute `rwrap` in this scope [INFO] [stdout] --> src/lib.rs:275:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[rwrap("call")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 2 + use iredismodule_macros::rwrap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:276:31 [INFO] [stdout] | [INFO] [stdout] 4 | fn helloblock_reply(ctx: &mut Context, _: Vec) -> RResult {} [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RStr` in this scope [INFO] [stdout] --> src/lib.rs:276:47 [INFO] [stdout] | [INFO] [stdout] 4 | fn helloblock_reply(ctx: &mut Context, _: Vec) -> RResult {} [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 4 | fn helloblock_reply(ctx: &mut Context, _: Vec) -> RResult {} [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RResult` in this scope [INFO] [stdout] --> src/lib.rs:276:57 [INFO] [stdout] | [INFO] [stdout] 4 | fn helloblock_reply(ctx: &mut Context, _: Vec) -> RResult {} [INFO] [stdout] | ^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:548:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named enum `Result` defined here [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - rcmd (line 73) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `iredismodule` [INFO] [stdout] --> src/lib.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 12 | use iredismodule::FromPtr; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `iredismodule` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `iredismodule`, use `cargo add iredismodule` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `iredismodule` [INFO] [stdout] --> src/lib.rs:79:15 [INFO] [stdout] | [INFO] [stdout] 8 | ctx: *mut iredismodule::raw::RedisModuleCtx, [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `iredismodule` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `iredismodule`, use `cargo add iredismodule` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `iredismodule` [INFO] [stdout] --> src/lib.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 9 | argv: *mut *mut iredismodule::raw::RedisModuleString, [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `iredismodule` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `iredismodule`, use `cargo add iredismodule` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `iredismodule` [INFO] [stdout] --> src/lib.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 16 | iredismodule::raw::REDISMODULE_OK as std::os::raw::c_int [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `iredismodule` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `iredismodule`, use `cargo add iredismodule` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `iredismodule` [INFO] [stdout] --> src/lib.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 19 | ctx: &mut iredismodule::context::Context, [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `iredismodule` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `iredismodule`, use `cargo add iredismodule` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Context` in this scope [INFO] [stdout] --> src/lib.rs:74:27 [INFO] [stdout] | [INFO] [stdout] 3 | fn hello_simple(ctx: &mut Context, _args: Vec) -> RResult { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RStr` in this scope [INFO] [stdout] --> src/lib.rs:74:47 [INFO] [stdout] | [INFO] [stdout] 3 | fn hello_simple(ctx: &mut Context, _args: Vec) -> RResult { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 3 | fn hello_simple(ctx: &mut Context, _args: Vec) -> RResult { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RResult` in this scope [INFO] [stdout] --> src/lib.rs:74:57 [INFO] [stdout] | [INFO] [stdout] 3 | fn hello_simple(ctx: &mut Context, _args: Vec) -> RResult { [INFO] [stdout] | ^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stdout] --> /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/result.rs:548:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named enum `Result` defined here [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `iredismodule` [INFO] [stdout] --> src/lib.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 13 | let mut context = iredismodule::context::Context::from_ptr(ctx); [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `iredismodule` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `iredismodule`, use `cargo add iredismodule` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use std::task::Context; [INFO] [stdout] | [INFO] [stdout] help: if you import `Context`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 13 - let mut context = iredismodule::context::Context::from_ptr(ctx); [INFO] [stdout] 13 + let mut context = Context::from_ptr(ctx); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `iredismodule` [INFO] [stdout] --> src/lib.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 20 | ) -> Result<(), iredismodule::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `iredismodule` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `iredismodule`, use `cargo add iredismodule` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use std::error; [INFO] [stdout] | [INFO] [stdout] help: if you import `error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 20 - ) -> Result<(), iredismodule::error::Error> { [INFO] [stdout] 20 + ) -> Result<(), error::Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `iredismodule` [INFO] [stdout] --> src/lib.rs:85:47 [INFO] [stdout] | [INFO] [stdout] 14 | let response = hello_simple(&mut context, iredismodule::parse_args(argv, argc)); [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `iredismodule` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `iredismodule`, use `cargo add iredismodule` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - rcmd (line 109) [INFO] [stdout] src/lib.rs - rcmd (line 64) [INFO] [stdout] src/lib.rs - rcmd (line 73) [INFO] [stdout] src/lib.rs - rtypedef (line 148) [INFO] [stdout] src/lib.rs - rtypedef (line 197) [INFO] [stdout] src/lib.rs - rtypedef (line 210) [INFO] [stdout] src/lib.rs - rwrap (line 253) [INFO] [stdout] src/lib.rs - rwrap (line 258) [INFO] [stdout] src/lib.rs - rwrap (line 274) [INFO] [stdout] src/lib.rs - rwrap (line 279) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.49s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d895912700eac46f9eb5da5057e66a00bdf7e88b5d0066ae02a4719211f18a30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d895912700eac46f9eb5da5057e66a00bdf7e88b5d0066ae02a4719211f18a30", kill_on_drop: false }` [INFO] [stdout] d895912700eac46f9eb5da5057e66a00bdf7e88b5d0066ae02a4719211f18a30