[INFO] fetching crate optee-utee-macros 0.8.0... [INFO] testing optee-utee-macros-0.8.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate optee-utee-macros 0.8.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate optee-utee-macros 0.8.0 [INFO] finished tweaking crates.io crate optee-utee-macros 0.8.0 [INFO] tweaked toml for crates.io crate optee-utee-macros 0.8.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate optee-utee-macros 0.8.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding litemap v0.7.4 (available: v0.7.5) [INFO] [stderr] Adding zerofrom v0.1.5 (available: v0.1.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 774ad6bb6607a3194a4d42639defe2a33de4f87f405a806b9ee6e8fbf744ff72 [INFO] running `Command { std: "docker" "start" "-a" "774ad6bb6607a3194a4d42639defe2a33de4f87f405a806b9ee6e8fbf744ff72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "774ad6bb6607a3194a4d42639defe2a33de4f87f405a806b9ee6e8fbf744ff72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "774ad6bb6607a3194a4d42639defe2a33de4f87f405a806b9ee6e8fbf744ff72", kill_on_drop: false }` [INFO] [stdout] 774ad6bb6607a3194a4d42639defe2a33de4f87f405a806b9ee6e8fbf744ff72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddc1fe93101c5e3dd52b4d38a252ffbe86bff7eeba61c3eab20f2f2429bb0287 [INFO] running `Command { std: "docker" "start" "-a" "ddc1fe93101c5e3dd52b4d38a252ffbe86bff7eeba61c3eab20f2f2429bb0287", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling optee-utee-macros v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.71s [INFO] running `Command { std: "docker" "inspect" "ddc1fe93101c5e3dd52b4d38a252ffbe86bff7eeba61c3eab20f2f2429bb0287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddc1fe93101c5e3dd52b4d38a252ffbe86bff7eeba61c3eab20f2f2429bb0287", kill_on_drop: false }` [INFO] [stdout] ddc1fe93101c5e3dd52b4d38a252ffbe86bff7eeba61c3eab20f2f2429bb0287 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c7233f32a3f7c6ce50e2f14c4a530be9da823b4351016f5d82848af2c92c44fd [INFO] running `Command { std: "docker" "start" "-a" "c7233f32a3f7c6ce50e2f14c4a530be9da823b4351016f5d82848af2c92c44fd", kill_on_drop: false }` [INFO] [stderr] Compiling optee-utee-macros v0.8.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "c7233f32a3f7c6ce50e2f14c4a530be9da823b4351016f5d82848af2c92c44fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7233f32a3f7c6ce50e2f14c4a530be9da823b4351016f5d82848af2c92c44fd", kill_on_drop: false }` [INFO] [stdout] c7233f32a3f7c6ce50e2f14c4a530be9da823b4351016f5d82848af2c92c44fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0d9a9da01e5a1922e0ff0f02d4cba28267e828979dd8ac3128179d21bc172b08 [INFO] running `Command { std: "docker" "start" "-a" "0d9a9da01e5a1922e0ff0f02d4cba28267e828979dd8ac3128179d21bc172b08", 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/optee_utee_macros-0eabb57b51f5cdf0) [INFO] [stdout] [INFO] [stderr] Doc-tests optee_utee_macros [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] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - ta_create (line 30) - compile ... FAILED [INFO] [stdout] test src/lib.rs - ta_open_session (line 120) - compile ... FAILED [INFO] [stdout] test src/lib.rs - ta_destroy (line 75) - compile ... FAILED [INFO] [stdout] test src/lib.rs - ta_close_session (line 210) - compile ... FAILED [INFO] [stdout] test src/lib.rs - ta_invoke_command (line 283) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - ta_create (line 30) stdout ---- [INFO] [stdout] error: cannot find attribute `ta_create` in this scope [INFO] [stdout] --> src/lib.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[ta_create] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ta_create` is in scope, but it is a function, not an attribute [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 30 + use optee_utee_macros::ta_create; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | fn ta_create() -> Result<()> { } [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 32 | fn ta_create() -> Result<(), E> { } [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 E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ta_open_session (line 120) stdout ---- [INFO] [stdout] error[E0428]: the name `open_session` is defined multiple times [INFO] [stdout] --> src/lib.rs:126:1 [INFO] [stdout] | [INFO] [stdout] 122 | fn open_session(params: &mut Parameters) -> Result<()> { } [INFO] [stdout] | ------------------------------------------------------ previous definition of the value `open_session` here [INFO] [stdout] ... [INFO] [stdout] 126 | fn open_session(params: &mut Parameters, sess_ctx: &mut T) -> Result<()> { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `open_session` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `open_session` must be defined only once in the value namespace of this block [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ta_open_session` in this scope [INFO] [stdout] --> src/lib.rs:125:3 [INFO] [stdout] | [INFO] [stdout] 125 | #[ta_open_session] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 120 + use optee_utee_macros::ta_open_session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ta_open_session` in this scope [INFO] [stdout] --> src/lib.rs:121:3 [INFO] [stdout] | [INFO] [stdout] 121 | #[ta_open_session] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 120 + use optee_utee_macros::ta_open_session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Parameters` in this scope [INFO] [stdout] --> src/lib.rs:122:30 [INFO] [stdout] | [INFO] [stdout] 122 | fn open_session(params: &mut Parameters) -> Result<()> { } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Parameters` in this scope [INFO] [stdout] --> src/lib.rs:126:30 [INFO] [stdout] | [INFO] [stdout] 126 | fn open_session(params: &mut Parameters, sess_ctx: &mut T) -> Result<()> { } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `T` in this scope [INFO] [stdout] --> src/lib.rs:126:57 [INFO] [stdout] | [INFO] [stdout] 126 | fn open_session(params: &mut Parameters, sess_ctx: &mut T) -> Result<()> { } [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 126 | fn open_session(params: &mut Parameters, sess_ctx: &mut T) -> Result<()> { } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:122:45 [INFO] [stdout] | [INFO] [stdout] 122 | fn open_session(params: &mut Parameters) -> Result<()> { } [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 122 | fn open_session(params: &mut Parameters) -> Result<(), E> { } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:126:63 [INFO] [stdout] | [INFO] [stdout] 126 | fn open_session(params: &mut Parameters, sess_ctx: &mut T) -> Result<()> { } [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 126 | fn open_session(params: &mut Parameters, sess_ctx: &mut T) -> Result<(), E> { } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0428. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ta_destroy (line 75) stdout ---- [INFO] [stdout] error: cannot find attribute `ta_destroy` in this scope [INFO] [stdout] --> src/lib.rs:76:3 [INFO] [stdout] | [INFO] [stdout] 76 | #[ta_destroy] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ta_destroy` is in scope, but it is a function, not an attribute [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 75 + use optee_utee_macros::ta_destroy; [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 - ta_close_session (line 210) stdout ---- [INFO] [stdout] error[E0428]: the name `close_session` is defined multiple times [INFO] [stdout] --> src/lib.rs:215:1 [INFO] [stdout] | [INFO] [stdout] 212 | fn close_session(sess_ctx: &mut T) { } [INFO] [stdout] | ---------------------------------- previous definition of the value `close_session` here [INFO] [stdout] ... [INFO] [stdout] 215 | fn close_session() { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `close_session` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `close_session` must be defined only once in the value namespace of this block [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ta_close_session` in this scope [INFO] [stdout] --> src/lib.rs:214:3 [INFO] [stdout] | [INFO] [stdout] 214 | #[ta_close_session] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 210 + use optee_utee_macros::ta_close_session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ta_close_session` in this scope [INFO] [stdout] --> src/lib.rs:211:3 [INFO] [stdout] | [INFO] [stdout] 211 | #[ta_close_session] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 210 + use optee_utee_macros::ta_close_session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `T` in this scope [INFO] [stdout] --> src/lib.rs:212:33 [INFO] [stdout] | [INFO] [stdout] 212 | fn close_session(sess_ctx: &mut T) { } [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 212 | fn close_session(sess_ctx: &mut T) { } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0428. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ta_invoke_command (line 283) stdout ---- [INFO] [stdout] error[E0428]: the name `invoke_command` is defined multiple times [INFO] [stdout] --> src/lib.rs:288:1 [INFO] [stdout] | [INFO] [stdout] 285 | fn invoke_command(sess_ctx: &mut T, cmd_id: u32, params: &mut Parameters) -> Result<()> { } [INFO] [stdout] | --------------------------------------------------------------------------------------- previous definition of the value `invoke_command` here [INFO] [stdout] ... [INFO] [stdout] 288 | fn invoke_command(cmd_id: u32, params: &mut Parameters) -> Result<()> { } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `invoke_command` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `invoke_command` must be defined only once in the value namespace of this block [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ta_invoke_command` in this scope [INFO] [stdout] --> src/lib.rs:287:3 [INFO] [stdout] | [INFO] [stdout] 287 | #[ta_invoke_command] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 283 + use optee_utee_macros::ta_invoke_command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ta_invoke_command` in this scope [INFO] [stdout] --> src/lib.rs:284:3 [INFO] [stdout] | [INFO] [stdout] 284 | #[ta_invoke_command] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 283 + use optee_utee_macros::ta_invoke_command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `T` in this scope [INFO] [stdout] --> src/lib.rs:285:34 [INFO] [stdout] | [INFO] [stdout] 285 | fn invoke_command(sess_ctx: &mut T, cmd_id: u32, params: &mut Parameters) -> Result<()> { } [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 285 | fn invoke_command(sess_ctx: &mut T, cmd_id: u32, params: &mut Parameters) -> Result<()> { } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Parameters` in this scope [INFO] [stdout] --> src/lib.rs:285:63 [INFO] [stdout] | [INFO] [stdout] 285 | fn invoke_command(sess_ctx: &mut T, cmd_id: u32, params: &mut Parameters) -> Result<()> { } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `Parameters` in this scope [INFO] [stdout] --> src/lib.rs:288:45 [INFO] [stdout] | [INFO] [stdout] 288 | fn invoke_command(cmd_id: u32, params: &mut Parameters) -> Result<()> { } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:285:78 [INFO] [stdout] | [INFO] [stdout] 285 | fn invoke_command(sess_ctx: &mut T, cmd_id: u32, params: &mut Parameters) -> Result<()> { } [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 285 | fn invoke_command(sess_ctx: &mut T, cmd_id: u32, params: &mut Parameters) -> Result<(), E> { } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:288:60 [INFO] [stdout] | [INFO] [stdout] 288 | fn invoke_command(cmd_id: u32, params: &mut Parameters) -> Result<()> { } [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 288 | fn invoke_command(cmd_id: u32, params: &mut Parameters) -> Result<(), E> { } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0428. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - ta_close_session (line 210) [INFO] [stdout] src/lib.rs - ta_create (line 30) [INFO] [stdout] src/lib.rs - ta_destroy (line 75) [INFO] [stdout] src/lib.rs - ta_invoke_command (line 283) [INFO] [stdout] src/lib.rs - ta_open_session (line 120) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.43s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0d9a9da01e5a1922e0ff0f02d4cba28267e828979dd8ac3128179d21bc172b08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d9a9da01e5a1922e0ff0f02d4cba28267e828979dd8ac3128179d21bc172b08", kill_on_drop: false }` [INFO] [stdout] 0d9a9da01e5a1922e0ff0f02d4cba28267e828979dd8ac3128179d21bc172b08