[INFO] fetching crate aranya-policy-vm 0.11.0... [INFO] testing aranya-policy-vm-0.11.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_0 [INFO] extracting crate aranya-policy-vm 0.11.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate aranya-policy-vm 0.11.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate aranya-policy-vm 0.11.0 [INFO] tweaked toml for crates.io crate aranya-policy-vm 0.11.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate aranya-policy-vm 0.11.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate aranya-policy-vm 0.11.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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded colored v2.2.0 [INFO] [stderr] Downloaded thiserror v2.0.7 [INFO] [stderr] Downloaded spideroak-crypto-derive v0.2.0 [INFO] [stderr] Downloaded serde_derive v1.0.216 [INFO] [stderr] Downloaded thiserror-impl v2.0.7 [INFO] [stderr] Downloaded cobs v0.2.3 [INFO] [stderr] Downloaded embedded-io v0.4.0 [INFO] [stderr] Downloaded const-default v1.0.0 [INFO] [stderr] Downloaded aranya-policy-text-macro v0.1.0 [INFO] [stderr] Downloaded buggy v0.1.0 [INFO] [stderr] Downloaded unicode-id v0.3.5 [INFO] [stderr] Downloaded table_formatter v0.6.1 [INFO] [stderr] Downloaded aranya-policy-text v0.1.1 [INFO] [stderr] Downloaded primeorder v0.13.6 [INFO] [stderr] Downloaded sha3-utils v0.5.0 [INFO] [stderr] Downloaded aranya-policy-derive v0.6.0 [INFO] [stderr] Downloaded aranya-policy-ast v0.6.0 [INFO] [stderr] Downloaded postcard v1.1.1 [INFO] [stderr] Downloaded generic-array v1.1.1 [INFO] [stderr] Downloaded spin v0.10.0 [INFO] [stderr] Downloaded aranya-policy-module v0.11.0 [INFO] [stderr] Downloaded anyhow v1.0.94 [INFO] [stderr] Downloaded aranya-policy-lang v0.6.0 [INFO] [stderr] Downloaded derive-where v1.5.0 [INFO] [stderr] Downloaded prettyplease v0.2.25 [INFO] [stderr] Downloaded p256 v0.13.2 [INFO] [stderr] Downloaded serde v1.0.216 [INFO] [stderr] Downloaded aranya-crypto v0.8.0 [INFO] [stderr] Downloaded serde_json v1.0.133 [INFO] [stderr] Downloaded hkdf v0.12.4 [INFO] [stderr] Downloaded markdown v1.0.0-alpha.17 [INFO] [stderr] Downloaded p384 v0.13.0 [INFO] [stderr] Downloaded spideroak-base58 v0.2.0 [INFO] [stderr] Downloaded libc v0.2.168 [INFO] [stderr] Downloaded spideroak-crypto v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27e4df242ab1cc5c93a1e95d71f4d0600707d648c036bfcd81ea772012b75f3d [INFO] running `Command { std: "docker" "start" "-a" "27e4df242ab1cc5c93a1e95d71f4d0600707d648c036bfcd81ea772012b75f3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27e4df242ab1cc5c93a1e95d71f4d0600707d648c036bfcd81ea772012b75f3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27e4df242ab1cc5c93a1e95d71f4d0600707d648c036bfcd81ea772012b75f3d", kill_on_drop: false }` [INFO] [stdout] 27e4df242ab1cc5c93a1e95d71f4d0600707d648c036bfcd81ea772012b75f3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bb058739887cc7ffcb1eadf703687cd5576c70e0e6cfd1c99ada1d0a5fd109a7 [INFO] running `Command { std: "docker" "start" "-a" "bb058739887cc7ffcb1eadf703687cd5576c70e0e6cfd1c99ada1d0a5fd109a7", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling thiserror v2.0.7 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling buggy v0.1.0 [INFO] [stderr] Compiling const-default v1.0.0 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling unicode-id v0.3.5 [INFO] [stderr] Compiling markdown v1.0.0-alpha.17 [INFO] [stderr] Compiling spideroak-base58 v0.2.0 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling aranya-policy-derive v0.6.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Compiling cobs v0.2.3 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling macro-string v0.1.4 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling p384 v0.13.0 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling thiserror-impl v2.0.7 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling aranya-policy-text-macro v0.1.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling zerocopy-derive v0.8.25 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling spideroak-crypto-derive v0.2.0 [INFO] [stderr] Compiling derive-where v1.5.0 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling clap v4.5.23 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling 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.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling generic-array v1.1.1 [INFO] [stderr] Compiling postcard v1.1.1 [INFO] [stderr] Compiling aranya-policy-ast v0.6.0 [INFO] [stderr] Compiling spideroak-crypto v0.6.0 [INFO] [stderr] Compiling aranya-policy-lang v0.6.0 [INFO] [stderr] Compiling aranya-crypto v0.8.0 [INFO] [stderr] Compiling aranya-policy-module v0.11.0 [INFO] [stderr] Compiling aranya-policy-vm v0.11.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "bb058739887cc7ffcb1eadf703687cd5576c70e0e6cfd1c99ada1d0a5fd109a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb058739887cc7ffcb1eadf703687cd5576c70e0e6cfd1c99ada1d0a5fd109a7", kill_on_drop: false }` [INFO] [stdout] bb058739887cc7ffcb1eadf703687cd5576c70e0e6cfd1c99ada1d0a5fd109a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] fcadbeebf9f061e183cae6b85b59d12c7d179704b2147a30d1e81fe862585cd9 [INFO] running `Command { std: "docker" "start" "-a" "fcadbeebf9f061e183cae6b85b59d12c7d179704b2147a30d1e81fe862585cd9", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling generic-array v1.1.1 [INFO] [stderr] Compiling aranya-policy-text v0.1.1 [INFO] [stderr] Compiling postcard v1.1.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling aranya-policy-ast v0.6.0 [INFO] [stderr] Compiling spideroak-crypto v0.6.0 [INFO] [stderr] Compiling aranya-crypto v0.8.0 [INFO] [stderr] Compiling aranya-policy-module v0.11.0 [INFO] [stderr] Compiling aranya-policy-vm v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `aranya_policy_vm::ffi::ffi` [INFO] [stdout] --> tests/ffi.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | ffi::{ffi, FfiModule, Type}, [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[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[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[E0599]: no method named `success` found for enum `aranya_policy_module::ExitReason` in the current scope [INFO] [stdout] --> src/tests.rs:355:39 [INFO] [stdout] | [INFO] [stdout] 355 | rs.run().expect("Should succeed").success(); [INFO] [stdout] | ^^^^^^^ method not found in `aranya_policy_module::ExitReason` [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]: 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]: 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]: 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]: 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]: 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]: 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]: 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]: 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]: 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]: 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:90:10 [INFO] [stdout] | [INFO] [stdout] 84 | / call_action( [INFO] [stdout] 85 | | &mut rs, [INFO] [stdout] 86 | | &io, [INFO] [stdout] 87 | | name.clone(), [INFO] [stdout] 88 | | [Value::Id(Id::default()), Value::Bytes(vec![0, 255, 42])], [INFO] [stdout] 89 | | )? [INFO] [stdout] 90 | | .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]: no method named `success` found for enum `ExitReason` in the current scope [INFO] [stdout] --> tests/vm.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 156 | / call_action( [INFO] [stdout] 157 | | &mut rs, [INFO] [stdout] 158 | | &io, [INFO] [stdout] 159 | | name.clone(), [INFO] [stdout] 160 | | [Value::Id(Id::default()), Value::Int(3)], [INFO] [stdout] 161 | | )? [INFO] [stdout] 162 | | .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: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]: 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]: no method named `success` found for enum `ExitReason` in the current scope [INFO] [stdout] --> tests/vm.rs:200:64 [INFO] [stdout] | [INFO] [stdout] 200 | call_action(&mut rs, &io, name.clone(), [Value::from(3)])?.success(); [INFO] [stdout] | ^^^^^^^ method not found in `ExitReason` [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:273:72 [INFO] [stdout] | [INFO] [stdout] 273 | call_action(&mut rs, &io, action_name.clone(), Vec::::new())?.success(); [INFO] [stdout] | ^^^^^^^ method not found in `ExitReason` [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::