[INFO] fetching crate postgres_migrator 0.6.7... [INFO] testing postgres_migrator-0.6.7 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate postgres_migrator 0.6.7 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate postgres_migrator 0.6.7 [INFO] finished tweaking crates.io crate postgres_migrator 0.6.7 [INFO] tweaked toml for crates.io crate postgres_migrator 0.6.7 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate postgres_migrator 0.6.7 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate postgres_migrator 0.6.7 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 93b592e316f15139a1c86429be65a03b9cf45edf23f9f6fae47744b2738cd260 [INFO] running `Command { std: "docker" "start" "-a" "93b592e316f15139a1c86429be65a03b9cf45edf23f9f6fae47744b2738cd260", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "93b592e316f15139a1c86429be65a03b9cf45edf23f9f6fae47744b2738cd260", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93b592e316f15139a1c86429be65a03b9cf45edf23f9f6fae47744b2738cd260", kill_on_drop: false }` [INFO] [stdout] 93b592e316f15139a1c86429be65a03b9cf45edf23f9f6fae47744b2738cd260 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9227f191839b71b64deace81d078725c1c2724269dec0ae512e1e8436c2e206e [INFO] running `Command { std: "docker" "start" "-a" "9227f191839b71b64deace81d078725c1c2724269dec0ae512e1e8436c2e206e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling siphasher v0.3.9 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling anyhow v1.0.55 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Compiling postgres-protocol v0.6.3 [INFO] [stderr] Compiling postgres-types v0.2.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling clap_derive v3.1.2 [INFO] [stderr] Compiling clap v3.1.3 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-postgres v0.7.5 [INFO] [stderr] Compiling postgres v0.19.2 [INFO] [stderr] Compiling postgres_migrator v0.6.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.69s [INFO] running `Command { std: "docker" "inspect" "9227f191839b71b64deace81d078725c1c2724269dec0ae512e1e8436c2e206e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9227f191839b71b64deace81d078725c1c2724269dec0ae512e1e8436c2e206e", kill_on_drop: false }` [INFO] [stdout] 9227f191839b71b64deace81d078725c1c2724269dec0ae512e1e8436c2e206e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98ed1d42e1e0325144064967d005b3d4c5ecbc4935e86334359ac973e8162163 [INFO] running `Command { std: "docker" "start" "-a" "98ed1d42e1e0325144064967d005b3d4c5ecbc4935e86334359ac973e8162163", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling serial_test_derive v0.8.0 [INFO] [stderr] Compiling serial_test v0.8.0 [INFO] [stderr] Compiling postgres_migrator v0.6.7 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.01s [INFO] running `Command { std: "docker" "inspect" "98ed1d42e1e0325144064967d005b3d4c5ecbc4935e86334359ac973e8162163", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98ed1d42e1e0325144064967d005b3d4c5ecbc4935e86334359ac973e8162163", kill_on_drop: false }` [INFO] [stdout] 98ed1d42e1e0325144064967d005b3d4c5ecbc4935e86334359ac973e8162163 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ce044d1d47126f72b5be7196c55cdd9cc74343c24b1a6fc279e281d6b4ec419d [INFO] running `Command { std: "docker" "start" "-a" "ce044d1d47126f72b5be7196c55cdd9cc74343c24b1a6fc279e281d6b4ec419d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/postgres_migrator-799d63e361f0b2f8) [INFO] [stdout] running 10 tests [INFO] [stdout] test test_full_no_onboard ... ignored [INFO] [stdout] test test_full_with_onboard ... ignored [INFO] [stdout] test test_ensure_directory ... FAILED [INFO] [stdout] test test_list_sql_files ... FAILED [INFO] [stdout] test test_list_sql_files_nested_schema ... FAILED [INFO] [stdout] test test_migration_files_vec_from_paths ... ok [INFO] [stdout] test test_to_connection_string ... ok [INFO] [stdout] test test_create_timestamp ... ok [INFO] [stdout] test test_make_slug ... ok [INFO] [stdout] test test_config_try_from_str ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_ensure_directory stdout ---- [INFO] [stdout] Error: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] ---- test_list_sql_files stdout ---- [INFO] [stdout] Error: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] ---- test_list_sql_files_nested_schema stdout ---- [INFO] [stdout] Error: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_ensure_directory [INFO] [stdout] test_list_sql_files [INFO] [stdout] test_list_sql_files_nested_schema [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 3 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin postgres_migrator` [INFO] running `Command { std: "docker" "inspect" "ce044d1d47126f72b5be7196c55cdd9cc74343c24b1a6fc279e281d6b4ec419d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce044d1d47126f72b5be7196c55cdd9cc74343c24b1a6fc279e281d6b4ec419d", kill_on_drop: false }` [INFO] [stdout] ce044d1d47126f72b5be7196c55cdd9cc74343c24b1a6fc279e281d6b4ec419d