[INFO] fetching crate rusqlite_migration 2.0.0-beta.1... [INFO] checking rusqlite_migration-2.0.0-beta.1 against try#306c6aded24f02440063be828ebe601fe5eb8323 for pr-133502-3 [INFO] extracting crate rusqlite_migration 2.0.0-beta.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate rusqlite_migration 2.0.0-beta.1 on toolchain 306c6aded24f02440063be828ebe601fe5eb8323 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+306c6aded24f02440063be828ebe601fe5eb8323" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rusqlite_migration 2.0.0-beta.1 [INFO] finished tweaking crates.io crate rusqlite_migration 2.0.0-beta.1 [INFO] tweaked toml for crates.io crate rusqlite_migration 2.0.0-beta.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate rusqlite_migration 2.0.0-beta.1 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" "+306c6aded24f02440063be828ebe601fe5eb8323" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+306c6aded24f02440063be828ebe601fe5eb8323" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 008828240e8add9c04c454670fd0b616f62f105f566a1b114cb074a002dfb379 [INFO] running `Command { std: "docker" "start" "-a" "008828240e8add9c04c454670fd0b616f62f105f566a1b114cb074a002dfb379", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "008828240e8add9c04c454670fd0b616f62f105f566a1b114cb074a002dfb379", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "008828240e8add9c04c454670fd0b616f62f105f566a1b114cb074a002dfb379", kill_on_drop: false }` [INFO] [stdout] 008828240e8add9c04c454670fd0b616f62f105f566a1b114cb074a002dfb379 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+306c6aded24f02440063be828ebe601fe5eb8323" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f6bc4d38e078225b311622e3b9ed262d23c4b3400b50ed5ae5078ac70c1570e [INFO] running `Command { std: "docker" "start" "-a" "3f6bc4d38e078225b311622e3b9ed262d23c4b3400b50ed5ae5078ac70c1570e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling rustix v0.38.24 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling libsqlite3-sys v0.32.0 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Checking foldhash v0.1.4 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking linux-raw-sys v0.4.11 [INFO] [stderr] Checking ciborium-io v0.2.1 [INFO] [stderr] Checking ciborium-ll v0.2.1 [INFO] [stderr] Checking clap_builder v4.4.8 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking once_cell v1.20.3 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling rusqlite_migration v2.0.0-beta.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking rusqlite v0.34.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking uuid v1.4.1 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking similar v2.4.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking env_logger v0.11.6 [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] Checking clap v4.4.8 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking insta v1.42.2 [INFO] [stderr] Checking ciborium v0.2.1 [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" "3f6bc4d38e078225b311622e3b9ed262d23c4b3400b50ed5ae5078ac70c1570e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f6bc4d38e078225b311622e3b9ed262d23c4b3400b50ed5ae5078ac70c1570e", kill_on_drop: false }` [INFO] [stdout] 3f6bc4d38e078225b311622e3b9ed262d23c4b3400b50ed5ae5078ac70c1570e