[INFO] fetching crate srdf 0.1.56... [INFO] checking srdf-0.1.56 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate srdf 0.1.56 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate srdf 0.1.56 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate srdf 0.1.56 [INFO] finished tweaking crates.io crate srdf 0.1.56 [INFO] tweaked toml for crates.io crate srdf 0.1.56 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 241 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56a9e22351459e1d604614cc3f5402e523a60940932a343548d93fa5b370fd84 [INFO] running `Command { std: "docker" "start" "-a" "56a9e22351459e1d604614cc3f5402e523a60940932a343548d93fa5b370fd84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56a9e22351459e1d604614cc3f5402e523a60940932a343548d93fa5b370fd84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56a9e22351459e1d604614cc3f5402e523a60940932a343548d93fa5b370fd84", kill_on_drop: false }` [INFO] [stdout] 56a9e22351459e1d604614cc3f5402e523a60940932a343548d93fa5b370fd84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a27451ecfee3f5b5af2cb11b4dd5659daea6056a7f9c3b2e07b43b1b4d6d033e [INFO] running `Command { std: "docker" "start" "-a" "a27451ecfee3f5b5af2cb11b4dd5659daea6056a7f9c3b2e07b43b1b4d6d033e", 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.4 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling thiserror v2.0.3 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling thiserror-impl v2.0.3 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking oxilangtag v0.1.5 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking oxiri v0.2.8 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking native-tls v0.2.12 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rustls-pki-types v1.10.0 [INFO] [stderr] Checking quick-xml v0.37.1 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Compiling rust_decimal v1.36.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling serde_yml v0.0.12 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking oxsdatatypes v0.2.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking oxrdf v0.2.3 [INFO] [stderr] Compiling const_format_proc_macros v0.2.33 [INFO] [stderr] Checking libyml v0.0.5 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.133 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking oxrdfxml v0.1.3 [INFO] [stderr] Checking oxttl v0.1.3 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking json-event-parser v0.2.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking sparesults v0.2.3 [INFO] [stderr] Checking const_format v0.2.33 [INFO] [stderr] Compiling rust_decimal_macros v1.36.0 [INFO] [stderr] Checking oxrdfio v0.1.3 [INFO] [stderr] Checking hashbag v0.1.12 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.4.7 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking hyper v1.5.1 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.9 [INFO] [stderr] Checking iri_s v0.1.32 [INFO] [stderr] Checking prefixmap v0.1.53 [INFO] [stderr] Checking srdf v0.1.56 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/srdf_parser/rdf_node_parser.rs (14 fixes) [INFO] [stderr] Fixed src/srdf_sparql/srdfsparql.rs (1 fix) [INFO] [stderr] Fixed src/srdf_parser/rdf_parser.rs (3 fixes) [INFO] [stderr] Fixed src/lib.rs (3 fixes) [INFO] [stdout] warning: `impl rdf_node_parser::RDFNodeParse` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/srdf_parser/rdf_node_parser.rs:1528:6 [INFO] [stdout] | [INFO] [stdout] 1528 | ) -> impl RDFNodeParse [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/srdf_parser/rdf_node_parser.rs:1525:12 [INFO] [stdout] | [INFO] [stdout] 1525 | value: &A, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/srdf_parser/rdf_node_parser.rs:1526:11 [INFO] [stdout] | [INFO] [stdout] 1526 | pred: impl FnMut(&A) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 1524 ~ pub fn cond bool>( [INFO] [stdout] 1525 | value: &A, [INFO] [stdout] 1526 ~ pred: T, [INFO] [stdout] 1527 | fail_msg: String, [INFO] [stdout] 1528 ~ ) -> impl RDFNodeParse + use [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl rdf_node_parser::RDFNodeParse` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/srdf_parser/rdf_node_parser.rs:1569:6 [INFO] [stdout] | [INFO] [stdout] 1569 | ) -> impl RDFNodeParse [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/srdf_parser/rdf_node_parser.rs:1567:12 [INFO] [stdout] | [INFO] [stdout] 1567 | value: &A, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/srdf_parser/rdf_node_parser.rs:1568:15 [INFO] [stdout] | [INFO] [stdout] 1568 | function: impl FnMut(&A) -> Result, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 1566 ~ pub fn apply Result>( [INFO] [stdout] 1567 | value: &A, [INFO] [stdout] 1568 ~ function: T, [INFO] [stdout] 1569 ~ ) -> impl RDFNodeParse + use [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl rdf_node_parser::RDFNodeParse` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/srdf_parser/rdf_node_parser.rs:1528:6 [INFO] [stdout] | [INFO] [stdout] 1528 | ) -> impl RDFNodeParse [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/srdf_parser/rdf_node_parser.rs:1525:12 [INFO] [stdout] | [INFO] [stdout] 1525 | value: &A, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/srdf_parser/rdf_node_parser.rs:1526:11 [INFO] [stdout] | [INFO] [stdout] 1526 | pred: impl FnMut(&A) -> bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 1524 ~ pub fn cond bool>( [INFO] [stdout] 1525 | value: &A, [INFO] [stdout] 1526 ~ pred: T, [INFO] [stdout] 1527 | fail_msg: String, [INFO] [stdout] 1528 ~ ) -> impl RDFNodeParse + use [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl rdf_node_parser::RDFNodeParse` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/srdf_parser/rdf_node_parser.rs:1569:6 [INFO] [stdout] | [INFO] [stdout] 1569 | ) -> impl RDFNodeParse [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/srdf_parser/rdf_node_parser.rs:1567:12 [INFO] [stdout] | [INFO] [stdout] 1567 | value: &A, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/srdf_parser/rdf_node_parser.rs:1568:15 [INFO] [stdout] | [INFO] [stdout] 1568 | function: impl FnMut(&A) -> Result, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 1566 ~ pub fn apply Result>( [INFO] [stdout] 1567 | value: &A, [INFO] [stdout] 1568 ~ function: T, [INFO] [stdout] 1569 ~ ) -> impl RDFNodeParse + use [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.28s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking srdf v0.1.56 (/tmp/fixit) [INFO] [stdout] error[E0700]: hidden type for `impl rdf_node_parser::RDFNodeParse` captures lifetime that does not appear in bounds [INFO] [stdout] --> src/srdf_parser/rdf_node_parser.rs:1441:5 [INFO] [stdout] | [INFO] [stdout] 1437 | pub fn term_as_iri(term: &RDF::Term) -> impl RDFNodeParse + use [INFO] [stdout] | ---------- ------------------------------------------------ opaque type defined here [INFO] [stdout] | | [INFO] [stdout] | hidden type `impl rdf_node_parser::RDFNodeParse` captures the anonymous lifetime defined here [INFO] [stdout] ... [INFO] [stdout] 1441 | / apply(term, |term| match &RDF::term_as_iri(term) { [INFO] [stdout] 1442 | | Some(iri) => { [INFO] [stdout] 1443 | | let iri_s = RDF::iri2iri_s(iri); [INFO] [stdout] 1444 | | Ok(iri_s) [INFO] [stdout] ... | [INFO] [stdout] 1448 | | }), [INFO] [stdout] 1449 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] help: add `'_` to the `use<...>` bound to explicitly capture it [INFO] [stdout] | [INFO] [stdout] 1437 | pub fn term_as_iri(term: &RDF::Term) -> impl RDFNodeParse + use<'_, RDF> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the associated type `::Term` may not live long enough [INFO] [stdout] --> src/srdf_parser/rdf_node_parser.rs:1660:5 [INFO] [stdout] | [INFO] [stdout] 1660 | / cond( [INFO] [stdout] 1661 | | &term, [INFO] [stdout] 1662 | | move |t| RDF::term_as_object(t) == RDF::term_as_object(&expected), [INFO] [stdout] 1663 | | format!("Term {term} not equals {}", expected_str), [INFO] [stdout] 1664 | | ) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____the associated type `::Term` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `::Term` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1657 | RDF: FocusRDF, ::Term: 'static [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `term` does not live long enough [INFO] [stdout] --> src/srdf_parser/rdf_node_parser.rs:1661:9 [INFO] [stdout] | [INFO] [stdout] 1655 | pub fn equals(term: RDF::Term, expected: RDF::Term) -> impl RDFNodeParse [INFO] [stdout] | ---- binding `term` declared here [INFO] [stdout] ... [INFO] [stdout] 1660 | / cond( [INFO] [stdout] 1661 | | &term, [INFO] [stdout] | | ^^^^^ borrowed value does not live long enough [INFO] [stdout] 1662 | | move |t| RDF::term_as_object(t) == RDF::term_as_object(&expected), [INFO] [stdout] 1663 | | format!("Term {term} not equals {}", expected_str), [INFO] [stdout] 1664 | | ) [INFO] [stdout] | |_____- argument requires that `term` is borrowed for `'static` [INFO] [stdout] 1665 | } [INFO] [stdout] | - `term` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0700]: hidden type for `impl rdf_node_parser::RDFNodeParse` captures lifetime that does not appear in bounds [INFO] [stdout] --> src/srdf_parser/rdf_node_parser.rs:1441:5 [INFO] [stdout] | [INFO] [stdout] 1437 | pub fn term_as_iri(term: &RDF::Term) -> impl RDFNodeParse + use [INFO] [stdout] | ---------- ------------------------------------------------ opaque type defined here [INFO] [stdout] | | [INFO] [stdout] | hidden type `impl rdf_node_parser::RDFNodeParse` captures the anonymous lifetime defined here [INFO] [stdout] ... [INFO] [stdout] 1441 | / apply(term, |term| match &RDF::term_as_iri(term) { [INFO] [stdout] 1442 | | Some(iri) => { [INFO] [stdout] 1443 | | let iri_s = RDF::iri2iri_s(iri); [INFO] [stdout] 1444 | | Ok(iri_s) [INFO] [stdout] ... | [INFO] [stdout] 1448 | | }), [INFO] [stdout] 1449 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] | [INFO] [stdout] help: add `'_` to the `use<...>` bound to explicitly capture it [INFO] [stdout] | [INFO] [stdout] 1437 | pub fn term_as_iri(term: &RDF::Term) -> impl RDFNodeParse + use<'_, RDF> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the associated type `::Term` may not live long enough [INFO] [stdout] --> src/srdf_parser/rdf_node_parser.rs:1660:5 [INFO] [stdout] | [INFO] [stdout] 1660 | / cond( [INFO] [stdout] 1661 | | &term, [INFO] [stdout] 1662 | | move |t| RDF::term_as_object(t) == RDF::term_as_object(&expected), [INFO] [stdout] 1663 | | format!("Term {term} not equals {}", expected_str), [INFO] [stdout] 1664 | | ) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____the associated type `::Term` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `::Term` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1657 | RDF: FocusRDF, ::Term: 'static [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `term` does not live long enough [INFO] [stdout] --> src/srdf_parser/rdf_node_parser.rs:1661:9 [INFO] [stdout] | [INFO] [stdout] 1655 | pub fn equals(term: RDF::Term, expected: RDF::Term) -> impl RDFNodeParse [INFO] [stdout] | ---- binding `term` declared here [INFO] [stdout] ... [INFO] [stdout] 1660 | / cond( [INFO] [stdout] 1661 | | &term, [INFO] [stdout] | | ^^^^^ borrowed value does not live long enough [INFO] [stdout] 1662 | | move |t| RDF::term_as_object(t) == RDF::term_as_object(&expected), [INFO] [stdout] 1663 | | format!("Term {term} not equals {}", expected_str), [INFO] [stdout] 1664 | | ) [INFO] [stdout] | |_____- argument requires that `term` is borrowed for `'static` [INFO] [stdout] 1665 | } [INFO] [stdout] | - `term` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0310, E0597, E0700. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `srdf` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0310, E0597, E0700. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `srdf` (lib test) due to 3 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" "a27451ecfee3f5b5af2cb11b4dd5659daea6056a7f9c3b2e07b43b1b4d6d033e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a27451ecfee3f5b5af2cb11b4dd5659daea6056a7f9c3b2e07b43b1b4d6d033e", kill_on_drop: false }` [INFO] [stdout] a27451ecfee3f5b5af2cb11b4dd5659daea6056a7f9c3b2e07b43b1b4d6d033e