[INFO] fetching crate rusqlite_migration 2.3.0... [INFO] checking rusqlite_migration-2.3.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate rusqlite_migration 2.3.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate rusqlite_migration 2.3.0 [INFO] finished tweaking crates.io crate rusqlite_migration 2.3.0 [INFO] tweaked toml for crates.io crate rusqlite_migration 2.3.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rusqlite_migration 2.3.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rusqlite_migration 2.3.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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9effe0ec49ef4cb27ca90e395cb382f8251d59f9f1992f66062bacf663575b3d [INFO] running `Command { std: "docker" "start" "-a" "9effe0ec49ef4cb27ca90e395cb382f8251d59f9f1992f66062bacf663575b3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9effe0ec49ef4cb27ca90e395cb382f8251d59f9f1992f66062bacf663575b3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9effe0ec49ef4cb27ca90e395cb382f8251d59f9f1992f66062bacf663575b3d", kill_on_drop: false }` [INFO] [stdout] 9effe0ec49ef4cb27ca90e395cb382f8251d59f9f1992f66062bacf663575b3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 206b8be2d5d30a02de0eb2c769861c5e0d46b3fcc0c3bd7959bdc9a214f3ebe6 [INFO] running `Command { std: "docker" "start" "-a" "206b8be2d5d30a02de0eb2c769861c5e0d46b3fcc0c3bd7959bdc9a214f3ebe6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling libsqlite3-sys v0.35.0 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking clap_builder v4.5.37 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling rusqlite_migration v2.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking rusqlite v0.37.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking clap v4.5.37 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking jiff v0.2.8 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Checking simple-logging v2.0.2 [INFO] [stderr] Checking mktemp v0.5.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking iai v0.1.1 [INFO] [stderr] Checking insta v1.43.1 [INFO] [stderr] Compiling mutants v0.0.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking env_logger v0.11.8 [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[E0599]: no function or associated item named `from_directory` found for struct `Migrations<'m>` 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<'m>` 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<'m>` 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<'m>` 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[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] 36 | #[cfg(feature = "from-directory")] [INFO] [stdout] | -------------------------- the item is gated behind the `from-directory` feature [INFO] [stdout] 37 | pub use builder::MigrationsBuilder; [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[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" "206b8be2d5d30a02de0eb2c769861c5e0d46b3fcc0c3bd7959bdc9a214f3ebe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "206b8be2d5d30a02de0eb2c769861c5e0d46b3fcc0c3bd7959bdc9a214f3ebe6", kill_on_drop: false }` [INFO] [stdout] 206b8be2d5d30a02de0eb2c769861c5e0d46b3fcc0c3bd7959bdc9a214f3ebe6