[INFO] fetching crate optee-utee-macros 0.0.1... [INFO] testing optee-utee-macros-0.0.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate optee-utee-macros 0.0.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate optee-utee-macros 0.0.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate optee-utee-macros 0.0.1 [INFO] finished tweaking crates.io crate optee-utee-macros 0.0.1 [INFO] tweaked toml for crates.io crate optee-utee-macros 0.0.1 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44f6b7cbb43619bbecb0edff04c0e6d09435702729bc0843538844b91fa4bd91 [INFO] running `Command { std: "docker" "start" "-a" "44f6b7cbb43619bbecb0edff04c0e6d09435702729bc0843538844b91fa4bd91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44f6b7cbb43619bbecb0edff04c0e6d09435702729bc0843538844b91fa4bd91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44f6b7cbb43619bbecb0edff04c0e6d09435702729bc0843538844b91fa4bd91", kill_on_drop: false }` [INFO] [stdout] 44f6b7cbb43619bbecb0edff04c0e6d09435702729bc0843538844b91fa4bd91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15f1a68ea629ce3ab0db8cacbad2283e8bd10dc61f929deaeca5d4d4a662aff7 [INFO] running `Command { std: "docker" "start" "-a" "15f1a68ea629ce3ab0db8cacbad2283e8bd10dc61f929deaeca5d4d4a662aff7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling optee-utee-macros v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / &&match f.decl.output { [INFO] [stdout] 79 | | syn::ReturnType::Default => true, [INFO] [stdout] 80 | | _ => false, [INFO] [stdout] 81 | | }; [INFO] [stdout] | |_____^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 78 | let _ = &&match f.decl.output { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | / &&match f.decl.output { [INFO] [stdout] 221 | | syn::ReturnType::Default => true, [INFO] [stdout] 222 | | _ => false, [INFO] [stdout] 223 | | }; [INFO] [stdout] | |_____^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 220 | let _ = &&match f.decl.output { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.33s [INFO] running `Command { std: "docker" "inspect" "15f1a68ea629ce3ab0db8cacbad2283e8bd10dc61f929deaeca5d4d4a662aff7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15f1a68ea629ce3ab0db8cacbad2283e8bd10dc61f929deaeca5d4d4a662aff7", kill_on_drop: false }` [INFO] [stdout] 15f1a68ea629ce3ab0db8cacbad2283e8bd10dc61f929deaeca5d4d4a662aff7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 797a34317bb2f400fb774ea4c32aa139356f03ed220700dfac0ac1fce9f6a5a6 [INFO] running `Command { std: "docker" "start" "-a" "797a34317bb2f400fb774ea4c32aa139356f03ed220700dfac0ac1fce9f6a5a6", kill_on_drop: false }` [INFO] [stderr] Compiling optee-utee-macros v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / &&match f.decl.output { [INFO] [stdout] 79 | | syn::ReturnType::Default => true, [INFO] [stdout] 80 | | _ => false, [INFO] [stdout] 81 | | }; [INFO] [stdout] | |_____^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 78 | let _ = &&match f.decl.output { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | / &&match f.decl.output { [INFO] [stdout] 221 | | syn::ReturnType::Default => true, [INFO] [stdout] 222 | | _ => false, [INFO] [stdout] 223 | | }; [INFO] [stdout] | |_____^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 220 | let _ = &&match f.decl.output { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / &&match f.decl.output { [INFO] [stdout] 79 | | syn::ReturnType::Default => true, [INFO] [stdout] 80 | | _ => false, [INFO] [stdout] 81 | | }; [INFO] [stdout] | |_____^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 78 | let _ = &&match f.decl.output { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 220 | / &&match f.decl.output { [INFO] [stdout] 221 | | syn::ReturnType::Default => true, [INFO] [stdout] 222 | | _ => false, [INFO] [stdout] 223 | | }; [INFO] [stdout] | |_____^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 220 | let _ = &&match f.decl.output { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.52s [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/optee_utee_macros-87263a48c6ad4d20) [INFO] running `Command { std: "docker" "inspect" "797a34317bb2f400fb774ea4c32aa139356f03ed220700dfac0ac1fce9f6a5a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "797a34317bb2f400fb774ea4c32aa139356f03ed220700dfac0ac1fce9f6a5a6", kill_on_drop: false }` [INFO] [stdout] 797a34317bb2f400fb774ea4c32aa139356f03ed220700dfac0ac1fce9f6a5a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6d6fcbb41609ddf9ea65aba67c9d35c0c80e80c2ac1841bbda52bab61b8a71c7 [INFO] running `Command { std: "docker" "start" "-a" "6d6fcbb41609ddf9ea65aba67c9d35c0c80e80c2ac1841bbda52bab61b8a71c7", kill_on_drop: false }` [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/lib.rs:78:5 [INFO] [stderr] | [INFO] [stderr] 78 | / &&match f.decl.output { [INFO] [stderr] 79 | | syn::ReturnType::Default => true, [INFO] [stderr] 80 | | _ => false, [INFO] [stderr] 81 | | }; [INFO] [stderr] | |_____^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 78 | let _ = &&match f.decl.output { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/lib.rs:220:5 [INFO] [stderr] | [INFO] [stderr] 220 | / &&match f.decl.output { [INFO] [stderr] 221 | | syn::ReturnType::Default => true, [INFO] [stderr] 222 | | _ => false, [INFO] [stderr] 223 | | }; [INFO] [stderr] | |_____^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 220 | let _ = &&match f.decl.output { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `optee-utee-macros` (lib) generated 2 warnings [INFO] [stderr] warning: `optee-utee-macros` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/optee_utee_macros-87263a48c6ad4d20) [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 optee-utee-macros [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - ta_invoke_command (line 283) - compile ... FAILED [INFO] [stdout] test src/lib.rs - ta_close_session (line 198) - compile ... FAILED [INFO] [stdout] test src/lib.rs - ta_destroy (line 59) - compile ... FAILED [INFO] [stdout] test src/lib.rs - ta_create (line 12) - compile ... FAILED [INFO] [stdout] test src/lib.rs - ta_open_session (line 109) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 4 | 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] 7 | 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] 6 | #[ta_invoke_command] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] optee_utee_macros::ta_invoke_command [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] 3 | #[ta_invoke_command] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] optee_utee_macros::ta_invoke_command [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/lib.rs:285:34 [INFO] [stdout] | [INFO] [stdout] 4 | 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] error[E0412]: cannot find type `Parameters` in this scope [INFO] [stdout] --> src/lib.rs:285:63 [INFO] [stdout] | [INFO] [stdout] 4 | 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:288:45 [INFO] [stdout] | [INFO] [stdout] 7 | fn invoke_command(cmd_id: u32, params: &mut Parameters) -> Result<()> { } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:285:78 [INFO] [stdout] | [INFO] [stdout] 4 | 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] 4 | fn invoke_command(sess_ctx: &mut T, cmd_id: u32, params: &mut Parameters) -> Result<(), E> { } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:288:60 [INFO] [stdout] | [INFO] [stdout] 7 | 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] 7 | 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] ---- src/lib.rs - ta_close_session (line 198) stdout ---- [INFO] [stdout] error[E0428]: the name `close_session` is defined multiple times [INFO] [stdout] --> src/lib.rs:203:1 [INFO] [stdout] | [INFO] [stdout] 4 | fn close_session(sess_ctx: &mut T) { } [INFO] [stdout] | ---------------------------------- previous definition of the value `close_session` here [INFO] [stdout] ... [INFO] [stdout] 7 | 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:202:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[ta_close_session] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] optee_utee_macros::ta_close_session [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ta_close_session` in this scope [INFO] [stdout] --> src/lib.rs:199:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[ta_close_session] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] optee_utee_macros::ta_close_session [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/lib.rs:200:33 [INFO] [stdout] | [INFO] [stdout] 4 | 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] 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_destroy (line 59) stdout ---- [INFO] [stdout] error: cannot find attribute `ta_destroy` in this scope [INFO] [stdout] --> src/lib.rs:60:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[ta_destroy] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] optee_utee_macros::ta_destroy [INFO] [stdout] = note: `ta_destroy` is in scope, but it is a function, not an attribute [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - ta_create (line 12) stdout ---- [INFO] [stdout] error: cannot find attribute `ta_crate` in this scope [INFO] [stdout] --> src/lib.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[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]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 4 | 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] 4 | 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 109) stdout ---- [INFO] [stdout] error[E0428]: the name `open_session` is defined multiple times [INFO] [stdout] --> src/lib.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 4 | fn open_session(params: &mut Parameters, sess_ctx: *mut *mut T) -> Result<()> { } [INFO] [stdout] | ----------------------------------------------------------------------------- previous definition of the value `open_session` here [INFO] [stdout] ... [INFO] [stdout] 7 | fn open_session(params: &mut Parameters) -> 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:113:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[ta_open_session] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] optee_utee_macros::ta_open_session [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ta_open_session` in this scope [INFO] [stdout] --> src/lib.rs:110:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[ta_open_session] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this attribute macro: [INFO] [stdout] optee_utee_macros::ta_open_session [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parameters` in this scope [INFO] [stdout] --> src/lib.rs:111:30 [INFO] [stdout] | [INFO] [stdout] 4 | fn open_session(params: &mut Parameters, sess_ctx: *mut *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:111:62 [INFO] [stdout] | [INFO] [stdout] 4 | fn open_session(params: &mut Parameters, sess_ctx: *mut *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] error[E0412]: cannot find type `Parameters` in this scope [INFO] [stdout] --> src/lib.rs:114:30 [INFO] [stdout] | [INFO] [stdout] 7 | fn open_session(params: &mut Parameters) -> Result<()> { } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:111:68 [INFO] [stdout] | [INFO] [stdout] 4 | fn open_session(params: &mut Parameters, sess_ctx: *mut *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] 4 | fn open_session(params: &mut Parameters, sess_ctx: *mut *mut T) -> Result<(), E> { } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0107]: this enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:114:45 [INFO] [stdout] | [INFO] [stdout] 7 | 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] 7 | fn open_session(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 198) [INFO] [stdout] src/lib.rs - ta_create (line 12) [INFO] [stdout] src/lib.rs - ta_destroy (line 59) [INFO] [stdout] src/lib.rs - ta_invoke_command (line 283) [INFO] [stdout] src/lib.rs - ta_open_session (line 109) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "6d6fcbb41609ddf9ea65aba67c9d35c0c80e80c2ac1841bbda52bab61b8a71c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d6fcbb41609ddf9ea65aba67c9d35c0c80e80c2ac1841bbda52bab61b8a71c7", kill_on_drop: false }` [INFO] [stdout] 6d6fcbb41609ddf9ea65aba67c9d35c0c80e80c2ac1841bbda52bab61b8a71c7