[INFO] fetching crate refinery-core 0.5.1... [INFO] checking refinery-core-0.5.1 against master#195ad4830e11a544391abe296b146450dea8411b for pr-82781 [INFO] extracting crate refinery-core 0.5.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate refinery-core 0.5.1 on toolchain 195ad4830e11a544391abe296b146450dea8411b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate refinery-core 0.5.1 [INFO] finished tweaking crates.io crate refinery-core 0.5.1 [INFO] tweaked toml for crates.io crate refinery-core 0.5.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 325ad88d9e57821564e2d5b9512dcbc2b84a5b5ed45b0af6d68f80946dccdff0 [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" "325ad88d9e57821564e2d5b9512dcbc2b84a5b5ed45b0af6d68f80946dccdff0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "325ad88d9e57821564e2d5b9512dcbc2b84a5b5ed45b0af6d68f80946dccdff0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "325ad88d9e57821564e2d5b9512dcbc2b84a5b5ed45b0af6d68f80946dccdff0", kill_on_drop: false }` [INFO] [stdout] 325ad88d9e57821564e2d5b9512dcbc2b84a5b5ed45b0af6d68f80946dccdff0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+195ad4830e11a544391abe296b146450dea8411b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79aff771cc748a3594607dd624fa9fb160e5513523a934be08fc7585cbfe4f2c [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" "79aff771cc748a3594607dd624fa9fb160e5513523a934be08fc7585cbfe4f2c", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling async-trait v0.1.48 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking serde v1.0.124 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking refinery-core v0.5.1 (/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:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | 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:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | / include_str!( [INFO] [stdout] 120 | | "../../../refinery/tests/sql_migrations/V1-2/V2__add_cars_and_motos_table.sql" [INFO] [stdout] 121 | | ), [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:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | / include_str!( [INFO] [stdout] 128 | | "../../../refinery/tests/sql_migrations/V3/V3__add_brand_to_cars_table.sql" [INFO] [stdout] 129 | | ), [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:171:17 [INFO] [stdout] | [INFO] [stdout] 171 | / include_str!( [INFO] [stdout] 172 | | "../../../refinery/tests/sql_migrations/V3/V3__add_brand_to_cars_table.sql" [INFO] [stdout] 173 | | ), [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:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | / include_str!( [INFO] [stdout] 198 | | "../../../refinery/tests/sql_migrations/V3/V3__add_brand_to_cars_table.sql" [INFO] [stdout] 199 | | ), [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:269:17 [INFO] [stdout] | [INFO] [stdout] 269 | / include_str!( [INFO] [stdout] 270 | | "../../../refinery/tests/sql_migrations_unversioned/U0__merge_out_of_order.sql" [INFO] [stdout] 271 | | ), [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] 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: 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] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "79aff771cc748a3594607dd624fa9fb160e5513523a934be08fc7585cbfe4f2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79aff771cc748a3594607dd624fa9fb160e5513523a934be08fc7585cbfe4f2c", kill_on_drop: false }` [INFO] [stdout] 79aff771cc748a3594607dd624fa9fb160e5513523a934be08fc7585cbfe4f2c