[INFO] fetching crate geqslib 0.1.3... [INFO] checking geqslib-0.1.3 against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] extracting crate geqslib 0.1.3 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate geqslib 0.1.3 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 crates.io crate geqslib 0.1.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate geqslib 0.1.3 [INFO] tweaked toml for crates.io crate geqslib 0.1.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding gmatlib v0.0.1 (latest: v0.2.0) [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.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 5262287d27fb9d92fcda2ea347def5fb9491092397a838dcbba234f0e3ff90b1 [INFO] running `Command { std: "docker" "start" "-a" "5262287d27fb9d92fcda2ea347def5fb9491092397a838dcbba234f0e3ff90b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5262287d27fb9d92fcda2ea347def5fb9491092397a838dcbba234f0e3ff90b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5262287d27fb9d92fcda2ea347def5fb9491092397a838dcbba234f0e3ff90b1", kill_on_drop: false }` [INFO] [stdout] 5262287d27fb9d92fcda2ea347def5fb9491092397a838dcbba234f0e3ff90b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d05ea518b6d11f24c3c2b22f2b5136e6125f278fb109db2affb7d765cdb237b9 [INFO] running `Command { std: "docker" "start" "-a" "d05ea518b6d11f24c3c2b22f2b5136e6125f278fb109db2affb7d765cdb237b9", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking gmatlib v0.0.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking geqslib v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.49s [INFO] running `Command { std: "docker" "inspect" "d05ea518b6d11f24c3c2b22f2b5136e6125f278fb109db2affb7d765cdb237b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d05ea518b6d11f24c3c2b22f2b5136e6125f278fb109db2affb7d765cdb237b9", kill_on_drop: false }` [INFO] [stdout] d05ea518b6d11f24c3c2b22f2b5136e6125f278fb109db2affb7d765cdb237b9 [INFO] checking geqslib-0.1.3 against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] extracting crate geqslib 0.1.3 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate geqslib 0.1.3 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 crates.io crate geqslib 0.1.3 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate geqslib 0.1.3 [INFO] tweaked toml for crates.io crate geqslib 0.1.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding gmatlib v0.0.1 (latest: v0.2.0) [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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d36e0f798186e1c8a62e8d0025430c9bb9c9eba37a4ce503d7e8e18f95717b53 [INFO] running `Command { std: "docker" "start" "-a" "d36e0f798186e1c8a62e8d0025430c9bb9c9eba37a4ce503d7e8e18f95717b53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d36e0f798186e1c8a62e8d0025430c9bb9c9eba37a4ce503d7e8e18f95717b53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d36e0f798186e1c8a62e8d0025430c9bb9c9eba37a4ce503d7e8e18f95717b53", kill_on_drop: false }` [INFO] [stdout] d36e0f798186e1c8a62e8d0025430c9bb9c9eba37a4ce503d7e8e18f95717b53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 8ba21b6d84db6f46fae78bcb079e9a685b14ad67c4ba9342ffd7e9e50795d24a [INFO] running `Command { std: "docker" "start" "-a" "8ba21b6d84db6f46fae78bcb079e9a685b14ad67c4ba9342ffd7e9e50795d24a", 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] Checking memchr v2.7.2 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking gmatlib v0.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking geqslib v0.1.3 (/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 7.03s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking geqslib v0.1.3 (/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: 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] [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] [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" "8ba21b6d84db6f46fae78bcb079e9a685b14ad67c4ba9342ffd7e9e50795d24a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ba21b6d84db6f46fae78bcb079e9a685b14ad67c4ba9342ffd7e9e50795d24a", kill_on_drop: false }` [INFO] [stdout] 8ba21b6d84db6f46fae78bcb079e9a685b14ad67c4ba9342ffd7e9e50795d24a