[INFO] fetching crate refinery-core 0.3.1... [INFO] testing refinery-core-0.3.1 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate refinery-core 0.3.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate refinery-core 0.3.1 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate refinery-core 0.3.1 [INFO] finished tweaking crates.io crate refinery-core 0.3.1 [INFO] tweaked toml for crates.io crate refinery-core 0.3.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74e8cec803acbdac8988607a5116c28df7d2c6957f5e5032f0405accf7965c52 [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" "74e8cec803acbdac8988607a5116c28df7d2c6957f5e5032f0405accf7965c52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74e8cec803acbdac8988607a5116c28df7d2c6957f5e5032f0405accf7965c52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74e8cec803acbdac8988607a5116c28df7d2c6957f5e5032f0405accf7965c52", kill_on_drop: false }` [INFO] [stdout] 74e8cec803acbdac8988607a5116c28df7d2c6957f5e5032f0405accf7965c52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 647cde86952a06b670e0e3a82dfef16dc041b8331a62d2823d973f03046c53c6 [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" "647cde86952a06b670e0e3a82dfef16dc041b8331a62d2823d973f03046c53c6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling refinery-core v0.3.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] warning: associated function is never used: `applied` [INFO] [stdout] --> src/runner.rs:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | 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] Finished dev [unoptimized + debuginfo] target(s) in 43.03s [INFO] running `Command { std: "docker" "inspect" "647cde86952a06b670e0e3a82dfef16dc041b8331a62d2823d973f03046c53c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "647cde86952a06b670e0e3a82dfef16dc041b8331a62d2823d973f03046c53c6", kill_on_drop: false }` [INFO] [stdout] 647cde86952a06b670e0e3a82dfef16dc041b8331a62d2823d973f03046c53c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08b2ec091d6c7a582b5e049bbdc830fe7ad9c3c3218965b0f08a05ead341cf85 [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" "08b2ec091d6c7a582b5e049bbdc830fe7ad9c3c3218965b0f08a05ead341cf85", kill_on_drop: false }` [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling getrandom v0.1.14 [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:103:19 [INFO] [stdout] | [INFO] [stdout] 103 | 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] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling refinery-core v0.3.1 (/opt/rustwide/workdir) [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:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | 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:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | / include_str!( [INFO] [stdout] 109 | | "../../../refinery/tests/sql_migrations/V1-2/V2__add_cars_and_motos_table.sql" [INFO] [stdout] 110 | | ), [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:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | / include_str!( [INFO] [stdout] 117 | | "../../../refinery/tests/sql_migrations/V3/V3__add_brand_to_cars_table.sql" [INFO] [stdout] 118 | | ), [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:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | / include_str!( [INFO] [stdout] 161 | | "../../../refinery/tests/sql_migrations/V3/V3__add_brand_to_cars_table.sql" [INFO] [stdout] 162 | | ), [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:186:17 [INFO] [stdout] | [INFO] [stdout] 186 | / include_str!( [INFO] [stdout] 187 | | "../../../refinery/tests/sql_migrations/V3/V3__add_brand_to_cars_table.sql" [INFO] [stdout] 188 | | ), [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:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | use super::{build_db_url, Config, Error, Kind}; [INFO] [stdout] | ^^^^^^^^^^^^ no `build_db_url` in `config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/config.rs:196:39 [INFO] [stdout] | [INFO] [stdout] 196 | use super::{build_db_url, Config, Error, Kind}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/config.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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] [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: unused import: `Error` [INFO] [stdout] --> src/traits/mod.rs:97:42 [INFO] [stdout] | [INFO] [stdout] 97 | use super::{check_missing_divergent, Error, Kind, Migration}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 7 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] running `Command { std: "docker" "inspect" "08b2ec091d6c7a582b5e049bbdc830fe7ad9c3c3218965b0f08a05ead341cf85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08b2ec091d6c7a582b5e049bbdc830fe7ad9c3c3218965b0f08a05ead341cf85", kill_on_drop: false }` [INFO] [stdout] 08b2ec091d6c7a582b5e049bbdc830fe7ad9c3c3218965b0f08a05ead341cf85