[INFO] fetching crate scriptful 0.4.0... [INFO] checking scriptful-0.4.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate scriptful 0.4.0 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate scriptful 0.4.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9432afca1814c958a0fd28dc4af9c526c00d79a6bee1a94da65963b1f4d293f [INFO] running `Command { std: "docker" "start" "-a" "d9432afca1814c958a0fd28dc4af9c526c00d79a6bee1a94da65963b1f4d293f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9432afca1814c958a0fd28dc4af9c526c00d79a6bee1a94da65963b1f4d293f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9432afca1814c958a0fd28dc4af9c526c00d79a6bee1a94da65963b1f4d293f", kill_on_drop: false }` [INFO] [stdout] d9432afca1814c958a0fd28dc4af9c526c00d79a6bee1a94da65963b1f4d293f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d0b52d2fff26baa8b9a29ee2183aed249c168812ede89516531b13e777332b6 [INFO] running `Command { std: "docker" "start" "-a" "7d0b52d2fff26baa8b9a29ee2183aed249c168812ede89516531b13e777332b6", kill_on_drop: false }` [INFO] [stderr] Checking 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 `FnMut(&mut Stack<_>, &_, &mut 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/scriptful-f1fccaa430bf4841.long-type-2074290369307327019.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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 `FnOnce(&mut Stack<_>, &_, &mut 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/scriptful-f1fccaa430bf4841.long-type-6061501558323627325.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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 `FnMut(&mut Stack<_>, &_, &mut 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/scriptful-f1fccaa430bf4841.long-type-13547822873909727651.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/scriptful-f1fccaa430bf4841.long-type-1544700605691703409.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/scriptful-f1fccaa430bf4841.long-type-1544700605691703409.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/scriptful-f1fccaa430bf4841.long-type-1544700605691703409.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/scriptful-f1fccaa430bf4841.long-type-1544700605691703409.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/scriptful-f1fccaa430bf4841.long-type-1544700605691703409.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/scriptful-f1fccaa430bf4841.long-type-1544700605691703409.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/scriptful-f1fccaa430bf4841.long-type-1544700605691703409.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/scriptful-f1fccaa430bf4841.long-type-1544700605691703409.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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 `FnMut(&mut Stack<_>, &_, &mut 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/scriptful-f1fccaa430bf4841.long-type-2074290369307327019.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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 `FnOnce(&mut Stack<_>, &_, &mut 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/scriptful-f1fccaa430bf4841.long-type-6061501558323627325.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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 `FnMut(&mut Stack<_>, &_, &mut 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/scriptful-f1fccaa430bf4841.long-type-13547822873909727651.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/scriptful-f1fccaa430bf4841.long-type-1544700605691703409.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/scriptful-f1fccaa430bf4841.long-type-1544700605691703409.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/scriptful-f1fccaa430bf4841.long-type-1544700605691703409.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/scriptful-f1fccaa430bf4841.long-type-1544700605691703409.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/scriptful-f1fccaa430bf4841.long-type-1544700605691703409.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/scriptful-f1fccaa430bf4841.long-type-1544700605691703409.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/scriptful-f1fccaa430bf4841.long-type-1544700605691703409.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/scriptful-f1fccaa430bf4841.long-type-1544700605691703409.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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 `FnMut(&mut Stack<_>, &_, &mut 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/scriptful-f1fccaa430bf4841.long-type-10417121198698601630.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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 `FnOnce(&mut Stack<_>, &_, &mut 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/scriptful-f1fccaa430bf4841.long-type-4101862981577487998.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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 `FnMut(&mut Stack<_>, &_, &mut 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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/scriptful-f1fccaa430bf4841.long-type-1913470075300209882.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/scriptful-f1fccaa430bf4841.long-type-6494238920619373040.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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" "7d0b52d2fff26baa8b9a29ee2183aed249c168812ede89516531b13e777332b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d0b52d2fff26baa8b9a29ee2183aed249c168812ede89516531b13e777332b6", kill_on_drop: false }` [INFO] [stdout] 7d0b52d2fff26baa8b9a29ee2183aed249c168812ede89516531b13e777332b6