[INFO] fetching crate aranya-policy-vm 0.12.0... [INFO] checking aranya-policy-vm-0.12.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate aranya-policy-vm 0.12.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate aranya-policy-vm 0.12.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate aranya-policy-vm 0.12.0 [INFO] tweaked toml for crates.io crate aranya-policy-vm 0.12.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate aranya-policy-vm 0.12.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate aranya-policy-vm 0.12.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acdefe0e68b5168311279cccd59543c443f8555fd3c2e0fdc1c3e61ecaa10399 [INFO] running `Command { std: "docker" "start" "-a" "acdefe0e68b5168311279cccd59543c443f8555fd3c2e0fdc1c3e61ecaa10399", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acdefe0e68b5168311279cccd59543c443f8555fd3c2e0fdc1c3e61ecaa10399", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acdefe0e68b5168311279cccd59543c443f8555fd3c2e0fdc1c3e61ecaa10399", kill_on_drop: false }` [INFO] [stdout] acdefe0e68b5168311279cccd59543c443f8555fd3c2e0fdc1c3e61ecaa10399 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2125de1eb0608fc67f09c7072a9ec73767c8e34fbb15c394c189bf9bc7bc12b1 [INFO] running `Command { std: "docker" "start" "-a" "2125de1eb0608fc67f09c7072a9ec73767c8e34fbb15c394c189bf9bc7bc12b1", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling thiserror v2.0.7 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Checking buggy v0.1.0 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Checking const-default v1.0.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling unicode-id v0.3.5 [INFO] [stderr] Checking spideroak-base58 v0.2.0 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling markdown v1.0.0-alpha.17 [INFO] [stderr] Compiling aranya-policy-derive v0.7.0 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Checking cobs v0.2.3 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Compiling macro-string v0.1.4 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking p384 v0.13.0 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling thiserror-impl v2.0.7 [INFO] [stderr] Compiling aranya-policy-text-macro v0.1.0 [INFO] [stderr] Compiling zerocopy-derive v0.8.25 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling spideroak-crypto-derive v0.2.0 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling derive-where v1.5.0 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Compiling clap v4.5.23 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Checking sha3-utils v0.5.0 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling aranya-policy-text v0.1.2 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling aranya-policy-ast v0.7.0 [INFO] [stderr] Checking generic-array v1.1.1 [INFO] [stderr] Checking postcard v1.1.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking spideroak-crypto v0.6.0 [INFO] [stderr] Compiling aranya-policy-lang v0.7.0 [INFO] [stderr] Checking aranya-crypto v0.9.0 [INFO] [stderr] Checking aranya-policy-module v0.12.0 [INFO] [stderr] Checking aranya-policy-vm v0.12.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `success` found for enum `aranya_policy_module::ExitReason` in the current scope [INFO] [stdout] --> src/tests.rs:279:39 [INFO] [stdout] | [INFO] [stdout] 279 | rs.run().expect("Should succeed").success(); [INFO] [stdout] | ^^^^^^^ method not found in `aranya_policy_module::ExitReason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `aranya_policy_lang` [INFO] [stdout] --> tests/vm.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use aranya_policy_lang::lang::parse_policy_str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `aranya_policy_lang` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 11 - use aranya_policy_lang::lang::parse_policy_str; [INFO] [stdout] 11 + use aranya_policy_ast::lang::parse_policy_str; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `aranya_policy_compiler` [INFO] [stdout] --> tests/vm.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use aranya_policy_compiler::Compiler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `aranya_policy_compiler` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 10 - use aranya_policy_compiler::Compiler; [INFO] [stdout] 10 + use aranya_policy_module::Compiler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `aranya_policy_vm::ffi::ffi` [INFO] [stdout] --> tests/ffi.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | ffi::{FfiModule, Type, ffi}, [INFO] [stdout] | ^^^ no `ffi` in `ffi` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these modules instead: [INFO] [stdout] crate::aranya_policy_vm::ffi [INFO] [stdout] std::ffi [INFO] [stdout] std::os::unix::ffi [INFO] [stdout] core::ffi [INFO] [stdout] aranya_policy_module::ffi [INFO] [stdout] aranya_policy_vm::ffi [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `__test_ffi` [INFO] [stdout] --> tests/ffi.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | use __test_ffi::{S0, S1, S2}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `__test_ffi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `__test_ffi`, use `cargo add __test_ffi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `__test_ffi` [INFO] [stdout] --> tests/ffi.rs:435:13 [INFO] [stdout] | [INFO] [stdout] 435 | use __test_ffi::TestEnum; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `__test_ffi` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `__test_ffi`, use `cargo add __test_ffi` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ffi_export` in this scope [INFO] [stdout] --> tests/ffi.rs:168:7 [INFO] [stdout] | [INFO] [stdout] 168 | #[ffi_export(def = "function add(x int, y int) int")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ffi_export` in this scope [INFO] [stdout] --> tests/ffi.rs:178:7 [INFO] [stdout] | [INFO] [stdout] 178 | #[ffi_export(def = "function sub(x int, y int) int")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ffi_export` in this scope [INFO] [stdout] --> tests/ffi.rs:188:7 [INFO] [stdout] | [INFO] [stdout] 188 | #[ffi_export(def = "function concat(a string, b string) string")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ffi_export` in this scope [INFO] [stdout] --> tests/ffi.rs:199:7 [INFO] [stdout] | [INFO] [stdout] 199 | #[ffi_export(def = "function renamed_identity(id_input id) id")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ffi_export` in this scope [INFO] [stdout] --> tests/ffi.rs:209:7 [INFO] [stdout] | [INFO] [stdout] 209 | #[ffi_export(def = "function no_args() int")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ffi_export` in this scope [INFO] [stdout] --> tests/ffi.rs:214:7 [INFO] [stdout] | [INFO] [stdout] 214 | #[ffi_export(def = "function custom_type(label int) int")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ffi_export` in this scope [INFO] [stdout] --> tests/ffi.rs:224:7 [INFO] [stdout] | [INFO] [stdout] 224 | #[ffi_export(def = "function custom_type_optional(label optional int) optional int")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ffi_export` in this scope [INFO] [stdout] --> tests/ffi.rs:234:7 [INFO] [stdout] | [INFO] [stdout] 234 | #[ffi_export(def = "function custom_def(a int, b bytes) bool")] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ffi_export` in this scope [INFO] [stdout] --> tests/ffi.rs:244:7 [INFO] [stdout] | [INFO] [stdout] 244 | #[ffi_export(def = r#" [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `ffi_export` in this scope [INFO] [stdout] --> tests/ffi.rs:264:7 [INFO] [stdout] | [INFO] [stdout] 264 | #[ffi_export(def = r#"function test_enum(e enum TestEnum) enum TestEnum"#)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope [INFO] [stdout] --> tests/vm.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 96 | / call_action( [INFO] [stdout] 97 | | &mut rs, [INFO] [stdout] 98 | | &mut published, [INFO] [stdout] 99 | | name.clone(), [INFO] [stdout] 100 | | [Value::Id(Id::default()), Value::Bytes(vec![0, 255, 42])], [INFO] [stdout] 101 | | )? [INFO] [stdout] 102 | | .success(); [INFO] [stdout] | | -^^^^^^^ method not found in `ExitReason` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `S0` in this scope [INFO] [stdout] --> tests/ffi.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | a: S0, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `S1` in this scope [INFO] [stdout] --> tests/ffi.rs:254:12 [INFO] [stdout] | [INFO] [stdout] 254 | b: S1, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `S2` in this scope [INFO] [stdout] --> tests/ffi.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | ) -> Result { [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 167 | impl TestModule<'_, T, G> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `S2` in this scope [INFO] [stdout] --> tests/ffi.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | Ok(S2 { a, b }) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestEnum` in this scope [INFO] [stdout] --> tests/ffi.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 268 | e: TestEnum, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TestEnum` in this scope [INFO] [stdout] --> tests/ffi.rs:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | ) -> Result { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 167 | impl TestModule<'_, T, G> { [INFO] [stdout] | ++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope [INFO] [stdout] --> tests/vm.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 162 | / call_action( [INFO] [stdout] 163 | | &mut rs, [INFO] [stdout] 164 | | &mut published, [INFO] [stdout] 165 | | name.clone(), [INFO] [stdout] 166 | | [Value::Id(Id::default()), Value::Int(3)], [INFO] [stdout] 167 | | )? [INFO] [stdout] 168 | | .success(); [INFO] [stdout] | | -^^^^^^^ method not found in `ExitReason` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope [INFO] [stdout] --> tests/vm.rs:198:75 [INFO] [stdout] | [INFO] [stdout] 198 | call_action(&mut rs, &mut published, name.clone(), [Value::from(3)])?.success(); [INFO] [stdout] | ^^^^^^^ method not found in `ExitReason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope [INFO] [stdout] --> tests/vm.rs:269:6 [INFO] [stdout] | [INFO] [stdout] 263 | / call_action( [INFO] [stdout] 264 | | &mut rs, [INFO] [stdout] 265 | | &mut published, [INFO] [stdout] 266 | | action_name.clone(), [INFO] [stdout] 267 | | Vec::::new(), [INFO] [stdout] 268 | | )? [INFO] [stdout] 269 | | .success(); [INFO] [stdout] | | -^^^^^^^ method not found in `ExitReason` [INFO] [stdout] | |_____| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope [INFO] [stdout] --> tests/vm.rs:303:10 [INFO] [stdout] | [INFO] [stdout] 300 | / machine [INFO] [stdout] 301 | | .call_command_policy(name.clone(), &self_data, dummy_envelope(), &io, ctx) [INFO] [stdout] 302 | | .expect("Could not call command policy") [INFO] [stdout] 303 | | .success(); [INFO] [stdout] | | -^^^^^^^ method not found in `ExitReason` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope [INFO] [stdout] --> tests/vm.rs:412:14 [INFO] [stdout] | [INFO] [stdout] 410 | / machine [INFO] [stdout] 411 | | .call_command_policy(name.clone(), &self_struct, dummy_envelope(), &io, ctx)? [INFO] [stdout] 412 | | .success(); [INFO] [stdout] | | -^^^^^^^ method not found in `ExitReason` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TestModule<'_, (), ()>: FfiModule` is not satisfied [INFO] [stdout] --> tests/ffi.rs:277:36 [INFO] [stdout] | [INFO] [stdout] 277 | let mut state = TestState::new(TestModule::<'_, (), ()>::new()); [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FfiModule` is not implemented for `TestModule<'_, (), ()>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `TestState::::new` [INFO] [stdout] --> tests/ffi.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl TestState> { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `TestState::::new` [INFO] [stdout] 31 | fn new(module: M) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope [INFO] [stdout] --> tests/vm.rs:425:14 [INFO] [stdout] | [INFO] [stdout] 423 | / machine [INFO] [stdout] 424 | | .call_command_policy(name.clone(), &self_struct, dummy_envelope(), &io, ctx)? [INFO] [stdout] 425 | | .success(); [INFO] [stdout] | | -^^^^^^^ method not found in `ExitReason` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope [INFO] [stdout] --> tests/vm.rs:449:14 [INFO] [stdout] | [INFO] [stdout] 447 | / machine [INFO] [stdout] 448 | | .call_command_policy(name.clone(), &self_struct, dummy_envelope(), &io, ctx)? [INFO] [stdout] 449 | | .success(); [INFO] [stdout] | | -^^^^^^^ method not found in `ExitReason` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:281:15 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `push` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 281 | state.push(1i64); [INFO] [stdout] | ^^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied [INFO] [stdout] --> tests/ffi.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl TestState> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `push`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:282:15 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `push` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 282 | state.push(2i64); [INFO] [stdout] | ^^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied [INFO] [stdout] --> tests/ffi.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl TestState> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `push`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `call` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:283:15 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `call` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 283 | state.call("add").expect("`test::add` should not fail"); [INFO] [stdout] | ^^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `call`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FfiModule` [INFO] [stdout] candidate #2: `Fn` [INFO] [stdout] candidate #3: `MachineIO` [INFO] [stdout] candidate #4: `cipher::block::BlockClosure` [INFO] [stdout] candidate #5: `cipher::stream_core::StreamClosure` [INFO] [stdout] candidate #6: `universal_hash::UhfClosure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope [INFO] [stdout] --> tests/vm.rs:456:14 [INFO] [stdout] | [INFO] [stdout] 454 | / machine [INFO] [stdout] 455 | | .call_command_policy(name.clone(), &self_struct, dummy_envelope(), &io, ctx)? [INFO] [stdout] 456 | | .success(); [INFO] [stdout] | | -^^^^^^^ method not found in `ExitReason` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `pop` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:284:25 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `pop` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 284 | let got = state.pop::().expect("should have got an `i64`"); [INFO] [stdout] | ^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied [INFO] [stdout] --> tests/ffi.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl TestState> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `pop`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Stack` [INFO] [stdout] candidate #2: `postcard::de::flavors::Flavor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `is_empty` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:286:23 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `is_empty` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 286 | assert!(state.is_empty()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied [INFO] [stdout] --> tests/ffi.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl TestState> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `is_empty`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `ExactSizeIterator` [INFO] [stdout] candidate #2: `RangeBounds` [INFO] [stdout] candidate #3: `aead::Buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope [INFO] [stdout] --> tests/vm.rs:484:18 [INFO] [stdout] | [INFO] [stdout] 482 | / machine [INFO] [stdout] 483 | | .call_command_policy(name.clone(), &self_struct, dummy_envelope(), &io, ctx)? [INFO] [stdout] 484 | | .success(); [INFO] [stdout] | | -^^^^^^^ method not found in `ExitReason` [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:291:15 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `push` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 291 | state.push(i64::MAX); [INFO] [stdout] | ^^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied [INFO] [stdout] --> tests/ffi.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl TestState> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `push`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:292:15 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `push` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 292 | state.push(1i64); [INFO] [stdout] | ^^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied [INFO] [stdout] --> tests/ffi.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl TestState> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `push`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `call` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:294:14 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `call` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 293 | let err = state [INFO] [stdout] | ___________________- [INFO] [stdout] 294 | | .call("add") [INFO] [stdout] | | -^^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `call`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FfiModule` [INFO] [stdout] candidate #2: `Fn` [INFO] [stdout] candidate #3: `MachineIO` [INFO] [stdout] candidate #4: `cipher::block::BlockClosure` [INFO] [stdout] candidate #5: `cipher::stream_core::StreamClosure` [INFO] [stdout] candidate #6: `universal_hash::UhfClosure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope [INFO] [stdout] --> tests/vm.rs:563:14 [INFO] [stdout] | [INFO] [stdout] 562 | / rs.call_command_policy(name.clone(), &self_struct, dummy_envelope())? [INFO] [stdout] 563 | | .success(); [INFO] [stdout] | | -^^^^^^^ method not found in `ExitReason` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `is_empty` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:301:23 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `is_empty` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 301 | assert!(state.is_empty()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied [INFO] [stdout] --> tests/ffi.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl TestState> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `is_empty`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `ExactSizeIterator` [INFO] [stdout] candidate #2: `RangeBounds` [INFO] [stdout] candidate #3: `aead::Buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:306:15 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `push` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 306 | state.push(10i64); [INFO] [stdout] | ^^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied [INFO] [stdout] --> tests/ffi.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl TestState> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `push`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:307:15 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `push` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 307 | state.push(2i64); [INFO] [stdout] | ^^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied [INFO] [stdout] --> tests/ffi.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl TestState> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `push`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope [INFO] [stdout] --> tests/vm.rs:576:10 [INFO] [stdout] | [INFO] [stdout] 570 | / call_action( [INFO] [stdout] 571 | | &mut rs, [INFO] [stdout] 572 | | &mut published, [INFO] [stdout] 573 | | name.clone(), [INFO] [stdout] 574 | | iter::empty::(), [INFO] [stdout] 575 | | )? [INFO] [stdout] 576 | | .success(); [INFO] [stdout] | | -^^^^^^^ method not found in `ExitReason` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `call` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:308:15 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `call` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 308 | state.call("sub").expect("`test::sub` should not fail"); [INFO] [stdout] | ^^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `call`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FfiModule` [INFO] [stdout] candidate #2: `Fn` [INFO] [stdout] candidate #3: `MachineIO` [INFO] [stdout] candidate #4: `cipher::block::BlockClosure` [INFO] [stdout] candidate #5: `cipher::stream_core::StreamClosure` [INFO] [stdout] candidate #6: `universal_hash::UhfClosure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `pop` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:309:25 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `pop` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 309 | let got = state.pop::().expect("should have got an `i64`"); [INFO] [stdout] | ^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied [INFO] [stdout] --> tests/ffi.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl TestState> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `pop`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Stack` [INFO] [stdout] candidate #2: `postcard::de::flavors::Flavor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `is_empty` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:311:23 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `is_empty` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 311 | assert!(state.is_empty()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied [INFO] [stdout] --> tests/ffi.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl TestState> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `is_empty`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `ExactSizeIterator` [INFO] [stdout] candidate #2: `RangeBounds` [INFO] [stdout] candidate #3: `aead::Buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope [INFO] [stdout] --> tests/vm.rs:659:14 [INFO] [stdout] | [INFO] [stdout] 658 | / rs.call_command_policy(name.clone(), &self_struct, dummy_envelope())? [INFO] [stdout] 659 | | .success(); [INFO] [stdout] | | -^^^^^^^ method not found in `ExitReason` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:316:15 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `push` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 316 | state.push(i64::MIN); [INFO] [stdout] | ^^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied [INFO] [stdout] --> tests/ffi.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl TestState> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `push`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:317:15 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `push` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 317 | state.push(2i64); [INFO] [stdout] | ^^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied [INFO] [stdout] --> tests/ffi.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl TestState> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `push`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `call` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:319:14 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `call` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 318 | let err = state [INFO] [stdout] | ___________________- [INFO] [stdout] 319 | | .call("sub") [INFO] [stdout] | | -^^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `call`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FfiModule` [INFO] [stdout] candidate #2: `Fn` [INFO] [stdout] candidate #3: `MachineIO` [INFO] [stdout] candidate #4: `cipher::block::BlockClosure` [INFO] [stdout] candidate #5: `cipher::stream_core::StreamClosure` [INFO] [stdout] candidate #6: `universal_hash::UhfClosure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope [INFO] [stdout] --> tests/vm.rs:669:14 [INFO] [stdout] | [INFO] [stdout] 668 | / rs.call_command_policy(name.clone(), &self_struct, dummy_envelope())? [INFO] [stdout] 669 | | .success(); [INFO] [stdout] | | -^^^^^^^ method not found in `ExitReason` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `is_empty` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:326:23 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `is_empty` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 326 | assert!(state.is_empty()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied [INFO] [stdout] --> tests/ffi.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl TestState> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `is_empty`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `ExactSizeIterator` [INFO] [stdout] candidate #2: `RangeBounds` [INFO] [stdout] candidate #3: `aead::Buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:331:15 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `push` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 331 | state.push(text!("hello, ")); [INFO] [stdout] | ^^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied [INFO] [stdout] --> tests/ffi.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl TestState> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `push`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope [INFO] [stdout] --> tests/vm.rs:679:14 [INFO] [stdout] | [INFO] [stdout] 678 | / rs.call_command_policy(name.clone(), &self_struct, dummy_envelope())? [INFO] [stdout] 679 | | .success(); [INFO] [stdout] | | -^^^^^^^ method not found in `ExitReason` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:332:15 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `push` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 332 | state.push(text!("world!")); [INFO] [stdout] | ^^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied [INFO] [stdout] --> tests/ffi.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl TestState> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `push`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `call` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:334:14 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `call` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 333 | / state [INFO] [stdout] 334 | | .call("concat") [INFO] [stdout] | | -^^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `call`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FfiModule` [INFO] [stdout] candidate #2: `Fn` [INFO] [stdout] candidate #3: `MachineIO` [INFO] [stdout] candidate #4: `cipher::block::BlockClosure` [INFO] [stdout] candidate #5: `cipher::stream_core::StreamClosure` [INFO] [stdout] candidate #6: `universal_hash::UhfClosure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `pop` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:336:25 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `pop` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 336 | let got = state.pop::().expect("should have got a `String`"); [INFO] [stdout] | ^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied [INFO] [stdout] --> tests/ffi.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl TestState> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `pop`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Stack` [INFO] [stdout] candidate #2: `postcard::de::flavors::Flavor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope [INFO] [stdout] --> tests/vm.rs:689:14 [INFO] [stdout] | [INFO] [stdout] 688 | / rs.call_command_policy(name.clone(), &self_struct, dummy_envelope())? [INFO] [stdout] 689 | | .success(); [INFO] [stdout] | | -^^^^^^^ method not found in `ExitReason` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `is_empty` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:341:23 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `is_empty` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 341 | assert!(state.is_empty()); [INFO] [stdout] | ^^^^^^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied [INFO] [stdout] --> tests/ffi.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl TestState> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `is_empty`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `ExactSizeIterator` [INFO] [stdout] candidate #2: `RangeBounds` [INFO] [stdout] candidate #3: `aead::Buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:349:15 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `push` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 349 | state.push(b); [INFO] [stdout] | ^^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied [INFO] [stdout] --> tests/ffi.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl TestState> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `push`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:350:15 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `push` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 350 | state.push(a); [INFO] [stdout] | ^^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied [INFO] [stdout] --> tests/ffi.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl TestState> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `push`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope [INFO] [stdout] --> tests/vm.rs:699:14 [INFO] [stdout] | [INFO] [stdout] 698 | / rs.call_command_policy(name.clone(), &self_struct, dummy_envelope())? [INFO] [stdout] 699 | | .success(); [INFO] [stdout] | | -^^^^^^^ method not found in `ExitReason` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `call` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:354:18 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `call` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 353 | / state [INFO] [stdout] 354 | | .call("renamed_identity") [INFO] [stdout] | | -^^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `call`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FfiModule` [INFO] [stdout] candidate #2: `Fn` [INFO] [stdout] candidate #3: `MachineIO` [INFO] [stdout] candidate #4: `cipher::block::BlockClosure` [INFO] [stdout] candidate #5: `cipher::stream_core::StreamClosure` [INFO] [stdout] candidate #6: `universal_hash::UhfClosure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `pop` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:356:29 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `pop` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 356 | let got = state.pop::().expect("should have got an `Id`"); [INFO] [stdout] | ^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied [INFO] [stdout] --> tests/ffi.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl TestState> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `pop`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Stack` [INFO] [stdout] candidate #2: `postcard::de::flavors::Flavor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope [INFO] [stdout] --> tests/vm.rs:778:14 [INFO] [stdout] | [INFO] [stdout] 777 | / rs.call_command_policy(name.clone(), &self_struct, dummy_envelope())? [INFO] [stdout] 778 | | .success(); [INFO] [stdout] | | -^^^^^^^ method not found in `ExitReason` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:361:30 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `len` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 361 | assert_eq!(state.len(), len, "should be one argument remaining"); [INFO] [stdout] | ^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied [INFO] [stdout] --> tests/ffi.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl TestState> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `len`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `ExactSizeIterator` [INFO] [stdout] candidate #2: `Len` [INFO] [stdout] candidate #3: `aead::Buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:367:15 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `push` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 367 | state.push(text!("existing arg")); [INFO] [stdout] | ^^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied [INFO] [stdout] --> tests/ffi.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl TestState> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `push`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `call` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:369:14 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `call` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 368 | / state [INFO] [stdout] 369 | | .call("no_args") [INFO] [stdout] | | -^^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `call`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FfiModule` [INFO] [stdout] candidate #2: `Fn` [INFO] [stdout] candidate #3: `MachineIO` [INFO] [stdout] candidate #4: `cipher::block::BlockClosure` [INFO] [stdout] candidate #5: `cipher::stream_core::StreamClosure` [INFO] [stdout] candidate #6: `universal_hash::UhfClosure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `pop` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `pop` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 371 | let got = state.pop::().expect("should have got an `i64`"); [INFO] [stdout] | ^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied [INFO] [stdout] --> tests/ffi.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl TestState> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `pop`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Stack` [INFO] [stdout] candidate #2: `postcard::de::flavors::Flavor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope [INFO] [stdout] --> tests/vm.rs:788:14 [INFO] [stdout] | [INFO] [stdout] 787 | / rs.call_command_policy(cmd_name.clone(), &self_struct, dummy_envelope())? [INFO] [stdout] 788 | | .success(); [INFO] [stdout] | | -^^^^^^^ method not found in `ExitReason` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `len` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:377:26 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `len` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 377 | assert_eq!(state.len(), 1, "should be one item on the stack"); [INFO] [stdout] | ^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied [INFO] [stdout] --> tests/ffi.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl TestState> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `len`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `ExactSizeIterator` [INFO] [stdout] candidate #2: `Len` [INFO] [stdout] candidate #3: `aead::Buffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `pop` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:378:25 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `pop` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 378 | let got = state.pop::().expect("should have got a `String`"); [INFO] [stdout] | ^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied [INFO] [stdout] --> tests/ffi.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl TestState> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `pop`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `Stack` [INFO] [stdout] candidate #2: `postcard::de::flavors::Flavor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `push` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:384:15 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `push` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 384 | state.push(TestModule::<(), ()>::CUSTOM_TYPE_ARG); [INFO] [stdout] | ^^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `TestModule<'_, (), ()>: FfiModule` was not satisfied [INFO] [stdout] --> tests/ffi.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | impl TestState> { [INFO] [stdout] | ^^^^^^^^^ -------------------------------- [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `push`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Stack` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `success` found for enum `ExitReason` in the current scope [INFO] [stdout] --> tests/vm.rs:872:14 [INFO] [stdout] | [INFO] [stdout] 871 | / rs.call_command_policy(cmd_name.clone(), &this_data, dummy_envelope())? [INFO] [stdout] 872 | | .success(); [INFO] [stdout] | | -^^^^^^^ method not found in `ExitReason` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `call` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:386:14 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `call` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 385 | / state [INFO] [stdout] 386 | | .call("custom_type") [INFO] [stdout] | | -^^^^ method cannot be called on `TestState, DefaultEngine>` due to unsatisfied trait bounds [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] note: the trait `FfiModule` must be implemented [INFO] [stdout] --> /opt/rustwide/workdir/src/ffi.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait FfiModule { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `call`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `FfiModule` [INFO] [stdout] candidate #2: `Fn` [INFO] [stdout] candidate #3: `MachineIO` [INFO] [stdout] candidate #4: `cipher::block::BlockClosure` [INFO] [stdout] candidate #5: `cipher::stream_core::StreamClosure` [INFO] [stdout] candidate #6: `universal_hash::UhfClosure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `pop` exists for struct `TestState, DefaultEngine>`, but its trait bounds were not satisfied [INFO] [stdout] --> tests/ffi.rs:388:25 [INFO] [stdout] | [INFO] [stdout] 23 | struct TestState { [INFO] [stdout] | ---------------------- method `pop` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 124 | struct TestModule<'a, T, G> { [INFO] [stdout] | --------------------------- doesn't satisfy `TestModule<'_, (), ()>: FfiModule` [INFO] [stdout] ... [INFO] [stdout] 388 | let got = state.pop::