[INFO] cloning repository https://github.com/nrjais/migrator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nrjais/migrator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnrjais%2Fmigrator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnrjais%2Fmigrator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e87fb4718b09c7112feb4fa157d4b1fd92981594 [INFO] testing nrjais/migrator against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnrjais%2Fmigrator" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nrjais/migrator [INFO] finished tweaking git repo https://github.com/nrjais/migrator [INFO] tweaked toml for git repo https://github.com/nrjais/migrator written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nrjais/migrator on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nrjais/migrator 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bfe7adf905f814e72ecafc23fcfa74b3335fd2dfa28533ea7f2c836a6eb06943 [INFO] running `Command { std: "docker" "start" "-a" "bfe7adf905f814e72ecafc23fcfa74b3335fd2dfa28533ea7f2c836a6eb06943", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfe7adf905f814e72ecafc23fcfa74b3335fd2dfa28533ea7f2c836a6eb06943", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfe7adf905f814e72ecafc23fcfa74b3335fd2dfa28533ea7f2c836a6eb06943", kill_on_drop: false }` [INFO] [stdout] bfe7adf905f814e72ecafc23fcfa74b3335fd2dfa28533ea7f2c836a6eb06943 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 8e0ca6009e47565b877f7b998ee2c8863b3495820520cbc7e7ccc6ab9e1e5353 [INFO] running `Command { std: "docker" "start" "-a" "8e0ca6009e47565b877f7b998ee2c8863b3495820520cbc7e7ccc6ab9e1e5353", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling syn v1.0.45 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling futures-core v0.3.6 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling futures-sink v0.3.6 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling subtle v2.3.0 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-task v0.3.6 [INFO] [stderr] Compiling futures-channel v0.3.6 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling futures-io v0.3.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling instant v0.1.7 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.7.3 [INFO] [stderr] Compiling pin-project-lite v0.1.10 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling keccak v0.1.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio v0.3.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling crypto-mac v0.9.1 [INFO] [stderr] Compiling hmac v0.9.0 [INFO] [stderr] Compiling sha2 v0.9.1 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling postgres-protocol v0.5.3 [INFO] [stderr] Compiling postgres-types v0.1.3 [INFO] [stderr] Compiling tokio-util v0.4.0 [INFO] [stderr] Compiling futures-macro v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.41 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling futures-util v0.3.6 [INFO] [stderr] Compiling futures-executor v0.3.6 [INFO] [stderr] Compiling futures v0.3.6 [INFO] [stderr] Compiling tokio-postgres v0.6.0 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling postgres v0.18.0 [INFO] [stderr] Compiling migrator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `migration` is never read [INFO] [stdout] --> src/executor/planner.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | Diverged { [INFO] [stdout] | -------- field in this variant [INFO] [stdout] 10 | checksum: String, [INFO] [stdout] 11 | migration: Migration, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `migration` is never read [INFO] [stdout] --> src/executor/planner.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 51 | Diverged { [INFO] [stdout] | -------- field in this variant [INFO] [stdout] 52 | checksum: String, [INFO] [stdout] 53 | migration: Migration, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `sql_file` is never read [INFO] [stdout] --> src/migration.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | SqlFile { sql_file: SqlFile }, [INFO] [stdout] | ------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Change` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `new_line_delimited` are never read [INFO] [stdout] --> src/migration.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct SqlFile { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 26 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 27 | new_line_delimited: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SqlFile` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over an `Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/executor/mod.rs:93:24 [INFO] [stdout] | [INFO] [stdout] 93 | for planned in planned_migrations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 93 - for planned in planned_migrations { [INFO] [stdout] 93 + while let Some(planned) = planned_migrations { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 93 - for planned in planned_migrations { [INFO] [stdout] 93 + if let Some(planned) = planned_migrations { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcTBxcrb/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libglob-4f447fbb9b736ffe.rlib,libtoml-67573dbeba780f67.rlib,libanyhow-6818f074c876f99c.rlib,libserde-f5b51c91d73c55b9.rlib,libsha3-625a7ad0b8267367.rlib,libkeccak-d5c480ca0c104256.rlib,libpostgres-26760e912f744d31.rlib,libtokio_postgres-fa1792b5b9f89f5e.rlib,libphf-71a0e43bc0337d6b.rlib,libphf_shared-2575282d11120a8e.rlib,libsiphasher-eef717097ffe6f3c.rlib,libpercent_encoding-3f452dc5e318e927.rlib,libpostgres_types-2ddf540bab8bf350.rlib,libtokio_util-b4b5378b5c5e46d0.rlib,libparking_lot-b7f983a62739042a.rlib,libparking_lot_core-fb2e3e1b570c21fa.rlib,libsmallvec-880d500719586ba7.rlib,liblock_api-749ee5206cd8e524.rlib,libscopeguard-73056285f12cb829.rlib,libinstant-ca5d99d7bfa33c49.rlib,libtokio-07afb00942943417.rlib,libmio-93edca893299e382.rlib,liblog-e27f9015365cb9c5.rlib,libpostgres_protocol-f290aa48d1f4f36f.rlib,libbase64-1447dfff012d42f8.rlib,libstringprep-2a5fd9e826646aad.rlib,libunicode_normalization-bf86f367eab695fd.rlib,libtinyvec-da978a460f1be52d.rlib,libunicode_bidi-3c976b4886511d83.rlib,libmatches-d7125afe50072f5c.rlib,libsha2-8ea3b33b7a472cd5.rlib,libcpuid_bool-f14a20ba81419679.rlib,libopaque_debug-bfd86111b0908dde.rlib,libblock_buffer-39e720cc9474d7bf.rlib,libblock_padding-17ea4943d4809731.rlib,librand-0048b7cec75d02a7.rlib,librand_chacha-eae70d5d6b23644c.rlib,libppv_lite86-fe4748cb9a4a903e.rlib,librand_core-e00441914e6927d6.rlib,libgetrandom-0e7a619dfc829dd0.rlib,liblibc-337ec8f498c4508c.rlib,libcfg_if-2d17986ae484e939.rlib,libhmac-d81e1ea4edbdba29.rlib,libdigest-cb24a8a3b0469a00.rlib,libcrypto_mac-56df90a328f639b0.rlib,libsubtle-a36263af16117c05.rlib,libgeneric_array-21e94a8244c38e49.rlib,libtypenum-0d13c3a14e20be66.rlib,libmd5-1874fcc3af47e6d3.rlib,libpin_project_lite-5703764175b8c321.rlib,libfutures-5f22c6bd18b728ce.rlib,libfutures_executor-f9e8b84b65de0b91.rlib,libfutures_util-7c9d9e6b52f6de2c.rlib,libmemchr-66f21ea766679294.rlib,libproc_macro_nested-2e4002de4910557b.rlib,libfutures_io-e424652f2d67e01a.rlib,libslab-7c577fd9ceb1ab41.rlib,libfutures_channel-cbf26b404210387d.rlib,libpin_project-4f2cc0f28c237511.rlib,libfutures_sink-9b4600df5f9e0db4.rlib,libfutures_task-93ec5e5030b5548f.rlib,libonce_cell-73d3080c1d2a713a.rlib,libpin_utils-b08f1197f0cdae19.rlib,libfutures_core-fa0c0f55b1f056af.rlib,libbytes-3e6aab9f92fa68ff.rlib,libbyteorder-549def2b2525ef52.rlib,libfallible_iterator-da18290346318e11.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcTBxcrb/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/migrator-978018e7bc52ec56" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-0e7a619dfc829dd0.rlib(getrandom-0e7a619dfc829dd0.getrandom.675f46982a170705-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.1.15/src/util_libc.rs:112:(.text._ZN9getrandom9util_libc13open_readonly17h8ca838c92c083e7dE+0x79): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `migrator` (bin "migrator") due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8e0ca6009e47565b877f7b998ee2c8863b3495820520cbc7e7ccc6ab9e1e5353", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e0ca6009e47565b877f7b998ee2c8863b3495820520cbc7e7ccc6ab9e1e5353", kill_on_drop: false }` [INFO] [stdout] 8e0ca6009e47565b877f7b998ee2c8863b3495820520cbc7e7ccc6ab9e1e5353