[INFO] fetching crate scriptful 0.4.0... [INFO] checking scriptful-0.4.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate scriptful 0.4.0 into /workspace/builds/worker-4-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate scriptful 0.4.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 380df37c0cdb7d7e4769b98745e5f1cef8869ece5c1a81412ac5f37759177ce4 [INFO] running `Command { std: "docker" "start" "-a" "380df37c0cdb7d7e4769b98745e5f1cef8869ece5c1a81412ac5f37759177ce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "380df37c0cdb7d7e4769b98745e5f1cef8869ece5c1a81412ac5f37759177ce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "380df37c0cdb7d7e4769b98745e5f1cef8869ece5c1a81412ac5f37759177ce4", kill_on_drop: false }` [INFO] [stdout] 380df37c0cdb7d7e4769b98745e5f1cef8869ece5c1a81412ac5f37759177ce4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd8f1886f6c1bd7bfde35fad75687f6fb3632335c65fcfe40e98489d17051559 [INFO] running `Command { std: "docker" "start" "-a" "dd8f1886f6c1bd7bfde35fad75687f6fb3632335c65fcfe40e98489d17051559", 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-8658649584566276029.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-4716889457057125942.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-7681509309852718876.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-5656193118303190694.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-5656193118303190694.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-5656193118303190694.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-5656193118303190694.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-5656193118303190694.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-5656193118303190694.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-5656193118303190694.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-5656193118303190694.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-8658649584566276029.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-4716889457057125942.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-7681509309852718876.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-5656193118303190694.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-5656193118303190694.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-5656193118303190694.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-5656193118303190694.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-5656193118303190694.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-5656193118303190694.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-5656193118303190694.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-5656193118303190694.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-3646293220651351139.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-9794130379156237843.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-11415090401475863402.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-16277838510335130548.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" "dd8f1886f6c1bd7bfde35fad75687f6fb3632335c65fcfe40e98489d17051559", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd8f1886f6c1bd7bfde35fad75687f6fb3632335c65fcfe40e98489d17051559", kill_on_drop: false }` [INFO] [stdout] dd8f1886f6c1bd7bfde35fad75687f6fb3632335c65fcfe40e98489d17051559