[INFO] fetching crate optee-utee-macros 0.6.0... [INFO] testing optee-utee-macros-0.6.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate optee-utee-macros 0.6.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate optee-utee-macros 0.6.0 [INFO] finished tweaking crates.io crate optee-utee-macros 0.6.0 [INFO] tweaked toml for crates.io crate optee-utee-macros 0.6.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate optee-utee-macros 0.6.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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 quote v0.6.13 (available: v1.0.42) [INFO] [stderr] Adding syn v0.15.44 (available: v2.0.110) [INFO] [stderr] Adding zerofrom v0.1.5 (available: v0.1.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cff8d45b81fa48cc1962564825e390f03c3486509672b8c286b55a9ca97b1f7 [INFO] running `Command { std: "docker" "start" "-a" "0cff8d45b81fa48cc1962564825e390f03c3486509672b8c286b55a9ca97b1f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cff8d45b81fa48cc1962564825e390f03c3486509672b8c286b55a9ca97b1f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cff8d45b81fa48cc1962564825e390f03c3486509672b8c286b55a9ca97b1f7", kill_on_drop: false }` [INFO] [stdout] 0cff8d45b81fa48cc1962564825e390f03c3486509672b8c286b55a9ca97b1f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 293eeafe5c8a77e3a2c5b2e03e02fbbe2de57dcfe98afc6a3f28ff78521697b2 [INFO] running `Command { std: "docker" "start" "-a" "293eeafe5c8a77e3a2c5b2e03e02fbbe2de57dcfe98afc6a3f28ff78521697b2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling optee-utee-macros v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `optee` [INFO] [stdout] --> src/lib.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(not(target_os = "optee"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, and `teeos` and 13 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.97s [INFO] running `Command { std: "docker" "inspect" "293eeafe5c8a77e3a2c5b2e03e02fbbe2de57dcfe98afc6a3f28ff78521697b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "293eeafe5c8a77e3a2c5b2e03e02fbbe2de57dcfe98afc6a3f28ff78521697b2", kill_on_drop: false }` [INFO] [stdout] 293eeafe5c8a77e3a2c5b2e03e02fbbe2de57dcfe98afc6a3f28ff78521697b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 969fd126a9ecbeb762ffcad09a50d0f1d3be984dbe75cdc5e8c8ae5491905550 [INFO] running `Command { std: "docker" "start" "-a" "969fd126a9ecbeb762ffcad09a50d0f1d3be984dbe75cdc5e8c8ae5491905550", kill_on_drop: false }` [INFO] [stderr] Compiling optee-utee-macros v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `optee` [INFO] [stdout] --> src/lib.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(not(target_os = "optee"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, and `teeos` and 13 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `optee` [INFO] [stdout] --> src/lib.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | #[cfg(not(target_os = "optee"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, and `teeos` and 13 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "969fd126a9ecbeb762ffcad09a50d0f1d3be984dbe75cdc5e8c8ae5491905550", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "969fd126a9ecbeb762ffcad09a50d0f1d3be984dbe75cdc5e8c8ae5491905550", kill_on_drop: false }` [INFO] [stdout] 969fd126a9ecbeb762ffcad09a50d0f1d3be984dbe75cdc5e8c8ae5491905550 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e9976ee4d8139618f136c3eaa53e7f28d80b708148dd201984fc297ccefab75d [INFO] running `Command { std: "docker" "start" "-a" "e9976ee4d8139618f136c3eaa53e7f28d80b708148dd201984fc297ccefab75d", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `optee` [INFO] [stderr] --> src/lib.rs:21:11 [INFO] [stderr] | [INFO] [stderr] 21 | #[cfg(not(target_os = "optee"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `helenos`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `motor`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, and `teeos` and 13 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `optee-utee-macros` (lib) generated 1 warning [INFO] [stderr] warning: `optee-utee-macros` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/optee_utee_macros-31e00a4330563800) [INFO] [stderr] Doc-tests optee_utee_macros [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] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - ta_create (line 32) - compile ... FAILED [INFO] [stdout] test src/lib.rs - ta_open_session (line 129) - compile ... FAILED [INFO] [stdout] test src/lib.rs - ta_destroy (line 79) - compile ... FAILED [INFO] [stdout] test src/lib.rs - ta_close_session (line 230) - compile ... FAILED [INFO] [stdout] test src/lib.rs - ta_invoke_command (line 317) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - ta_create (line 32) stdout ---- [INFO] [stdout] error: cannot find attribute `ta_crate` in this scope [INFO] [stdout] --> src/lib.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 33 | #[ta_crate] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ta_crate` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | fn ta_crate() -> 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] 34 | fn ta_crate() -> 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 129) stdout ---- [INFO] [stdout] error[E0428]: the name `open_session` is defined multiple times [INFO] [stdout] --> src/lib.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 131 | fn open_session(params: &mut Parameters) -> Result<()> { } [INFO] [stdout] | ------------------------------------------------------ previous definition of the value `open_session` here [INFO] [stdout] ... [INFO] [stdout] 135 | 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:134:3 [INFO] [stdout] | [INFO] [stdout] 134 | #[ta_open_session] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 129 + 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:130:3 [INFO] [stdout] | [INFO] [stdout] 130 | #[ta_open_session] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 129 + use optee_utee_macros::ta_open_session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parameters` in this scope [INFO] [stdout] --> src/lib.rs:131:30 [INFO] [stdout] | [INFO] [stdout] 131 | fn open_session(params: &mut Parameters) -> Result<()> { } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parameters` in this scope [INFO] [stdout] --> src/lib.rs:135:30 [INFO] [stdout] | [INFO] [stdout] 135 | fn open_session(params: &mut Parameters, sess_ctx: &mut T) -> Result<()> { } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/lib.rs:135:57 [INFO] [stdout] | [INFO] [stdout] 135 | 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] 135 | 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:131:45 [INFO] [stdout] | [INFO] [stdout] 131 | 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] 131 | 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:135:63 [INFO] [stdout] | [INFO] [stdout] 135 | 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] 135 | 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, E0412, 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 79) stdout ---- [INFO] [stdout] error: cannot find attribute `ta_destroy` in this scope [INFO] [stdout] --> src/lib.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | #[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] 79 + 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 230) stdout ---- [INFO] [stdout] error[E0428]: the name `close_session` is defined multiple times [INFO] [stdout] --> src/lib.rs:235:1 [INFO] [stdout] | [INFO] [stdout] 232 | fn close_session(sess_ctx: &mut T) { } [INFO] [stdout] | ---------------------------------- previous definition of the value `close_session` here [INFO] [stdout] ... [INFO] [stdout] 235 | 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:234:3 [INFO] [stdout] | [INFO] [stdout] 234 | #[ta_close_session] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 230 + 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:231:3 [INFO] [stdout] | [INFO] [stdout] 231 | #[ta_close_session] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 230 + use optee_utee_macros::ta_close_session; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/lib.rs:232:33 [INFO] [stdout] | [INFO] [stdout] 232 | 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] 232 | 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: E0412, E0428. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ta_invoke_command (line 317) stdout ---- [INFO] [stdout] error[E0428]: the name `invoke_command` is defined multiple times [INFO] [stdout] --> src/lib.rs:322:1 [INFO] [stdout] | [INFO] [stdout] 319 | 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] 322 | 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:321:3 [INFO] [stdout] | [INFO] [stdout] 321 | #[ta_invoke_command] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 317 + 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:318:3 [INFO] [stdout] | [INFO] [stdout] 318 | #[ta_invoke_command] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 317 + use optee_utee_macros::ta_invoke_command; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/lib.rs:319:34 [INFO] [stdout] | [INFO] [stdout] 319 | 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] 319 | fn invoke_command(sess_ctx: &mut T, cmd_id: u32, params: &mut Parameters) -> Result<()> { } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parameters` in this scope [INFO] [stdout] --> src/lib.rs:319:63 [INFO] [stdout] | [INFO] [stdout] 319 | 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[E0412]: cannot find type `Parameters` in this scope [INFO] [stdout] --> src/lib.rs:322:45 [INFO] [stdout] | [INFO] [stdout] 322 | 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:319:78 [INFO] [stdout] | [INFO] [stdout] 319 | 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] 319 | 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:322:60 [INFO] [stdout] | [INFO] [stdout] 322 | 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] 322 | 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, E0412, 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 230) [INFO] [stdout] src/lib.rs - ta_create (line 32) [INFO] [stdout] src/lib.rs - ta_destroy (line 79) [INFO] [stdout] src/lib.rs - ta_invoke_command (line 317) [INFO] [stdout] src/lib.rs - ta_open_session (line 129) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "e9976ee4d8139618f136c3eaa53e7f28d80b708148dd201984fc297ccefab75d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9976ee4d8139618f136c3eaa53e7f28d80b708148dd201984fc297ccefab75d", kill_on_drop: false }` [INFO] [stdout] e9976ee4d8139618f136c3eaa53e7f28d80b708148dd201984fc297ccefab75d