[INFO] fetching crate rusqlite_migration 2.2.0... [INFO] checking rusqlite_migration-2.2.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate rusqlite_migration 2.2.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate rusqlite_migration 2.2.0 [INFO] finished tweaking crates.io crate rusqlite_migration 2.2.0 [INFO] tweaked toml for crates.io crate rusqlite_migration 2.2.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rusqlite_migration 2.2.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rusqlite_migration 2.2.0 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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6a02be18704bf592ccc78687659304a8826c23d228cad287dc3dcaa4736f8679 [INFO] running `Command { std: "docker" "start" "-a" "6a02be18704bf592ccc78687659304a8826c23d228cad287dc3dcaa4736f8679", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6a02be18704bf592ccc78687659304a8826c23d228cad287dc3dcaa4736f8679", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a02be18704bf592ccc78687659304a8826c23d228cad287dc3dcaa4736f8679", kill_on_drop: false }` [INFO] [stdout] 6a02be18704bf592ccc78687659304a8826c23d228cad287dc3dcaa4736f8679 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5435a76a3f5052a064a8f3e3d248ae419eb48b75c3111f718a2decff88fa781 [INFO] running `Command { std: "docker" "start" "-a" "b5435a76a3f5052a064a8f3e3d248ae419eb48b75c3111f718a2decff88fa781", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling libsqlite3-sys v0.34.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking clap_builder v4.5.37 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling rusqlite_migration v2.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking jiff v0.2.8 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking iai v0.1.1 [INFO] [stderr] Compiling mutants v0.0.3 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking rusqlite v0.36.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking simple-logging v2.0.2 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Checking insta v1.43.1 [INFO] [stderr] Checking mktemp v0.5.1 [INFO] [stderr] Checking clap v4.5.37 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.6.0 [INFO] [stdout] error[E0432]: unresolved import `include_dir` [INFO] [stdout] --> benches/from_directory.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use include_dir::{include_dir, Dir}; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `include_dir` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `include_dir`, use `cargo add include_dir` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::MigrationsBuilder` [INFO] [stdout] --> src/tests/builder.rs:20:25 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::{Migrations, MigrationsBuilder, SchemaVersion, M}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `MigrationsBuilder` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | pub use builder::MigrationsBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `from-directory` feature [INFO] [stdout] --> src/lib.rs:36:7 [INFO] [stdout] | [INFO] [stdout] 36 | #[cfg(feature = "from-directory")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::FromIterator` [INFO] [stdout] --> src/tests/builder.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | use std::{iter::FromIterator, num::NonZeroUsize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_directory` found for struct `Migrations` in the current scope [INFO] [stdout] --> benches/from_directory.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | Migrations::from_directory(&MIGRATIONS_DIR_10).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `Migrations<'_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Migrations<'_>` consider using one of the following associated functions: [INFO] [stdout] Migrations::<'m>::new [INFO] [stdout] Migrations::<'m>::from_slice [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:412:5 [INFO] [stdout] | [INFO] [stdout] 412 | pub const fn new(ms: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 431 | pub const fn from_slice(ms: &'m [M<'m>]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 27 - Migrations::from_directory(&MIGRATIONS_DIR_10).unwrap(); [INFO] [stdout] 27 + Migrations::from_iter(&MIGRATIONS_DIR_10).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_directory` found for struct `Migrations` in the current scope [INFO] [stdout] --> benches/from_directory.rs:32:17 [INFO] [stdout] | [INFO] [stdout] 32 | Migrations::from_directory(&MIGRATIONS_DIR_100).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `Migrations<'_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Migrations<'_>` consider using one of the following associated functions: [INFO] [stdout] Migrations::<'m>::new [INFO] [stdout] Migrations::<'m>::from_slice [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:412:5 [INFO] [stdout] | [INFO] [stdout] 412 | pub const fn new(ms: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 431 | pub const fn from_slice(ms: &'m [M<'m>]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 32 - Migrations::from_directory(&MIGRATIONS_DIR_100).unwrap(); [INFO] [stdout] 32 + Migrations::from_iter(&MIGRATIONS_DIR_100).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_directory` found for struct `Migrations` in the current scope [INFO] [stdout] --> benches/from_directory.rs:39:47 [INFO] [stdout] | [INFO] [stdout] 39 | b.iter_with_large_drop(|| Migrations::from_directory(&MIGRATIONS_DIR_10).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `Migrations<'_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Migrations<'_>` consider using one of the following associated functions: [INFO] [stdout] Migrations::<'m>::new [INFO] [stdout] Migrations::<'m>::from_slice [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:412:5 [INFO] [stdout] | [INFO] [stdout] 412 | pub const fn new(ms: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 431 | pub const fn from_slice(ms: &'m [M<'m>]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 39 - b.iter_with_large_drop(|| Migrations::from_directory(&MIGRATIONS_DIR_10).unwrap()) [INFO] [stdout] 39 + b.iter_with_large_drop(|| Migrations::from_iter(&MIGRATIONS_DIR_10).unwrap()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_directory` found for struct `Migrations` in the current scope [INFO] [stdout] --> benches/from_directory.rs:43:47 [INFO] [stdout] | [INFO] [stdout] 43 | b.iter_with_large_drop(|| Migrations::from_directory(&MIGRATIONS_DIR_100).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^ function or associated item not found in `Migrations<'_>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Migrations<'_>` consider using one of the following associated functions: [INFO] [stdout] Migrations::<'m>::new [INFO] [stdout] Migrations::<'m>::from_slice [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:412:5 [INFO] [stdout] | [INFO] [stdout] 412 | pub const fn new(ms: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 431 | pub const fn from_slice(ms: &'m [M<'m>]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 43 - b.iter_with_large_drop(|| Migrations::from_directory(&MIGRATIONS_DIR_100).unwrap()) [INFO] [stdout] 43 + b.iter_with_large_drop(|| Migrations::from_iter(&MIGRATIONS_DIR_100).unwrap()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusqlite_migration` (bench "from_directory") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/tests/core.rs:198:67 [INFO] [stdout] | [INFO] [stdout] 198 | assert_eq!(1usize, migrations.current_version(&conn).unwrap().into()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: From` [INFO] [stdout] = note: required for `SchemaVersion` to implement `Into<_>` [INFO] [stdout] help: try using a fully qualified path to specify the expected types [INFO] [stdout] | [INFO] [stdout] 198 - assert_eq!(1usize, migrations.current_version(&conn).unwrap().into()); [INFO] [stdout] 198 + assert_eq!(1usize, >::into(migrations.current_version(&conn).unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/tests/core.rs:198:67 [INFO] [stdout] | [INFO] [stdout] 198 | assert_eq!(1usize, migrations.current_version(&conn).unwrap().into()); [INFO] [stdout] | --------------------------------------------------------------^^^^--- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `usize: PartialEq<_>` found in the following crates: `core`, `serde_json`: [INFO] [stdout] - impl PartialEq for usize; [INFO] [stdout] - impl PartialEq for usize; [INFO] [stdout] help: try using a fully qualified path to specify the expected types [INFO] [stdout] | [INFO] [stdout] 198 - assert_eq!(1usize, migrations.current_version(&conn).unwrap().into()); [INFO] [stdout] 198 + assert_eq!(1usize, >::into(migrations.current_version(&conn).unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusqlite_migration` (lib test) due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b5435a76a3f5052a064a8f3e3d248ae419eb48b75c3111f718a2decff88fa781", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5435a76a3f5052a064a8f3e3d248ae419eb48b75c3111f718a2decff88fa781", kill_on_drop: false }` [INFO] [stdout] b5435a76a3f5052a064a8f3e3d248ae419eb48b75c3111f718a2decff88fa781