[INFO] fetching crate butane 0.8.1... [INFO] checking butane-0.8.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate butane 0.8.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate butane 0.8.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate butane 0.8.1 [INFO] tweaked toml for crates.io crate butane 0.8.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate butane 0.8.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate butane 0.8.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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nonempty v0.11.0 [INFO] [stderr] Downloaded manyhow-macros v0.11.4 [INFO] [stderr] Downloaded manyhow v0.11.4 [INFO] [stderr] Downloaded maybe-async-cfg v0.2.5 [INFO] [stderr] Downloaded serde_variant v0.1.3 [INFO] [stderr] Downloaded postgres-native-tls v0.5.1 [INFO] [stderr] Downloaded butane_codegen v0.8.1 [INFO] [stderr] Downloaded sqlparser v0.56.0 [INFO] [stderr] Downloaded butane_core v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ad905b21fa055d4ebd4b8e783015afa6b37baa5422f51a07f6dec0734cd3c84 [INFO] running `Command { std: "docker" "start" "-a" "0ad905b21fa055d4ebd4b8e783015afa6b37baa5422f51a07f6dec0734cd3c84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ad905b21fa055d4ebd4b8e783015afa6b37baa5422f51a07f6dec0734cd3c84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ad905b21fa055d4ebd4b8e783015afa6b37baa5422f51a07f6dec0734cd3c84", kill_on_drop: false }` [INFO] [stdout] 0ad905b21fa055d4ebd4b8e783015afa6b37baa5422f51a07f6dec0734cd3c84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49374f8b1d63d1f396345ec5ffb58a6d96d203cb4fa0be7ae12033a82caaa780 [INFO] running `Command { std: "docker" "start" "-a" "49374f8b1d63d1f396345ec5ffb58a6d96d203cb4fa0be7ae12033a82caaa780", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling libm v0.2.13 [INFO] [stderr] Compiling cc v1.2.25 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Checking bytemuck v1.23.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling proc-macro-utils v0.10.0 [INFO] [stderr] Checking atomic v0.6.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Compiling manyhow-macros v0.11.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Checking unicode-properties v0.1.3 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling libsqlite3-sys v0.33.0 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling dyn-clone v1.0.19 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling nonempty v0.11.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking siphasher v1.0.1 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking geo-types v0.7.16 [INFO] [stderr] Checking phf_shared v0.11.3 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling butane v0.8.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking jiff v0.2.14 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking deunicode v1.6.2 [INFO] [stderr] Checking whoami v1.6.0 [INFO] [stderr] Checking rusqlite v0.35.0 [INFO] [stderr] Checking postgres-protocol v0.6.8 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking postgres-types v0.2.9 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling manyhow v0.11.4 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling recursive-proc-macro-impl v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling maybe-async-cfg v0.2.5 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling recursive v0.1.1 [INFO] [stderr] Checking sqlparser v0.56.0 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling dummy v0.11.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking tokio-postgres v0.7.13 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Compiling serde_variant v0.1.3 [INFO] [stderr] Checking fake v4.3.0 [INFO] [stderr] Checking butane_core v0.8.1 [INFO] [stderr] Compiling butane_codegen v0.8.1 [INFO] [stdout] error[E0432]: unresolved import `butane::db::ConnectionAsync` [INFO] [stdout] --> tests/unmigrate.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use butane::db::{Connection, ConnectionAsync}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `ConnectionAsync` in `db` [INFO] [stdout] | help: a similar name exists in the module: `ConnectionSpec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `butane_test_helper` [INFO] [stdout] --> tests/unmigrate.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use butane_test_helper::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `butane_test_helper` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `butane_test_helper`, use `cargo add butane_test_helper` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `butane_test_macros` [INFO] [stdout] --> tests/unmigrate.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use butane_test_macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `butane_test_macros` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `butane_test_macros`, use `cargo add butane_test_macros` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `butane_test` in this scope [INFO] [stdout] --> tests/unmigrate.rs:29:3 [INFO] [stdout] | [INFO] [stdout] 29 | #[butane_test(sync)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `butane_test` in this scope [INFO] [stdout] --> tests/unmigrate.rs:9:3 [INFO] [stdout] | [INFO] [stdout] 9 | #[butane_test(async)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `backend` found for struct `Connection` in the current scope [INFO] [stdout] --> tests/unmigrate.rs:31:57 [INFO] [stdout] | [INFO] [stdout] 31 | let mem_migrations = create_current_migrations(conn.backend()); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/butane_core-0.8.1/src/db/mod.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn backend(&self) -> Box; [INFO] [stdout] | ------- the method is available for `Connection` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `BackendConnection` which provides `backend` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 4 + use butane::db::BackendConnection; [INFO] [stdout] | [INFO] [stdout] help: there is a method `backend_name` with a similar name [INFO] [stdout] | [INFO] [stdout] 31 | let mem_migrations = create_current_migrations(conn.backend_name()); [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 `butane` (test "unmigrate") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "49374f8b1d63d1f396345ec5ffb58a6d96d203cb4fa0be7ae12033a82caaa780", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49374f8b1d63d1f396345ec5ffb58a6d96d203cb4fa0be7ae12033a82caaa780", kill_on_drop: false }` [INFO] [stdout] 49374f8b1d63d1f396345ec5ffb58a6d96d203cb4fa0be7ae12033a82caaa780