[INFO] fetching crate stam 0.16.5... [INFO] checking stam-0.16.5 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate stam 0.16.5 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate stam 0.16.5 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 stam 0.16.5 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate stam 0.16.5 [INFO] tweaked toml for crates.io crate stam 0.16.5 written to /workspace/builds/worker-4-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 114 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.4.0 (available: v0.5.1) [INFO] [stderr] Adding sealed v0.5.0 (available: v0.6.0) [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-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e73cdc8349993759fc20da7cb8a4230f1d8f4aa5f1583df1cee6c8915eaa6c9 [INFO] running `Command { std: "docker" "start" "-a" "7e73cdc8349993759fc20da7cb8a4230f1d8f4aa5f1583df1cee6c8915eaa6c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e73cdc8349993759fc20da7cb8a4230f1d8f4aa5f1583df1cee6c8915eaa6c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e73cdc8349993759fc20da7cb8a4230f1d8f4aa5f1583df1cee6c8915eaa6c9", kill_on_drop: false }` [INFO] [stdout] 7e73cdc8349993759fc20da7cb8a4230f1d8f4aa5f1583df1cee6c8915eaa6c9 [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=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] ede93bf9f38f8650b3faab3935c8fb85fb17ecf974100c1939ad319c44c6afa1 [INFO] running `Command { std: "docker" "start" "-a" "ede93bf9f38f8650b3faab3935c8fb85fb17ecf974100c1939ad319c44c6afa1", 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 byteorder v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling minicbor v0.25.1 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Compiling datasize_derive v0.2.15 [INFO] [stderr] Checking datasize v0.2.15 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling minicbor-derive v0.15.3 [INFO] [stderr] Compiling sealed v0.5.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking nanoid v0.4.0 [INFO] [stderr] Checking serde v1.0.215 [INFO] [stderr] Checking serde_json v1.0.133 [INFO] [stderr] Checking serde_path_to_error v0.1.16 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.4.0 [INFO] [stderr] Checking stam v0.16.5 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/api/annotationdataset.rs (5 fixes) [INFO] [stderr] Fixed src/api/annotationdata.rs (3 fixes) [INFO] [stderr] Fixed src/annotationdataset.rs (1 fix) [INFO] [stderr] Fixed src/api/substore.rs (3 fixes) [INFO] [stderr] Fixed src/substore.rs (3 fixes) [INFO] [stderr] Fixed src/api/text.rs (2 fixes) [INFO] [stderr] Fixed src/api/query.rs (9 fixes) [INFO] [stderr] Fixed src/api/annotationstore.rs (6 fixes) [INFO] [stderr] Fixed src/file.rs (2 fixes) [INFO] [stderr] Fixed src/api/transpose.rs (1 fix) [INFO] [stderr] Fixed src/api/datakey.rs (4 fixes) [INFO] [stderr] Fixed src/resources.rs (2 fixes) [INFO] [stderr] Fixed src/store.rs (6 fixes) [INFO] [stderr] Fixed src/api/resources.rs (8 fixes) [INFO] [stderr] Fixed src/api/textselection.rs (6 fixes) [INFO] [stderr] Fixed src/api/annotation.rs (14 fixes) [INFO] [stderr] Fixed src/annotationstore.rs (4 fixes) [INFO] [stderr] Fixed src/api.rs (3 fixes) [INFO] [stderr] Fixed src/config.rs (2 fixes) [INFO] [stdout] warning: `impl Iterator>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/api/resources.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | ) -> impl Iterator> { [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/api/resources.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | &self, [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/api/resources.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | refset: impl Into, [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] 117 ~ pub fn related_text>( [INFO] [stdout] 118 | &self, [INFO] [stdout] 119 | operator: TextSelectionOperator, [INFO] [stdout] 120 ~ refset: T, [INFO] [stdout] 121 ~ ) -> impl Iterator> + use<'store, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/api.rs from 2021 edition to 2024 [INFO] [stdout] warning: `impl Iterator>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/api/resources.rs:121:10 [INFO] [stdout] | [INFO] [stdout] 121 | ) -> impl Iterator> { [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/api/resources.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | &self, [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/api/resources.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | refset: impl Into, [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] 117 ~ pub fn related_text>( [INFO] [stdout] 118 | &self, [INFO] [stdout] 119 | operator: TextSelectionOperator, [INFO] [stdout] 120 ~ refset: T, [INFO] [stdout] 121 ~ ) -> impl Iterator> + use<'store, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed tests/api.rs (12 fixes) [INFO] [stderr] Migrating tests/lowlevel.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.78s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking stam v0.16.5 (/tmp/fixit) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/api/textselection.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 46 | impl<'store> ResultItem<'store, TextSelection> { [INFO] [stdout] | ------ lifetime `'store` defined here [INFO] [stdout] ... [INFO] [stdout] 106 | self.resource().related_text(operator, tset) [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/api/textselection.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 124 | impl<'store> ResultTextSelection<'store> { [INFO] [stdout] | ------ lifetime `'store` defined here [INFO] [stdout] ... [INFO] [stdout] 299 | self.resource().related_text(operator, tset) [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/api/textselection.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 46 | impl<'store> ResultItem<'store, TextSelection> { [INFO] [stdout] | ------ lifetime `'store` defined here [INFO] [stdout] ... [INFO] [stdout] 106 | self.resource().related_text(operator, tset) [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/api/textselection.rs:299:9 [INFO] [stdout] | [INFO] [stdout] 124 | impl<'store> ResultTextSelection<'store> { [INFO] [stdout] | ------ lifetime `'store` defined here [INFO] [stdout] ... [INFO] [stdout] 299 | self.resource().related_text(operator, tset) [INFO] [stdout] | ^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | argument requires that borrow lasts for `'store` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stam` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `stam` (lib test) due to 2 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" "ede93bf9f38f8650b3faab3935c8fb85fb17ecf974100c1939ad319c44c6afa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ede93bf9f38f8650b3faab3935c8fb85fb17ecf974100c1939ad319c44c6afa1", kill_on_drop: false }` [INFO] [stdout] ede93bf9f38f8650b3faab3935c8fb85fb17ecf974100c1939ad319c44c6afa1