[INFO] fetching crate rusqlite_migration 2.1.0... [INFO] checking rusqlite_migration-2.1.0 against try#0c7fed2b7584d310ca8221267fa1b3bec4df427f for pr-133502-4 [INFO] extracting crate rusqlite_migration 2.1.0 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate rusqlite_migration 2.1.0 on toolchain 0c7fed2b7584d310ca8221267fa1b3bec4df427f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rusqlite_migration 2.1.0 [INFO] finished tweaking crates.io crate rusqlite_migration 2.1.0 [INFO] tweaked toml for crates.io crate rusqlite_migration 2.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate rusqlite_migration 2.1.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" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71901519206cb7b579509d48274e96a24261a28a0d4f527a8ffde158821e16c6 [INFO] running `Command { std: "docker" "start" "-a" "71901519206cb7b579509d48274e96a24261a28a0d4f527a8ffde158821e16c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71901519206cb7b579509d48274e96a24261a28a0d4f527a8ffde158821e16c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71901519206cb7b579509d48274e96a24261a28a0d4f527a8ffde158821e16c6", kill_on_drop: false }` [INFO] [stdout] 71901519206cb7b579509d48274e96a24261a28a0d4f527a8ffde158821e16c6 [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+0c7fed2b7584d310ca8221267fa1b3bec4df427f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f005e1499c3d1e35cf2de5ed2f776a66c6bfd6becf020f9dee5d258f19c2844 [INFO] running `Command { std: "docker" "start" "-a" "7f005e1499c3d1e35cf2de5ed2f776a66c6bfd6becf020f9dee5d258f19c2844", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking clap_builder v4.5.37 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking bitflags v2.9.0 [INFO] [stderr] Compiling rusqlite_migration v2.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking jiff v0.2.8 [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 iai v0.1.1 [INFO] [stderr] Compiling mutants v0.0.3 [INFO] [stderr] Compiling libsqlite3-sys v0.33.0 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking rusqlite v0.35.0 [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] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking insta v1.42.2 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [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:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | pub use builder::MigrationsBuilder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `from-directory` feature [INFO] [stdout] --> src/lib.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | #[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:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | pub const fn new(ms: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 396 | 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:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | pub const fn new(ms: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 396 | 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:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | pub const fn new(ms: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 396 | 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:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | pub const fn new(ms: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 396 | 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[E0282]: type annotations needed [INFO] [stdout] --> src/tests/builder.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | .edit(1, move |m| m.down("DROP TABLE t1;")) [INFO] [stdout] | ^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 43 | .edit(1, move |m: /* Type */| m.down("DROP TABLE t1;")) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/builder.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | .edit(2, move |m| m.down("DROP TABLE t2;")) [INFO] [stdout] | ^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 44 | .edit(2, move |m: /* Type */| m.down("DROP TABLE t2;")) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/tests/core.rs:196:67 [INFO] [stdout] | [INFO] [stdout] 196 | assert_eq!(1usize, migrations.current_version(&conn).unwrap().into()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: try using a fully qualified path to specify the expected types [INFO] [stdout] | [INFO] [stdout] 196 - assert_eq!(1usize, migrations.current_version(&conn).unwrap().into()); [INFO] [stdout] 196 + 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:196:67 [INFO] [stdout] | [INFO] [stdout] 196 | 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] 196 - assert_eq!(1usize, migrations.current_version(&conn).unwrap().into()); [INFO] [stdout] 196 + assert_eq!(1usize, >::into(migrations.current_version(&conn).unwrap())); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0283, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusqlite_migration` (lib test) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7f005e1499c3d1e35cf2de5ed2f776a66c6bfd6becf020f9dee5d258f19c2844", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f005e1499c3d1e35cf2de5ed2f776a66c6bfd6becf020f9dee5d258f19c2844", kill_on_drop: false }` [INFO] [stdout] 7f005e1499c3d1e35cf2de5ed2f776a66c6bfd6becf020f9dee5d258f19c2844