[INFO] cloning repository https://github.com/ForceOverArea/geqslib [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ForceOverArea/geqslib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FForceOverArea%2Fgeqslib", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FForceOverArea%2Fgeqslib'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 13b6eef351810fc1a9cf1998fc5912a4e8dd75cc [INFO] checking ForceOverArea/geqslib against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FForceOverArea%2Fgeqslib" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ForceOverArea/geqslib on toolchain 91c0823ee63e793d990bb9fed898dc95b5d6db51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ForceOverArea/geqslib [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/ForceOverArea/geqslib [INFO] tweaked toml for git repo https://github.com/ForceOverArea/geqslib written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ForceOverArea/geqslib already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gmatlib v0.0.3 [INFO] [stderr] Downloaded anyhow v1.0.78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a2876a3b504877c59f8ebff0ae5a93e3ea98738f136083d20cccbede0315c49 [INFO] running `Command { std: "docker" "start" "-a" "5a2876a3b504877c59f8ebff0ae5a93e3ea98738f136083d20cccbede0315c49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a2876a3b504877c59f8ebff0ae5a93e3ea98738f136083d20cccbede0315c49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a2876a3b504877c59f8ebff0ae5a93e3ea98738f136083d20cccbede0315c49", kill_on_drop: false }` [INFO] [stdout] 5a2876a3b504877c59f8ebff0ae5a93e3ea98738f136083d20cccbede0315c49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8beaa24877713897e3efbcef25131414c46859b9d626394fb1eb26cf0e9c15af [INFO] running `Command { std: "docker" "start" "-a" "8beaa24877713897e3efbcef25131414c46859b9d626394fb1eb26cf0e9c15af", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.78 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking gmatlib v0.0.3 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking geqslib v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.99s [INFO] running `Command { std: "docker" "inspect" "8beaa24877713897e3efbcef25131414c46859b9d626394fb1eb26cf0e9c15af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8beaa24877713897e3efbcef25131414c46859b9d626394fb1eb26cf0e9c15af", kill_on_drop: false }` [INFO] [stdout] 8beaa24877713897e3efbcef25131414c46859b9d626394fb1eb26cf0e9c15af [INFO] checking ForceOverArea/geqslib against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FForceOverArea%2Fgeqslib" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ForceOverArea/geqslib on toolchain 519d6e23a6cb73c4d0f295f71ad37db8e95c54ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ForceOverArea/geqslib [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/ForceOverArea/geqslib [INFO] tweaked toml for git repo https://github.com/ForceOverArea/geqslib written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ForceOverArea/geqslib already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d79d4a724bea04cc7a4231d4f754bb575c3f1b235a13f5b22bf36f409a90d7d2 [INFO] running `Command { std: "docker" "start" "-a" "d79d4a724bea04cc7a4231d4f754bb575c3f1b235a13f5b22bf36f409a90d7d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d79d4a724bea04cc7a4231d4f754bb575c3f1b235a13f5b22bf36f409a90d7d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d79d4a724bea04cc7a4231d4f754bb575c3f1b235a13f5b22bf36f409a90d7d2", kill_on_drop: false }` [INFO] [stdout] d79d4a724bea04cc7a4231d4f754bb575c3f1b235a13f5b22bf36f409a90d7d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 454e539c5ebe36ce8df3b05023392d7e7a784516f14eae9370b34cc52181d23a [INFO] running `Command { std: "docker" "start" "-a" "454e539c5ebe36ce8df3b05023392d7e7a784516f14eae9370b34cc52181d23a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.78 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking gmatlib v0.0.3 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking geqslib v0.1.4 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/ffi.rs (8 fixes) [INFO] [stderr] Migrating tests/extra_tests.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.39s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking geqslib v0.1.4 (/tmp/fixit) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | compile_to_fn(&format!("{} - ({})", sides[0], sides[1]), ctx) [INFO] [stdout] | ---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] 39 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | compile_to_fn(&format!("{} - ({})", sides[0], sides[1]), ctx) [INFO] [stdout] | ---------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] 39 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | compile_to_fn_of_hashmap(&format!("{} - ({})", sides[0], sides[1]), ctx) [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] 65 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | compile_to_fn_of_hashmap(&format!("{} - ({})", sides[0], sides[1]), ctx) [INFO] [stdout] | --------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'static` [INFO] [stdout] 65 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `ctx` does not live long enough [INFO] [stdout] --> src/system.rs:55:81 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(equation: &str, mut ctx: ContextHashMap) -> anyhow::Result [INFO] [stdout] | ------- binding `ctx` declared here [INFO] [stdout] ... [INFO] [stdout] 55 | let starting_eqn = Box::new(compile_equation_to_fn_of_hashmap(equation, &mut ctx)?); [INFO] [stdout] | ^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 61 | system_equations: vec![starting_eqn], [INFO] [stdout] | ------------ cast requires that `ctx` is borrowed for `'static` [INFO] [stdout] 62 | }) [INFO] [stdout] 63 | } [INFO] [stdout] | - `ctx` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `Box Fn(&'a HashMap) -> Result>` actually means `Box<(dyn for<'a> Fn(&'a HashMap) -> Result + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `ctx` because it is borrowed [INFO] [stdout] --> src/system.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(equation: &str, mut ctx: ContextHashMap) -> anyhow::Result [INFO] [stdout] | ------- binding `ctx` declared here [INFO] [stdout] ... [INFO] [stdout] 55 | let starting_eqn = Box::new(compile_equation_to_fn_of_hashmap(equation, &mut ctx)?); [INFO] [stdout] | -------- borrow of `ctx` occurs here [INFO] [stdout] ... [INFO] [stdout] 59 | context: ctx, [INFO] [stdout] | ^^^ move out of `ctx` occurs here [INFO] [stdout] 60 | system_vars, [INFO] [stdout] 61 | system_equations: vec![starting_eqn], [INFO] [stdout] | ------------ cast requires that `ctx` is borrowed for `'static` [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `Box Fn(&'a HashMap) -> Result>` actually means `Box<(dyn for<'a> Fn(&'a HashMap) -> Result + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/system.rs:61:36 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(equation: &str, mut ctx: ContextHashMap) -> anyhow::Result [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 61 | system_equations: vec![starting_eqn], [INFO] [stdout] | ^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/system.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn try_constrain_with(&mut self, equation: &str) -> anyhow::Result [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 140 | Box::new(compile_equation_to_fn_of_hashmap(equation, &mut self.context)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/system.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn try_constrain_with(&mut self, equation: &str) -> anyhow::Result [INFO] [stdout] | - let's call the lifetime of this reference `'2` [INFO] [stdout] ... [INFO] [stdout] 140 | Box::new(compile_equation_to_fn_of_hashmap(equation, &mut self.context)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cast requires that `'2` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `ctx` does not live long enough [INFO] [stdout] --> src/system.rs:55:81 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(equation: &str, mut ctx: ContextHashMap) -> anyhow::Result [INFO] [stdout] | ------- binding `ctx` declared here [INFO] [stdout] ... [INFO] [stdout] 55 | let starting_eqn = Box::new(compile_equation_to_fn_of_hashmap(equation, &mut ctx)?); [INFO] [stdout] | ^^^^^^^^ borrowed value does not live long enough [INFO] [stdout] ... [INFO] [stdout] 61 | system_equations: vec![starting_eqn], [INFO] [stdout] | ------------ cast requires that `ctx` is borrowed for `'static` [INFO] [stdout] 62 | }) [INFO] [stdout] 63 | } [INFO] [stdout] | - `ctx` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `Box Fn(&'a HashMap) -> Result>` actually means `Box<(dyn for<'a> Fn(&'a HashMap) -> Result + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `ctx` because it is borrowed [INFO] [stdout] --> src/system.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(equation: &str, mut ctx: ContextHashMap) -> anyhow::Result [INFO] [stdout] | ------- binding `ctx` declared here [INFO] [stdout] ... [INFO] [stdout] 55 | let starting_eqn = Box::new(compile_equation_to_fn_of_hashmap(equation, &mut ctx)?); [INFO] [stdout] | -------- borrow of `ctx` occurs here [INFO] [stdout] ... [INFO] [stdout] 59 | context: ctx, [INFO] [stdout] | ^^^ move out of `ctx` occurs here [INFO] [stdout] 60 | system_vars, [INFO] [stdout] 61 | system_equations: vec![starting_eqn], [INFO] [stdout] | ------------ cast requires that `ctx` is borrowed for `'static` [INFO] [stdout] | [INFO] [stdout] = note: due to object lifetime defaults, `Box Fn(&'a HashMap) -> Result>` actually means `Box<(dyn for<'a> Fn(&'a HashMap) -> Result + 'static)>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/system.rs:61:36 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new(equation: &str, mut ctx: ContextHashMap) -> anyhow::Result [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 61 | system_equations: vec![starting_eqn], [INFO] [stdout] | ^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/system.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn try_constrain_with(&mut self, equation: &str) -> anyhow::Result [INFO] [stdout] | - let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 140 | Box::new(compile_equation_to_fn_of_hashmap(equation, &mut self.context)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cast requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> src/system.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn try_constrain_with(&mut self, equation: &str) -> anyhow::Result [INFO] [stdout] | - let's call the lifetime of this reference `'2` [INFO] [stdout] ... [INFO] [stdout] 140 | Box::new(compile_equation_to_fn_of_hashmap(equation, &mut self.context)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cast requires that `'2` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0597, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `geqslib` (lib) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0597, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `geqslib` (lib test) due to 8 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "454e539c5ebe36ce8df3b05023392d7e7a784516f14eae9370b34cc52181d23a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "454e539c5ebe36ce8df3b05023392d7e7a784516f14eae9370b34cc52181d23a", kill_on_drop: false }` [INFO] [stdout] 454e539c5ebe36ce8df3b05023392d7e7a784516f14eae9370b34cc52181d23a