[INFO] fetching crate scriptful 0.4.0... [INFO] testing scriptful-0.4.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate scriptful 0.4.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate scriptful 0.4.0 [INFO] finished tweaking crates.io crate scriptful 0.4.0 [INFO] tweaked toml for crates.io crate scriptful 0.4.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate scriptful 0.4.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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc0d6f3c02913e4d18178caec657820d13973c4edd118385ada93fcc59152649 [INFO] running `Command { std: "docker" "start" "-a" "cc0d6f3c02913e4d18178caec657820d13973c4edd118385ada93fcc59152649", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc0d6f3c02913e4d18178caec657820d13973c4edd118385ada93fcc59152649", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc0d6f3c02913e4d18178caec657820d13973c4edd118385ada93fcc59152649", kill_on_drop: false }` [INFO] [stdout] cc0d6f3c02913e4d18178caec657820d13973c4edd118385ada93fcc59152649 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256: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] 82b2ae54d22861c0ac77cc3f0660e6816de90e0f1940668ad361cf6a4c46cd20 [INFO] running `Command { std: "docker" "start" "-a" "82b2ae54d22861c0ac77cc3f0660e6816de90e0f1940668ad361cf6a4c46cd20", kill_on_drop: false }` [INFO] [stderr] Compiling scriptful v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "82b2ae54d22861c0ac77cc3f0660e6816de90e0f1940668ad361cf6a4c46cd20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82b2ae54d22861c0ac77cc3f0660e6816de90e0f1940668ad361cf6a4c46cd20", kill_on_drop: false }` [INFO] [stdout] 82b2ae54d22861c0ac77cc3f0660e6816de90e0f1940668ad361cf6a4c46cd20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256: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] 03975d3b6099a3cc83d229f2ea968383db52a959a9a86424ea316a54502644b0 [INFO] running `Command { std: "docker" "start" "-a" "03975d3b6099a3cc83d229f2ea968383db52a959a9a86424ea316a54502644b0", kill_on_drop: false }` [INFO] [stderr] Compiling scriptful v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::codecs::codecs` [INFO] [stdout] --> src/codecs/mod.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::codecs::codecs::simple; [INFO] [stdout] | ^^^^^^ could not find `codecs` in `codecs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: function is expected to take 3 arguments, but it takes 2 arguments [INFO] [stdout] --> src/op_systems/pokemon.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn pokemon_op_sys(stack: &mut Stack, operator: &Command) { [INFO] [stdout] | ---------------------------------------------------------------------- takes 2 arguments [INFO] [stdout] ... [INFO] [stdout] 72 | let mut machine = Machine::new(&pokemon_op_sys); [INFO] [stdout] | ^^^^^^^ expected function that takes 3 arguments [INFO] [stdout] | [INFO] [stdout] = note: required for `&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}` to implement `for<'a, 'b, 'c> FnMut(&'a mut stack::Stack<_>, &'b _, &'c mut condition_stack::ConditionStack)` [INFO] [stdout] note: required by a bound in `machine::Machine` [INFO] [stdout] --> src/core/machine.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Machine [INFO] [stdout] | ------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Machine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: function is expected to take 3 arguments, but it takes 2 arguments [INFO] [stdout] --> src/op_systems/pokemon.rs:72:41 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn pokemon_op_sys(stack: &mut Stack, operator: &Command) { [INFO] [stdout] | ---------------------------------------------------------------------- takes 2 arguments [INFO] [stdout] ... [INFO] [stdout] 72 | let mut machine = Machine::new(&pokemon_op_sys); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^ expected function that takes 3 arguments [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required for `&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}` to implement `for<'a, 'b, 'c> FnOnce(&'a mut stack::Stack<_>, &'b _, &'c mut condition_stack::ConditionStack)` [INFO] [stdout] note: required by a bound in `machine::Machine::::new` [INFO] [stdout] --> src/core/machine.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 28 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Machine::::new` [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn new(op_sys: F) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: function is expected to take 3 arguments, but it takes 2 arguments [INFO] [stdout] --> src/op_systems/pokemon.rs:72:40 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn pokemon_op_sys(stack: &mut Stack, operator: &Command) { [INFO] [stdout] | ---------------------------------------------------------------------- takes 2 arguments [INFO] [stdout] ... [INFO] [stdout] 72 | let mut machine = Machine::new(&pokemon_op_sys); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^ expected function that takes 3 arguments [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `machine::Machine::::new` [INFO] [stdout] --> src/core/machine.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 28 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Machine::::new` [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn new(op_sys: F) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: function is expected to take 3 arguments, but it takes 2 arguments [INFO] [stdout] --> src/op_systems/pokemon.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn pokemon_op_sys(stack: &mut Stack, operator: &Command) { [INFO] [stdout] | ---------------------------------------------------------------------- takes 2 arguments [INFO] [stdout] ... [INFO] [stdout] 72 | let mut machine = Machine::new(&pokemon_op_sys); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected function that takes 3 arguments [INFO] [stdout] | [INFO] [stdout] = note: required for `&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}` to implement `for<'a, 'b, 'c> FnMut(&'a mut stack::Stack<_>, &'b _, &'c mut condition_stack::ConditionStack)` [INFO] [stdout] note: required by a bound in `machine::Machine` [INFO] [stdout] --> src/core/machine.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Machine [INFO] [stdout] | ------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Machine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `operate` exists for struct `Machine<_, _, &fn(&mut Stack, &Command) {pokemon_op_sys}, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/op_systems/pokemon.rs:78:30 [INFO] [stdout] | [INFO] [stdout] 78 | let result = machine.operate(&Item::Value(my_creature)).unwrap(); [INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/core/machine.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Machine [INFO] [stdout] | --------------------------------- method `operate` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` was not satisfied [INFO] [stdout] --> src/core/machine.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 24 | impl Machine [INFO] [stdout] | ---------------------- [INFO] [stdout] ... [INFO] [stdout] 28 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `<&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys} as FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>>::Output = Result<(), _>` [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnMut<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `stack_length` exists for struct `Machine<_, _, &fn(&mut Stack, &Command) {pokemon_op_sys}, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/op_systems/pokemon.rs:83:28 [INFO] [stdout] | [INFO] [stdout] 83 | assert_eq!(machine.stack_length(), 1); [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/core/machine.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Machine [INFO] [stdout] | --------------------------------- method `stack_length` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` was not satisfied [INFO] [stdout] --> src/core/machine.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 24 | impl Machine [INFO] [stdout] | ---------------------- [INFO] [stdout] ... [INFO] [stdout] 28 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `<&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys} as FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>>::Output = Result<(), _>` [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnMut<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `operate` exists for struct `Machine<_, _, &fn(&mut Stack, &Command) {pokemon_op_sys}, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/op_systems/pokemon.rs:86:30 [INFO] [stdout] | [INFO] [stdout] 86 | let result = machine.operate(&Item::Operator(Evolute)).unwrap(); [INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/core/machine.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Machine [INFO] [stdout] | --------------------------------- method `operate` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` was not satisfied [INFO] [stdout] --> src/core/machine.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 24 | impl Machine [INFO] [stdout] | ---------------------- [INFO] [stdout] ... [INFO] [stdout] 28 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `<&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys} as FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>>::Output = Result<(), _>` [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnMut<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `stack_length` exists for struct `Machine<_, _, &fn(&mut Stack, &Command) {pokemon_op_sys}, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/op_systems/pokemon.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | assert_eq!(machine.stack_length(), 1); [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/core/machine.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Machine [INFO] [stdout] | --------------------------------- method `stack_length` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` was not satisfied [INFO] [stdout] --> src/core/machine.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 24 | impl Machine [INFO] [stdout] | ---------------------- [INFO] [stdout] ... [INFO] [stdout] 28 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `<&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys} as FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>>::Output = Result<(), _>` [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnMut<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `operate` exists for struct `Machine<_, _, &fn(&mut Stack, &Command) {pokemon_op_sys}, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/op_systems/pokemon.rs:94:30 [INFO] [stdout] | [INFO] [stdout] 94 | let result = machine.operate(&Item::Operator(Evolute)).unwrap(); [INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/core/machine.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Machine [INFO] [stdout] | --------------------------------- method `operate` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` was not satisfied [INFO] [stdout] --> src/core/machine.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 24 | impl Machine [INFO] [stdout] | ---------------------- [INFO] [stdout] ... [INFO] [stdout] 28 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `<&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys} as FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>>::Output = Result<(), _>` [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnMut<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `operate` exists for struct `Machine<_, _, &fn(&mut Stack, &Command) {pokemon_op_sys}, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/op_systems/pokemon.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 100 | let result = machine.operate(&Item::Operator(Evolute)).unwrap(); [INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/core/machine.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Machine [INFO] [stdout] | --------------------------------- method `operate` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` was not satisfied [INFO] [stdout] --> src/core/machine.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 24 | impl Machine [INFO] [stdout] | ---------------------- [INFO] [stdout] ... [INFO] [stdout] 28 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `<&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys} as FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>>::Output = Result<(), _>` [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnMut<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `operate` exists for struct `Machine<_, _, &fn(&mut Stack, &Command) {pokemon_op_sys}, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/op_systems/pokemon.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | machine.operate(&Item::Operator(Close)); [INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/core/machine.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Machine [INFO] [stdout] | --------------------------------- method `operate` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` was not satisfied [INFO] [stdout] --> src/core/machine.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 24 | impl Machine [INFO] [stdout] | ---------------------- [INFO] [stdout] ... [INFO] [stdout] 28 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `<&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys} as FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>>::Output = Result<(), _>` [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnMut<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `stack_length` exists for struct `Machine<_, _, &fn(&mut Stack, &Command) {pokemon_op_sys}, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/op_systems/pokemon.rs:108:28 [INFO] [stdout] | [INFO] [stdout] 108 | assert_eq!(machine.stack_length(), 0); [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/core/machine.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Machine [INFO] [stdout] | --------------------------------- method `stack_length` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` was not satisfied [INFO] [stdout] --> src/core/machine.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 24 | impl Machine [INFO] [stdout] | ---------------------- [INFO] [stdout] ... [INFO] [stdout] 28 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `<&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys} as FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>>::Output = Result<(), _>` [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnMut<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: function is expected to take 3 arguments, but it takes 2 arguments [INFO] [stdout] --> src/op_systems/pokemon.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn pokemon_op_sys(stack: &mut Stack, operator: &Command) { [INFO] [stdout] | ---------------------------------------------------------------------- takes 2 arguments [INFO] [stdout] ... [INFO] [stdout] 114 | let mut machine = Machine::new(&pokemon_op_sys); [INFO] [stdout] | ^^^^^^^ expected function that takes 3 arguments [INFO] [stdout] | [INFO] [stdout] = note: required for `&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}` to implement `for<'a, 'b, 'c> FnMut(&'a mut stack::Stack<_>, &'b _, &'c mut condition_stack::ConditionStack)` [INFO] [stdout] note: required by a bound in `machine::Machine` [INFO] [stdout] --> src/core/machine.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Machine [INFO] [stdout] | ------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Machine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: function is expected to take 3 arguments, but it takes 2 arguments [INFO] [stdout] --> src/op_systems/pokemon.rs:114:41 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn pokemon_op_sys(stack: &mut Stack, operator: &Command) { [INFO] [stdout] | ---------------------------------------------------------------------- takes 2 arguments [INFO] [stdout] ... [INFO] [stdout] 114 | let mut machine = Machine::new(&pokemon_op_sys); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^ expected function that takes 3 arguments [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required for `&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}` to implement `for<'a, 'b, 'c> FnOnce(&'a mut stack::Stack<_>, &'b _, &'c mut condition_stack::ConditionStack)` [INFO] [stdout] note: required by a bound in `machine::Machine::::new` [INFO] [stdout] --> src/core/machine.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 28 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Machine::::new` [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn new(op_sys: F) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: function is expected to take 3 arguments, but it takes 2 arguments [INFO] [stdout] --> src/op_systems/pokemon.rs:114:40 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn pokemon_op_sys(stack: &mut Stack, operator: &Command) { [INFO] [stdout] | ---------------------------------------------------------------------- takes 2 arguments [INFO] [stdout] ... [INFO] [stdout] 114 | let mut machine = Machine::new(&pokemon_op_sys); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^ expected function that takes 3 arguments [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `machine::Machine::::new` [INFO] [stdout] --> src/core/machine.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 28 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Machine::::new` [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn new(op_sys: F) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: function is expected to take 3 arguments, but it takes 2 arguments [INFO] [stdout] --> src/op_systems/pokemon.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn pokemon_op_sys(stack: &mut Stack, operator: &Command) { [INFO] [stdout] | ---------------------------------------------------------------------- takes 2 arguments [INFO] [stdout] ... [INFO] [stdout] 114 | let mut machine = Machine::new(&pokemon_op_sys); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected function that takes 3 arguments [INFO] [stdout] | [INFO] [stdout] = note: required for `&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}` to implement `for<'a, 'b, 'c> FnMut(&'a mut stack::Stack<_>, &'b _, &'c mut condition_stack::ConditionStack)` [INFO] [stdout] note: required by a bound in `machine::Machine` [INFO] [stdout] --> src/core/machine.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Machine [INFO] [stdout] | ------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Machine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `operate` exists for struct `Machine<_, _, &fn(&mut Stack, &Command) {pokemon_op_sys}, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/op_systems/pokemon.rs:120:30 [INFO] [stdout] | [INFO] [stdout] 120 | let result = machine.operate(&Item::Value(my_creature)).unwrap(); [INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/core/machine.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Machine [INFO] [stdout] | --------------------------------- method `operate` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` was not satisfied [INFO] [stdout] --> src/core/machine.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 24 | impl Machine [INFO] [stdout] | ---------------------- [INFO] [stdout] ... [INFO] [stdout] 28 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `<&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys} as FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>>::Output = Result<(), _>` [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnMut<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `stack_length` exists for struct `Machine<_, _, &fn(&mut Stack, &Command) {pokemon_op_sys}, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/op_systems/pokemon.rs:125:28 [INFO] [stdout] | [INFO] [stdout] 125 | assert_eq!(machine.stack_length(), 1); [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/core/machine.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Machine [INFO] [stdout] | --------------------------------- method `stack_length` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` was not satisfied [INFO] [stdout] --> src/core/machine.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 24 | impl Machine [INFO] [stdout] | ---------------------- [INFO] [stdout] ... [INFO] [stdout] 28 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `<&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys} as FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>>::Output = Result<(), _>` [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnMut<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `operate` exists for struct `Machine<_, _, &fn(&mut Stack, &Command) {pokemon_op_sys}, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/op_systems/pokemon.rs:128:30 [INFO] [stdout] | [INFO] [stdout] 128 | let result = machine.operate(&Item::Operator(Devolute)).unwrap(); [INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/core/machine.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Machine [INFO] [stdout] | --------------------------------- method `operate` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` was not satisfied [INFO] [stdout] --> src/core/machine.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 24 | impl Machine [INFO] [stdout] | ---------------------- [INFO] [stdout] ... [INFO] [stdout] 28 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `<&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys} as FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>>::Output = Result<(), _>` [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnMut<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `stack_length` exists for struct `Machine<_, _, &fn(&mut Stack, &Command) {pokemon_op_sys}, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/op_systems/pokemon.rs:133:28 [INFO] [stdout] | [INFO] [stdout] 133 | assert_eq!(machine.stack_length(), 1); [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/core/machine.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Machine [INFO] [stdout] | --------------------------------- method `stack_length` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` was not satisfied [INFO] [stdout] --> src/core/machine.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 24 | impl Machine [INFO] [stdout] | ---------------------- [INFO] [stdout] ... [INFO] [stdout] 28 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `<&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys} as FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>>::Output = Result<(), _>` [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnMut<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `operate` exists for struct `Machine<_, _, &fn(&mut Stack, &Command) {pokemon_op_sys}, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/op_systems/pokemon.rs:136:30 [INFO] [stdout] | [INFO] [stdout] 136 | let result = machine.operate(&Item::Operator(Devolute)).unwrap(); [INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/core/machine.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Machine [INFO] [stdout] | --------------------------------- method `operate` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` was not satisfied [INFO] [stdout] --> src/core/machine.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 24 | impl Machine [INFO] [stdout] | ---------------------- [INFO] [stdout] ... [INFO] [stdout] 28 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `<&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys} as FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>>::Output = Result<(), _>` [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnMut<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `operate` exists for struct `Machine<_, _, &fn(&mut Stack, &Command) {pokemon_op_sys}, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/op_systems/pokemon.rs:142:30 [INFO] [stdout] | [INFO] [stdout] 142 | let result = machine.operate(&Item::Operator(Devolute)).unwrap(); [INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/core/machine.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Machine [INFO] [stdout] | --------------------------------- method `operate` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` was not satisfied [INFO] [stdout] --> src/core/machine.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 24 | impl Machine [INFO] [stdout] | ---------------------- [INFO] [stdout] ... [INFO] [stdout] 28 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `<&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys} as FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>>::Output = Result<(), _>` [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnMut<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `operate` exists for struct `Machine<_, _, &fn(&mut Stack, &Command) {pokemon_op_sys}, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/op_systems/pokemon.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | machine.operate(&Item::Operator(Close)); [INFO] [stdout] | ^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/core/machine.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Machine [INFO] [stdout] | --------------------------------- method `operate` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` was not satisfied [INFO] [stdout] --> src/core/machine.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 24 | impl Machine [INFO] [stdout] | ---------------------- [INFO] [stdout] ... [INFO] [stdout] 28 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `<&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys} as FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>>::Output = Result<(), _>` [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnMut<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `stack_length` exists for struct `Machine<_, _, &fn(&mut Stack, &Command) {pokemon_op_sys}, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/op_systems/pokemon.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | assert_eq!(machine.stack_length(), 0); [INFO] [stdout] | ^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/core/machine.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Machine [INFO] [stdout] | --------------------------------- method `stack_length` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` was not satisfied [INFO] [stdout] --> src/core/machine.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 24 | impl Machine [INFO] [stdout] | ---------------------- [INFO] [stdout] ... [INFO] [stdout] 28 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `<&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys} as FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>>::Output = Result<(), _>` [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `&for<'a, 'b> fn(&'a mut stack::Stack, &'b Command) {pokemon_op_sys}: FnMut<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: function is expected to take 3 arguments, but it takes 2 arguments [INFO] [stdout] --> src/op_systems/simple_math.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn simple_math_op_sys(stack: &mut Stack, operator: &MathOperator) { [INFO] [stdout] | --------------------------------------------------------------------- takes 2 arguments [INFO] [stdout] ... [INFO] [stdout] 66 | let machine = &mut Machine::new(&simple_math_op_sys); [INFO] [stdout] | ^^^^^^^ expected function that takes 3 arguments [INFO] [stdout] | [INFO] [stdout] = note: required for `&for<'a, 'b> fn(&'a mut stack::Stack, &'b MathOperator) {simple_math_op_sys}` to implement `for<'a, 'b, 'c> FnMut(&'a mut stack::Stack<_>, &'b _, &'c mut condition_stack::ConditionStack)` [INFO] [stdout] note: required by a bound in `machine::Machine` [INFO] [stdout] --> src/core/machine.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Machine [INFO] [stdout] | ------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Machine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: function is expected to take 3 arguments, but it takes 2 arguments [INFO] [stdout] --> src/op_systems/simple_math.rs:66:42 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn simple_math_op_sys(stack: &mut Stack, operator: &MathOperator) { [INFO] [stdout] | --------------------------------------------------------------------- takes 2 arguments [INFO] [stdout] ... [INFO] [stdout] 66 | let machine = &mut Machine::new(&simple_math_op_sys); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^ expected function that takes 3 arguments [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required for `&for<'a, 'b> fn(&'a mut stack::Stack, &'b MathOperator) {simple_math_op_sys}` to implement `for<'a, 'b, 'c> FnOnce(&'a mut stack::Stack<_>, &'b _, &'c mut condition_stack::ConditionStack)` [INFO] [stdout] note: required by a bound in `machine::Machine::::new` [INFO] [stdout] --> src/core/machine.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 28 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Machine::::new` [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn new(op_sys: F) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: function is expected to take 3 arguments, but it takes 2 arguments [INFO] [stdout] --> src/op_systems/simple_math.rs:66:41 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn simple_math_op_sys(stack: &mut Stack, operator: &MathOperator) { [INFO] [stdout] | --------------------------------------------------------------------- takes 2 arguments [INFO] [stdout] ... [INFO] [stdout] 66 | let machine = &mut Machine::new(&simple_math_op_sys); [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^^^ expected function that takes 3 arguments [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `machine::Machine::::new` [INFO] [stdout] --> src/core/machine.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 28 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Machine::::new` [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn new(op_sys: F) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: function is expected to take 3 arguments, but it takes 2 arguments [INFO] [stdout] --> src/op_systems/simple_math.rs:66:28 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn simple_math_op_sys(stack: &mut Stack, operator: &MathOperator) { [INFO] [stdout] | --------------------------------------------------------------------- takes 2 arguments [INFO] [stdout] ... [INFO] [stdout] 66 | let machine = &mut Machine::new(&simple_math_op_sys); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected function that takes 3 arguments [INFO] [stdout] | [INFO] [stdout] = note: required for `&for<'a, 'b> fn(&'a mut stack::Stack, &'b MathOperator) {simple_math_op_sys}` to implement `for<'a, 'b, 'c> FnMut(&'a mut stack::Stack<_>, &'b _, &'c mut condition_stack::ConditionStack)` [INFO] [stdout] note: required by a bound in `machine::Machine` [INFO] [stdout] --> src/core/machine.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Machine [INFO] [stdout] | ------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Machine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `run_script` exists for mutable reference `&mut Machine<_, _, &fn(&mut Stack, &...) {simple_math_op_sys}, _>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/op_systems/simple_math.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 68 | let result = machine [INFO] [stdout] | ______________________- [INFO] [stdout] 69 | | .run_script(&Vec::from([ [INFO] [stdout] | | -^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: trait bound `for<'a, 'b> fn(&'a mut stack::Stack, &'b MathOperator) {simple_math_op_sys}: FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` was not satisfied [INFO] [stdout] --> src/core/machine.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 24 | impl Machine [INFO] [stdout] | ---------------------- [INFO] [stdout] ... [INFO] [stdout] 28 | F: FnMut(&mut Stack, &Op, &mut ConditionStack) -> Result<(), E>, [INFO] [stdout] | ^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b MathOperator) {simple_math_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `<&for<'a, 'b> fn(&'a mut stack::Stack, &'b MathOperator) {simple_math_op_sys} as FnOnce<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>>::Output = Result<(), _>` [INFO] [stdout] `for<'a, 'b> fn(&'a mut stack::Stack, &'b MathOperator) {simple_math_op_sys}: Fn<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] which is required by `&for<'a, 'b> fn(&'a mut stack::Stack, &'b MathOperator) {simple_math_op_sys}: FnMut<(&mut stack::Stack<_>, &_, &mut condition_stack::ConditionStack)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0593, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `scriptful` (lib test) due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "03975d3b6099a3cc83d229f2ea968383db52a959a9a86424ea316a54502644b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03975d3b6099a3cc83d229f2ea968383db52a959a9a86424ea316a54502644b0", kill_on_drop: false }` [INFO] [stdout] 03975d3b6099a3cc83d229f2ea968383db52a959a9a86424ea316a54502644b0