[INFO] fetching crate refinery-core 0.4.0... [INFO] checking refinery-core-0.4.0 against try#b2f80f6008cdafc35b4472bd46afa16cc6b0cd63 for pr-79470 [INFO] extracting crate refinery-core 0.4.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate refinery-core 0.4.0 on toolchain b2f80f6008cdafc35b4472bd46afa16cc6b0cd63 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate refinery-core 0.4.0 [INFO] finished tweaking crates.io crate refinery-core 0.4.0 [INFO] tweaked toml for crates.io crate refinery-core 0.4.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mysql_async v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2970172ed6354181164416299fc22dae12b2a83499f9934c30e849fa2ff90065 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2970172ed6354181164416299fc22dae12b2a83499f9934c30e849fa2ff90065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2970172ed6354181164416299fc22dae12b2a83499f9934c30e849fa2ff90065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2970172ed6354181164416299fc22dae12b2a83499f9934c30e849fa2ff90065", kill_on_drop: false }` [INFO] [stdout] 2970172ed6354181164416299fc22dae12b2a83499f9934c30e849fa2ff90065 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+b2f80f6008cdafc35b4472bd46afa16cc6b0cd63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be54d9989580a6cdfd091816f634ab330985a17a90bc3c4825ca5fdfe9cb932d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "be54d9989580a6cdfd091816f634ab330985a17a90bc3c4825ca5fdfe9cb932d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking memchr v2.3.4 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking toml v0.5.7 [INFO] [stderr] Checking refinery-core v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ConfigDbType` [INFO] [stdout] --> src/drivers/config.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::config::{Config, ConfigDbType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::WrapMigrationError` [INFO] [stdout] --> src/drivers/config.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::error::WrapMigrationError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GET_APPLIED_MIGRATIONS_QUERY`, `GET_LAST_APPLIED_MIGRATION_QUERY` [INFO] [stdout] --> src/drivers/config.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::traits::{GET_APPLIED_MIGRATIONS_QUERY, GET_LAST_APPLIED_MIGRATION_QUERY}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Report`, `Target` [INFO] [stdout] --> src/drivers/config.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::{Error, Migration, Report, Target}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/traits/../../../refinery/tests/sql_migrations/V1-2/V1__initial.sql: No such file or directory (os error 2) [INFO] [stdout] --> src/traits/mod.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | include_str!("../../../refinery/tests/sql_migrations/V1-2/V1__initial.sql"), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/traits/../../../refinery/tests/sql_migrations/V1-2/V2__add_cars_and_motos_table.sql: No such file or directory (os error 2) [INFO] [stdout] --> src/traits/mod.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | / include_str!( [INFO] [stdout] 110 | | "../../../refinery/tests/sql_migrations/V1-2/V2__add_cars_and_motos_table.sql" [INFO] [stdout] 111 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/traits/../../../refinery/tests/sql_migrations/V3/V3__add_brand_to_cars_table.sql: No such file or directory (os error 2) [INFO] [stdout] --> src/traits/mod.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | / include_str!( [INFO] [stdout] 118 | | "../../../refinery/tests/sql_migrations/V3/V3__add_brand_to_cars_table.sql" [INFO] [stdout] 119 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/traits/../../../refinery/tests/sql_migrations/V3/V3__add_brand_to_cars_table.sql: No such file or directory (os error 2) [INFO] [stdout] --> src/traits/mod.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | / include_str!( [INFO] [stdout] 162 | | "../../../refinery/tests/sql_migrations/V3/V3__add_brand_to_cars_table.sql" [INFO] [stdout] 163 | | ), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/traits/../../../refinery/tests/sql_migrations/V3/V3__add_brand_to_cars_table.sql: No such file or directory (os error 2) [INFO] [stdout] --> src/traits/mod.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | / include_str!( [INFO] [stdout] 188 | | "../../../refinery/tests/sql_migrations/V3/V3__add_brand_to_cars_table.sql" [INFO] [stdout] 189 | | ), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/traits/../../../refinery/tests/sql_migrations_unversioned/U0__merge_out_of_order.sql: No such file or directory (os error 2) [INFO] [stdout] --> src/traits/mod.rs:259:17 [INFO] [stdout] | [INFO] [stdout] 259 | / include_str!( [INFO] [stdout] 260 | | "../../../refinery/tests/sql_migrations_unversioned/U0__merge_out_of_order.sql" [INFO] [stdout] 261 | | ), [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::build_db_url` [INFO] [stdout] --> src/config.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | use super::{build_db_url, Config, Kind}; [INFO] [stdout] | ^^^^^^^^^^^^ no `build_db_url` in `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ConfigDbType` [INFO] [stdout] --> src/drivers/config.rs:8:29 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::config::{Config, ConfigDbType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::WrapMigrationError` [INFO] [stdout] --> src/drivers/config.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::error::WrapMigrationError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GET_APPLIED_MIGRATIONS_QUERY`, `GET_LAST_APPLIED_MIGRATION_QUERY` [INFO] [stdout] --> src/drivers/config.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::traits::{GET_APPLIED_MIGRATIONS_QUERY, GET_LAST_APPLIED_MIGRATION_QUERY}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `Report`, `Target` [INFO] [stdout] --> src/drivers/config.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::{Error, Migration, Report, Target}; [INFO] [stdout] | ^^^^^ ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `applied` [INFO] [stdout] --> src/runner.rs:126:19 [INFO] [stdout] | [INFO] [stdout] 126 | pub(crate) fn applied( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `refinery-core` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "be54d9989580a6cdfd091816f634ab330985a17a90bc3c4825ca5fdfe9cb932d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be54d9989580a6cdfd091816f634ab330985a17a90bc3c4825ca5fdfe9cb932d", kill_on_drop: false }` [INFO] [stdout] be54d9989580a6cdfd091816f634ab330985a17a90bc3c4825ca5fdfe9cb932d